[Pacemaker] does adding a second ring actually work with cman?

Brian J. Murrell brian at interlinx.bc.ca
Mon Dec 16 11:28:30 EST 2013

So, I was reading:


about adding a second ring to one's CMAN configuration.  I tried to add
a second ring to my configuration without success.

Given the example:

# ccs -h clusternet-node1-eth1 --addalt clusternet-node1-eth1 clusternet-node1-eth2

I'm assuming that clusternet-node1-eth2 is a name that resolves to the
IP address of the interface to add as the second ring?  Otherwise I see
no way that the ccs command is supposed to know which (of possibly many)
interfaces to use for the second ring.

That didn't seem to work for me in any case:

# ifconfig eth1
eth1      Link encap:Ethernet  HWaddr 52:54:00:05:A7:08  
          inet addr:  Bcast:  Mask:
          inet6 addr: fe80::5054:ff:fe05:a708/64 Scope:Link
          RX packets:4662465 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1555036 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:520360401 (496.2 MiB)  TX bytes:171863479 (163.9 MiB)

# grep /etc/hosts    lotus-5vm8-ring1
# hostname
# ccs -f /etc/cluster/cluster.conf --addalt $(hostname) $(hostname)-ring1
# ccs -f /etc/cluster/cluster.conf --getconf
<cluster config_version="8" name="foo2">  
        <clusternode name="lotus-5vm8" nodeid="1">      
                <method name="pcmk-redirect">          
                    <device name="pcmk" port="lotus-5vm8"/>          
            <altname name="lotus-5vm8-ring1"/>      
        <fencedevice agent="fence_pcmk" name="pcmk"/>    
# corosync-objctl  | grep ring

So is there something I am misunderstanding or is this not actually
working?  The node I was trying this on is EL6.4.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: This is a digitally signed message part
URL: <http://lists.clusterlabs.org/pipermail/pacemaker/attachments/20131216/ecba192a/attachment-0002.sig>

More information about the Pacemaker mailing list