Red Hat Bugzilla – Bug 211469
RFE: flag for clusvcadm to respect failover domain priorities (rhcs5)
Last modified: 2009-04-16 18:40:25 EDT
+++ This bug was initially created as a clone of Bug #210482 +++
Description of problem:
SSIA, instead of what is specified in /etc/cluster/cluster.conf, "clusvcadm -e
<service>" starts <service> on the local node.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. "clusvcadm -e <service>"
<service> gets started on local node
<service> should be started on a node in the cluster that satisfies constraints
specified in cluster.conf, e.g. priority.
-- Additional comment from firstname.lastname@example.org on 2006-10-17 10:23 EST --
Expected behavior. Use the -n <nodename> flag. You can use clusvcadm to
explicitly start the service where you want, otherwise, the assumption is that
the service should be started locally.
The failover domain priority is used for cluster-induced service transitions
(which happen after node transitions), and is not used for user-induced
It may be possible to add a flag to clusvcadm to do this (for 'use failover
domain priority, if possible') in a future release, but the current behavior is
not a bug.
However, the basic behavior for '-e' is correct.
-- Additional comment from email@example.com on 2006-10-17 11:44 EST --
This should be mentioned in "clusvcadm --help" somewhere, the people I've
encountered seem to expect "clusvcadm" to respect the constraints in
cluster.conf when using "-e". Should I open a new BZ item for an RFE?
Fixing Product Name. Cluster Suite was integrated into the Enterprise Linux for
This request was evaluated by Red Hat Product Management for inclusion in a Red
Hat Enterprise Linux maintenance release. Product Management has requested
further review of this request by Red Hat Engineering, for potential
inclusion in a Red Hat Enterprise Linux Update release for currently deployed
products. This request is not yet committed for inclusion in an Update
There is a different behaviour implemented.
-e: ignore failover domains
-f: run on the node in the failoved domain (command can be executed elsewhere)
RHEL5 (current status):
-e: do not ignore failover domains. if there is an attempt to execute it
elsewhere then 'Failure'.
Created attachment 156908 [details]
Respect failover patch against rgmanager-2.0.24
This patch add -F option to enable respect failover (clusvcadm -Fe service00).
It also changes behaviour of -e to be same as in RHEL4 (clusvcadm -e service00
will start service locally even if we are not a part of failover domain)
Patch is in the CVS branch RHEL50
This is a new feature. As such, no regression testing is available. To test
the new feature, create an ordered failover domain of at least one node and bind
a service to it in cluster.conf.
<failoverdomainnode name="node1" ordered="1"/>
<service name="footest" domain="foo"/>
The service does not require any child resources. In at least a two node
cluster on node2, run:
clusvcadm -e footest.
The service will start on node2. This can be verified using the 'clustat' utility.
Run the following from either node:
clusvcadm -d footest.
The service will be put in to the disabled state. This can be verified using
the 'clustat' utility.
finally, run the following
clusvcadm -Fe footest
The service should be started on node1 - even when run from node2, due to the
failover domain constraints.
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.