plans/ibr/workload-domain-recovery-plan.json
|
[
{ "description": "", "commandLine": "New-vCenterOvaDeployment -targetType $targetType -targetFqdn $targetFqdn -targetAdmin $targetAdmin -targetAdminPassword $targetAdminPassword -extractedSDDCDataFile $extractedSddcDataFile -workloadDomain $workloadDomain -restoredvCenterDeploymentSize $restoredVcenterDeploymentSize -vCenterOvaFile $vCenterOvaFile", "displayName": "vCenter OVA Deployment", "condition": [], "threadId": "1", "interactive": false, "visible": true }, { "description": "", "commandLine": "Invoke-vCenterRestore -extractedSDDCDataFile $extractedSddcDataFile -workloadDomain $workloadDomain -vCenterBackupPath $vCenterBackupPath -locationtype $locationType -locationUser $locationUser -locationPassword $locationPassword", "displayName": "Invoke vCenter Restore", "condition": [], "threadId": "1", "interactive": false, "visible": true }, { "description": "", "commandLine": "New-NSXManagerOvaDeployment -targetType $targetType -targetFqdn $targetFqdn -targetAdmin $targetAdmin -targetAdminPassword $targetAdminPassword -extractedSDDCDataFile $extractedSddcDataFile -workloadDomain $workloadDomain -restoredNsxManagerDeploymentSize $restoredNsxManagerDeploymentSize -nsxManagerOvaFile $nsxManagerOvaFile", "displayName": "NSX Manager OVA Deployment", "condition": [], "threadId": "2", "interactive": true, "visible": true }, { "description": "", "commandLine": "Invoke-NSXManagerRestore -extractedSDDCDataFile $extractedSddcDataFile -workloadDomain $workloadDomain -sftpServer $sftpServer -sftpUser $sftpUser -sftpPassword $sftpPassword -sftpServerBackupPath $sftpServerBackupPath -backupPassphrase $nsxBackupPassphrase", "displayName": "Invoke NSX Manager Restore", "condition": [], "threadId": "2", "interactive": true, "visible": true }, { "description": "", "commandLine": "Update-ExtractedSDDCData -extractedSDDCDataFile $extractedSddcDataFile -sddcManagerFQDN $sddcManagerFqdn -sddcManagerAdmin $sddcManagerAdmin -sddcManagerAdminPassword $sddcManagerAdminPassword -vCenterFQDN $restoredVcenterFqdn", "displayName": "Update Extracted SDDC Data", "condition": [], "threadId": "1", "waitFor": [ "1", "2" ], "interactive": false, "visible": true }, { "description": "", "commandLine": "New-Advisory 'You may now remove failed vSAN witnesses from the chosen workload domain vCenter inventory, then redeploy and reregister them to vCenter'", "displayName": "New Advisory", "condition": [ { "type": "dataPath", "path": "selectedCluster.isStretched", "operator": "eq", "value": "t" } ], "threadId": "1", "interactive": false, "visible": false }, { "description": "Record the Cluster Settings from the Restored vCenter", "commandLine": "Backup-ClusterVMOverrides -vCenterFQDN $restoredVcenterFqdn -vCenterAdmin $restoredVcenterAdmin -vCenterAdminPassword $restoredVcenterAdminPassword -clusterName $clusterName", "displayName": "Backup Cluster VM Overrides", "condition": [], "threadId": "1", "interactive": false, "visible": true }, { "description": "", "commandLine": "Backup-ClusterVMLocations -vCenterFQDN $restoredVcenterFqdn -vCenterAdmin $restoredVcenterAdmin -vCenterAdminPassword $restoredVcenterAdminPassword -clusterName $clusterName", "displayName": "Backup Cluster VM Locations", "condition": [], "threadId": "1", "interactive": false, "visible": true }, { "description": "", "commandLine": "Backup-ClusterDRSGroupsAndRules -vCenterFQDN $restoredVcenterFqdn -vCenterAdmin $restoredVcenterAdmin -vCenterAdminPassword $restoredVcenterAdminPassword -clusterName $clusterName", "displayName": "Backup Cluster DRS Groups and Rules", "condition": [], "threadId": "1", "interactive": false, "visible": true }, { "description": "", "commandLine": "Backup-ClusterVMTags -vCenterFQDN $restoredVcenterFqdn -vCenterAdmin $restoredVcenterAdmin -vCenterAdminPassword $restoredVcenterAdminPassword -clusterName $clusterName", "displayName": "Backup Cluster VM Tags", "condition": [], "threadId": "1", "interactive": false, "visible": true }, { "description": "Remove Non-Responsive ESX Hosts from the Inventory", "commandLine": "Remove-NonResponsiveHosts -vCenterFQDN $restoredVcenterFqdn -vCenterAdmin $restoredVcenterAdmin -vCenterAdminPassword $restoredVcenterAdminPassword -clusterName $clusterName -NsxManagerFQDN $restoredNsxManagerFqdn -NsxManagerAdmin $restoredNsxManagerAdmin -NsxManagerAdminPassword $restoredNsxManagerAdminPassword -NsxManagerRootPassword $restoredNsxManagerRootPassword", "displayName": "Remove Non Responsive Hosts", "condition": [], "threadId": "1", "interactive": false, "visible": true }, { "description": "Add New Hosts to the Cluster in the Restored vCenter", "commandLine": "Add-HostsToCluster -vCenterFQDN $restoredVcenterFqdn -vCenterAdmin $restoredVcenterAdmin -vCenterAdminPassword $restoredVcenterAdminPassword -clusterName $clusterName -sddcManagerFqdn $sddcManagerFqdn -sddcManagerAdmin $sddcManagerAdmin -sddcManagerAdminPassword $sddcManagerAdminPassword -extractedSDDCDataFile $extractedSddcDataFile", "displayName": "Add Hosts to Cluster", "condition": [], "threadId": "1", "interactive": false, "visible": true }, { "description": "Migrate the ESX Hosts and VMkernel Adapters to the vSphere Distributed Switch on the Restored vCenter", "commandLine": "New-RebuiltVdsConfiguration -vCenterFQDN $restoredVcenterFqdn -vCenterAdmin $restoredVcenterAdmin -vCenterAdminPassword $restoredVcenterAdminPassword -clusterName $clusterName -extractedSDDCDataFile $extractedSddcDataFile", "displayName": "Rebuild VDS Configuration", "condition": [], "threadId": "1", "interactive": true, "visible": true }, { "description": "Wait for NSX Installation to Complete on Hosts", "commandLine": "Watch-NsxHostTransportNodeInstallation -clusterName $clusterName -extractedSDDCDataFile $extractedSddcDataFile", "displayName": "Monitor NSX Host Transport Node Installation", "condition": [], "threadId": "1", "interactive": false, "visible": true }, { "description": "Add VMkernel Adapters to the ESX Hosts", "commandLine": "Add-VMKernelsToHost -targetFqdn $restoredVcenterFqdn -targetAdmin $restoredVcenterAdmin -targetAdminPassword $restoredVcenterAdminPassword -clusterName $clusterName -sddcManagerFqdn $sddcManagerFqdn -sddcManagerAdmin $sddcManagerAdmin -sddcManagerAdminPassword $sddcManagerAdminPassword -extractedSDDCDataFile $extractedSddcDataFile", "displayName": "Add VMKernels to Hosts", "condition": [], "threadId": "1", "interactive": false, "visible": true }, { "description": "Deploy a new vSAN Witness using the user-provided script and register it in the restored vCenter (must exit 0 on success and non-zero on failure)", "commandLine": "Invoke-UserScript -ScriptPath $vsanWitnessScriptPath", "displayName": "Run User-Provided vSAN Witness Deployment Script", "condition": [ { "type": "variable", "name": "userProvidedVsanWitnessScript", "operator": "eq", "value": "true" }, { "type": "dataPath", "path": "selectedCluster.isStretched", "operator": "eq", "value": "t" } ], "threadId": "1", "interactive": false, "visible": true }, { "description": "Deploy a new vSAN Witness and register it in the restored vCenter (manual step)", "commandLine": "Confirm-ManualStep -Message 'Press Enter once the new vSAN Witness has been deployed and is registered and connected in the restored vCenter' -AnswerKey 'vsan-witness-deployed'", "displayName": "Confirm Manual Step: New vSAN Witness has been deployed", "condition": [ { "type": "variable", "name": "userProvidedVsanWitnessScript", "operator": "eq", "value": "false" }, { "type": "dataPath", "path": "selectedCluster.isStretched", "operator": "eq", "value": "t" } ], "threadId": "1", "interactive": true, "visible": true }, { "description": "Reconfigure Stretched Cluster", "commandLine": "New-ReconfiguredVsanStretchedCluster -vCenterFQDN $restoredVcenterFqdn -vCenterAdmin $restoredVcenterAdmin -vCenterAdminPassword $restoredVcenterAdminPassword -clusterName $clusterName -extractedSDDCDataFile $extractedSddcDataFile", "displayName": "Reconfigure vSAN Stretched Cluster", "condition": [ { "type": "dataPath", "path": "selectedCluster.isStretched", "operator": "eq", "value": "t" } ], "threadId": "1", "interactive": false, "visible": true }, { "description": "Recreate a vSAN Datastore", "commandLine": "New-RebuiltVsanDatastore -targetFqdn $restoredVcenterFqdn -targetAdmin $restoredVcenterAdmin -targetAdminPassword $restoredVcenterAdminPassword -clusterName $clusterName -extractedSDDCDataFile $extractedSddcDataFile", "displayName": "Rebuilt vSAN Datastore", "condition": [], "threadId": "1", "interactive": true, "visible": true }, { "description": "", "id": "nsx-edge-cluster-recovery-selective", "commandLine": "Invoke-NSXEdgeClusterRecoverySelective -nsxManagerFqdn $restoredNsxManagerFqdn -nsxManagerAdmin $restoredNsxManagerAdmin -nsxManagerAdminPassword $restoredNsxManagerAdminPassword -vCenterFQDN $restoredVcenterFqdn -vCenterAdmin $restoredVcenterAdmin -vCenterAdminPassword $restoredVcenterAdminPassword -clusterName $clusterName -extractedSDDCDataFile $extractedSddcDataFile -monitor", "displayName": "Invoke NSX Edge Cluster Recovery Selective", "condition": [], "threadId": "1", "interactive": true, "visible": true }, { "description": "", "commandLine": "New-NSXManagerOvaDeployment -targetType $targetType -targetFqdn $targetFqdn -targetAdmin $targetAdmin -targetAdminPassword $targetAdminPassword -extractedSDDCDataFile $extractedSddcDataFile -workloadDomain $workloadDomain -restoredNsxManagerDeploymentSize $restoredNsxManagerDeploymentSize -nsxManagerOvaFile $nsxManagerOvaFile", "displayName": "Second NSX Manager OVA Deployment", "condition": [ { "type": "dataPath", "path": "selectedDomain.nsxNodeDetails.count", "operator": "ne", "value": "1" } ], "threadId": "1", "waitFor": [ "1" ], "interactive": true, "visible": true }, { "description": "", "commandLine": "New-NSXManagerOvaDeployment -targetType $targetType -targetFqdn $targetFqdn -targetAdmin $targetAdmin -targetAdminPassword $targetAdminPassword -extractedSDDCDataFile $extractedSddcDataFile -workloadDomain $workloadDomain -restoredNsxManagerDeploymentSize $restoredNsxManagerDeploymentSize -nsxManagerOvaFile $nsxManagerOvaFile", "displayName": "Third NSX Manager OVA Deployment", "condition": [ { "type": "dataPath", "path": "selectedDomain.nsxNodeDetails.count", "operator": "ne", "value": "1" } ], "threadId": "2", "waitFor": [ "nsx-edge-cluster-recovery-selective" ], "interactive": true, "visible": true }, { "description": "", "commandLine": "Add-AdditionalNSXManagers -workloadDomain $workloadDomain -extractedSDDCDataFile $extractedSddcDataFile", "displayName": "Add NSX Managers to Cluster", "condition": [ { "type": "dataPath", "path": "selectedDomain.nsxNodeDetails.count", "operator": "ne", "value": "1" } ], "threadId": "1", "waitFor": [ "1", "2" ], "interactive": true, "visible": true }, { "description": "", "commandLine": "Invoke-SddcManagerSSHKeyRefresh -vCenterFQDN $restoredVcenterFqdn -vCenterAdmin $restoredVcenterAdmin -vCenterAdminPassword $restoredVcenterAdminPassword -extractedSDDCDataFile $extractedSddcDataFile -clusterName $clusterName -workloadDomain $workloadDomain -VcfUserPassword $vcfUserPassword", "displayName": "Invoke SDDC Manager SSHKey Refresh", "condition": [], "threadId": "1", "interactive": false, "visible": true }, { "description": "", "commandLine": "Update-DomainDatastoreID -extractedSDDCDataFile $extractedSddcDataFile -vCenterFqdn $restoredVcenterFqdn -clusterName $clusterName -VcfUserPassword $vcfUserPassword -RootPassword $rootPassword -autoConfirm", "displayName": "Update Domain Datastore ID", "condition": [], "threadId": "1", "interactive": false, "visible": true }, { "description": "", "commandLine": "Update-ClusterHostSourceIDs -extractedSDDCDataFile $extractedSddcDataFile -vCenterFqdn $restoredVcenterFqdn -clusterName $clusterName -VcfUserPassword $vcfUserPassword -RootPassword $rootPassword -autoConfirm", "displayName": "Update Cluster Host Source IDs", "condition": [], "threadId": "1", "interactive": false, "visible": true }, { "description": "", "commandLine": "Resolve-PhysicalHostServiceAccounts -targetFQDN $restoredVcenterFqdn -targetAdmin $restoredVcenterAdmin -targetAdminPassword $restoredVcenterAdminPassword -clusterName $clusterName -svcAccountPassword $svcAccountPassword -sddcManagerFqdn $sddcManagerFqdn -sddcManagerAdmin $sddcManagerAdmin -sddcManagerAdminPassword $sddcManagerAdminPassword", "displayName": "Resolve Physical Host Service Accounts", "condition": [], "threadId": "1", "interactive": false, "visible": true }, { "description": "", "commandLine": "Clear-vCenterAlarms -vCenterFQDN $restoredVcenterFqdn -vCenterAdmin $restoredVcenterAdmin -vCenterAdminPassword $restoredVcenterAdminPassword", "displayName": "Clear vCenter Alarms", "condition": [], "threadId": "1", "interactive": false, "visible": true } ] |