Automation

 View Only
  • 1.  SRM Substitute Script

    Posted Jul 25, 2010 12:09 PM

    Does any one have a script that can act as a substitute to SRM, basically we need to turn the machines on in our DR site using Snapmirror (nfs). This is what happens (steps below) using a combo of manual gui and scripts, problems at the moment is that the shutdown vmtools scripts is not being run and machines are not releasing their ip so we have to manually clean these up before the guests are turned on. Not sure if there is an easy way of doing it rather than the half scripted and manual way we are doin it now.

    Shutdown machines per snapmirror datastores

    Then unregister these machines

    update the mirrors on the destination datatore

    cleanup old dns data (so machine can re-register at DR)

    register and power on the machines at the dr vmware servers (or add to inventory)

    reverse mirrors

    I've see lots of simlar scripts but nothing exact, if someone can point me in the right direction preferably using powershell.