Although not strictly mandatory, the previous separation of roles ensures the existence of a unique set of Domus monitorization services feeding Ganglia, thus sparing cluster resources. The separation depends, however, on the goodwill/availability of the cluster administrator to perform the role of the "domus" user (another possibility is to have the Domus monitorization services running continuously, starting at boot-time, side-by-side with Ganglia). Thus, it may be necessary, sometimes, for a normal user to install, configure, deploy and manage the complete Domus infrastructure; in such case, the user must follow all the supplied instructions.
[root@frontend]# useradd domus [root@frontend]# rocks sync usersROCKS 4.0.0: no need to execute rocks sync users. The "domus" account will hold the Domus executables and general configuration files. All cluster users will have access to ~domus (by NFS), thus avoiding the need to update every worker node. The "domus" account will also host, by default, the files needed / generated by the Domus monitorization services that cooperate with the pre-installed Ganglia services.
domus ALL=NOPASSWD: /opt/ganglia/bin/gmetricROCKS 4.0.0: instead, add the line domus ALL=NOPASSWD: /usr/bin/gmetric This is needed in order for the Domus monitorization services to inject new metrics in Ganglia, at the frontend node. The lifetime of these metrics may be configured to be limited (see the parameter DOMUS_NODEINFO_LIFETIME in 3 - Monitorization Services), allowing for their automatic removal by Ganglia after the Domus monitorization services finish.
[domus@frontend]# cd ~domus [domus@frontend]# tar zxvf domus-version-X.Y.tgz
[domus@frontend]# cd ~domus/domus-version-X.Y [domus@frontend]# ./domus_install.py -h Usage: ./domus_install.py -h | { [-c conf_dir_name] [--rocks_400 | --rocks_421] [-H home_dir_path] [-d] [--debug] [--64bits] [--libusr_threadsafe] [--libsys_threadsafe] [--service_threadsafe] }Parameters:
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:~domus/.domus/lib:~domus/.domus/bin:. LD_RUN_PATH=$LD_RUN_PATH:~domus/.domus/lib:~domus/.domus/bin:. PYTHONPATH=$PYTHONPATH:~domus/.domus/lib:~domus/.domus/bin:. PATH=$PATH:$HOME/bin:~domus/.domus/bin:. export PATH LD_LIBRARY_PATH LD_RUN_PATH PYTHONPATH