Testing failover mechanism
The failover mechanism is based on:
Performing a tests
Warning: |
Always backups the data before running tests. |
T.Lion is offline
- Execute
service keepalived stop
command on T.Lion. - Check that Floating IP is assigned to T.Brother.
T.Lion is restored and online again
- Execute
service keepalived start
on T.Lion. - Check that Floating IP is assigned to T.Lion.
MySQL server is stopped on T.Lion
- Execute
/etc/init.d/mysql stop
on T.Lion. - Check that Floating IP is assigned to T.Brother.
MySQL server is restored on the T.Lion
- Execute
/etc/init.d/mysql start
on T.Lion - Check that Floating IP is assigned to T.Lion.
Refer to Scenarios article for details.