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.
LVL 3
tech911Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Seth SimmonsSr. Systems AdministratorCommented:
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
0
tech911Author Commented:
I read that too.
Have you done it in a production environment?
0
tech911Author Commented:
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
0
Powerful Yet Easy-to-Use Network Monitoring

Identify excessive bandwidth utilization or unexpected application traffic with SolarWinds Bandwidth Analyzer Pack.

Seth SimmonsSr. Systems AdministratorCommented:
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
0
tech911Author Commented:
Thank you.

Does anybody else have any actual ESXi 5 experience they can offer in a production environment?
0
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
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
0
NumbidCommented:
Disconnect storage (or mask the lun) while re-installing ESXi, and add it later using vSphere client / CLI.

To get your VMs back into inventory, you'll just need to browse each VM dir on your datastore, right the .vmx file and select Add to inventory.
0
tech911Author Commented:
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.
0
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
The installer will detect any existing VMFS partition, and ASK you if you want to Preserve it - Select YES!

OR....install ESXi on a USB/SD card, much better and recommended.

on the 2950 you also have a usb interface inside the case for this use!

Here is the VMware KB on installing 5.0 on USB/SD:
http://kb.vmware.com/kb/2004784
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
NumbidCommented:
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 ;)
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
VMware

From novice to tech pro — start learning today.