Originally Posted by novice06
Not really, Heartbeat will only failover when the primary server is fail.
As long as you configure the /etc/ha.d/haresource properly, it will take over properly.
For example, you have three daemons to HA. apache application use mysql database.
Your configuration ordered must correct.
1. Floating IP [if needed]
e.g /etc/ha.d/haresource [heartbeat will read sequential and start the daemon one by one ]
192.168.1.1 mysqld httpd
Thank you, I will try. But my concern is, if apache and mysql are using the same VIP, when apache service is stop, heartbeat will switch apache and mysql to the standby server.
if apache using VIP1, mysql using VIP2, maybe they will not affect each other.