-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: add support for vsan file services #94
fix: add support for vsan file services #94
Conversation
2a76eca
to
51621e3
Compare
51621e3
to
4fc1436
Compare
$vcfVersion = Get-VCFManager | Select-Object version | Select-String -Pattern '\d+\.\d+' -AllMatches | ForEach-Object { $_.matches.groups[0].value } | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
$vcfVersion = Get-VCFManager | Select-Object version | Select-String -Pattern '\d+\.\d+' -AllMatches | ForEach-Object { $_.matches.groups[0].value } | |
$vcfVersion = Get-VCFManager | Select-Object version | Select-String -Pattern '\d+\.\d+' -AllMatches | ForEach-Object { $_.matches.groups[0].value } |
if ( $answer -eq 'N') { | ||
Write-PowerManagementLogMessage -Type WARNING "Please shutdown the workload domain vCenter Server instance $vm and retry." |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if ( $answer -eq 'N') { | |
Write-PowerManagementLogMessage -Type WARNING "Please shutdown the workload domain vCenter Server instance $vm and retry." | |
if ($answer -Match 'N') { | |
Write-PowerManagementLogMessage -Type ERROR "Please shutdown the workload domain vCenter Server instance $vm and retry. Exiting..." |
@@ -612,6 +614,12 @@ if ($PsBoundParameters.ContainsKey("shutdown") -or $PsBoundParameters.ContainsKe | |||
foreach ($vm in $vclsvms) { | |||
[Array]$vcfvms += $vm | |||
} | |||
Write-PowerManagementLogMessage -Type INFO -Message "Trying to fetch all powered-on vSAN File Services virtual machines from server $($vcenter)..." |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Write-PowerManagementLogMessage -Type INFO -Message "Trying to fetch all powered-on vSAN File Services virtual machines from server $($vcenter)..." | |
Write-PowerManagementLogMessage -Type INFO -Message "Fetching all powered on vSAN File Services virtual machines from vCenter Server instance $($vcenter)..." |
…mentDomain.ps1 Replaced code in `PowerManagement-ManagmentDomain.ps1` updated `$vcfvms` to allow for ip address or FQDN. Signed-off-by: Jared Burns <[email protected]>
Updated `PowerManagement-ManagmentDomain.ps1` to allow for FQDN or IP address of SDDC Manager. Signed-off-by: Jared Burns <[email protected]>
Added support to `PowerManagement-ManagmentDomain.ps1` for more than one cluster in management domain for shut down and start up. Signed-off-by: Jared Burns <[email protected]>
Added support to PowerManagement-ManagmentDomain.ps1 for more than one cluster in management domain for shut down and start up. Signed-off-by: Jared Burns <[email protected]>
Added support to `PowerManagement-ManagmentDomain.ps1` and `PowerManagement-WorkloadDomain.ps1` for vSAN File Services to be excluded from customer virtual machines. Signed-off-by: Jared Burns <[email protected]>
4fc1436
to
50b95fa
Compare
I'm going to lock this pull request because it has been closed for 30 days. This helps our maintainers find and focus on the active issues. If you have found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further. |
Summary
Added support to
PowerManagement-ManagmentDomain.ps1
andPowerManagement-WorkloadDomain.ps1
for vSAN File Services to be excluded from customer virtual machines.Type
Please describe:
Breaking Changes?
Test and Documentation
Issue References
Closes #48
Additional Information