hi, i made a very simple cib.xml file (attached) with a master_slave resource. when i try to create a dot file to see the transactions, i do not see any promoting in the dot output.
> ptest -D cib.dot -X cib.xml am i missing something? cheers, raoul -- ____________________________________________________________________ DI (FH) Raoul Bhatia M.Sc. email. [EMAIL PROTECTED] Technischer Leiter IPAX - Aloy Bhatia Hava OEG web. http://www.ipax.at Barawitzkagasse 10/2/2/11 email. [EMAIL PROTECTED] 1190 Wien tel. +43 1 3670030 FN 277995t HG Wien fax. +43 1 3670030 15 ____________________________________________________________________
cib.dot
Description: MS-Word document
<cib have_quorum="1" num_peers="1" cib_feature_revision="1.3" admin_epoch="0" generated="true" ignore_dtd="false" epoch="55" num_updates="1" cib-last-written="Tue Feb 5 19:04:55 2008" ccm_transition="1" crm_feature_set="2.1" dc_uuid="f36760d8-d84a-46b2-b452-4c8cac8b3396">
<configuration>
<crm_config>
<cluster_property_set id="default">
<attributes>
<nvpair id="symmetric-cluster" name="symmetric-cluster" value="true" />
<nvpair id="transition-idle-timeout" name="transition-idle-timeout" value="60" />
<nvpair id="default-resource-stickiness" name="default-resource-stickiness" value="0" />
<nvpair id="short-resource-names" name="short-resource-names" value="true" />
<nvpair id="no-quorum-policy" name="no-quorum-policy" value="stop" />
<nvpair id="stop-orphan-resources" name="stop-orphan-resources" value="false" />
<nvpair id="stop-orphan-actions" name="stop-orphan-actions" value="true" />
<nvpair id="remove-after-stop" name="remove-after-stop" value="false" />
<nvpair id="is-managed-default" name="is-managed-default" value="true" />
<nvpair id="stonith-enabled" name="stonith-enabled" value="false" />
<nvpair id="stonith-action" name="stonith-action" value="reboot" />
</attributes>
</cluster_property_set>
</crm_config>
<nodes>
<node id="31de4ab3-2d05-476e-8f9a-627ad6cd94ca" uname="wc01" type="normal">
<instance_attributes id="node_1_ia">
<attributes>
<nvpair id="node_1_cluster_group" name="cluster_group" value="web" />
</attributes>
</instance_attributes>
</node>
<node id="f36760d8-d84a-46b2-b452-4c8cac8b3396" uname="wc02" type="normal">
<instance_attributes id="node_2_ia">
<attributes>
<nvpair id="node_2_cluster_group" name="cluster_group" value="web" />
</attributes>
</instance_attributes>
</node>
</nodes>
<resources>
<!-- drbd mysql - START -->
<master_slave id="ms_drbd_mysql" interleave="true">
<meta_attributes id="ms_drbd_mysql_ma">
<attributes>
<nvpair id="ms_drbd_mysql_master_max" name="master_max" value="1"/>
<nvpair id="ms_drbd_mysql_master_node_max" name="master_node_max" value="1"/>
<nvpair id="ms_drbd_mysql_clone_max" name="clone_max" value="2"/>
<nvpair id="ms_drbd_mysql_clone_node_max" name="clone_node_max" value="1"/>
<nvpair id="ms_drbd_mysql_clone_role" name="target_role" value="started"/>
<nvpair id="ma_drbd_mysql_globally_unique" name="globally_unique" value="false"/>
<nvpair id="ma_drbd_mysql_notify" name="notify" value="yes"/>
</attributes>
</meta_attributes>
<primitive class="ocf" id="drbd_mysql" provider="heartbeat" type="drbd">
<operations>
<op name="monitor" id="drbd_mysql_mon_normal" interval="15s" timeout="10s" role="Started" />
<op name="monitor" id="drbd_mysql_mon_slave" interval="10s" timeout="10s" role="Slave" />
<op name="monitor" id="drbd_mysql_mon_master" interval="5s" timeout="10s" role="Master" />
</operations>
<instance_attributes id="drbd_mysql_ia">
<attributes>
<nvpair id="drbd_mysql_attr_0" name="drbd_resource" value="mysql"/>
<nvpair id="drbd_mysql_clone_overrides_hostname" name="clone_overrides_hostname" value="yes"/>
<nvpair id="drbd_mysql_role" name="target_role" value="started"/>
</attributes>
</instance_attributes>
</primitive>
</master_slave>
</resources>
<constraints />
</configuration>
<status>
<node_state id="31de4ab3-2d05-476e-8f9a-627ad6cd94ca" uname="wc01" crmd="online" crm-debug-origin="do_update_resource" shutdown="0" ha="active" in_ccm="true" join="member" expected="member">
</node_state>
<node_state id="f36760d8-d84a-46b2-b452-4c8cac8b3396" uname="wc02" crmd="online" crm-debug-origin="do_update_resource" shutdown="0" ha="active" in_ccm="true" join="member" expected="member">
</node_state>
</status>
</cib>
_______________________________________________ Pacemaker mailing list [email protected] http://list.clusterlabs.org/mailman/listinfo/pacemaker
