VMware Cloud Community
dingding
Enthusiast
Enthusiast

Storage boot is slower then ESX boot

Sometimes, power outage occured in my datacenter, after power is resumed, the ESX, Storage booted at the same time, but my storage boot process is slower than ESX boot, so some ESX can't see the VMFS and VMs can't boot. if i reboot the ESX, all is OK. i just want to know if there exists some method to make the ESX boot wait until storage is totally ready.

---- Idleness is not doing nothing. Idleness is being free to do anything.
0 Kudos
3 Replies
Texiwill
Leadership
Leadership

Hello,

Instead of using the built-in tools for starting VMs you could add code to /etc/rc.d/rc.local to rescan the storage and if its available then start the VMs. Other than this, I have not seen anything that will delay the ESX scan for LUNs.

Another option is to use a 'boot server' that will wait until the storage is booted then boot the ESX hosts using wake on LAN or something like that perhaps use the same server to properly shutdown things when a UPS comes online.....

However another option is to use the features of some of the PDUs out there. Mine allow me to delay when power is applied to the socket so that I can boot hosts after others come up. APC PDUs have this feature.


Best regards,

Edward L. Haletky

VMware Communities User Moderator

====

Author of the book 'VMWare ESX Server in the Enterprise: Planning and Securing Virtualization Servers', Copyright 2008 Pearson Education.

Blue Gears and SearchVMware Pro Blogs: http://www.astroarch.com/wiki/index.php/Blog_Roll

Top Virtualization Security Links: http://www.astroarch.com/wiki/index.php/Top_Virtualization_Security_Links

--
Edward L. Haletky
vExpert XIV: 2009-2023,
VMTN Community Moderator
vSphere Upgrade Saga: https://www.astroarch.com/blogs
GitHub Repo: https://github.com/Texiwill
Brostellion
Contributor
Contributor

Is there another simple possibility.

Edit the /etc/grub.conf and modify the value "timeout=10"

Change with a value that let the time for San to start properly.

I have a timeout of 300 second

dingding
Enthusiast
Enthusiast

really simple, and i can press enter to continue if i don't want wait

-


Idleness is not doing nothing. Idleness is being free to do anything.

---- Idleness is not doing nothing. Idleness is being free to do anything.
0 Kudos