[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[Linux-cluster] 2 node cluster network query



Hi all ,

I am using the 2 node cluster with drbd.

For sending the cluster packets  & drbd packet I have connected the 3 cross cable between 2 server.

The IP and config is as follows :--

     service                    mailbox1              mailbox2              Interface
---------------------------------------------------------------------------
1)  drbd res0                10.10.10.10/16     10.10.10.20/16       eth1
2)  drbd res1                10.10.10.30/16     10.10.10.40/16       eth2
3)  Cluster Packet        10.10.20.1/16       10.10.20.1/16         eth5


cat  /etc/hosts

10.10.20.1            mailbox1
10.10.20.2            mailbox2


################# part of cluster.conf  ########################
<clusternode name="mailbox1" nodeid="1" votes="1">
                        <multicast addr="224.0.0.1" interface="eth5"/>

<clusternode name="mailbox2" nodeid="2" votes="1">
                        <multicast addr="224.0.0.1" interface="eth5"/>
################# part of cluster.conf  ########################


Cluster log :--
----------------
Apr  1 00:45:39 mailbox2 openais[4228]: [CLM  ] CLM CONFIGURATION CHANGE
Apr  1 00:45:39 mailbox2 openais[4228]: [CLM  ] New Configuration:
Apr  1 00:45:39 mailbox2 openais[4228]: [CLM  ]    r(0) ip(10.10.10.20)
Apr  1 00:45:39 mailbox2 openais[4228]: [CLM  ] Members Left:
Apr  1 00:45:39 mailbox2 openais[4228]: [CLM  ] Members Joined:
Apr  1 00:45:39 mailbox2 openais[4228]: [CLM  ] CLM CONFIGURATION CHANGE
Apr  1 00:45:39 mailbox2 openais[4228]: [CLM  ] New Configuration:
Apr  1 00:45:39 mailbox2 openais[4228]: [CLM  ]    r(0) ip(10.10.10.10)
Apr  1 00:45:39 mailbox2 openais[4228]: [CLM  ]    r(0) ip(10.10.10.20)
Apr  1 00:45:39 mailbox2 openais[4228]: [CLM  ] Members Left:
Apr  1 00:45:39 mailbox2 openais[4228]: [CLM  ] Members Joined:
Apr  1 00:45:39 mailbox2 openais[4228]: [CLM  ]    r(0) ip(10.10.10.10)
Apr  1 00:45:39 mailbox2 openais[4228]: [SYNC ] This node is within the primary component and will provide service.
Apr  1 00:45:39 mailbox2 openais[4228]: [TOTEM] entering OPERATIONAL state.
Apr  1 00:45:39 mailbox2 openais[4228]: [CLM  ] got nodejoin message 10.10.10.10
Apr  1 00:45:39 mailbox2 openais[4228]: [CLM  ] got nodejoin message 10.10.10.20


 route -n :---
Kernel IP routing table
Destination     Gateway         Genmask           Flags  Metric Ref    Use Iface
192.168.1.0     0.0.0.0             255.255.255.0   U       0          0        0 bond0
10.10.0.0         0.0.0.0             255.255.0.0       U       0          0        0 eth1
10.10.0.0        0.0.0.0             255.255.0.0        U       0          0        0 eth2
10.10.0.0        0.0.0.0             255.255.0.0        U       0          0        0 eth5
69.254.0.0     0.0.0.0             255.255.0.0        U       0          0        0 eth5
0.0.0.0          192.168.1.13    0.0.0.0                UG     0          0        0 bond0


Question :--

While starting the cluster , the log are saying that the "
got nodejoin message 10.10.10.10 &   10.10.10.20"
where as the /etc/hosts are define with
10.10.20.1 <--->  mailbox1 ,   10.10.20.2 <----->mailbox2

1) Why the cluster is not taking the IP 10.10.20.1 & 10.10.20.2  ( i.e cross cable IPs. )  ?
2) Is it because my all cross cable IPs are in 10.10.x.x  series , and cluster is finding the nearest IP ( 10.10.10.10 & 10.10.10.20) for communication ?
3) Do I need to take 172.16.x.x  or some other IP series ?


Regards
Jayesh Shinde

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]