[Pacemaker] "crm resource fence-test show pcmk_host_list" can not find the object/attribute
Jake Smith
jsmith at argotec.com
Mon Oct 22 16:36:15 UTC 2012
----- Original Message -----
> From: "bin chen" <free2coder at gmail.com>
> To: pacemaker at oss.clusterlabs.org
> Sent: Monday, October 22, 2012 3:57:22 AM
> Subject: [Pacemaker] "crm resource fence-test show pcmk_host_list"
> can not find the object/attribute
> Hi,all I use pcmk 1.17 and corosync 2.0.I have define a fence
> resource and a clone resource of it:
> primitive fence-test stonith:fence_fronware \
> params pcmk_host_list="h181" ipaddr="0.0.0.0" action="reboot" \
> op monitor interval="3600s" \
> meta target-role="Started"
> clone fence-clone fence-test \
> meta target-role="Started"
> location loc1 fence-clone 100: h181
> I want to get the value of the parameter : pcmk_host_list,But it does
> not work :
> crm(live)resource# param fence-test show pcmk_host_list
> Error performing operation: The object/attribute does not exist
Did you try "param fence-clone show pcmk_host_list"? Usually you need to reference the clone when a resource is cloned not the original primitive.
HTH
Jake
> When I delete the fence-clone,the command can output correctly.
> crm(live)resource# param fence-test show pcmk_host_list
> h181
> why?Anyone can explained it for me ?
> _______________________________________________
> Pacemaker mailing list: Pacemaker at 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
More information about the Pacemaker
mailing list