Automating Dell Equallogic Guest LUN Failover
One of my most recent work related endeavors is creating an end-to-end solution for Automating the failover of Virtual systems/infrastructure from one site to another site. To accomplish this I am blending multiple technologies together. The technologies I am using to accomplish this are VMWare Site Recovery Manager, VMWare PowerShell API, VMWare vRealize Orchestrator, Equallogic Powershell API, Windows PowerShell API + some .NET Assemblies.
The end goal is to have a few Orchestrator workflows that will completely automate the planned or forced failover of SRM protected sites. This solution will also account for physical servers/devices, routing/switching changes, SQL AlwaysOn Cluster DAG Failover and individual instance/database failover to DR.
In this article I am going to share a toned down version of one single script out of the multitude of scripts required for the full end-to-end solution. The script in question I have converted into a stand alone script that can function by itself. The script itself will automate the disconnect, replication, failover, and reconnection of all Replicated Equallogic LUN(s) on a Windows 2008-2012 R2 Server.
Due to LinkedIn handling code poorly I am linking to my wordpress site for the full Article