@@ -2270,7 +2270,7 @@ Function New-NSXManagerOvaDeployment {
22702270 The New-NSXManagerOvaDeployment resents a list of NSX Mangers associated with the provided VCF Workload Domain, and deploys an NSX Manager from OVA using data previously extracted from the VCF SDDC Manager Backup
22712271
22722272 . EXAMPLE
2273- New-NSXManagerOvaDeployment -tempvCenterFqdn "sfo-m01-vc02.sfo.rainpole.io" -tempvCenterAdmin "administrator@vsphere.local" -tempvCenterAdminPassword "VMw@re1!" -extractedSDDCDataFile ".\extracted-sddc-data.json" -workloadDomain "sfo-m01" -restoredNsxManagerDeploymentSize medium -nsxManagerOvaFile "F:\OVA\nsx-unified-appliance-9.0.0.0.24733065 .ova"
2273+ New-NSXManagerOvaDeployment -tempvCenterFqdn "sfo-m01-vc02.sfo.rainpole.io" -tempvCenterAdmin "administrator@vsphere.local" -tempvCenterAdminPassword "VMw@re1!" -extractedSDDCDataFile ".\extracted-sddc-data.json" -workloadDomain "sfo-m01" -restoredNsxManagerDeploymentSize medium -nsxManagerOvaFile "F:\OVA\nsx-unified-appliance-3.2.2.1.0.21487565 .ova"
22742274
22752275 . PARAMETER vCenterFqdn
22762276 FQDN of the target vCenter to deploy the NSX Manager OVA to
@@ -2339,17 +2339,10 @@ Function New-NSXManagerOvaDeployment {
23392339
23402340 $vmDatastore = $extractedSDDCData.mgmtDomainInfrastructure.vsan_datastore
23412341 # Following parameters converted to known entities for 9.0. Consider refactoring in 9.1 if data is saved in manifest.json
2342- if ( ! $extractedSDDCData .mgmtDomainInfrastructure.cluster ) {
2342+
23432343 $vmNetwork = " vcfir-cl01-vds01-pg-vm-mgmt"
23442344 $datacenterName = " vcfir-dc01"
23452345 $clusterName = " vcfir-cl01"
2346- } else {
2347- $vmNetwork = $extractedSDDCData.mgmtDomainInfrastructure.port_group
2348- $datacenterName = $extractedSDDCData.mgmtDomainInfrastructure.datacenter
2349- $clusterName = $extractedSDDCData.mgmtDomainInfrastructure.cluster
2350- }
2351-
2352-
23532346
23542347 # NSX Manager Appliance Configuration
23552348 $nsxManagerVMName = $selectedNsxManager.vmName
@@ -2410,7 +2403,7 @@ Function New-vCenterOvaDeployment {
24102403 The New-vCenterOvaDeployment deploys a vCenter appliance from OVA using data previously extracted from the VCF SDDC Manager Backup
24112404
24122405 . EXAMPLE
2413- New-vCenterOvaDeployment -tempvCenterFqdn "sfo-m01-vc02.sfo.rainpole.io" -tempvCenterAdmin "administrator@vsphere.local" -tempvCenterAdminPassword "VMw@re1!" -extractedSDDCDataFile ".\extracted-sddc-data.json" -workloadDomain "sfo-m01" -restoredvCenterDeploymentSize "small" -vCenterOvaFile "F:\OVA\VMware-vCenter-Server-Appliance-9 .0.0.0.24755230_OVF10 .ova"
2406+ New-vCenterOvaDeployment -tempvCenterFqdn "sfo-m01-vc02.sfo.rainpole.io" -tempvCenterAdmin "administrator@vsphere.local" -tempvCenterAdminPassword "VMw@re1!" -extractedSDDCDataFile ".\extracted-sddc-data.json" -workloadDomain "sfo-m01" -restoredvCenterDeploymentSize "small" -vCenterOvaFile "F:\OVA\VMware-vCenter-Server-Appliance-7 .0.3.01400-21477706_OVF10 .ova"
24142407
24152408 . PARAMETER vCenterFqdn
24162409 FQDN of the target vCenter to deploy the vCenter OVA to
@@ -2452,16 +2445,11 @@ Function New-vCenterOvaDeployment {
24522445 $workloadDomainDetails = ($extractedSDDCData.workloadDomains | Where-Object { $_.domainName -eq $workloadDomain })
24532446 $vmDatastore = $extractedSDDCData.mgmtDomainInfrastructure.vsan_datastore
24542447 # Following parameters converted to known entities for 9.0. Consider refactoring in 9.1 if data is saved in manifest.json
2455- if ( ! $extractedSDDCData .mgmtDomainInfrastructure.cluster ) {
2448+
24562449 $vmNetwork = " vcfir-cl01-vds01-pg-vm-mgmt"
24572450 $datacenterName = " vcfir-dc01"
24582451 $clusterName = " vcfir-cl01"
2459- }
2460- else {
2461- $vmNetwork = $extractedSDDCData.mgmtDomainInfrastructure.port_group
2462- $datacenterName = $extractedSDDCData.mgmtDomainInfrastructure.datacenter
2463- $clusterName = $extractedSDDCData.mgmtDomainInfrastructure.cluster
2464- }
2452+
24652453 $restoredvCenterVMName = $workloadDomainDetails.vCenterDetails.vmname
24662454 $restoredvCenterIpAddress = $workloadDomainDetails.vCenterDetails.ip
24672455 $restoredvCenterFqdn = $workloadDomainDetails.vCenterDetails.fqdn
@@ -2512,7 +2500,7 @@ Function New-SDDCManagerOvaDeployment {
25122500 The New-SDDCManagerOvaDeployment deploys an SDDC Manager appliance from OVA using data previously extracted from the VCF SDDC Manager Backup
25132501
25142502 . EXAMPLE
2515- New-SDDCManagerOvaDeployment -tempvCenterFqdn "sfo-m01-vc02.sfo.rainpole.io" -tempvCenterAdmin "administrator@vsphere.local" -tempvCenterAdminPassword "VMw@re1!" -extractedSDDCDataFile ".\extracted-sddc-data.json" -sddcManagerOvaFile "F:\OVA\VCF-SDDC-Manager-Appliance-9.0.0.0.24703748 .ova" -rootUserPassword "VMw@re1!" -vcfUserPassword "VMw@re1!" -localUserPassword "VMw@re1!VMw@re1!" -basicAuthUserPassword "VMw@re1!"
2503+ New-SDDCManagerOvaDeployment -tempvCenterFqdn "sfo-m01-vc02.sfo.rainpole.io" -tempvCenterAdmin "administrator@vsphere.local" -tempvCenterAdminPassword "VMw@re1!" -extractedSDDCDataFile ".\extracted-sddc-data.json" -sddcManagerOvaFile "F:\OVA\VCF-SDDC-Manager-Appliance-4.5.1.0-21682411 .ova" -rootUserPassword "VMw@re1!" -vcfUserPassword "VMw@re1!" -localUserPassword "VMw@re1!VMw@re1!" -basicAuthUserPassword "VMw@re1!"
25162504
25172505 . PARAMETER vCenterFqdn
25182506 FQDN of the target vCenter to deploy the SDDC Manager OVA to
@@ -2562,11 +2550,8 @@ Function New-SDDCManagerOvaDeployment {
25622550 # SDDC Manager Configuration
25632551 $vmDatastore = $extractedSDDCData.mgmtDomainInfrastructure.vsan_datastore
25642552 # Following parameters converted to known entities for 9.0. Consider refactoring in 9.1 if data is saved in manifest.json
2565- # $vmNetwork = $extractedSDDCData.mgmtDomainInfrastructure.port_group
25662553 $vmNetwork = " vcfir-cl01-vds01-pg-vm-mgmt"
2567- # $datacenterName = $extractedSDDCData.mgmtDomainInfrastructure.datacenter
25682554 $datacenterName = " vcfir-dc01"
2569- # $clusterName = $extractedSDDCData.mgmtDomainInfrastructure.cluster
25702555 $clusterName = " vcfir-cl01"
25712556 $sddcManagerVMName = $extractedSDDCData.sddcManager.vmname
25722557 $sddcManagerBackupPassword = ($extractedSddcData.passwords | Where-Object { $_.entityType -eq " BACKUP" }).password
0 commit comments