Hi Bernard, gmetad needs to have info on the data sources from the subclusters. Theoretically we could have two paths: 1) start gmetad in post_server_install for the case of no other data sources, 2) start gmetad in post_install if there are other data sources (per image gmond config).
Because there is no need for gmetad until post_install, I chose to have only one path: 2). It seems to be simpler. To your former question: > I think it's nice to have per image configurations - however, I > think it should not prompt the user to configure the package (after the > image is built) unless the user specifically asked for it. Perhaps we can > just re-work the "Configure Selected OSCAR Packages" menu to support > multiple images - it would be good to allow the user to use one > configuration for all images too. You can select in the central ganglia configuration whether there should be a per image config or not. Default is no per image config. In that case the central ganglia config is used for all images and the user is not asked to configure anything after building an image. Unfortunately there is no moment before building an image when OSCAR _knows_ how many images will really be there. This is why with the per image config it will ask for configuration right after you've built another image. Regards, Erich On Wednesday 28 December 2005 23:51, Bernard Li wrote: > BTW, is there any particular reason why edit_ganglia_conf for gmetad is > executed in post_install rather than post_server_install? The > information that is required to run the script is already collected > prior to installation of nodes so I think it makes more sense to modify > the configuration files in post_server_install such that immediately > after "Install OSCAR Server Packages" is completed, ganglia works (minus > the compute nodes). For post_install, the daemons just need to be > restarted and all the nodes will be monitored by Ganglia. > > Cheers, > > Bernard ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ Oscar-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/oscar-devel
