JJunkins1
asked on
VMware SRM Post Power On IP Change Script
Guys,
VMware > SRM 4 > Recovery Plans > VM config > Post Power On
I'm looking for a script that will change the static IP of a specific VM after it's powered on. My recovery site uses a different subnet than the protected site so I need to change the static IP of the VM after it boots. I know it can be done but I'm far from a scripting expert. I believe I have all the components installed to perform the task. Any help is greatly appreciated. My next step is to call VMware after Christmas. Getting this to work is an end-of-year performance goal for my team.
Thanks.
VMware > SRM 4 > Recovery Plans > VM config > Post Power On
I'm looking for a script that will change the static IP of a specific VM after it's powered on. My recovery site uses a different subnet than the protected site so I need to change the static IP of the VM after it boots. I know it can be done but I'm far from a scripting expert. I believe I have all the components installed to perform the task. Any help is greatly appreciated. My next step is to call VMware after Christmas. Getting this to work is an end-of-year performance goal for my team.
Thanks.
ASKER
I specified my Host and Guest credentials as well as my IP configs but it didn't work. I trimmed a few things out, tried it without the credentials completely, still no luck. I don't think it needs to be so specific and detailed but again I'm no expert. SRM shouldn't need Host and VC info, at most maybe the Guest credentials. Any other ideas? I'm heading out for the holidays so I may not do any other tests for a while.
Okay, have a good one, I'll have a look here in the lab.
ASKER
I've made a request with VMware. I'll keep this open until I receive a response with them and also post the results, if any.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Here's the link to the SRM Admin Guide along with the attachment.
https://www.vmware.com/pdf/srm_admin_4_1.pdf
srm-admin-4-1.pdf
https://www.vmware.com/pdf/srm_admin_4_1.pdf
srm-admin-4-1.pdf
ASKER
Exact solution to configuring VMware SRM Guest IP changes upon Power On.
http://www.virtu-al.net/2010/02/05/powercli-changing-a-vm-ip-address-with-invoke-vmscript/