Chapter 13. Testing Failover on CentOS 7
In the previous chapters, you learned how to install and configure the cluster software stack on CentOS 7, and also how to configure and manage cluster nodes and cluster resources. In this chapter, you will test the cluster configuration by manually triggering cluster node failure and making sure that the migration of the configured cluster resources and services was successful.
You should run as many tests as possible with different sorts of scenarios before deploying your cluster on the production environment. Only by thoroughly testing your cluster configuration can you make sure that the cluster configuration is working correctly, as expected, and avoid cluster service downtime.
The following failover testing scenarios are performed on virtualized cluster nodes and are therefore limited by the virtualization technology, but these should give you a general idea on how to perform cluster failover tests.