Skip to main content
Common Reference

Manual and Automatic Failover

Failover Test 1 - Administrator uses Tungsten to promote new Primary

Scenario
shell> cctrl
cctrl> use usa
[LOGICAL] /usa> switch
Expectation
  • The Primary role will move a different server. Remaining servers will be reconfigured accordingly.
  • Examine how the application performs during the process
  • Data should be consistent

Failover Test 2 – Manually kill the Primary database process

Scenario
shell> cctrl
cctrl> use usa
[LOGICAL] /usa> service Primary/mysql stop
Expectation
  • The database server stops and the Primary role is moved to another server.
  • Examine how the application performs during the process
  • Data should be consistent

Failover Test 3 – Remove power from the Primary database server

ScenarioPull the power plug on the Primary server or run a restart command if that is not an option.
Expectation
  • The database server stops and the Primary role is moved to another server.
  • Examine how the application performs during the process
  • Data should be consistent

Failover Test 4 – Manually kill a Replica database process

Scenario
shell> cctrl
cctrl> use usa
[LOGICAL] /usa> service Replica1/mysql stop
Expectation
  • The Replica data source is marked as FAILED.
  • Examine how the application performs during the process