I added "autojoin any" on all of the nodes before starting heartbeat.

On Fri, Jul 24, 2009 at 10:42 PM, Michael Schwartzkopff
<[email protected]>wrote:

> Am Freitag, 24. Juli 2009 16:34:14 schrieb Jiayin Mao:
> > Do you mean "autojoin any"? I had it there, but heartbeat still
> complained
> > the new node is not in their membership.
> >
> > On Fri, Jul 24, 2009 at 8:16 PM, Andrew Beekhof <[email protected]>
> wrote:
> > > 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
>
>
> Did you have autojoin any on ALL nodes? Or only on the new one, you just
> added?
> --
> Dr. Michael Schwartzkopff
> MultiNET Services GmbH
> Addresse: Bretonischer Ring 7; 85630 Grasbrunn; Germany
> Tel: +49 - 89 - 45 69 11 0
> Fax: +49 - 89 - 45 69 11 21
> mob: +49 - 174 - 343 28 75
>
> mail: [email protected]
> web: www.multinet.de
>
> Sitz der Gesellschaft: 85630 Grasbrunn
> Registergericht: Amtsgericht München HRB 114375
> Geschäftsführer: Günter Jurgeneit, Hubert Martens
>
> ---
>
> PGP Fingerprint: F919 3919 FF12 ED5A 2801 DEA6 AA77 57A4 EDD8 979B
> Skype: misch42
> _______________________________________________
> 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

Reply via email to