[Linux-HA] cibadmin usage

Szasz Tamas szasz.tamas at gmail.com
Tue Nov 6 01:25:40 MST 2007


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.
Please help me. Thank you!


More information about the Linux-HA mailing list