VMware Cloud Community
thuang2
Contributor
Contributor

How to simulate failover

Hi,

Switch-over occurs when protected application fails; failover occurs when OS, Hardware etc. fails.  How do I simulate failure (for example, power off primary server)? Thanks!

Reply
0 Kudos
5 Replies
dmihaescu
Hot Shot
Hot Shot

Yes, powering off the Active server will initiate the failover. Notice that if you install in WAN environment failover will be prevented.

Reply
0 Kudos
thuang2
Contributor
Contributor

> Yes, powering off the Active server will initiate the failover. Notice that if you install in WAN environment fail-over will be prevented.


I powered off Primary (active) server in LAN V2V environment, but, nothing happened. The Secondary server was still passive and the Secondary vCenter was NOT restarted.

Reply
0 Kudos
dmihaescu
Hot Shot
Hot Shot

did you do a hard power off or did you shut down the server? You need to right click the active VM and select Power -> Power off and not select Shut Down Guest.

Reply
0 Kudos
thuang2
Contributor
Contributor

> did you do a hard power off or did you shut down the server? You need to right click the active VM and select Power -> Power off and not select Shut Down Guest.


1) What if the primary server is a physical server? How to power it off?

2) What's difference between Power -> Power off vs. "Shutdown Guest"?

Reply
0 Kudos
JimKnopf99
Commander
Commander

Hi,

1) Pull the power cable 😉

Or, if you are using HP Hardware you could use ILO to do a hard Power Off. Or other remote Management Tools.

2) Shutdown Guest is a gracefull shutdown of the OS. Power off is like pulling the power cable of a Server.

Frank

If you find this information useful, please award points for "correct" or "helpful".
Reply
0 Kudos