LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   Routing Problem - Multi-Homed Redhat Servers. (https://www.linuxquestions.org/questions/linux-server-73/routing-problem-multi-homed-redhat-servers-929736/)

patrm 02-16-2012 11:53 AM

Routing Problem - Multi-Homed Redhat Servers.
 
Hi,

I have just created a cluster of 7 servers running Hadoop / Hbase. As Hbase can very 'chatty' and sometimes have a need to transfer large volumes of between other servers in the cluster I multi-homed these 7 servers. The Hbase communicates with other servers in the cluster using Eth1 on a 10.10.10.x private network using a dedicated switch. This is to avoid possible saturation of our 'general use' network 172.x.x.x.

The other NIC on these 7 servers, Eth0 - has a static IP and is connected to our companies regular 172.x.x.x network. We will obviously need to reach the cluster servers from other Linux hosts (running Java) and perhaps some Windows systems. I don't know exactly how Java communicates with Hbase, but I think it will use ip/port ( 10.10.10.x:5555 ).

I need some kind routing on each of the 7 cluster servers to enable the 172..x.x.x systems reach Hbase.

Any suggestions would be much appreciated.

Here is an ifconfig -a output:

eth0 Link encap:Ethernet HWaddr 00:1F:29:DD:C8:64
inet addr:172.20.65.176 Bcast:172.20.65.255 Mask:255.255.255.128
inet6 addr: fe80::21f:29ff:fedd:c864/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:10156640 errors:0 dropped:0 overruns:0 frame:0
TX packets:2883352 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:9018106130 (8.3 GiB) TX bytes:344717685 (328.7 MiB)
Interrupt:16 Memory:f8000000-f8012800

eth1 Link encap:Ethernet HWaddr 00:1F:29:DD:C8:62
inet addr:10.10.10.156 Bcast:10.10.255.255 Mask:255.255.0.0
inet6 addr: fe80::21f:29ff:fedd:c862/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1216802 errors:0 dropped:0 overruns:0 frame:0
TX packets:618214 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:269185450 (256.7 MiB) TX bytes:103688182 (98.8 MiB)
Interrupt:17 Memory:fa000000-fa012800

Thanks

Patrm

pafoo 02-16-2012 12:00 PM

Create a route on eth0 to the default gate way which will probally be 172.x.x.129. Then that needs to get routed to your 10 network. They each have to have gateways to cross subnets


All times are GMT -5. The time now is 05:13 PM.