[Vserver] support for multicast?

From: Drew Lippolt <dlippolt_at_moverotech.com>
Date: Mon 14 Nov 2005 - 09:09:32 GMT
Message-Id: <52E66FAB-6F0D-4167-B55D-AF6A21339F85@moverotech.com>

QUESTION: what is the current story with multicast support for both
sending and receiving multicast traffic?


trying to get tomcat clustering working in vserver.



[root@app2 opt]# cat /proc/version
Linux version 2.4.30-vs1.2.10 (root@app1.moverotech.com) (gcc version
3.2.3 20030502 (Red Hat Linux 3.2.3-52)) #1 Wed Aug 10 01:27:44 CDT 2005

[root@app2 opt]# grep MULTICAST /boot/config-2.4.30-vs1.2.10

tomcat 5.5.12

i'm running debian sarge vservers on redhat enterprise linux 3.0
boxes at rackspace, using a stock kernel.org kernel with required
tweaks for my hardware this is a production environment which has
been supporting many apps beautifully for 3 months.

the basic idea is that i have multiple app layer boxes, which i want
to distribute tomcat clusters. single instance of tomcat, running in
a single vserver, per real host, per application. so if i have 3
apps, on 3 real servers, i'd have 9 total vservers across 3
clusters. i'm not even getting that far. my test setup is 2 real
hosts, each with one vserver with an 'out of the box' tomcat cluster
config. the tomcat instances aren't finding each other.

the stacktraces i'm getting on tomcat --shutdown-- are as follows,
which doesn't look all that interesting, its in code looking for
incoming connections on a tcp port, which never arrive, since the
mcast conversation never happens (ReplicationListener.java:130):

SEVERE: Unable to process request in ReplicationListener
         at sun.nio.ch.SelectorImpl.lockAndDoSelect(SelectorImpl.java:
         at sun.nio.ch.SelectorImpl.select(SelectorImpl.java:70)
         at org.apache.catalina.cluster.tcp.ReplicationListener.listen
         at org.apache.catalina.cluster.tcp.ClusterReceiverBase.run
         at java.lang.Thread.run(Thread.java:534)


* add multicast ip to IPROOT. this just causes barf messages at
vserver startup

Starting the virtual server v208
Server v208 is not running
SIOCSIFADDR: Invalid argument
SIOCSIFFLAGS: Cannot assign requested address
SIOCSIFNETMASK: Cannot assign requested address
SIOCGIFADDR: Cannot assign requested address
SIOCSIFBROADCAST: Cannot assign requested address
SIOCSIFBRDADDR: Cannot assign requested address
SIOCSIFFLAGS: Cannot assign requested address
ipv4root is now

* enabled NET_ADMIN and NET_BROADCAST. this offers no change

* googling for multicast setup on vserver. almost zero info.

http://www.paul.sladen.org/vserver/archives/200205/0090.html (no

http://list.linux-vserver.org/archive/vserver/msg08171.html (some
progress, no resolution)

* searching for multicast in vserver irc logs, almost zero info.

as usual, thanks in advance for any information.

take care,

Vserver mailing list
Received on Mon Nov 14 10:01:56 2005

[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Mon 14 Nov 2005 - 10:02:05 GMT by hypermail 2.1.8