Changing hard drive where ESXi is installed and boots from?

Some ESXi hosts were set up several years ago in what seems to be a 'temporary' fashion.
One Host has all datastores in RAID0.
The other host, all but one are RAID0, and of course ESXi was installed on one of the RAID0.

I checked this in vCenter by going to Configuration -> Hardware -> Storage -> Device View and looking for the devices with 'VMware Diagnostic' and 'Legacy MBR' partitions. This is the right way to check where ESXi is installed, right?

So now I want to fix this by making these datastores at least RAID1. The VM's I can handle migrating them between datastores as I swap disks but I'm not sure how this would be done for the ESXi install itself.

Is there a way to move the install to another datastore?

Ideally, I'd like to copy the install to another datastore and then test ESXi boots from that location before I swap out the current disks. Is that possible?
SeeDkAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
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.

Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
I checked this in vCenter by going to Configuration -> Hardware -> Storage -> Device View and looking for the devices with 'VMware Diagnostic' and 'Legacy MBR' partitions. This is the right way to check where ESXi is installed, right?

Correct.

Is there a way to move the install to another datastore?

No.

Ideally, I'd like to copy the install to another datastore and then test ESXi boots from that location before I swap out the current disks. Is that possible?

No.

I'm afraid you will need to do the following:-

1. Backup current configuration.
2. ReDo your RAID setup.
3. Re-install ESXi
4. Restore configuration.
5. Re-register VMs with ESXi.

and if you are going to do all that, I would recommend installing ESXi to USB flash drive or SD card, which it's been designed to do, and leave ALL the spinny rust to datastores.

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
SeeDkAuthor Commented:
Thanks, wanted to avoid that but guess it can't be helped.
#1 and #4 you mean the vCenter config right? How would I do that?

The VMs themselves wouldn't be affected by the removal of the ESXi OS right? As long as the disks they are on have no issues, I can just reinstall ESXi on the same server and re-register the VMs?
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
#1 and #4 you mean the vCenter config right? How would I do that?

No. vCenter Server configuration is stored in the vCenter Server database. The ESXi host  configuration is stored on the host.

backup/restore  is covered here

https://kb.vmware.com/s/article/2042141

The VMs themselves wouldn't be affected by the removal of the ESXi OS right? As long as the disks they are on have no issues, I can just reinstall ESXi on the same server and re-register the VMs?

Correct. Just make sure you select PRESERVE and do not overwrite the VMFS datastore.
Big Business Goals? Which KPIs Will Help You

The most successful MSPs rely on metrics – known as key performance indicators (KPIs) – for making informed decisions that help their businesses thrive, rather than just survive. This eBook provides an overview of the most important KPIs used by top MSPs.

SeeDkAuthor Commented:
Ok, this seems straightforward. On that link there is a note about a bootbank file.
Any chance this would be needed?

Correct. Just make sure you select PRESERVE and do not overwrite the VMFS datastore.

Is this option presented during the ESXi config restore or is it when adding the VM back to inventory?
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
Is this option presented during the ESXi config restore or is it when adding the VM back to inventory?

neither, when you install ESXi to your spinning disks. Which to be honest with you I would not recommend, install to USB or SD card, as it was designed to do.

and make sure you have good valid VM backups, just in case you make a mistake and destroy your VMs or datastore!
SeeDkAuthor Commented:
Thanks! Yes, backups are step 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
Storage

From novice to tech pro — start learning today.