Hide Forgot
This bug has been copied from bug #656427 and has been proposed to be backported to 5.6 z-stream (EUS).
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.
http://git.fedorahosted.org/git?p=cluster.git;a=commit;h=f69006f7654e9f45da64ccb8b4b823b0ce2f4cc4
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