plans/fdr/fdr-failover-plan.json
|
[
{ "description": "NSX Federation (manual, only if NSX Federation is used between VCF Instances): assign the Active role to the NSX Global Manager in the recovery VCF Instance, reconfigure the NSX Tier-1 Gateway for dynamic routing, and connect the NSX Load Balancer to the standalone Tier-1 Gateway", "commandLine": "Confirm-ManualStep -Message 'Press Enter once the NSX Federation tasks are complete (or not applicable)' -AnswerKey 'nsx-federation-tasks-complete'", "displayName": "Confirm Manual Step: NSX Federation tasks are complete (if applicable)", "condition": [], "threadId": "1", "interactive": true, "visible": true }, { "description": "Initiate a disaster recovery of VCF Operations for Fleet Disaster Recovery and VCF Operations for networks in the recovery VCF Instance (manual)", "commandLine": "Confirm-ManualStep -Message 'Press Enter once VCF Operations and VCF Operations for networks have been recovered' -AnswerKey 'vcf-ops-recovered'", "displayName": "Confirm Manual Step: VCF Operations appliances have been recovered", "condition": [], "threadId": "1", "interactive": true, "visible": true }, { "description": "Modify the fleet component VIP DNS entries for failover using the user-provided script (must exit 0 on success and non-zero on failure)", "commandLine": "Invoke-UserScript -ScriptPath $dnsScriptPath", "displayName": "Run User-Provided DNS Entry Modification Script", "condition": [ { "type": "variable", "name": "userProvidedDnsScript", "operator": "eq", "value": "true" } ], "threadId": "1", "interactive": false, "visible": true }, { "description": "Modify DNS entries for the fleet component VIPs before recovery (manual)", "commandLine": "Confirm-ManualStep -Message 'Press Enter once the DNS entries for the fleet component VIPs have been modified' -AnswerKey 'fleet-vip-dns-updated'", "displayName": "Confirm Manual Step: DNS entries for fleet component VIPs have been modified", "condition": [ { "type": "variable", "name": "userProvidedDnsScript", "operator": "eq", "value": "false" } ], "threadId": "1", "interactive": true, "visible": true }, { "description": "Retrieve Component Details from VCF Operations", "commandLine": "Get-VcfOperationsRegisteredComponents -VcfOperationsFqdn $vcfOperationsFqdn -Password $vcfOperationsAdminPassword", "displayName": "Get VCF Operations Registered Components", "condition": [], "threadId": "1", "interactive": false, "visible": true }, { "description": "Trust the Offline Depot Certificate on this machine (needed to read the offline depot's directory index)", "commandLine": "Add-OfflineDepotTrustedCertificate -offlineDepotFqdn $offlineDepotFqdn -offlineDepotPort $offlineDepotPort", "displayName": "Trust Offline Depot Certificate on Jumpbox", "condition": [], "threadId": "1", "interactive": false, "visible": true }, { "description": "Retrieve a List of Backups for VCF Management Services Fleet Components", "commandLine": "Get-BackupsFromSFTPServer -sftpServer $sftpHost -sftpUser $sftpUsername -sftpPassword $sftpPassword -sftpServerBackupPath $sftpDirectory -ServicesRuntimeFqdn $sourceVcfmsServicesRuntimeFqdn -opsRegisteredComponentsFile \".\\VCFOps-Registered-Component-Details.json\" -componentNames \"vcf-fleet-lcm\",\"vcf-fleet-depot\",\"salt-raas\",\"vidb\" -unauthorizedDepot -offlineDepotFqdn $offlineDepotFqdn -offlineDepotPort $offlineDepotPort", "displayName": "Retrieve VCFMS Backups", "condition": [], "threadId": "1", "interactive": true, "visible": true }, { "description": "Retrieve a List of Backups for Log Management", "commandLine": "Get-BackupsFromSFTPServer -sftpServer $sftpHost -sftpUser $sftpUsername -sftpPassword $sftpPassword -sftpServerBackupPath $sftpDirectory -ServicesRuntimeFqdn $sourceVcfmsServicesRuntimeFqdn -opsRegisteredComponentsFile \".\\VCFOps-Registered-Component-Details.json\" -Type opsLogs -unauthorizedDepot -offlineDepotFqdn $offlineDepotFqdn -offlineDepotPort $offlineDepotPort", "displayName": "Retrieve Log Management Backups", "condition": [], "threadId": "1", "interactive": true, "visible": true }, { "description": "Retrieve a List of Backups for VCF Automation", "commandLine": "Get-BackupsFromSFTPServer -sftpServer $sftpHost -sftpUser $sftpUsername -sftpPassword $sftpPassword -sftpServerBackupPath $sftpDirectory -opsRegisteredComponentsFile \".\\VCFOps-Registered-Component-Details.json\" -Type vcfa -unauthorizedDepot -offlineDepotFqdn $offlineDepotFqdn -offlineDepotPort $offlineDepotPort", "displayName": "Retrieve VCF Automation Backups", "condition": [], "threadId": "1", "interactive": true, "visible": true }, { "description": "Extract Fleet VIP Address Configuration from the Source Services Runtime Backup", "commandLine": "New-ExtractVcfmsBackup -LocalArchivePath $localArchivePath -EncryptionPassphrase $encryptionPassphrase -OutputDir \".\\backup-yaml\" -ServicesRuntimeFqdn $targetVcfmsServicesRuntimeFqdn -ServicesRuntimePassword $targetVcfmsServicesRuntimePassword", "displayName": "Extract VCFMS Backup", "condition": [], "waitFor": [ "1" ], "threadId": "2", "interactive": false, "visible": true }, { "description": "Scale Target Cluster Size", "commandLine": "Set-ServicesRuntimeScale -ServicesRuntimeFqdn $targetVcfmsServicesRuntimeFqdn -ServicesRuntimePassword $targetVcfmsServicesRuntimePassword -KubeconfigOutputDir \".\\backup-yaml\" -BackupYamlDir \".\\backup-yaml\"", "displayName": "Set Services Runtime Scale", "condition": [], "threadId": "2", "interactive": true, "visible": true }, { "description": "Apply Fleet VIP on Recovery VCF Management Services Instance", "commandLine": "Set-VcfmsFleetIdentity -BackupYamlDir \".\\backup-yaml\" -KubeconfigOutputDir \".\\backup-yaml\" -ServicesRuntimeFqdn $targetVcfmsServicesRuntimeFqdn -ServicesRuntimePassword $targetVcfmsServicesRuntimePassword -FleetVip $fleetVip -opsRegisteredComponentsFile \".\\VCFOps-Registered-Component-Details.json\"", "displayName": "Set VCFMS Fleet Identity", "condition": [], "threadId": "2", "interactive": false, "visible": true }, { "description": "Trust the Offline Depot Certificate on the VCF Management Services Services Runtime (needed to retrieve the packages from the offline depot during restore)", "commandLine": "Add-VcfmsTrustedCertificate -ServicesRuntimeFqdn $targetVcfmsServicesRuntimeFqdn -ServicesRuntimePassword $targetVcfmsServicesRuntimePassword -RemoteHostFqdn $offlineDepotFqdn -RemoteHostPort $offlineDepotPort", "displayName": "Trust Offline Depot Certificate on VCF Management Services Services Runtime", "condition": [], "threadId": "2", "interactive": false, "visible": true }, { "description": "Restore the Fleet Components on the Recovery VCF Management Services Instance", "commandLine": "Restore-ServicesRuntimeComponentBackup -ServicesRuntimeFqdn $targetVcfmsServicesRuntimeFqdn -ServicesRuntimePassword $targetVcfmsServicesRuntimePassword", "displayName": "Restore VCFMS Backups", "condition": [], "threadId": "2", "interactive": true, "visible": true }, { "description": "Update SDDC LCM with Credentials", "commandLine": "Update-VcfmsSddcLcmCredentials -ServicesRuntimeFqdn $targetVcfmsServicesRuntimeFqdn -ServicesRuntimePassword $targetVcfmsServicesRuntimePassword -SftpHost $sftpHost -SftpUser $sftpUsername -SftpPassword $sftpPassword -SftpRemoteDir $sddcLcmSftpRemoteDir -EncryptionPassphrase $encryptionPassphrase", "displayName": "Update SDDC LCM Backup Secrets", "condition": [], "threadId": "2", "interactive": false, "visible": true }, { "description": "Update the Identity Broker VIP Address", "commandLine": "Set-ServicesRuntimeComponentVips -ServicesRuntimeFqdn $targetVcfmsServicesRuntimeFqdn -ServicesRuntimePassword $targetVcfmsServicesRuntimePassword -ComponentType \"vidb\" -Vips $vidbVip", "displayName": "Set Services Runtime Component VIPs", "condition": [], "threadId": "2", "interactive": true, "visible": true }, { "description": "Update the Identity Broker VCF Instance Association", "commandLine": "Invoke-VcfOpsVidbVcfInstanceUpdate -VcfOpsFqdn $vcfOperationsFqdn -VcfUserPassword $vcfUserPassword -VcfOpsAdminPassword $vcfOperationsAdminPassword -ServicesRuntimeFqdn $targetVcfmsServicesRuntimeFqdn -SddcManagerUser $sddcManagerAdmin -SddcManagerPassword $sddcManagerAdminPassword -opsRegisteredComponentsFile \".\\VCFOps-Registered-Component-Details.json\"", "displayName": "Invoke VCF Ops VIDB VCF Instance Update", "condition": [], "threadId": "2", "interactive": false, "visible": true }, { "description": "Update Fleet Component Registration", "commandLine": "Invoke-VcfmsFleetComponentRegistration -ServicesRuntimeFqdn $targetVcfmsServicesRuntimeFqdn -ServicesRuntimePassword $targetVcfmsServicesRuntimePassword -opsRegisteredComponentsFile \".\\VCFOps-Registered-Component-Details.json\" -ConfirmOpsMove -ConfirmOpsNetworksMove", "displayName": "Invoke VCFMS Fleet Component Registration", "condition": [], "threadId": "2", "interactive": false, "visible": true }, { "description": "Update VCF Operations Inventory (manual step)", "commandLine": "Confirm-ManualStep -Message 'Press Enter once VCF Operations inventory has been updated' -AnswerKey 'vcf-ops-inventory-updated'", "displayName": "Confirm Manual Step: VCF Operations inventory has been updated", "condition": [], "threadId": "2", "interactive": true, "visible": true }, { "description": "Restore Log Management", "commandLine": "Restore-ServicesRuntimeComponentBackup -ServicesRuntimeFqdn $targetVcfmsServicesRuntimeFqdn -ServicesRuntimePassword $targetVcfmsServicesRuntimePassword -RestoreJsonFile \".\\opsLogs-restore-payload.json\"", "displayName": "Restore Log Management Backup", "condition": [], "threadId": "2", "interactive": true, "visible": true }, { "description": "Update the Log Management VIP Address", "commandLine": "Set-ServicesRuntimeComponentVips -ServicesRuntimeFqdn $targetVcfmsServicesRuntimeFqdn -ServicesRuntimePassword $targetVcfmsServicesRuntimePassword -ComponentType \"ops-logs\" -Vips $logManagementVip", "displayName": "Set Services Runtime Component VIPs", "condition": [], "threadId": "2", "interactive": true, "visible": true }, { "description": "Update the Log Management State (manual step)", "commandLine": "Confirm-ManualStep -Message 'Press Enter once Log Management state is updated' -AnswerKey 'log-management-state-updated'", "displayName": "Confirm Manual Step: Log Management state is updated", "condition": [], "threadId": "2", "interactive": true, "visible": true }, { "description": "Repoint SDDC Manager to the Unauthorized Offline Depot", "commandLine": "Set-SDDCManagerOfflineDepot -sddcManagerFqdn $sddcManagerFqdn -sddcManagerUser $sddcManagerAdmin -sddcManagerPassword $sddcManagerAdminPassword -vcfUserPassword $vcfUserPassword -localUserPassword $localUserPassword -rootPassword $rootPassword -offlineDepotFqdn $offlineDepotFqdn -offlineDepotPort $offlineDepotPort -unauthorizedDepot", "displayName": "Set SDDC Manager Unauthorized Offline Depot", "threadId": "3", "interactive": false, "visible": true }, { "description": "Download the VSP Bundle Required for VCF Automation Recovery", "commandLine": "Invoke-SddcManagerBundleDownload -sddcManagerFqdn $sddcManagerFqdn -vcfUserPassword $vcfUserPassword -rootPassword $rootPassword -adminPassword $localUserPassword -VcfVersion $vcfVersion -WaitForCompletion", "displayName": "Invoke SDDC Manager Bundle Download", "condition": [], "threadId": "3", "interactive": false, "visible": true }, { "description": "Deploy a VCF Automation Services Runtime Cluster", "commandLine": "New-ServicesRuntime -SddcManagerUser $sddcManagerAdmin -SddcManagerPassword $sddcManagerAdminPassword -ServicesRuntimeFqdn $targetVcfmsServicesRuntimeFqdn -SystemUserPassword $vcfaServicesRuntimePassword -Ipv4Addresses ($vcfaIpv4Addresses.Split(',').Trim()) -Size $vcfaSize -NetworkMoId $vcfaNetworkMoId -GatewayCidrIpv4 $vcfaGatewayCidrIpv4 -opsRegisteredComponentsFile \".\\VCFOps-Registered-Component-Details.json\" -InternalClusterCidrIpv4 $vcfaInternalClusterCidrIpv4 -Type CONSUMPTION", "displayName": "Create New Services Runtime for VCF Automation", "condition": [], "waitFor": [ "1" ], "threadId": "3", "interactive": true, "visible": true }, { "description": "Update SFTP Settings on a new Services Runtime Instance", "commandLine": "Set-ServicesRuntimeSftpBackupSettings -Type CONSUMPTION -ServicesRuntimePassword $vcfaServicesRuntimePassword -opsRegisteredComponentsFile \".\\VCFOps-Registered-Component-Details.json\" -SftpHost $sftpHost -SftpUsername $sftpUsername -SftpPassword $sftpPassword -SftpDirectory $sftpDirectory -EncryptionPassphrase $encryptionPassphrase", "displayName": "Set Services Runtime SFTP Backup Settings", "condition": [], "threadId": "3", "interactive": false, "visible": true }, { "description": "Trust the Offline Depot Certificate on the VCF Automation Services Runtime (needed to retrieve the packages from the offline depot during restore)", "commandLine": "Add-VcfmsTrustedCertificate -Type CONSUMPTION -ServicesRuntimePassword $vcfaServicesRuntimePassword -opsRegisteredComponentsFile \".\\VCFOps-Registered-Component-Details.json\" -RemoteHostFqdn $offlineDepotFqdn -RemoteHostPort $offlineDepotPort", "displayName": "Trust Offline Depot Certificate on VCF Automation Services Runtime", "condition": [], "threadId": "3", "interactive": false, "visible": true }, { "description": "Restore VCF Automation for VCF Fleet Disaster Recovery", "commandLine": "Restore-ServicesRuntimeComponentBackup -Type CONSUMPTION -ServicesRuntimePassword $vcfaServicesRuntimePassword -opsRegisteredComponentsFile \".\\VCFOps-Registered-Component-Details.json\" -RestoreJsonFile \".\\vcfa-restore-payload.json\"", "displayName": "Restore VCF Automation Backup", "condition": [], "threadId": "3", "interactive": true, "visible": true }, { "description": "Update the VCF Automation VIP Address", "commandLine": "Set-ServicesRuntimeComponentVips -ServicesRuntimePassword $vcfaServicesRuntimePassword -opsRegisteredComponentsFile \".\\VCFOps-Registered-Component-Details.json\" -ComponentType \"vcfa\" -Vips $vcfaVip", "displayName": "Set Services Runtime Component VIPs", "condition": [], "threadId": "3", "interactive": true, "visible": true }, { "description": "Point SDDC Manager to the FDS Depot", "commandLine": "Set-SDDCManagerFDSDepot -sddcManagerFqdn $sddcManagerFqdn -sddcManagerUser $sddcManagerAdmin -sddcManagerPassword $sddcManagerAdminPassword", "displayName": "Set SDDC Manager FDS Depot", "condition": [], "threadId": "3", "interactive": false, "visible": true }, { "description": "Update VCFA Registration", "commandLine": "Invoke-VcfmsVcfaRegistration -ServicesRuntimeFqdn $targetVcfmsServicesRuntimeFqdn -ServicesRuntimePassword $targetVcfmsServicesRuntimePassword -opsRegisteredComponentsFile \".\\VCFOps-Registered-Component-Details.json\" -OpsFqdn $vcfOperationsFqdn -VspPassword $vcfaServicesRuntimePassword -VcfaSystemPassword $vcfaSystemPassword -OpsPassword $vcfOperationsAdminPassword", "displayName": "Invoke VCFMS VCFA Registration", "condition": [], "waitFor": [ "2", "3" ], "threadId": "1", "interactive": false, "visible": true }, { "description": "Redeploy a license server for VCF Instance backup and restore (manual, only required if the failover will last more than 90 days)", "commandLine": "Confirm-ManualStep -Message 'Press Enter once the license server has been redeployed (or not applicable)' -AnswerKey 'license-server-redeployed'", "displayName": "Confirm Manual Step: License server has been redeployed (if applicable)", "condition": [], "threadId": "1", "interactive": true, "visible": true }, { "description": "Update the backup schedule configuration for the recovered components (manual)", "commandLine": "Confirm-ManualStep -Message 'Press Enter once the backup schedule configuration for the recovered components has been updated' -AnswerKey 'backup-schedule-updated'", "displayName": "Confirm Manual Step: Backup schedule configuration has been updated", "condition": [], "threadId": "1", "interactive": true, "visible": true }, { "description": "NSX Federation post-failover (manual, only if NSX Federation is used, once the original site is available again): disconnect the NSX Load Balancer in the original VCF Instance from the standalone Tier-1 Gateway, obtain the NSX Global Manager VIP certificate thumbprint, reconfigure the NSX Global Manager, and reconfigure the Tier-1 Gateway for dynamic routing", "commandLine": "Confirm-ManualStep -Message 'Press Enter once the NSX Federation post-failover tasks are complete (or not applicable)' -AnswerKey 'nsx-federation-post-failover-complete'", "displayName": "Confirm Manual Step: NSX Federation post-failover tasks are complete (if applicable)", "condition": [], "threadId": "1", "interactive": true, "visible": true }, { "description": "Reprotect VCF Operations for Fleet Disaster Recovery and VCF Operations for networks, after completing the reprotection prerequisites (manual)", "commandLine": "Confirm-ManualStep -Message 'Press Enter once VCF Operations and VCF Operations for networks have been reprotected' -AnswerKey 'vcf-ops-reprotected'", "displayName": "Confirm Manual Step: VCF Operations appliances have been reprotected", "condition": [], "threadId": "1", "interactive": true, "visible": true }, { "description": "Back up the recovered components to a highly available SFTP server (manual)", "commandLine": "Confirm-ManualStep -Message 'Press Enter once the recovered components have been backed up to the SFTP server' -AnswerKey 'recovered-components-backed-up'", "displayName": "Confirm Manual Step: Recovered components have been backed up to the SFTP server", "condition": [], "threadId": "1", "interactive": true, "visible": true } ] |