Msg08171.html: Difference between revisions

From Linix VServer
Jump to navigationJump to search
(Restored content from Wayback Machine)
 
(No difference)

Latest revision as of 23:15, 10 November 2025


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

[Vserver] Multicast and vserver[edit]


  • From: Benoit des Ligneris
  • Date: Thu, 28 Oct 2004 02:51:18 +0200 (CEST)



Hello,

I tried to make ganglia run on a vserver. This is a monitoring package
that uses multicast to publish information about its state.

I've found an old message about this setting :
http://list.linux-vserver.org/archive/vserver/msg07038.html

Without particular precaution, I have the same result :
gmond -d2
pthread_attr_init
creating cluster hash for 1024 nodes
hash_create size = 1024
hash->size is 1031
gmond initialized cluster hash
Using interface eth0
g_mcast_socket_bind() error: Cannot assign requested address
g_mcast_in() failed: Cannot assign requested address

If I add the multicast address in the vserver.conf file
(IPROOT="192.168.4.5 239.2.11.71") then I obtain the following :
gmond -d2
pthread_attr_init
creating cluster hash for 1024 nodes
hash_create size = 1024
hash->size is 1031
gmond initialized cluster hash
Using interface eth0
mcast listening on 239.2.11.71 8649
XML listening on port 8649
listening thread(s) have been started
listening thread(s) have been started
cleanup thread has been started
gmond could not connect to multicast channel: Invalid argument

which is better (I think ;-) but still not working.

I know out of my mind of some applications that heavily use multicast
(ganglia, cups, openSLP, etc.) and it would be convenient if multicast
can be enabled in a vserver. What are the technical difficulties ?

Ben
-- 
Benoit des Ligneris Ph. D.
President de Revolution Linux     http://www.revolutionlinux.com/
OSCAR Chair                    http://oscar.openclustergroup.org/
Chef de projet EduLinux                  http://www.edulinux.org/