[Pacemaker] pacemaker on different subnet machines

Andrew Beekhof andrew at beekhof.net
Mon Feb 17 00:44:29 UTC 2014


On 25 Jan 2014, at 12:55 am, Parveen Jain <parveenjain at live.com> wrote:

> Hi All,
>   Can there be any problem if we install pacemaker/corosync on different subnets(for a simple two machine setup cluster) ?

Corosync uses multicast by default which I could easily imagine would not like this kind of setup.
Perhaps look up the cman documentation for configuring udpu (aka. unicast)

> I installed my pacemaker for machine 192.168.180.1 and another one on 192.168.181.5. But when I run "pcs status", both the nodes shows "himself" as online and "peer node: as offline ?
> 
> I had not yet configured any particular services yet. Just installed the pacemaker/corosync on RHEL6.5 with folloiwng commands:
> 
> [ONE] # ccs -f /etc/cluster/cluster.conf --createcluster pacemaker1 
>  [ONE] # ccs -f /etc/cluster/cluster.conf --addnode node1 
> [ONE] # ccs -f /etc/cluster/cluster.conf --addnode node2
> 
> [ONE] # ccs -f /etc/cluster/cluster.conf --addfencedev pcmk agent=fence_pcmk 
>  [ONE] # ccs -f /etc/cluster/cluster.conf --addmethod pcmk-redirect node1 
> [ONE] # ccs -f /etc/cluster/cluster.conf --addmethod pcmk-redirect node2 
>  [ONE] # ccs -f /etc/cluster/cluster.conf --addfenceinst pcmk node1 pcmk-redirect port=node1 
> ONE] # ccs -f /etc/cluster/cluster.conf --addfenceinst pcmk node2 pcmk-redirect port=node2
> 
> [ALL] # echo "CMAN_QUORUM_TIMEOUT=0" >> /etc/sysconfig/cman
> 
> 
> 
>  [ALL] # service cman start 
> [ALL] # service pacemaker start
> 
> [ONE] # pcs property set stonith-enabled=false
> [ONE] # pcs property set no-quorum-policy=ignore
> 
> and after these steps, I run "pcs status" which is giving me this problem.
> 
> (both machines are pinging well with each other and there is no issue with the connectivity)
> 
> Thanks,
> Parveen
> 
> _______________________________________________
> Pacemaker mailing list: Pacemaker at oss.clusterlabs.org
> http://oss.clusterlabs.org/mailman/listinfo/pacemaker
> 
> Project Home: http://www.clusterlabs.org
> Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
> Bugs: http://bugs.clusterlabs.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 841 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <https://lists.clusterlabs.org/pipermail/pacemaker/attachments/20140217/7952c82c/attachment-0003.sig>


More information about the Pacemaker mailing list