Hi Andrew,
I attach the result of the cibadmin -Q command.
Best Regards,
Hideo Yamauchi.
--- On Tue, 2014/2/18, Andrew Beekhof <and...@beekhof.net> wrote:
>
> On 18 Feb 2014, at 1:45 pm, renayama19661...@ybb.ne.jp wrote:
>
> > Hi Andrew,
> >
> > Thank you for comments.
> >
> >> can I see the config of yours that crm_mon is not displaying correctly?
> >
> > It is displayed as follows.
>
> I mean the raw xml. Can you attach it?
>
> > -------------------------
> > [root@srv01 tmp]# crm_mon -1 -Af
> > Last updated: Tue Feb 18 19:51:04 2014
> > Last change: Tue Feb 18 19:48:55 2014 via cibadmin on srv01
> > Stack: corosync
> > Current DC: srv01 (3232238180) - partition WITHOUT quorum
> > Version: 1.1.10-9d39a6b
> > 1 Nodes configured
> > 5 Resources configured
> >
> >
> > Online: [ srv01 ]
> >
> > Clone Set: clnPingd [prmPingd]
> > Started: [ srv01 ]
> >
> > Node Attributes:
> > * Node srv01:
> > + default_ping_set : 0
> >
> > Migration summary:
> > * Node srv01:
> >
> > -------------------------
> >
> > I uploaded log in the next place.(trac2781.zip)
> >
> > * https://skydrive.live.com/?cid=3A14D57622C66876&id=3A14D57622C66876%21117
> >
> > Best Regards,
> > Hideo Yamauchi.
> >
> >
> > --- On Tue, 2014/2/18, Andrew Beekhof <and...@beekhof.net> wrote:
> >
> >>
> >> On 18 Feb 2014, at 12:19 pm, renayama19661...@ybb.ne.jp wrote:
> >>
> >>> Hi Andrew,
> >>>
> >>>> I'm confused... that patch seems to be the reverse of yours.
> >>>> Are you saying that we need to undo Lars' one?
> >>>
> >>> No, I do not understand the meaning of the correction of Mr. Lars.
> >>
> >>
> >> name, multiplier and host_list are all resource parameters, not meta
> >> attributes.
> >> so lars' patch should be correct.
> >>
> >> can I see the config of yours that crm_mon is not displaying correctly?
> >>
> >>>
> >>> However, as now, crm_mon does not display a right attribute.
> >>> Possibly did you not discuss the correction to put meta data in
> >>> rsc-parameters with Mr. Lars? Or Mr. David?
> >>>
> >>> Best Regards,
> >>> Hideo Yamauchi.
> >>>
> >>> --- On Tue, 2014/2/18, Andrew Beekhof <and...@beekhof.net> wrote:
> >>>
> >>>>
> >>>> On 17 Feb 2014, at 5:43 pm, renayama19661...@ybb.ne.jp wrote:
> >>>>
> >>>>> Hi All,
> >>>>>
> >>>>> The next change was accomplished by Mr. Lars.
> >>>>>
> >>>>> https://github.com/ClusterLabs/pacemaker/commit/6a17c003b0167de9fe51d5330fb6e4f1b4ffe64c
> >>>>
> >>>> I'm confused... that patch seems to be the reverse of yours.
> >>>> Are you saying that we need to undo Lars' one?
> >>>>
> >>>>>
> >>>>> I may lack the correction of other parts which are not the patch which
> >>>>> I sent.
> >>>>>
> >>>>> Best Regards,
> >>>>> Hideo Yamauchi.
> >>>>>
> >>>>> --- On Mon, 2014/2/17, renayama19661...@ybb.ne.jp
> >>>>> <renayama19661...@ybb.ne.jp> wrote:
> >>>>>
> >>>>>> Hi All,
> >>>>>>
> >>>>>> The crm_mon tool which is attached to Pacemaker1.1 seems to have a
> >>>>>> problem.
> >>>>>> I send a patch.
> >>>>>>
> >>>>>> Best Regards,
> >>>>>> Hideo Yamauchi.
> >>>>>
> >>>>> _______________________________________________
> >>>>> Pacemaker mailing list: Pacemaker@oss.clusterlabs.org
> >>>>> http://oss.clusterlabs.org/mailman/listinfo/pacemaker
> >>>>>
> >>>>> Project Home: http://www.clusterlabs.org
> >>>>> Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
> >>>>> Bugs: http://bugs.clusterlabs.org
> >>>>
> >>>>
> >>>
> >>> _______________________________________________
> >>> Pacemaker mailing list: Pacemaker@oss.clusterlabs.org
> >>> http://oss.clusterlabs.org/mailman/listinfo/pacemaker
> >>>
> >>> Project Home: http://www.clusterlabs.org
> >>> Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
> >>> Bugs: http://bugs.clusterlabs.org
> >>
> >>
> >
> > _______________________________________________
> > Pacemaker mailing list: Pacemaker@oss.clusterlabs.org
> > http://oss.clusterlabs.org/mailman/listinfo/pacemaker
> >
> > Project Home: http://www.clusterlabs.org
> > Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
> > Bugs: http://bugs.clusterlabs.org
>
>
<cib epoch="4" num_updates="26" admin_epoch="0" validate-with="pacemaker-1.2" crm_feature_set="3.0.8" cib-last-written="Tue Feb 18 19:48:55 2014" update-origin="srv01" update-client="cibadmin" have-quorum="0" dc-uuid="3232238180">
<configuration>
<crm_config>
<cluster_property_set id="cib-bootstrap-options">
<nvpair id="cib-bootstrap-options-dc-version" name="dc-version" value="1.1.10-9d39a6b"/>
<nvpair id="cib-bootstrap-options-cluster-infrastructure" name="cluster-infrastructure" value="corosync"/>
<nvpair name="no-quorum-policy" value="ignore" id="cib-bootstrap-options-no-quorum-policy"/>
<nvpair name="stonith-enabled" value="false" id="cib-bootstrap-options-stonith-enabled"/>
</cluster_property_set>
</crm_config>
<nodes>
<node id="3232238180" uname="srv01"/>
</nodes>
<resources>
<primitive id="vip-master" class="ocf" provider="heartbeat" type="Dummy">
<!--### Primitive Configuration ###-->
<operations>
<op name="start" interval="0s" timeout="60s" on-fail="restart" id="vip-master-start-0s"/>
<op name="monitor" interval="10s" timeout="60s" on-fail="restart" id="vip-master-monitor-10s"/>
<op name="stop" interval="0s" timeout="60s" on-fail="block" id="vip-master-stop-0s"/>
</operations>
</primitive>
<primitive id="vip-rep" class="ocf" provider="heartbeat" type="Dummy">
<operations>
<op name="start" interval="0s" timeout="60s" on-fail="stop" id="vip-rep-start-0s"/>
<op name="monitor" interval="10s" timeout="60s" on-fail="restart" id="vip-rep-monitor-10s"/>
<op name="stop" interval="0s" timeout="60s" on-fail="ignore" id="vip-rep-stop-0s"/>
</operations>
</primitive>
<master id="msPostgresql">
<!--### Master/Slave Configuration ###-->
<!--#group master-group # vip-master # vip-rep # meta # ordered="false"-->
<!--### Group Configuration ###-->
<meta_attributes id="msPostgresql-meta_attributes">
<nvpair name="master-max" value="1" id="msPostgresql-meta_attributes-master-max"/>
<nvpair name="master-node-max" value="1" id="msPostgresql-meta_attributes-master-node-max"/>
<nvpair name="clone-max" value="2" id="msPostgresql-meta_attributes-clone-max"/>
<nvpair name="clone-node-max" value="1" id="msPostgresql-meta_attributes-clone-node-max"/>
<nvpair name="notify" value="true" id="msPostgresql-meta_attributes-notify"/>
</meta_attributes>
<primitive id="pgsql" class="ocf" provider="pacemaker" type="Stateful">
<operations>
<op name="start" interval="0s" timeout="300s" on-fail="restart" id="pgsql-start-0s"/>
<op name="monitor" interval="10s" timeout="60s" on-fail="restart" id="pgsql-monitor-10s"/>
<op name="monitor" role="Master" interval="9s" timeout="60s" on-fail="restart" id="pgsql-monitor-9s"/>
<op name="promote" interval="0s" timeout="300s" on-fail="restart" id="pgsql-promote-0s"/>
<op name="demote" interval="0s" timeout="300s" on-fail="block" id="pgsql-demote-0s"/>
<op name="notify" interval="0s" timeout="60s" id="pgsql-notify-0s"/>
<op name="stop" interval="0s" timeout="300s" on-fail="block" id="pgsql-stop-0s"/>
</operations>
</primitive>
</master>
<clone id="clnPingd">
<!--### Clone Configuration ###-->
<primitive id="prmPingd" class="ocf" provider="pacemaker" type="ping">
<instance_attributes id="prmPingd-instance_attributes">
<nvpair name="name" value="default_ping_set" id="prmPingd-instance_attributes-name"/>
<nvpair name="host_list" value="192.168.40.1" id="prmPingd-instance_attributes-host_list"/>
<nvpair name="multiplier" value="100" id="prmPingd-instance_attributes-multiplier"/>
<nvpair name="attempts" value="2" id="prmPingd-instance_attributes-attempts"/>
<nvpair name="timeout" value="2" id="prmPingd-instance_attributes-timeout"/>
</instance_attributes>
<operations>
<op name="start" interval="0s" timeout="60s" on-fail="restart" id="prmPingd-start-0s"/>
<op name="monitor" interval="10s" timeout="60s" on-fail="restart" id="prmPingd-monitor-10s"/>
<op name="stop" interval="0s" timeout="60s" on-fail="ignore" id="prmPingd-stop-0s"/>
</operations>
</primitive>
</clone>
</resources>
<constraints>
<rsc_location id="rsc_location-msPostgresql-1" rsc="msPostgresql">
<!--### Resource Location ###-->
<rule score="-INFINITY" boolean-op="or" id="rsc_location-msPostgresql-1-rule">
<expression operation="not_defined" attribute="default_ping_set" id="rsc_location-msPostgresql-1-expression"/>
<expression attribute="default_ping_set" operation="lt" value="100" id="rsc_location-msPostgresql-1-expression-0"/>
</rule>
</rsc_location>
<rsc_colocation id="rsc_colocation-master-1" score="INFINITY" rsc="vip-master" with-rsc="msPostgresql" with-rsc-role="Master"/>
<rsc_colocation id="rsc_colocation-master-2" score="INFINITY" rsc="vip-rep" with-rsc="vip-master">
<!--#colocation rsc_colocation-master-3 INFINITY: vip-rep msPostgresql:Master-->
</rsc_colocation>
<rsc_colocation id="rsc_colocation-msPostgresql-clnPingd-1" score="INFINITY" rsc="msPostgresql" with-rsc="clnPingd">
<!--### Resource Colocation ###-->
<!--# rule $role=master 200: #uname eq srv01-->
</rsc_colocation>
<rsc_order id="rsc_order-clnPingd-msPostgresql-1" score="0" first="clnPingd" then="msPostgresql" symmetrical="false">
<!--### Resource Order ###-->
</rsc_order>
<rsc_order id="test-order-1" score="0" symmetrical="false">
<resource_set id="test-order-1-0" sequential="false">
<resource_ref id="vip-master"/>
<resource_ref id="vip-rep"/>
</resource_set>
</rsc_order>
<rsc_order id="test-order-2" score="INFINITY" first="msPostgresql" first-action="promote" then="vip-master" then-action="start" symmetrical="false"/>
<rsc_order id="test-order-3" score="INFINITY" first="msPostgresql" first-action="promote" then="vip-rep" then-action="start" symmetrical="false"/>
<rsc_order id="test-order-4" score="0" first="msPostgresql" first-action="demote" then="vip-master" then-action="stop" symmetrical="false"/>
<rsc_order id="test-order-5" score="0" first="msPostgresql" first-action="demote" then="vip-rep" then-action="stop" symmetrical="false"/>
</constraints>
<rsc_defaults>
<meta_attributes id="rsc-options">
<!--### Resource Defaults ###-->
<nvpair name="resource-stickiness" value="INFINITY" id="rsc-options-resource-stickiness"/>
<nvpair name="migration-threshold" value="1" id="rsc-options-migration-threshold"/>
</meta_attributes>
</rsc_defaults>
</configuration>
<status>
<node_state id="3232238180" uname="srv01" in_ccm="true" crmd="online" crm-debug-origin="do_update_resource" join="member" expected="member">
<transient_attributes id="3232238180">
<instance_attributes id="status-3232238180">
<nvpair id="status-3232238180-shutdown" name="shutdown" value="0"/>
<nvpair id="status-3232238180-probe_complete" name="probe_complete" value="true"/>
<nvpair id="status-3232238180-default_ping_set" name="default_ping_set" value="0"/>
</instance_attributes>
</transient_attributes>
<lrm id="3232238180">
<lrm_resources>
<lrm_resource id="vip-rep" type="Dummy" class="ocf" provider="heartbeat">
<lrm_rsc_op id="vip-rep_last_0" operation_key="vip-rep_stop_0" operation="stop" crm-debug-origin="do_update_resource" crm_feature_set="3.0.8" transition-key="8:7:0:a895ca51-1a48-4c0c-99b7-e26974c51e7d" transition-magic="0:0;8:7:0:a895ca51-1a48-4c0c-99b7-e26974c51e7d" call-id="39" rc-code="0" op-status="0" interval="0" last-run="1392720555" last-rc-change="1392720555" exec-time="13" queue-time="0" op-digest="f2317cad3d54cec5d7d7aa7d0bf35cf8" op-force-restart=" state " op-restart-digest="f2317cad3d54cec5d7d7aa7d0bf35cf8"/>
<lrm_rsc_op id="vip-rep_monitor_10000" operation_key="vip-rep_monitor_10000" operation="monitor" crm-debug-origin="do_update_resource" crm_feature_set="3.0.8" transition-key="8:5:0:a895ca51-1a48-4c0c-99b7-e26974c51e7d" transition-magic="0:0;8:5:0:a895ca51-1a48-4c0c-99b7-e26974c51e7d" call-id="30" rc-code="0" op-status="0" interval="10000" last-rc-change="1392720537" exec-time="12" queue-time="0" op-digest="873ed4f07792aa8ff18f3254244675ea"/>
</lrm_resource>
<lrm_resource id="pgsql" type="Stateful" class="ocf" provider="pacemaker">
<lrm_rsc_op id="pgsql_last_0" operation_key="pgsql_stop_0" operation="stop" crm-debug-origin="do_update_resource" crm_feature_set="3.0.8" transition-key="9:7:0:a895ca51-1a48-4c0c-99b7-e26974c51e7d" transition-magic="0:0;9:7:0:a895ca51-1a48-4c0c-99b7-e26974c51e7d" call-id="41" rc-code="0" op-status="0" interval="0" last-run="1392720555" last-rc-change="1392720555" exec-time="44" queue-time="0" op-digest="f2317cad3d54cec5d7d7aa7d0bf35cf8"/>
<lrm_rsc_op id="pgsql_monitor_9000" operation_key="pgsql_monitor_9000" operation="monitor" crm-debug-origin="do_update_resource" crm_feature_set="3.0.8" transition-key="13:5:8:a895ca51-1a48-4c0c-99b7-e26974c51e7d" transition-magic="0:8;13:5:8:a895ca51-1a48-4c0c-99b7-e26974c51e7d" call-id="29" rc-code="8" op-status="0" interval="9000" last-rc-change="1392720537" exec-time="20" queue-time="0" op-digest="873ed4f07792aa8ff18f3254244675ea"/>
</lrm_resource>
<lrm_resource id="vip-master" type="Dummy" class="ocf" provider="heartbeat">
<lrm_rsc_op id="vip-master_last_0" operation_key="vip-master_stop_0" operation="stop" crm-debug-origin="do_update_resource" crm_feature_set="3.0.8" transition-key="7:7:0:a895ca51-1a48-4c0c-99b7-e26974c51e7d" transition-magic="0:0;7:7:0:a895ca51-1a48-4c0c-99b7-e26974c51e7d" call-id="37" rc-code="0" op-status="0" interval="0" last-run="1392720555" last-rc-change="1392720555" exec-time="10" queue-time="0" op-digest="f2317cad3d54cec5d7d7aa7d0bf35cf8" op-force-restart=" state " op-restart-digest="f2317cad3d54cec5d7d7aa7d0bf35cf8"/>
<lrm_rsc_op id="vip-master_monitor_10000" operation_key="vip-master_monitor_10000" operation="monitor" crm-debug-origin="do_update_resource" crm_feature_set="3.0.8" transition-key="6:5:0:a895ca51-1a48-4c0c-99b7-e26974c51e7d" transition-magic="0:0;6:5:0:a895ca51-1a48-4c0c-99b7-e26974c51e7d" call-id="31" rc-code="0" op-status="0" interval="10000" last-rc-change="1392720537" exec-time="8" queue-time="0" op-digest="873ed4f07792aa8ff18f3254244675ea"/>
</lrm_resource>
<lrm_resource id="prmPingd" type="ping" class="ocf" provider="pacemaker">
<lrm_rsc_op id="prmPingd_last_0" operation_key="prmPingd_start_0" operation="start" crm-debug-origin="do_update_resource" crm_feature_set="3.0.8" transition-key="32:2:0:a895ca51-1a48-4c0c-99b7-e26974c51e7d" transition-magic="0:0;32:2:0:a895ca51-1a48-4c0c-99b7-e26974c51e7d" call-id="20" rc-code="0" op-status="0" interval="0" last-run="1392720535" last-rc-change="1392720535" exec-time="1034" queue-time="0" op-digest="98163ce0ad14ff89c35e59ce09c6d0c0"/>
<lrm_rsc_op id="prmPingd_monitor_10000" operation_key="prmPingd_monitor_10000" operation="monitor" crm-debug-origin="do_update_resource" crm_feature_set="3.0.8" transition-key="32:3:0:a895ca51-1a48-4c0c-99b7-e26974c51e7d" transition-magic="0:0;32:3:0:a895ca51-1a48-4c0c-99b7-e26974c51e7d" call-id="21" rc-code="0" op-status="0" interval="10000" last-rc-change="1392720536" exec-time="1028" queue-time="0" op-digest="312f4722ab116a1edd893189e5793e02"/>
</lrm_resource>
</lrm_resources>
</lrm>
</node_state>
</status>
</cib>
_______________________________________________
Pacemaker mailing list: Pacemaker@oss.clusterlabs.org
http://oss.clusterlabs.org/mailman/listinfo/pacemaker
Project Home: http://www.clusterlabs.org
Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
Bugs: http://bugs.clusterlabs.org