Link to home
Start Free TrialLog in
Avatar of tech911
tech911

asked on

ESXi 5 : Password Lost

Have an ESXi 5.0 Server running a single VM.

Lost the root/????? password.

Need recommendation of best course of action to take?  
What are my options?

Looking for someone who actually performed whatever course of action you are going to recommend.
Avatar of Seth Simmons
Seth Simmons
Flag of United States of America image

you need to reinstall; no way in ESXi to reset

Reinstalling the ESXi host is the only supported way to reset a password on ESXi.

http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1317898
Avatar of tech911
tech911

ASKER

I read that too.
Have you done it in a production environment?
Avatar of tech911

ASKER

I believe I can re-install and my current VMFS will not be harmed nor will my VM that is in there.

I am guessing that before the re-install I should shutdown the VM properly.

After the re-install, what are the details on getting the VM that existed in the datastore BEFORE the re-install back into inventory, then get it back up and running (need the gritty details on this part).

Thanks
i don't remember the process i went through; it was an ESXi 4 system a few years ago
but yeah, i would shutdown the guest(s) properly
Avatar of tech911

ASKER

Thank you.

Does anybody else have any actual ESXi 5 experience they can offer in a production environment?
ESXi - Reset the password for root - VM-Help


We have performed the above procedure on many client sites, if you have the time.

Password reset is possible using the article posted, but it's considered a hack, and the VMware Supported solution is to re-install ESXi.

see here

VMware KB: Changing a forgotten root password on an ESX/ESXi host
SOLUTION
Avatar of Numbid
Numbid
Flag of France image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of tech911

ASKER

Don't want to use an unsupported method, re-installing is the best bet.

My host is a Dell PE2950 with 6x 1TB Drives Raid5 everything is installed on one large disk, thus I can't "disconnect" my storage, but I don't believe I have to.

When I re-install ESXi 5, will the re-install destroy my existing VMFS datastore along with the VM that resides on my VMFS or will it recognize that there is already a file system/files there and leave it alone so I can add it back into inventory after.

That is what I need to know.
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Uh, sorry, i've never had vmdks on local vmfs ;)

And disconnecting network-attached storage was an habit i took on every OS install since windows has the good idea to write on any SAN-attached storage without any concern of what was residing on it... but ESXi handles it better, even if a missclick is always possible ;)