Modify the VMware Cloud Builder Workflow for a Partial Bring-up of VMware Cloud Foundation
VMware Cloud Builder
Workflow for a Partial Bring-up of VMware Cloud Foundation
To recover the management domain of
VMware Cloud Foundation
, you use VMware Cloud Builder
to perform a partial bring-up.UI Procedure
- Open an SSH connection to theVMware Cloud Builderappliance and change torootuser.ssh admin@cloudbuilder su -
- Go to the directory that contains the workflow configuration files.cd /opt/vmware/bringup/webapps/bringup-app/conf/workflowconfig/
- Make a backup copy of the workflow file and create an empty workflow file.cp workflowspec-ems.json workflowspec-ems.json.backup rm workflowspec-ems.json touch workflowspec-ems.json chown vcf_bringup:vcf workflowspec-ems.json chmod 740 workflowspec-ems.json
- Edit the workflow file.
- Open the file for editing.vi workflowspec-ems.json
- Paste the following contents into the newly createdworkflowspec-ems.json{ "state": "Processing", "name": "bring-up-Ems", "description": "bring-up", "inputs": {}, "outputs": {}, "statetransitions": [ { "Action": "RegisterbringupDeploymentForCEIP" }, { "Action": "ValidateThumbprints" }, { "Action": "TrustCertificates" }, { "Action": "ImportSSHKeys" }, { "Action": "InitialEnvironmentSetup" }, { "Action": "VCDeployment" }, { "Action": "ManagementClusterContractConfiguration", "OutputMap": { "clusterMoid": "clusterMoid", "clusterName": "clusterName" } }, { "Action": "ManagementClusterConfiguration" }, { "Action": "EnableVsanDedupOnCluster" }, { "Action": "PostManagementClusterConfiguration" }, { "Action": "EnableVsphereClusterServices", "InputMap": { "clusterMoid": "clusterMoid" } }, { "Action": "ApplyEsxLicense" }, { "Action": "EnableVsanMonitoring", "InputMap": { "clusterMoid": "clusterMoid" } }, { "Action": "VCenterServiceAccountsConfiguration", "OutputMap": { "vcenterServiceAccount": "vcenterServiceAccount", "nsxtVcenterServiceAccount": "nsxtVcenterServiceAccount" } } ] }
- Save your changes and exit the editor.
PowerShell Procedure
- Start Windows PowerShell.
- Replace the values in the sample code with values from your and run the commands in the PowerShell console.$extractedSDDCDataFile = ".\extracted-sddc-data.json" $cloudBuilderFQDN = "sfo-cb01.sfo.rainpole.io" $cloudBuilderAdminUserPassword = "VMw@re1!" $cloudBuilderRootUserPassword = "VMw@re1!"
- Perform the configuration by running the command in the PowerShell console.New-PrepareforPartialBringup -extractedSDDCDataFile $extractedSDDCDataFile -cloudBuilderFQDN $cloudBuilderFQDN -cloudBuilderAdminUserPassword $cloudBuilderAdminUserPassword -cloudBuilderRootUserPassword $cloudBuilderRootUserPassword