[Linux-HA] Adding a node to HA-Cluster without service interruption

Andrew Beekhof andrew at beekhof.net
Thu Jul 23 02:47:08 MDT 2009


On Thu, Jul 23, 2009 at 6:22 AM, Michael Schwartzkopff<misch at multinet.de> wrote:
> Am Mittwoch, 22. Juli 2009 23:38:26 schrieb Alexander Födisch:
>> Hi,
>>
>> I have a samba cluster w/ three nodes (heartbeat 2.1.3 / crm-enabled). Now
>> I need to add a fourth one. What will be the best way to do this w/o any
>> service interruption?
>>
>> First step - Node4 has to become a member of the cluster. I would do it
>> like this:
>>
>>
>> Node1: /etc/init.d/heartbeat stop
>> Node1: add Node4 to /etc/ha.d/ha.cf
>> Node1: /etc/init.d/heartbeat start
>>
>> Node2: /etc/init.d/heartbeat stop
>> Node2: add Node4 to /etc/ha.d/ha.cf
>> Node2: /etc/init.d/heartbeat start
>>
>> Node3: /etc/init.d/heartbeat stop
>> Node3: add Node4 to /etc/ha.d/ha.cf
>> Node3: /etc/init.d/heartbeat start
>>
>> On Node4 heartbeat is already configured, so "/etc/init.d/heartbeat start"
>> on Node4 will be enough.
>
> Process looks OK.

There will still be service interruption though - every time you
restart heartbeat



More information about the Linux-HA mailing list