Bug 211469
| Summary: | RFE: flag for clusvcadm to respect failover domain priorities (rhcs5) | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 5 | Reporter: | Lon Hohberger <lhh> | ||||
| Component: | rgmanager | Assignee: | Marek Grac <mgrac> | ||||
| Status: | CLOSED ERRATA | QA Contact: | Cluster QE <mspqa-list> | ||||
| Severity: | medium | Docs Contact: | |||||
| Priority: | medium | ||||||
| Version: | 5.0 | CC: | adolf.rieger, cluster-maint, hlawatschek, joachim.schneider | ||||
| Target Milestone: | --- | ||||||
| Target Release: | --- | ||||||
| Hardware: | All | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | RHBA-2007-0580 | Doc Type: | Bug Fix | ||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2007-11-07 16:45:19 UTC | Type: | --- | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Embargoed: | |||||||
| Attachments: |
|
||||||
|
Description
Lon Hohberger
2006-10-19 15:57:33 UTC
Fixing Product Name. Cluster Suite was integrated into the Enterprise Linux for version 5.0. 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 release. There is a different behaviour implemented. RHEL4: -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.
<rm>
<failoverdomains
<failoverdomain name="foo">
<failoverdomainnode name="node1" ordered="1"/>
</failoverdomain>
</failoverdomains>
<service name="footest" domain="foo"/>
</rm>
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. http://rhn.redhat.com/errata/RHBA-2007-0580.html |