*** (0.28) *** Re: [Linux-HA] Node IDs value

Andrew Beekhof beekhof at gmail.com
Wed Feb 28 05:06:12 MST 2007


On 2/27/07, Alan Robertson <alanr at unix.sh> wrote:
> Andrew Beekhof wrote:
> > On 2/27/07, Florent Bouron <florent.bouron at sytec.co.nz> wrote:
> >> Hi Gurus,
> >>
> >> Is it possible to predict the node IDs used by the CIB ?
> >>
> >> I'm creating a procedure to simply create a new cluster based on a
> >> sample cib.xml file and it would be perfect if I could predict the node
> >> IDs or use a simple command to identify these values and replace them in
> >> my template cib.xml file.
> >
> > the ids come from heartbeat - the host_uuid and hostcache files.
> > if you manually create those then you cant predict what will show up in
> > the CIB
>
>
> If you manually create these correctly before you start heartbeat, then
> you CAN predict what will show up in the CIB.

right, an extra t crept in there

>
> Or, if you look at them after you've started heartbeat the first time,
> it will agree with what's in the CIB.
>
>
> --
>     Alan Robertson <alanr at unix.sh>
>
> "Openness is the foundation and preservative of friendship...  Let me
> claim from you at all times your undisguised opinions." - William
> Wilberforce
> _______________________________________________
> 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
>


More information about the Linux-HA mailing list