I had two host in a cluster in VC with an iSCSI SAN. I got an error that one of the host was unavailable. I then removed the host and tried to reconnect with no success. I then wen to the console and tried userdel -r vpxuser. It comes back with the following error: userdel: unable to lock group file. How do I fix this?
Darrell Eddy
esxcfg-vswif -l results are identical to second working host except for different IP address cable checked and verified.
Darrell
But you say that network does not work correctly.
Try also to change switch port and be sure that IP is not in use.
Andre
After removing the vpxa from the host, remove it from inventory and re-add the host. I think this should work.
-Sandeep
Changed physical switch port. I can ping out but I can't ping the console IP address. I would just reinstall if I could manually reassign the two VM's to the second host.
Darrell
Some good news. After trying the manual vpxa remove a few times, and then trying to re add the host to VC, it would still show as disconnected. But, this morning, the two VM's that I really needed finally shows up and are now assigned to the second host. I should be able to safely reinstall the failed ESX host from scratch. Is there a way to capture the settings from the second host, modify them for the correct name and IP settings, and apply them to the new host?
Darrell
Is there a way to capture the settings from the second host, modify them for the correct name and IP settings, and apply them to the new host?
There isn't a automatic way to do.
But ESX configuration is very simple, using two VIC (one to your ESX "master" and one on your "new" ESX) you can replicate configuration in a few of minutes.
Andre
You can use host profiles to copy and apply settings from one host to another. But the hosts should be 4.0.
-Sandeep