I have a kind of dumb problem. I have a 5 node nutanix cluster at 188.8.131.52, running ESXi 6.0. We've got one host in the cluster where the root password has been lost somehow. According to vmware, the only supported way to change it is to re-install. Which is no big deal, except that if I re-install what happens to the CVM? I understand all the steps like doing a cvm_shutdown, etc. But once CVM is powered off can I move it to another host for safekeeping, and move it back once I'm done? Should I remove it from inventory and then add it back after re-installation? All of the nutanix documentation says not to move it when doing an upgrade of ESXi. But I have to do a fresh install vs. an upgrade. Any ideas?
Thanks very much!
Best answer by sandeepmp
Login to any CVM and run below command.
Login to CVM of the host which you need to change password.
Run below command and provide new password.
ssh firstname.lastname@example.org "passwd root"
allssh 'ssh email@example.com "passwd root"'
This will prompt for new password.
Provide details for each host.