[Linux-HA] [right one] Please can anybody help: switch from v1 to v2 with 25 nodes

Andrew Beekhof beekhof at gmail.com
Tue Mar 13 02:03:19 MDT 2007


On 3/12/07, Yan Fitterer <yfitterer at novell.com> wrote:
>
>
> >>> On 12/03/2007 at 20:36, in message <45F5B9DD.5020405 at unix.sh>, Alan Robertson
> <alanr at unix.sh> wrote:
> > Yan Fitterer wrote:
> >>>>> you can find the config files here:
> >>>>>
> >>>>> http://www.none.at/hearbeat/
> >>>> Some other things:
> >>>>
> >>>> I have make the follwing steps:
> >>>>
> >>>> /etc/init.d/heartbeat stop
> >>>> cd /var/lib/heartbeat/crm
> >>>> rm *
> >>>> /usr/lib64/heartbeat/haresources2cib.py
> >>>> /etc/init.d/heartbeat start
> >>>>
> >>>> first on server 02 and then on 01.
> >>> I'm not sure (only a week using crm now), but I suspect
> >>> haresources2cib.py should only be run once, on one node, as there is
> >>> only one cib on the cluster anyway.
> >>
> >> Yes - this is correct. The CIB only ever needs to be updated once, and
> > heartbeat will keep it in sync between all
> >> nodes.
> >>
> >>> but on the other hand this shouldn't break things due to the order you used
> >>> it.
> >>>
> >>> on the other things I better don't guess :)
> >>>
> >>
> >> Well - if you suspect some inconsistency between the nodes preventing cluster
> > coherence, you can remove all _files_
> >> (leave the directories alone...) under /var/lib/heartbeat/ (after stopping
> > heartbeat of course!), then run
> >> haresources2cib.py on _one_ node, then restart the cluster.
> >
> > DO NOT do that, and please do not tell others to do that.
> >
> > You should basically never remove hb_generation or hb_uuid.
>
> Oops - sorry. Could you explain please?
>
>  Maybe I failed to mention that removing the files _must_ be recursive from that base directory.  I can't quite see
> what the problem is if all files are removed from all nodes after stopping heartbeat. Please enlighten me :) (and other
> that have had the same idea!)

changing hb_uuid essentially changes who the node is and if you keep
the same uname, then things start getting confused because heartbeat
wont forget about the "old" node

i dont know about hb_generation though... that one always confused me


More information about the Linux-HA mailing list