Hi,
On Tue, Nov 06, 2007 at 10:25:40AM +0200, Szasz Tamas wrote:
> Hi guys!
>
> Anybody can help to me, how can I use the cibadmin?
> I have a cib.xml file, and I want to change a primitive in the file.
> Ex.:
> ...
> <group id="group_1">
> <primitive class="ocf" id="IPaddr_192_168_254_14"
> provider="heartbeat" type="IPaddr">
> <operations>
> <op id="IPaddr_192_168_254_14_mon" interval="5s" name="monitor"
> timeout="5s"/>
> </operations>
> <instance_attributes id="IPaddr_192_168_254_14_inst_attr">
> <attributes>
> <nvpair id="IPaddr_192_168_254_14_attr_0" name="ip" value="
> 192.168.254.14"/>
> </attributes>
> </instance_attributes>
> </primitive>
> ...
> </group>
> ....
>
> In this example I want to change the ip addres to a new addres.
Cut that group out and edit it. Then:
cibadmin -U -o resources -x group.xml
Thanks,
Dejan
> Please help me. Thank you!
> _______________________________________________
> Linux-HA mailing list
> [email protected]
> http://lists.linux-ha.org/mailman/listinfo/linux-ha
> See also: http://linux-ha.org/ReportingProblems
_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems