Changeset 222 for trunk


Ignore:
Timestamp:
03/10/06 14:14:13 (18 years ago)
Author:
bastiaans
Message:

jobarchived/make_dbase.sh:

  • even niet meer nodig

INSTALL:

  • added installation and configuration explanation
Location:
trunk
Files:
1 deleted
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/INSTALL

    r221 r222  
    66        It is a addon for the Ganglia monitoring system and plugs in to a existing Ganglia setup.
    77
    8         To view a operational setup with Job Monarch, have a look here: http://ganglia.sara.nl/?c
     8        To view a operational setup with Job Monarch, have a look here: http://ganglia.sara.nl/
    99
    1010
     
    4949============
    5050
     51        all:
     52
     53                - Python 2.3 or higher
     54
    5155        jobmond:
    5256
     
    5458                  ftp://ftp.sara.nl/pub/outgoing/pbs_python.tar.gz
    5559
    56                 - gmond 3.0.1 or higher
     60                - gmond v3.0.1 or higher
    5761                  http://www.ganglia.info
    5862
    5963        jobarchived:
    6064
    61                 - Postgres SQL v7.xx
     65                - Postgres vSQL 7.xx
    6266                  http://www.postgres.org
    6367
     
    6569                  http://people.ee.ethz.ch/~oetiker/webtools/rrdtool/
    6670
    67                 - gmetad 3.x.x
     71                - python-pgsql v4.x.x
     72                  http://sourceforge.net/projects/pypgsql/
     73
     74                - gmetad v3.x.x
    6875                  http://www.ganglia.info
    6976
    7077        web:
    7178
    72                 - PHP 4.1 or higher
     79                - PHP v4.1 or higher
    7380                  http://www.php.net
     81
     82                - php-pgsql v4.x.x
     83                  (should come with Postgres)
     84
     85                - GD v2.x
     86                  http://www.boutell.com/gd/
     87
     88                - Ganglia web frontend v3.x.x
    7489
    7590
     
    8095        mentioned above.
    8196
    82         1. copy
    83 
     97        NOTE: You can choose to install to other path/directories if your setup is different.
     98
     99        * jobmond
     100
     101                1. Copy jobmond.py:
     102
     103                 > cp jobmond/jobmond.py /usr/local/sbin/jobmond.py
     104
     105                2. Copy jobmond.conf:
     106               
     107                 > cp jobmond/jobmond.conf /etc/jobmond.conf
     108
     109        * jobarchived
     110
     111                1. Create a Postgres SQL database for jobarchived:
     112
     113                 > createdb jobarchive
     114
     115                2. Setup jobarchived's tables:
     116
     117                 > psql -f jobarchived/job_dbase.sql jobarchive
     118
     119                3. Copy jobarchived/jobarchived.conf:
     120
     121                 > cp jobarchived/jobarchived.conf /etc/jobarchived.conf
     122
     123                4. Copy jobarchived.py and DBClass.py:
     124
     125                 > cp jobarchived/jobarchived.py /usr/local/sbin/jobarchived.py
     126                 > cp jobarchived/DBClass.py /usr/local/sbin/DBClass.py
     127
     128        * web
     129
     130                1. Copy the Job Monarch Template to your Ganglia installation
     131
     132                 > cp -a web/templates/job_monarch /var/www/ganglia/templates
     133
     134                2. Copy the web interface files to the addon directory in Ganglia
     135
     136                 > cp -a web/addons/job_monarch /var/www/ganglia/addons
    84137
    85138CONFIGURATION
    86139=============
    87140
     141        After installation each component requires additional configuration.
     142
     143        * jobmond
     144       
     145                1. Edit Jobmond's config to reflect your settings:
     146
     147                 - In /etc/jobmond.conf
     148
     149                   ( see config comments for syntax and explanation )
     150
     151        * jobarchived
     152
     153                1. Edit Jobarchived's config to reflect your settings:
     154
     155                 - In /etc/jobarchived.conf
     156
     157                   ( see config comments for syntax and explanation )
     158
     159        * web
     160
     161                1. Change your Ganglia's web template to Job Monarch
     162
     163                 - In /var/www/ganglia/conf.php:
     164
     165                 > $template_name = "job_monarch";
     166
     167                2. Change Job Monarch's config to reflect your settings:
     168
     169                 - In /var/www/ganglia/addons/job_monarch/conf.php
     170
     171                   ( see config comments for syntax and explanation )
    88172
    89173START
    90174=====
    91175
    92 
     176        * jobmond
     177
     178                The Job Monitor has to be run on a machine that is allowed to
     179                query the PBS/Torque server.
     180                Make sure that if you have 'acl_hosts' enabled on your PBS/Torque
     181                server that jobmond's machine is in it.
     182
     183                1. Start the Job Monitor:
     184
     185                 > /usr/local/sbin/jobmond.py -c /etc/jobmond.conf
     186
     187        * jobarchived
     188
     189                1. Start the Job Archiver:
     190
     191                 > /usr/local/sbin/jobarchived.py -c /etc/jobarchived.conf
     192
     193        * web
     194
     195                Doesn't require you to (re)start anything.
     196                ( make sure the Postgres database is running though )
    93197
    94198CONTACT
     
    97201        To contact the author for anything from bugfixes to flame/hate mail:
    98202
    99         Ramon Bastiaans
    100         <ramon ( a t ) sara ( d o t ) nl>
     203        * Ramon Bastiaans
     204
     205          <ramon ( a t ) sara ( d o t ) nl>
Note: See TracChangeset for help on using the changeset viewer.