Changeset 2514 in /cluster/svnroot


Ignore:
Timestamp:
Jul 6, 2010 6:17:10 PM (10 years ago)
Author:
fitz
Message:

(#185) relocate installation scripts/files, increase verbosity of pbs init scripts.

Location:
bccd-ng/branches/fitz-devel/trees
Files:
1 added
4 edited
7 moved

Legend:

Unmodified
Added
Removed
  • bccd-ng/branches/fitz-devel/trees/etc/init.d/pbs

    r2415 r2514  
    1212HEADNODE=node000.bccd.net
    1313ROOT=/bccd/software/torque
     14INSTALL=$ROOT/install
    1415SOURCE=$ROOT/torque-package
    1516SERV_HOME=/etc/pbs
     17INST_FILE=$INSTALL/liberated_install
     18VERBOSE=yes
     19export VERBOSE
    1620
    17 if [ ! -f $ROOT/bin/qstat ]; then
     21if [ ! -f $INST_FILE ]; then
    1822        echo -n "Installing TORQUE packages... "
    1923        $SOURCE-clients-linux-i686.sh --install &> /dev/null
     
    3741                echo -n "Configuring TORQUE server... "
    3842                cp $ROOT/nodes $SERV_HOME/server_priv/
     43                echo "SERVERHOST pxenode000.bccd.net" > $SERV_HOME/torque.cfg
    3944                $ROOT/sbin/pbs_server -t create
    4045                $ROOT/bin/qmgr < $ROOT/pbs_server.conf &> /dev/null
     
    5560        /etc/init.d/pbs_server start
    5661        /etc/init.d/pbs_sched start
     62
     63        if [ "`cat /etc/bccd-stage`" == "LIBERATED" ]; then
     64                date > $INST_FILE
     65        fi
    5766fi
  • bccd-ng/branches/fitz-devel/trees/etc/init.d/pbs_mom

    r2415 r2514  
    3232# Read configuration variable file if it is present
    3333[ -r /etc/default/$NAME ] && . /etc/default/$NAME
    34 
    35 # Load the VERBOSE setting and other rcS variables
    36 [ -f /etc/default/rcS ] && . /etc/default/rcS
    3734
    3835# Define LSB log_* functions.
  • bccd-ng/branches/fitz-devel/trees/etc/init.d/pbs_sched

    r2415 r2514  
    2222SCRIPTNAME=/etc/init.d/$NAME
    2323DAEMON_ARGS="-c config"
     24HEADNODE=node000.bccd.net
    2425export PBS_DAEMON PIDFILE
    2526
     
    2930# Read configuration variable file if it is present
    3031[ -r /etc/default/$NAME ] && . /etc/default/$NAME
    31 
    32 # Load the VERBOSE setting and other rcS variables
    33 [ -f /etc/default/rcS ] && . /etc/default/rcS
    3432
    3533# Define LSB log_* functions.
  • bccd-ng/branches/fitz-devel/trees/etc/init.d/pbs_server

    r2415 r2514  
    2929# Read configuration variable file if it is present
    3030[ -r /etc/default/$NAME ] && . /etc/default/$NAME
    31 
    32 # Load the VERBOSE setting and other rcS variables
    33 [ -f /etc/default/rcS ] && . /etc/default/rcS
    3431
    3532# Define LSB log_* functions.
Note: See TracChangeset for help on using the changeset viewer.