12-30-2009
split host in ganglia
Hey there.
you should create 3 different clinet files and edit the server conf file.
in client file: /etc/gmond.conf
change the name of the cluster ( prod, staging, qa ) and the port (8691,8692,8693)
copy client conf file to each correspoing client,and run:
/sbin/service gmond restart
change:
cluster {
name = "prod"
owner = "yourname"
latlong = "unspecified"
url = "unspecified"
}
udp_send_channel {
mcast_join = 239.2.11.71
port = 8691
ttl = 1
}
udp_recv_channel {
mcast_join = 239.2.11.71
port = 8691
bind = 239.2.11.71
}
tcp_accept_channel {
port = 8691
}
in client file: /etc/ganglia/gmetad.conf
add the data_source for of the each cluster ( prod, staging, qa ) and the port (8691,8692,8693) with at least one clinet from that farm.
data_source "prod" 10 prod-client-hostname:8691
data_source "staging" 10 staging-client-hostname:8692
data_source "qa" 10 qa-client-hostname:8693
once you changed the server file run:
/sbin/service gmetad restart
now, refresh the web client....
enjoy
-J
6 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi!
Im trying to use host.allow & host.deny to resrtic access to my sun machine, but it doesnt seem to work... I want to allow full access from certain IPīs (ssh,http,ftp,etc...) but deny all kind of conections from outsideworld, the way that im doing that is:
hosts.allow
ALL:127.0.0.1... (2 Replies)
Discussion started by: Sorrento
2 Replies
2. UNIX for Dummies Questions & Answers
Hello everyone,
This is my first posts and I did search for a questions but did not find a question that answered my question unless of course I overlooked it.
I'm running Solaris 8. I use ssh for the users but I have a user called "chatterbox" that uses telnet but I need for chatterbox to... (1 Reply)
Discussion started by: huddlestonsnk
1 Replies
3. UNIX and Linux Applications
Hello all
I have a concept anderstanding problem with Ganglia.
I have one server ubuntu where I install gmetad and web server + apache and php. Then I have the web interface up and running.
I have several nodes to monitor, so I install gmond in each one.
The problem I have is to know what IP... (0 Replies)
Discussion started by: ldiaz2106
0 Replies
4. AIX
hi all
just installed the netsec.options.tcpwrapper from expansion pack, which used to be a rpm, for my aix 6.1 test box.
it is so unpredictable. i set up the hosts.deny as suggested for all and allow the sshd for specific ip addresses/hostnames.
the tcpdchk says the hosts allowed and... (0 Replies)
Discussion started by: wf201626
0 Replies
5. Infrastructure Monitoring
HeY till now i configured ganglia3.1.7 on rhel for localhost monitoring traffic evrything was ok but now i want another system in my lan for load moniotring
I installed gmond &gmond-python on it
biut i face this log error on system 1
Sep 7 16:01:58 HAPROXY1 /usr/sbin/gmond: Can't call... (2 Replies)
Discussion started by: rrwww
2 Replies
6. Solaris
Am trying to copy a tar file onto a series of remote hosts and untar it at the destination. Need to do this without having to do multiple ssh.
Actions to perform within a single ssh session via shell script
- copy a file
- untar at destination (remote host)
OS : Linux RHEL6 (3 Replies)
Discussion started by: sankasu
3 Replies
YPINIT(8) NIS Reference Manual YPINIT(8)
NAME
ypinit - NIS database install and build program
SYNOPSIS
/usr/lib/yp/ypinit [-m] [-s master_name]
DESCRIPTION
ypinit builds the domain subdirectory of /var/yp for the current default domain. After building the domain subdirectory, ypinit builds a
complete set of administrative maps for your system and places them in this directory. The first map created by ypinit -m is the ypservers
map. You should run it as root on the hosts, which should be the master ypserver.You should have only one master server per NIS domain.
All databases are built from scratch, either from information available to the program at runtime, or from the ASCII data base files in
/etc. These files are listed below under FILES.
An NIS database on a slave server is set up by copying an existing database from a running server. The master_name argument should be the
hostname of an NIS server (either the master server for all the maps, or a server on which the data base is up-to-date and stable).
OPTIONS
-m
If the local host is the NIS master.
-s
Set up a slave server with the database from master_name
FILES
/etc/passwd, /etc/group, /etc/hosts, /etc/networks, /etc/services, /etc/protocols, /etc/netgroup, /etc/rpc
SEE ALSO
makedbm(8), revnetgroup(8), yppush(8), ypserv(8), ypxfr(8)
BUGS
There is no good error handling at the moment.
AUTHOR
Thorsten Kukuk <kukuk@linux-nis.org>
NIS Reference Manual 04/02/2009 YPINIT(8)