Discussions specific to the VMware vSphere hypervisor
Post Reply
wjching
Enthusiast
Posts: 49
Liked: 2 times
Joined: Jan 18, 2018 8:36 am
Full Name: Ching Wen Jun
Contact:

Source VM shutdown before failover for Failover Plan

Post by wjching » Jun 27, 2018 3:53 pm

Hi All,

I am testing some of the many failover options that is available on veeam.

Planned Failover : Shuts down the VM on source server and powers on VM on the target server. Applicable to 1 VM at a time only.
Failover Now : Does not shut down the VM on source Server and powers on VM on the target server. Applicable to 1 Vm at a time only.
Failover Plan : Allows the Veeam administrator to select multiple VM's and allows for sequential boot sequence on selected VM's, however this option does not shut down Vm on source server.

For a Failover Plan, would it be possible to incur a shut down on the source VM before powering it up on the Target Hosts? I did see some scripting options that can be applied, can this only be achieved via scripting ?

As always thanks in advance :)

Regards,
Wen Jun.
Thanks in advance for any suggestion or advice :D

Regards,
Wen Jun

veremin
Product Manager
Posts: 16897
Liked: 1438 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Contact:

Re: Source VM shutdown before failover for Failover Plan

Post by veremin » Jun 27, 2018 4:17 pm

I don't have console handy, but can't you multi-select replica VMs and execute failover or planned failover for them? Thanks.

wjching
Enthusiast
Posts: 49
Liked: 2 times
Joined: Jan 18, 2018 8:36 am
Full Name: Ching Wen Jun
Contact:

Re: Source VM shutdown before failover for Failover Plan

Post by wjching » Jun 28, 2018 2:34 am

Hi Eremin,

Yes that can be done. However, I was thinking of automating the failover using a failover plan. However, if i configure failover plan as it is. During failover the Source VM's do not shut down automatically such as how a planned failover would work. Is there anything I can do to make the source server shut down during the failover?

Lets just say i want to cater failover for say 50 - 100 VM's for example, and execute the failover in a timely manner.

As always thanks in advance everyone :)

Regards,
Wen Jun
Thanks in advance for any suggestion or advice :D

Regards,
Wen Jun

veremin
Product Manager
Posts: 16897
Liked: 1438 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Contact:

Re: Source VM shutdown before failover for Failover Plan

Post by veremin » Jun 28, 2018 2:00 pm

If you multi-select replica VMs and execute planned failover, source VMs will be shutdown.

If you want to stick with failover plan, then, you will need to write a PS script. The script will shutdown production VMs and execute failover plan afterwards.

Thanks.

wjching
Enthusiast
Posts: 49
Liked: 2 times
Joined: Jan 18, 2018 8:36 am
Full Name: Ching Wen Jun
Contact:

Re: Source VM shutdown before failover for Failover Plan

Post by wjching » Jul 01, 2018 4:42 am

Hi Eremin,

Thanks for the insight on this. However, I have added my source VM's via v-centre, not too sure if PS has the commands to execute this. A quick lookup online PS for executing VM shut down indicates that PS is only capable on shutting down VM's on HYPER-V platform.

Regards,
Wen Jun.
Thanks in advance for any suggestion or advice :D

Regards,
Wen Jun

veremin
Product Manager
Posts: 16897
Liked: 1438 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Contact:

Re: Source VM shutdown before failover for Failover Plan

Post by veremin » Jul 02, 2018 5:14 pm

You need to leverage PowerCLI, Stop-VM cmdlet or similar. Thanks.

wjching
Enthusiast
Posts: 49
Liked: 2 times
Joined: Jan 18, 2018 8:36 am
Full Name: Ching Wen Jun
Contact:

Re: Source VM shutdown before failover for Failover Plan

Post by wjching » Jul 12, 2018 4:57 pm

Hi Eremin,

Thanks for tip. I will be sure to look into testing it in my lab prior to actual implementation on customer DR Drill. Wonder if there are any script repository where we can reference on this.

Regards,
Wen Jun.
Thanks in advance for any suggestion or advice :D

Regards,
Wen Jun

veremin
Product Manager
Posts: 16897
Liked: 1438 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Contact:

Re: Source VM shutdown before failover for Failover Plan

Post by veremin » Jul 12, 2018 5:19 pm

Most of the examples can be found in the corresponding subforum. Also, we have repository on a github. Thanks.

Post Reply

Who is online

Users browsing this forum: DGrinev and 19 guests