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

6

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

7

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

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

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

/home/vrack/VMware/vRack/server-commission.properties

6. Then attempted to run the recommission script

sudo /home/vrack/bin/server-commission.sh

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

2

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

8

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

1

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

5

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

9

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)

https://docs.vmware.com/en/VMware-Cloud-Foundation/2.1.3/com.vmware.vcf.admin.doc_213/GUID-47B2C555-3184-40B5-BCA9-86033A717786.html

 

Leave a Reply

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

WordPress.com Logo

You are commenting using your WordPress.com 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