[Linux-HA] Steps to create a 3 node cluster.

Serge Dubrouski sergeyfd at gmail.com
Mon Nov 6 09:18:57 MST 2006


On 11/6/06, Mc Linux <mrmclinux at gmail.com> wrote:
> Hi!
>
> Now I know that I have to use cib.xml to configure a three node cluster.
>
> I migrated my old-style haresources file with haresources2cib.py...
>
> But how can I add thing like this:
>
> <rsc_location id="location_named" rsc="named_id">
>                 <rule id="prefered_location_named" score="100">
>                     <expression attribute="#uname" operation="eq"
> value="pluto"/>
>                 </rule>
>                 <rule id="prefered_location_named" score="-INFINITY">
>                     <expression attribute="#uname" operation="eq" value="mars"/>
>                 </rule>
>    </rsc_location>
>
> Becouse if I edit the cib.xml by hand and after I start the cluster it
> will overwrite it...

It wouldn't if you didn't make mistakes in your XML. Always use
crm_verify after such updates. But you can use GUI or cibadmin tools
to make changes in cib.xml.

>
> So can somebody tell me the steps?
>
> If I don't edit the cib.xml and start the cluster my resource will
> start, but I can't changy the relocation priority or anything else...

cibadmin is the answer.

>
> Is there a GOOD howto in the net, becouse - maybe it's my fault -  I
> can't really see through the linux-ha.org's one...

Unfortunately no.

>
> Thank you,
>
> MrMC
> _______________________________________________
> 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