I have the following setup:
Two HP DL360's running ESXi 4.1 update 2 (fully patched).
Each ESXi host has a HP VSA 9.5 installed with a simple 2 way mirror setup on a single cluster. The shared storage presents to each ESXi host and I am able to build VM's and fail over in the event of a host failure.
The problem I have is that when I restart one/both ESXi hosts, the shared VSA cluster storage is not automatically discovered on the restarted host until the HBA's are rescanned. Once the HBA's are rescanned and the storage refreshed the VM's are available on that host.
The VSA's are set to automatically start so them being operational is not a problem. If I run esxcfg-rescan --all from the console, this also resolves the problem, but neither of these are automatic.
I have added the esxcft-rescan --all command to the rc.local file, but the VSA's are not booted/operational at this point so there is nothing to rescan.
Essentially I want the shared storage to be automatically available as soon as the ESXi/VSA's are booted. Any ideas?
Thanks in advance.