I actually have 2 NICs on the machine and splitting the servers between the 2 
physical IP addresses with different multicast addresses works properly.

My delimma is that I have only 2 NICs and I need 3 clusters on the linux box.  
I have created an additional IP address for one of the NICs using an IP alias.  


eth0      Link encap:Ethernet  HWaddr 00:0F:1F:66:74:41  
  |           inet addr:192.168.1.11  Bcast:192.168.1.255  Mask:255.255.255.0
  |           inet6 addr: fe80::20f:1fff:fe66:7441/64 Scope:Link
  |           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
  |           RX packets:339235 errors:0 dropped:0 overruns:0 frame:0
  |           TX packets:288828 errors:0 dropped:0 overruns:0 carrier:0
  |           collisions:0 txqueuelen:100 
  |           RX bytes:43175205 (41.1 Mb)  TX bytes:233529905 (222.7 Mb)
  |           Interrupt:16 Memory:fcf30000-fcf40000 
  | 
  | eth0:0    Link encap:Ethernet  HWaddr 00:0F:1F:66:74:41  
  |           inet addr:192.168.1.40  Bcast:192.168.1.255  Mask:255.255.255.0
  |           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
  |           Interrupt:16 Memory:fcf30000-fcf40000 
  | 
  | eth0:1    Link encap:Ethernet  HWaddr 00:0F:1F:66:74:41  
  |           inet addr:192.168.1.41  Bcast:192.168.1.255  Mask:255.255.255.0
  |           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
  |           Interrupt:16 Memory:fcf30000-fcf40000 
  | 
  | eth0:2    Link encap:Ethernet  HWaddr 00:0F:1F:66:74:41  
  |           inet addr:192.168.1.42  Bcast:192.168.1.255  Mask:255.255.255.0
  |           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
  |           Interrupt:16 Memory:fcf30000-fcf40000 
  | 
  | eth0:3    Link encap:Ethernet  HWaddr 00:0F:1F:66:74:41  
  |           inet addr:192.168.1.43  Bcast:192.168.1.255  Mask:255.255.255.0
  |           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
  |           Interrupt:16 Memory:fcf30000-fcf40000 
  | 
  | eth1      Link encap:Ethernet  HWaddr 00:0F:1F:66:74:42  
  |           inet addr:192.168.1.12  Bcast:192.168.1.255  Mask:255.255.255.0
  |           inet6 addr: fe80::20f:1fff:fe66:7442/64 Scope:Link
  |           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
  |           RX packets:58315 errors:0 dropped:0 overruns:0 frame:0
  |           TX packets:138 errors:0 dropped:0 overruns:0 carrier:0
  |           collisions:0 txqueuelen:100 
  |           RX bytes:15660151 (14.9 Mb)  TX bytes:8880 (8.6 Kb)
  |           Interrupt:17 Memory:fcf10000-fcf20000 
While everything else seems to bind properly to the IP alias on the NIC, the 
clustering portion of JBoss clusters all server on the physical NIC, regardless 
of the IP address its bound to.

Has anyone sucessfully implemented more than one cluster on the same NIC using 
an IP alias and what must I change in addition to the mcast_addr and bind_addr 
in the cluster-service.xml and tc5-cluster-service.xml files?

Thanks in advance.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3871200#3871200

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3871200


-------------------------------------------------------
This SF.net email is sponsored by: 2005 Windows Mobile Application Contest
Submit applications for Windows Mobile(tm)-based Pocket PCs or Smartphones
for the chance to win $25,000 and application distribution. Enter today at
http://ads.osdn.com/?ad_id=6882&alloc_id=15148&op=click
_______________________________________________
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to