On 8/2/07, John Gardner <[EMAIL PROTECTED]> wrote:
> I'm looking at a few problems with my cib.xml file, that may be skewing
> what node takes the virtual-ip role at startup.
>
> My nodes are specified in ha.cf as:
>
> node clusternodeA clusternodeB
>
> Yet in the cib.xml, the nodes are listed as:
>
> <nodes>
>  <node id="822b06b7-f86d-42f2-93ef-06413bbe8609" uname="clusternodeB"
> type="normal"/>
>  <node id="1a50ebcc-ce4d-46a3-80d1-6b5f0c7d923b" uname="clusternodeA"
> type="normal"/>
> </nodes>
>
> Is there any way that I can change the order of these nodes in cib.xml?

you're better off using rsc_location constraints than fiddling here

> Also, can someone assist me adding the 'pref_run_ip_resource' constraint
> to cib.xml using cibadmin?

cibadmin -Ql > tmp.cib  # download
$EDITOR tmp.cib                     # add the preference
cibadmin -R -x tmp.cib  # upload
_______________________________________________
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