| Summary: | ccs_tool will fail if different ports are used | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 5 | Reporter: | Benjamin Kahn <bkahn> |
| 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, edamato, jwest, lhh, mjuricek, ndoane, pm-eus, rdassen, sbradley |
| Target Milestone: | rc | Keywords: | ZStream |
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | cman-2.0.115-68.el5_6.3 | Doc Type: | Bug Fix |
| Doc Text: |
Previous versions of the ccs_tool utility did not allow users to specify the port numbers to use when distributing the configuration. Consequent to this, changing the port numbers for Cluster Manager components rendered this utility unable to establish a connection with a cluster. With this update, the ccs_tool utility now allows users to specify the port numbers on the command line, so that the connection can be established as expected.
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | 2011-04-28 07:38:31 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Bug Depends On: | 656427 | ||
| Bug Blocks: | |||
|
Description
Benjamin Kahn
2011-02-15 22:38:58 UTC
Technical note added. If any revisions are required, please edit the "Technical Notes" field
accordingly. All revisions will be proofread by the Engineering Content Services team.
New Contents:
Previous versions of the ccs_tool utility did not allow users to specify the port numbers to use when distributing the configuration. Consequent to this, changing the port numbers for Cluster Manager components rendered this utility unable to establish a connection with a cluster. With this update, the ccs_tool utility now allows users to specify the port numbers on the command line, so that the connection can be established as expected.
Specifying port number in ccs_tool works with cman-2.0.115-68.el5_6.2
[root@a1 cluster]# rpm -qa | grep cman
cman-2.0.115-68.el5_6.2
[root@a1 cluster]# cat /etc/sysconfig/cman
CCSD_OPTS="-P f:40006 -P b:40008 -P c:40009"
[root@a1 cluster]# netstat -tulpn | grep ccs
tcp 0 0 0.0.0.0:40009 0.0.0.0:*
LISTEN 28455/ccsd
tcp 0 0 ::1:40006 :::*
LISTEN 28455/ccsd
udp 0 0 :::40008 :::*
28455/ccsd
[root@a1 cluster]# ccs_tool update -P c:40009 /etc/cluster/cluster.conf
Set cluster base port to 40009
Config file updated from version 2 to 3
Update complete.
[root@a1 cluster]#
Usage of the -P option is not described in the man page, so I changing the
state to ASSIGNED.
Please update the man page.
Looks like there were two patches and I only backported the functional one to the 5.6 Z-stream. Respin has the same content as RHEL 5.7 man page now:
Note: If ccsd is run on a non-standard base port, you can spec-
ify this to a ccs_tool update in the same manner as you would to
ccsd:
For example:
ccs_tool update -P c:40003 /etc/cluster/cluster.conf
The -P option is not a global option, but specific to the "update" procedure, and is thus documented in the 'update' section.
Tested package cman-2.0.115-68.el5_6.3
- ccs_tool man page is updated
- specifying port number in ccs_tool works OK
[root@a1 cluster]# rpm -qa | grep cman
cman-2.0.115-68.el5_6.3
[root@a1 cluster]# cat /etc/sysconfig/cman
CCSD_OPTS="-P f:40006 -P b:40008 -P c:40009"
[root@a1 cluster]# netstat -tulpn | grep ccsd
tcp 0 0 0.0.0.0:40009 0.0.0.0:* LISTEN 28455/ccsd
tcp 0 0 ::1:40006 :::* LISTEN 28455/ccsd
udp 0 0 :::40008 :::* 28455/ccsd
[root@a1 cluster]# ccs_tool update -P c:40009 /etc/cluster/cluster.conf
Set cluster base port to 40009
Config file updated from version 3 to 4
Update complete.
[root@a1 cluster]#
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-0470.html |