Modify the
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

  1. Open an SSH connection to the
    VMware Cloud Builder
    appliance and change to
    root
    user.
    ssh admin@cloudbuilder su -
  2. Go to the directory that contains the workflow configuration files.
    cd /opt/vmware/bringup/webapps/bringup-app/conf/workflowconfig/
  3. 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
  4. Edit the workflow file.
    1. Open the file for editing.
      vi workflowspec-ems.json
    2. Paste the following contents into the newly created
      workflowspec-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" } } ] }
    3. Save your changes and exit the editor.

PowerShell Procedure

  1. Start Windows PowerShell.
  2. 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!"
  3. Perform the configuration by running the command in the PowerShell console.
    New-PrepareforPartialBringup -extractedSDDCDataFile $extractedSDDCDataFile -cloudBuilderFQDN $cloudBuilderFQDN -cloudBuilderAdminUserPassword $cloudBuilderAdminUserPassword -cloudBuilderRootUserPassword $cloudBuilderRootUserPassword