From: Benoit des Ligneris (benoit.des.ligneris_at_revolutionlinux.com)
Date: Thu 28 Oct 2004 - 14:58:13 BST
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 rely on 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/ _______________________________________________ Vserver mailing list Vserver_at_list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver