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

Jiayin Mao jmao at brightcove.com
Thu Jul 23 03:07:15 MDT 2009


Can i leave heartbeat running and add new node at the same time? I've tried
thousands of times, but never made it work. The heartbeat on the running
node always complains the new node is not in their membership. I've set
autojoin to any and propagate the UUID of the crashed node to the
replacement using crm_uuid -w.

On Thu, Jul 23, 2009 at 4:47 PM, Andrew Beekhof <andrew at beekhof.net> wrote:

> 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
> _______________________________________________
> Linux-HA mailing list
> Linux-HA at lists.linux-ha.org
> http://lists.linux-ha.org/mailman/listinfo/linux-ha
> See also: http://linux-ha.org/ReportingProblems
>



-- 
Max Mao (Mao Jia Yin)
Abao Scrum Team, Engineering Department
-----------------------------------------------------------
I am located at Beijing office, and usually work during 9:00PM and 6:00AM
ET.


More information about the Linux-HA mailing list