[Pacemaker] Problem configuring a simple ping resource

Lars Marowsky-Bree lmb at suse.com
Thu Jun 27 11:10:26 EDT 2013


On 2013-06-27T17:01:37, Jacobo García <jacobo.garcia at gmail.com> wrote:

> Enable assymetric clustering
> crm_attribute --attr-name symmetric-cluster --attr-value false
> 
> Then I configure the resource:
> crm configure primitive ping ocf:pacemaker:ping params
> host_list="10.34.151.73" op monitor interval=15s timeout=5s
> WARNING: ping: default timeout 20s for start is smaller than the advised 60
> WARNING: ping: specified timeout 5s for monitor is smaller than the advised 60
> 
> This is what I get now:
> 
> crm status
> ============
> Last updated: Wed Jun 26 16:49:20 2013
> Last change: Wed Jun 26 16:48:01 2013 via cibadmin on ip-10-35-147-209
> Stack: openais
> Current DC: ip-10-35-147-209 - partition with quorum
> Version: 1.1.6-9971ebba4494012a93c03b40a2c58ec0eb60f50c
> 2 Nodes configured, 2 expected votes
> 1 Resources configured.
> ============
> 
> Online: [ ip-10-34-151-73 ip-10-35-147-209 ]
> 
> crm resource list
> ping (ocf::pacemaker:ping) Stopped

You've configured the cluster so that no node is eligible to run
resources unless you allow it (when you turned off symmetric
clustering). So you need to provide explicit location constraints to
allow the ping resource to run. (And you probably want to clone it.)

Or, easiest, don't switch to asymmetric clustering. I don't think that's
what you want.


Regards,
    Lars

-- 
Architect Storage/HA
SUSE LINUX Products GmbH, GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer, HRB 21284 (AG Nürnberg)
"Experience is the name everyone gives to their mistakes." -- Oscar Wilde





More information about the Pacemaker mailing list