Issue Re-Commissioning a host in vCF

I wanted to decommission an esxi server from VMware Cloud Foundation and recommission it to test the procedure but i ran into an issue . Here are the steps that  i followed :

  1. Decommissioned  the host from SDDC manager. Once decommissioned then the esxi password defaults back to EvoSddc!2016


2. Re-imaged the host using the VIA and selecting the device type as “ESXI_Server”


3. Once the host was installed then i assigned it an IP of (has to be in the range of –

4. . Checked that SSH was enabled and the firewall rules were set correctly (connections restricted to the subnet)

5. SSH’d to the VRM (SDDC Manager) VM and edited the following file to reflect the BMC username and password


6. Then attempted to run the recommission script

sudo /home/vrack/bin/

I could see that the host was being picked up correctly but the recommission procedure was failing :


Then i looked in the vrack-vrm.log which is located in /home/vrack/vrm/logs and i was able to get more information as to what was causing the commissioning to fail. It seemed that the host was trying to mount an nfs datastore and the procedure was failing


Then i logged into the host using  the vSphere Client and could see that the host was trying to mount an NFS datastore from the LCM repository VM


I then examined this VM and could see that it didnt have any IP address and the nics were disconnected


I connected the NICS , rebooted the VM and it then showed valid IP addresses. I reran the host commission procedure and this time it succeeded


Once this had succeeded then i was able to see the host in the SDDC manager physical inventory and continue with the remaining steps to commission the host (Step 8 onwards)


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s