Hi guys,

Have configured an LVS_DR and it is working well for http and ssh but our in-house application is failing.

The app is a 'pure' java client server application (both client and server components are standalone java apps).  When the client connects directly to the real server (without the director) everything works ok - but if I set the client to use the director the client is unable to find any of the services bound to the real servers RMI-Registry...

Anyone used an LVS for java applications?  Any tips?

My setup is the following:

Director - RH7.2, 2.4.18 kernel.org with IPVS-1.0.0 - Running pirahna.

Real Server - RH6.2EE, Standard 6.2 errata kernel, IBM Java SDK 1.3r7.

Clients are WINNT4 dialup users.

-ipvsadm output-
IP Virtual Server version 1.0.0 (size=4096)
Prot LocalAddress:Port Scheduler Flags
  -> RemoteAddress:Port           Forward Weight ActiveConn InActConn
TCP  stout-lvs:ssh rr
  -> 192.168.8.31:ssh             Route   1      0          0
TCP  stout-lvs:rmi-reg wlc
  -> 192.168.8.31:rmi-reg         Route   10     1          2

route -e (from director)
Kernel IP routing table
Destination     Gateway         Genmask         Flags   MSS Window  irtt Iface
192.168.101.0   *               255.255.255.0   U        40 0          0 eth0
192.168.8.0     *               255.255.255.0   U        40 0          0 eth1
127.0.0.0       *               255.0.0.0       U        40 0          0 lo
default         rmel1-eth1-2.to 0.0.0.0         UG       40 0          0 eth1

route -e (from realserver)
Kernel IP routing table
Destination     Gateway         Genmask         Flags   MSS Window  irtt Iface
192.168.8.31    *               255.255.255.255 UH        0 0          0 eth0
192.168.8.0     *               255.255.255.0   U         0 0          0 eth0
127.0.0.0       *               255.0.0.0       U         0 0          0 lo
default         rmel1-eth1-2.to 0.0.0.0         UG        0 0          0 eth0

ifconfig from realserver
eth0      Link encap:Ethernet  HWaddr 00:06:29:CE:5D:4B
          inet addr:192.168.8.31  Bcast:192.168.8.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:189070 errors:0 dropped:0 overruns:0 frame:0
          TX packets:165640 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100
          Interrupt:15 Base address:0x7000

eth0:40   Link encap:Ethernet  HWaddr 00:06:29:CE:5D:4B
          inet addr:192.168.8.40  Bcast:192.168.8.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          Interrupt:15 Base address:0x7000

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:3924  Metric:1
          RX packets:106112 errors:0 dropped:0 overruns:0 frame:0
          TX packets:106112 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0

Thanks again,

jeremy

Jeremy Lobascher
Network Administrator
Touchcorp Ltd
Telephone: +61 3 9635 2621
Mobile: +61 438 639 539
Fax: +61 3 9635 2699
www.touchcorp.com