Bug 758823 - cman and corosync RRP handling are not consistent and needs improvements
Summary: cman and corosync RRP handling are not consistent and needs improvements
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: ricci
Version: 6.3
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: rc
: 6.3
Assignee: Chris Feist
QA Contact: Cluster QE
URL:
Whiteboard:
Depends On: 722469 733298 735911 738390
Blocks: 758821
TreeView+ depends on / blocked
 
Reported: 2011-11-30 19:04 UTC by Fabio Massimo Di Nitto
Modified: 2018-11-29 22:01 UTC (History)
11 users (show)

Fixed In Version: ricci-0.16.2-53.el6
Doc Type: Bug Fix
Doc Text:
Cause: ccs has no way of configuring RRP Consequence: User can't configure RRP with ccs Fix: options are now available in ccs to configure RRP Result: User can now configure RRP with ccs
Clone Of: 733298
Environment:
Last Closed: 2012-06-20 14:14:02 UTC
Target Upstream Version:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2012:0898 0 normal SHIPPED_LIVE ricci bug fix and enhancement update 2012-06-19 19:50:47 UTC

Comment 1 Fabio Massimo Di Nitto 2011-11-30 19:05:36 UTC
The relevant bits for ccs are in comment#3 unit test 4.

Comment 8 Chris Feist 2012-03-01 00:29:11 UTC
With ricci-0.16.2-53.el6:


[root@ask-04 ~]# ccs -f testfile --createcluster blah
[root@ask-04 ~]# ccs -i -f testfile --setmulticast 1.1.1.1 port=555
[root@ask-04 ~]# ccs -i -f testfile --setaltmulticast 2.2.2.2 port=777
[root@ask-04 ~]# ccs -i -f testfile --addnode node1
Node node1 added.
[root@ask-04 ~]# ccs -i -f testfile --addnode node2
Node node2 added.
[root@ask-04 ~]# ccs -i -f testfile --addalt node1 myalt  port=888
[root@ask-04 ~]# ccs -i -f testfile --addalt node2 myalt2 port=8888
[root@ask-04 ~]# cat testfile
<cluster config_version="7" name="blah">
  <fence_daemon/>
  <clusternodes>
    <clusternode name="node1" nodeid="1">
      <altname name="myalt" port="888"/>
    </clusternode>
    <clusternode name="node2" nodeid="2">
      <altname name="myalt2" port="8888"/>
    </clusternode>
  </clusternodes>
  <cman>
    <multicast addr="1.1.1.1" port="555"/>
    <altmulticast addr="2.2.2.2" port="777"/>
  </cman>
  <fencedevices/>
  <rm>
    <failoverdomains/>
    <resources/>
  </rm>
</cluster>

multicast, altmulticast & individual cluster node altname's have been added.


[root@ask-04 ~]# ccs -i -f testfile --rmalt node2
[root@ask-04 ~]# ccs -i -f testfile --setmulticast
[root@ask-04 ~]# ccs -i -f testfile --setaltmulticast
[root@ask-04 ~]# cat testfile
<cluster config_version="10" name="blah">
  <fence_daemon/>
  <clusternodes>
    <clusternode name="node1" nodeid="1">
      <altname name="myalt" port="888"/>
    </clusternode>
    <clusternode name="node2" nodeid="2">
    </clusternode>
  </clusternodes>
  <cman>
  </cman>
  <fencedevices/>
  <rm>
    <failoverdomains/>
    <resources/>
  </rm>
</cluster>

multicast, altmulticast and node2 altname have been removed.

Comment 10 Chris Feist 2012-03-15 19:57:26 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:
Cause: ccs has no way of configuring RRP

Consequence: User can't configure RRP with ccs

Fix: options are now available in ccs to configure RRP

Result: User can now configure RRP with ccs

Comment 13 errata-xmlrpc 2012-06-20 14:14:02 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHBA-2012-0898.html


Note You need to log in before you can comment on or make changes to this bug.