Issue while moving ESX host from old VC5.1 to the new VCSA 6.0

We were doing the ESX Host (5.1 )  migration from the old windows VC5.1 to the new VC6.0 appliance , few hosts were having issue while adding it to the new VC and it got failed with the  Time-out Error and not registered in to the cluster.

After adding the ESX host , it will ask to accept the certificate and once we click “yes” it was taking too much time to go the next option and it got failed with the Time-out error .We tried using the IP but that also had similar issue.

So we login to the SSH and restarted all the management services ( services.sh restart ) but that also didnt help and we were suspecting the issue might be because of the certificate from the ESX host and decided to regenerate the esx host certificate again.

Steps followed to regenerate the ESX host certificate.

Log in to the ESXi Shell and acquire root privileges.

In the directory /etc/vmware/ssl, back up any existing certificates by renaming them using the following commands.
mv rui.crt orig.rui.crt
mv rui.key orig.rui.key

Note
If you are regenerating certificates because you have deleted them, this step is unnecessary.

Run the command /sbin/generate-certificates to generate new certificates.

Run the command /etc/init.d/hostd restart to restart the hostd process.

Confirm that the host successfully generated new certificates by using the following command and comparing the time stamps of the new certificate files with orig.rui.crt and orig.rui.key.

ls -la

Once certificate is regenerated , we restarted the management service again using  services.sh restart and added the ESX host successfully without any issue.

Reference :

https://pubs.vmware.com/vsphere-50/index.jsp?topic=%2Fcom.vmware.vsphere.troubleshooting.doc_50%2FGUID-757EEE28-042A-4627-9CB1-2C3388B2062A.html

Advertisements
This entry was posted in ESX command, vCSA 6.0, VMware and tagged , , , . Bookmark the permalink.

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 )

Twitter picture

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

Facebook photo

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

Google+ photo

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

Connecting to %s