*** (0.28) *** Re: [Linux-HA] Node IDs value
Alan Robertson
alanr at unix.sh
Tue Feb 27 09:46:11 MST 2007
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.
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
More information about the Linux-HA
mailing list