On Thu, Jul 23, 2009 at 11:07 AM, Jiayin Mao<[email protected]> wrote: > Can i leave heartbeat running and add new node at the same time?
only if the existing nodes already have "autojoin on" in ha.cf (ie. when they were last started) > 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 <[email protected]> wrote: > >> On Thu, Jul 23, 2009 at 6:22 AM, Michael Schwartzkopff<[email protected]> >> 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 >> [email protected] >> 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. > _______________________________________________ > Linux-HA mailing list > [email protected] > http://lists.linux-ha.org/mailman/listinfo/linux-ha > See also: http://linux-ha.org/ReportingProblems > _______________________________________________ Linux-HA mailing list [email protected] http://lists.linux-ha.org/mailman/listinfo/linux-ha See also: http://linux-ha.org/ReportingProblems
