On Thu, Nov 29, 2007 at 03:22:59PM +0100, Papp Tamas wrote:
> On Wed, Nov 28, 2007 at 11:31:57AM +0100, Dejan Muhamedagic wrote:
> > 
> > You tried to update (-U) but those constrains don't exist. Create
> > (-C) should do.
> 
> That's right, I'm fool.
> 
> > You should specify the role in the rule sentence. Check
> > http://www.linux-ha.org/v2/Concepts/MultiState
> 
> I tried this:
> 
> $ cibadmin --obj_type constraints -C -x 2-1-ms-mdt_likes_teszt1.xml
> Couldn't parse input file: 2-1-ms-mdt_likes_teszt1.xml
> $
> 
> 
> The xml contains:
> 
> <rsc_location id="loc:ms-mdt_likes_teszt1" rsc="ms-mdt">
>   <rule id="rule:ms-mdt_likes_teszt1" role="master" score="100">
>     <expression  attribute="#uname" operation="eq" value="teszt1">
>   </rule>
> </rsc_location>

OK, there is needed a slash at the end off expression, copy&paste:)

tamas
_______________________________________________
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