Changeset 878
- Timestamp:
- 05/17/13 17:54:47 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/1.0/pkg/rpm/jobmonarch.spec.in
r873 r878 27 27 BuildRoot: %{_tmppath}/%{name} 28 28 BuildRequires: fakeroot 29 Requires: jobmonarch-jobarchived jobmonarch-jobmond jobmonarch-webfrontend30 29 31 30 AutoReqProv: no … … 34 33 Job Monarch is a set of tools to monitor and optionally archive (batch)job 35 34 information. It is a addon for the Ganglia monitoring system and plugs into an 36 existing Ganglia setup. jobmond is the job monitoring daemon that gathers 37 PBS/Torque/SGE batch statistics on jobs/nodes and submits them into Ganglia's 38 XML stream. jobarchived is the Job Archiving Daemon. It listens to Ganglia's 39 XML stream and archives the job and node statistics. It stores the job 40 statistics in a Postgres SQL database and the node statistics in RRD 41 files. Through this daemon, users are able to lookup a old/finished job and 42 view all it's statistics. The Job Monarch web frontend interfaces with the 43 jobmond data and (optionally) the jobarchived and presents the data and 44 graphs. It does this in a similar layout/setup as Ganglia itself, so the 45 navigation and usage is intuitive. 46 47 This package is the meta package that for installation of all jobmonarche components: 48 (jobmonarch-jobarchived - jobmonarch-jobmond - jobmonarch-webfrontend) 49 35 existing Ganglia setup. 50 36 51 37 %package -n jobmonarch-jobarchived … … 57 43 Requires: python-psycopg2 58 44 Requires: rrdtool-python rrdtool 45 Requires: jobmonarch-webfrontend 59 46 60 47 %description -n jobmonarch-jobarchived 61 jobmonach-jobarchived is the Job Archiving Daemon. It listens to Ganglia's 48 Job-Monarch is a set of tools to monitor and optionally archive (batch)job 49 information. It is a addon for the Ganglia monitoring system and plugs into an 50 existing Ganglia setup. 51 jobarchived is the Job-Monarch's job archiving daemon. It listens to Ganglia's 62 52 XML stream and archives the job and node statistics. It stores the job 63 53 statistics in a Postgres SQL database and the node statistics in RRD … … 68 58 Summary: jobmond is the job monitoring daemon for jobmonarch. 69 59 Requires: python >= 2.5 70 Requires: pbs_python71 60 Requires: ganglia-gmetad 72 # Requires: lsf_python 61 #Requires(hint): pbs_python 62 #Requires(hint): python-pylsf 63 #Requires(hint): python-pyslurm 64 #Requires(hint): pythongrid 73 65 74 66 %description -n jobmonarch-jobmond 75 jobmonarch-jobmond is the job monitoring daemon that gathers PBS/Torque/SGE 67 Job-Monarch is a set of tools to monitor and optionally archive (batch)job 68 information. It is a addon for the Ganglia monitoring system and plugs into an 69 existing Ganglia setup. 70 jobmond is the Job-Monarch's job monitoring daemon that gathers PBS/Torque/SLURM/LSF/SGE 76 71 batch statistics on jobs/nodes and submits them into Ganglia's XML stream. 77 72 … … 89 84 90 85 %description -n jobmonarch-webfrontend 91 The Job Monarch web frontend interfaces with the 86 Job-Monarch is a set of tools to monitor and optionally archive (batch)job 87 information. It is a addon for the Ganglia monitoring system and plugs into an 88 existing Ganglia setup. 89 webfrontend is The Job-Monarch's web frontend interfaces with the 92 90 jobmond data and (optionally) the jobarchived and presents the data and 93 91 graphs. It does this in a similar layout/setup as Ganglia itself, so the … … 118 116 %__rm -rf $RPM_BUILD_ROOT 119 117 120 %post 118 %post -n jobmonarch-jobmond 121 119 # $1 = 1 => install ($1 = 2 => upgrade) 122 120 if [ "$1" = 1 ]; then 121 # Enable the service 122 /sbin/chkconfig --add jobmond 123 echo "" 124 echo "Additional manual changes are required to setup jobmond:" 125 echo "" 126 echo "1) Edit /etc/jobmond.conf to reflect your local settings and setup:" 127 echo " - BATCH_API: pbs, slurm, sge (experimental), lsf (experimental)" 128 echo "2) Install the python interface to the selected batch system" 129 echo " - pbs_python (for pbs)" 130 echo " - python-pyslurm (for slurm)" 131 echo " - pythongrid (for sge)" 132 echo " - python-pylsf (for lsf)" 133 echo "" 134 elif [ "$1" = 2 ]; then 135 /sbin/service jobmond condrestart 136 fi 137 138 %post -n jobmonarch-jobarchived 139 # $1 = 1 => install ($1 = 2 => upgrade) 140 if [ "$1" = 1 ]; then 141 # Enable the service 142 /sbin/chkconfig --add jobarchived 123 143 echo "Generating random password and updating apropriate files" 124 144 # Generate a 8 char password for the database: … … 130 150 # Set the password in the ganglia conf.php 131 151 sed -i -e "s|^//\$JOB_ARCHIVE_SQL_PASSWORD.*|\$JOB_ARCHIVE_SQL_PASSWORD = \"$DB_PASSWD\"|g" %{gangliaaddonsdir}/job_monarch/conf.php 132 fi133 134 %post -n jobmonarch-jobmond135 # $1 = 1 => install ($1 = 2 => upgrade)136 if [ "$1" = 1 ]; then137 # Enable the service138 /sbin/chkconfig --add jobmond139 echo ""140 echo "Additional manual changes are required to setup jobmond:"141 echo ""142 echo "Edit /etc/jobmond.conf to reflect your local settings and setup:"143 echo " - BATCH_API: pbs, slurm, sge (experimental), lsf (experimental)"144 echo ""145 elif [ "$1" = 2 ]; then146 /sbin/service jobmond condrestart147 fi148 149 %post -n jobmonarch-jobarchived150 # $1 = 1 => install ($1 = 2 => upgrade)151 if [ "$1" = 1 ]; then152 # Enable the service153 /sbin/chkconfig --add jobarchived154 152 echo "" 155 153 echo "Additional manual changes are required to setup jobarchived:" … … 205 203 fi 206 204 207 %files208 %doc AUTHORS CHANGELOG INSTALL LICENSE README TODO UPGRADE209 210 205 %files -n jobmonarch-jobmond 211 206 %doc jobmond/examples 207 %doc AUTHORS CHANGELOG INSTALL LICENSE README TODO UPGRADE 212 208 %config(noreplace) %{_sysconfdir}/jobmond.conf 213 209 %{_sysconfdir}/sysconfig/jobmond … … 218 214 %files -n jobmonarch-jobarchived 219 215 %doc jobarchived/examples 216 %doc AUTHORS CHANGELOG INSTALL LICENSE README TODO UPGRADE 220 217 %config(noreplace) %{_sysconfdir}/jobarchived.conf 221 218 %{_sysconfdir}/sysconfig/jobarchived … … 228 225 229 226 %files -n jobmonarch-webfrontend 227 %doc AUTHORS CHANGELOG INSTALL LICENSE README TODO UPGRADE 230 228 %dir %{gangliatemplatedir}/job_monarch 231 229 %dir %{gangliaaddonsdir}/job_monarch
Note: See TracChangeset
for help on using the changeset viewer.