[Pacemaker] How to add ClusterIP in Pacemaker 1.1.8?

Andrew Beekhof andrew at beekhof.net
Tue Jun 11 18:39:41 EDT 2013


On 11/06/2013, at 10:33 PM, Michael Schwartzkopff <misch at clusterbau.com> wrote:

> Am Dienstag, 11. Juni 2013, 14:58:30 schrieb Michael Furman:
> > Hi all!
> > We are trying to configure HA in Pacemaker 1.1.8 using
> > http://clusterlabs.org/doc/en-US/Pacemaker/1.1-plugin/html-single/Clusters_
> > from_Scratch/index.html#_adding_a_resource
>  
> > According to the documentation we need to run the following command:
> > crm configure primitive ClusterIP ocf:heartbeat:IPaddr2 params
> > ip=192.168.122.101 cidr_netmask=32 op monitor interval=30s
>  
> > Unfortunately, the dependencies of Pacemaker 1.1.8 doesn’t include “crm” but
> > includes “crm_attribute”.
>  How to add ClusterIP using
> > “crm_attribute”command or by other crm command? Where can I find the
> > documentation for Pacemaker 1.1.8 similar to
> > http://clusterlabs.org/doc/en-US/Pacemaker/1.1-plugin/html-single/Clusters_
> > from_Scratch/index.html? Thanks for your help!
>  
>  
> You have to install the crmsh package. Or use pcs.

For people moving to pcs from crmsh, the following might be of use:

https://github.com/ClusterLabs/pacemaker/blob/master/doc/pcs-crmsh-quick-ref.md





More information about the Pacemaker mailing list