Changeset 940 for trunk/Monitoring/doc


Ignore:
Timestamp:
08/26/13 09:45:18 (11 years ago)
Author:
jripsl
Message:

Improve logging.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Monitoring/doc/README

    r937 r940  
     1- requirements 
     2        - CentOS 6 
     3        - outgoing internet access (port 80) 
     4        - Forge svn repository access 
    15- installation instructions 
    26        - LibIGCM AMQP agent installation 
     
    59                - see Broker/README 
    610        - Supervisor installation 
     11                - add user in /etc/passwd 
     12                        - adduser -m -d /home/cssupervisor -s /sbin/nologin cssupervisor 
     13                - create directories 
     14                        - mkdir /var/log/cssupervisor 
     15                        - mkdir /var/lib/cssupervisor 
     16                - set owner 
     17                        - chown -R cssupervisor /var/log/cssupervisor 
     18                        - chown -R cssupervisor /var/lib/cssupervisor 
     19                - copy startup script below in /etc/init/cssupervisor.conf 
     20                        - 
     21                                description "Climate Simulation Supervisor" 
     22 
     23                                start on runlevel [2345] 
     24                                stop on runlevel [016] 
     25 
     26                                chdir /home/cssupervisor 
     27 
     28                                # debug 
     29                                #script 
     30                                #   exec >>/tmp/deb 2>&1 
     31                                #   exec sudo -u cssupervisor /opt/python2.6_ve/bin/python /opt/supervisor/Monitoring/Watch/watch 
     32                                #end script 
     33 
     34                                #need upstart 1.4+ (for gid/uid support) 
     35                                #exec sudo -u cssupervisor /opt/python2.6_ve/bin/python /opt/supervisor/Monitoring/Watch/watch 
     36 
     37                                exec su -s /bin/sh -c 'exec "$0" "$@"' cssupervisor -- /opt/python2.6_ve/bin/python /opt/supervisor/Monitoring/Watch/watch 
     38 
     39                                respawn 
     40                - reload upstart 
     41                        - initctl reload-configuration 
    742                - check if EPEL repository is configured, if not, do steps below 
    843                        - for CENTOS 6 
     
    75110                                - sys.path.append("<snapshot_dir>/src")  
    76111                        - smon/repo_io.py 
    77                                 - sys.path.append("<snapshot_dir>/src")  
    78         - test 
     112                                - sys.path.append("<snapshot_dir>/src") 
     113                - usage (as root) 
     114                        - start 
     115                                - start cssupervisor 
     116                        - stop 
     117                                - stop cssupervisor 
     118                        - status 
     119                                - status cssupervisor 
     120                - unit test 
     121                        - TODO 
     122        - integration test 
    79123                - connectivity test 
    80124                        - run command below on supervisor 
    81125                                - telnet pp-db-dev.private.ipsl.fr 5432 
     126# vim: set ts=4 : 
Note: See TracChangeset for help on using the changeset viewer.