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

 

vExpert 2017

expert

I am delighted to be added to the vExpert team for 2017. The vExpert community is a great forum with some great benefits some of which include :

vExpert Program Benefits

  • Invite to our private #Slack channel
  • vExpert certificate signed by our CEO Pat Gelsinger.
  • Private forums on communities.vmware.com.
  • Permission to use the vExpert logo on cards, website, etc for one year
  • Access to a private directory for networking, etc.
  • Exclusive gifts from various VMware partners.
  • Private webinars with VMware partners as well as NFR’s.
  • Access to private betas (subject to admission by beta teams).
  • 365-day eval licenses for most products for home lab / cloud providers.
  • Private pre-launch briefings via our blogger briefing pre-VMworld (subject to admission by product teams)
  • Blogger early access program for vSphere and some other products.
  • Opportunity to receive a free blogger pass to VMworld US or VMworld Europe (limited to 50 for US and 35 for EU).
  • Featured in a public vExpert online directory.
  • Access to vetted VMware & Virtualization content for your social channels.
  • Yearly vExpert parties at both VMworld US and VMworld Europe events.
  • Identification as a vExpert at both VMworld US and VMworld EU

Here is a full list of the 2017 H2 vExperts :

https://blogs.vmware.com/vmtn/2017/08/vexpert-2017-second-half-announcement.html