...
Follow the below steps -
- In a failover setup, have the fairshare "usage" file on shared filesystem.
- At the time of taking over, secondary server checks if it can communicate with the scheduler on primary host.
- If able to communicate, it sends SCH_QUIT signal to the scheduler on primary and then spawn a local scheduler process.
- If not, spawn a local scheduler process.