VMware Cloud Community
darrelleddy
Enthusiast
Enthusiast
Jump to solution

Cannot re add host

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

0 Kudos
26 Replies
darrelleddy
Enthusiast
Enthusiast
Jump to solution

esxcfg-vswif -l results are identical to second working host except for different IP address cable checked and verified.

Darrell

0 Kudos
AndreTheGiant
Immortal
Immortal
Jump to solution

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

Andrew | http://about.me/amauro | http://vinfrastructure.it/ | @Andrea_Mauro
0 Kudos
admin
Immortal
Immortal
Jump to solution

After removing the vpxa from the host, remove it from inventory and re-add the host. I think this should work.

-Sandeep

0 Kudos
darrelleddy
Enthusiast
Enthusiast
Jump to solution

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. Smiley Sad

Darrell

0 Kudos
darrelleddy
Enthusiast
Enthusiast
Jump to solution

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

0 Kudos
AndreTheGiant
Immortal
Immortal
Jump to solution

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

Andrew | http://about.me/amauro | http://vinfrastructure.it/ | @Andrea_Mauro
0 Kudos
admin
Immortal
Immortal
Jump to solution

You can use host profiles to copy and apply settings from one host to another. But the hosts should be 4.0.

-Sandeep

0 Kudos