----- Original Message -----
> From: "Parveen Jain" <parveenj...@live.com>
> To: pacemaker@oss.clusterlabs.org
> Sent: Thursday, January 23, 2014 9:24:39 AM
> Subject: [Pacemaker] error with pcs resource group command
> 
> 
> 
> Hi Team,
> 
> I was trying to add a group while converting from my CRM commands to pcs
> commands:
> 
> following is the previous crm command:
> 
> group vip-group vip-prim \
> 
> meta target-role="Started"
> 
> 
> 
> the command which I am trying to use is:
> 
> pcs resource group add vip-group vip-prim meta target-role="Started"
> 
> but whenever I use this command, I get following output:
> 
> 
> 
> 
> " Unable to find resource: meta
> 
> Unable to find resource: target-role=Started "

pcs does not have a one to one mapping to crmsh commands. The 'pcs resource 
group add' command does not accept metadata.

use pcs resource meta <group id> target-role=Started

or 

'pcs resource enable <group id>' will do the same thing.

The pcs tool tells you what arguments the different commands take. You can view 
this for yourself. Use 'pcs resource help' to see resource options.  You can 
look at the man page as well 'man pcs' and it has a detailed list.

-- Vossel


> 
> 
> 
> I even consulted the documentation, but it also gives the syntax I am using:
> 
> https://access.redhat.com/site/documentation//en-US/Red_Hat_Enterprise_Linux/7-Beta/html/High_Availability_Add-On_Reference/s1-resourceopts-HAAR.html#tb-resource-options-HAAR
> 
> 
> 
> 
> Can anyone guide where I am doing wrong ?
> 
> 
> 
> 
> 
> 
> 
> Thanks,
> 
> Parveen
> 
> _______________________________________________
> 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

Reply via email to