[Pacemaker] Unable to ping cluster Virtual IP address from different subnet

Andrew Beekhof andrew at beekhof.net
Thu Jun 30 05:58:36 UTC 2011


Something to do with ARP tables perhaps?

On Tue, Jun 28, 2011 at 3:43 AM, ppking123 ppking123
<ppking123 at gmail.com> wrote:
> Hi,
> I searched the pacemaker mailing list archive but unable to find the
> information (The closest thread that I can find is
> http://www.mail-archive.com/pacemaker@oss.clusterlabs.org/msg08643.html)
> I have setup a Linux cluster with Corosync/Pacemaker, and the two cluster
> nodes are within the same subnet sharing a virtual IP. For machines within
> the same subnet, they can ping the virtual IP "135.121.192.104"
> successfully.
> However, if I tried to ping the virtual IP "135.121.192.104" from the
> machine from a different subnet, then it does not respond to my ping. The
> other machines resides on the subnet "135.121.196.x".  Note that I was able
> to ping the individual nodes IP addresses from the different subnet
> successfully, it is just the virtual IP does not work.
> On my machines, I have the following subnet mask in my ifcfg-eth0 file:
> NETMASK=255.255.254.0
> and below is my output for the crm configure show:
> [root at h-008 crm]# crm configure show
> node h-008 \
>         attributes standby="off"
> node h-009 \
>         attributes standby="off"
> primitive SampleClusterIP ocf:heartbeat:IPaddr2 \
>         params ip="135.121.192.104" cidr_netmask="23" \
>         op monitor interval="30s" clusterip_hash="sourceip"
> clone SampleClusterIP2 SampleClusterIP \
>         meta globally-unique="true" clone-node-max="2"
> property $id="cib-bootstrap-options" \
>         dc-version="1.0.11-1554a83db0d3c3e546cfd3aaff6af1184f79ee87" \
>         cluster-infrastructure="openais" \
>         expected-quorum-votes="2" \
>         no-quorum-policy="ignore" \
>         stonith-enabled="false"
> rsc_defaults $id="rsc-options" \
>         resource-stickiness="100"
> and the output of the crm_mon status:
> [root at h-009 crm]# crm_mon status --one-shot
> non-option ARGV-elements: status
> ============
> Last updated: Thu Jun 23 08:12:21 2011
> Stack: openais
> Current DC: h-008 - partition with quorum
> Version: 1.0.11-1554a83db0d3c3e546cfd3aaff6af1184f79ee87
> 2 Nodes configured, 2 expected votes
> 1 Resources configured.
> ============
> Online: [ h-008 h-009 ]
>  Clone Set: SampleClusterIP2 (unique)
>      SampleClusterIP:0     (ocf::heartbeat:IPaddr2):       Started h-008
>      SampleClusterIP:1     (ocf::heartbeat:IPaddr2):       Started h-009
> I am new to the Linux HA cluster setup, and unable to find out the root
> cause for the issue. Is there any configuration I can check to diagnose this
> problem?
> _______________________________________________
> 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://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker
>
>




More information about the Pacemaker mailing list