Is anyone out there? - Storage failover script

Is anyone out there? - Storage failover script

So far I've posted a few scripts, helped out in the community a little bit. And what I'm wondering is has anyone noticed? I've got more powershell scripts, and aparently people have downloaded the ones I've posted, and given me a few points for them. But no one's commented on my own blog, here, or pretty much anywhere else to let me know if the scripts were helpful.

In any case here's a script I wrote a few weeks ago for doing a HP EVA CA failover or any SAN/storage failover (without purchasing SRM ) just using powershell.

  1. This program will work with Vsphere or vcenter - at the moment I haven't had time to perfect passing the login credentials to sub threads. So you'll have to put the credentials in two places.

  2. It makes it a bit easier to deal with things, as it will give you a list of LUN's which you then select the one that you want to failover.

  3. It will shutdown/suspend the VM's and then prompt you to rescan after you have done the failover via your Storage appliance. After you've done a rescan - or two (in case you rescan before your storage is available again)

  4. then it will resume/start only the VM's that were powered on when you began.

When I have time, I plan on getting it to detect if it's Vsphere and to do a datastore rescan across all of the hosts (it's new in vsphere) and developing a way to have it verify that the lun is available again before it resumes/starts the VM's I believe one of the newer vsphere powershell commands will allow you to send and receive files from a ESX server so I'll probably try to write/read a file from the lun.

!http://www.sitevacuum.com/publisher/GoogleSearchIconShadow.gif!

!http://www.SiteVacuum.com/publisher/GoogleSearchIconShadow.gif!

!http://www.SiteVacuum.com/publisher/GoogleSearchIconShadow.gif!

!http://www.SiteVacuum.com/publisher/GoogleSearchIconShadow.gif!

Attachments
Version history
Revision #:
1 of 1
Last update:
‎12-15-2009 08:13 AM
Updated by: