Bug 656427
| Summary: | ccs_tool will fail if different ports are used | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 5 | Reporter: | Shane Bradley <sbradley> | ||||||
| Component: | cman | Assignee: | Lon Hohberger <lhh> | ||||||
| Status: | CLOSED ERRATA | QA Contact: | Cluster QE <mspqa-list> | ||||||
| Severity: | urgent | Docs Contact: | |||||||
| Priority: | urgent | ||||||||
| Version: | 5.5 | CC: | cluster-maint, djansa, edamato, jwest, ndoane, pveiga, rdassen | ||||||
| Target Milestone: | rc | Keywords: | ZStream | ||||||
| Target Release: | --- | ||||||||
| Hardware: | Unspecified | ||||||||
| OS: | Unspecified | ||||||||
| Whiteboard: | |||||||||
| Fixed In Version: | cman-2.0.115-70.el5 | Doc Type: | Bug Fix | ||||||
| Doc Text: | Story Points: | --- | |||||||
| Clone Of: | Environment: | ||||||||
| Last Closed: | 2011-07-21 07:16:45 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: | |||||||||
| Bug Depends On: | |||||||||
| Bug Blocks: | 677814 | ||||||||
| Attachments: |
|
||||||||
|
Description
Shane Bradley
2010-11-23 17:41:33 UTC
Created attachment 477895 [details]
Fix
Notes:
1) This patch does not update ccs_tool's "editconf" capabilities, since these are deprecated anyway.
2) You must specify things on the command line; parsing a sysconfig file is not appropriate - /etc/sysconfig files are for init scripts. The only port you need to change is the 'c' port. I used ccsd's argument parsing for consistency.
ccs_tool update -P c:40009 /etc/cluster/cluster.conf
3) This patch is not needed in RHEL6 or STABLE31.
Created attachment 477907 [details]
Man page update
[root@rhel5-1 ~]# cat /etc/sysconfig/cman CCSD_OPTS="-P f:40006 -P b:40008 -P c:40009" [root@rhel5-1 ~]# netstat -a | grep [45]000 tcp 0 0 localhost.localdomain:40006 *:* LISTEN tcp 0 0 *:40009 *:* LISTEN udp 0 0 *:40008 *:* [root@rhel5-1 ~]# ccs_tool update /etc/cluster/cluster.conf Unable to open connection to rhel5-1.lhh.pvt: Bad file descriptor Failed to update config file. [root@rhel5-1 ~]# ccs_tool update -P c:40009 /etc/cluster/cluster.conf Set cluster base port to 40009 Config file updated from version 17 to 18 Update complete. [root@rhel5-1 ~]# Patch posted to cluster-devel https://www.redhat.com/archives/cluster-devel/2011-February/msg00040.html https://www.redhat.com/archives/cluster-devel/2011-February/msg00041.html 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 therefore 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-2011-1001.html |