On 4/25/07, Doug Knight <[EMAIL PROTECTED]> wrote:
Can someone provide an example of xml to be used with cibadmin to add an
op tag to an existing master/slave resource? Here's my master/slave
definition:

 <master_slave notify="true" id="ms_drbd_7788">
   <instance_attributes id="ms_drbd_7788_instance_attrs">
     <attributes>
       <nvpair id="ms_drbd_7788_clone_max" name="clone_max" value="2"/>
       <nvpair id="ms_drbd_7788_clone_node_max" name="clone_node_max"
value="1"/>
       <nvpair id="ms_drbd_7788_master_max" name="master_max"
value="1"/>
       <nvpair id="ms_drbd_7788_master_node_max" name="master_node_max"
value="1"/>
       <nvpair name="target_role" id="ms_drbd_7788_target_role"
value="stopped"/>
     </attributes>
   </instance_attributes>
   <primitive class="ocf" type="drbd" provider="heartbeat"
id="rsc_drbd_7788">
     <instance_attributes id="rsc_drbd_7788_instance_attrs">
       <attributes>
         <nvpair id="fdb586b1-d439-4dfb-867c-3eefbe5d585f"
name="drbd_resource" value="pgsql"/>
         <nvpair name="target_role" id="rsc_drbd_7788:0_target_role"
value="stopped"/>
       </attributes>
     </instance_attributes>
   </primitive>
 </master_slave>

And for example, I'd like to add:

<op id="drbd_mon_sl"  name="monitor" timeout="60" role="Slave"
interval="30"/>

So that I can do:

cibadmin -U -x add_mon_ssl.xml

I've been trying to add it from the command line, and some of my
attempts are core dumping with the following:

crm_abort: crm_str_eq: Triggered fatal assert at utils.c:686 : a != b

its rather hard to comment without
* the contents of add_mon_ssl.xml
* the stacktrace
* the version


Thanks,
Doug

_______________________________________________
Linux-HA mailing list
Linux-HA@lists.linux-ha.org
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

_______________________________________________
Linux-HA mailing list
Linux-HA@lists.linux-ha.org
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Reply via email to