Changeset 163


Ignore:
Timestamp:
Aug 3, 2010, 9:48:59 PM (14 years ago)
Author:
jazz
Message:
  • tiny bugfix
File:
1 edited

Legend:

Unmodified
Added
Removed
  • drbl-biocluster/drbl-torque.sh

    r104 r163  
    55########
    66if [ ! -e torque-2.3.6.tar.gz ]; then
    7   wget wget http://www.clusterresources.com/downloads/torque/torque-2.3.6.tar.gz
     7  wget http://www.clusterresources.com/downloads/torque/torque-2.3.6.tar.gz
    88  tar zxvf torque-2.3.6.tar.gz
    99  cd torque-2.3.6/
     
    4242EOF
    4343sudo mv config /var/spool/torque/mom_priv/jobs/config
     44# terminate pbs_server and pbs_schedule
    4445sudo qterm -t quick
     46sudo /etc/init.d/pbs_sched stop
     47# re-deploy DRBL
    4548sudo /opt/drbl/sbin/drblpush -c /etc/drbl/drblpush.conf
     49# copy torque related configuration files for pbs_mom
    4650sudo /opt/drbl/sbin/drbl-cp-host /var/spool/torque/server_priv/nodes /var/spool/torque/server_priv/nodes
    4751sudo /opt/drbl/sbin/drbl-cp-host /var/spool/torque/mom_priv/jobs/config /var/spool/torque/mom_priv/jobs/config
    4852sudo /opt/drbl/sbin/drbl-cp-host /var/spool/torque/pbs_environment /var/spool/torque/pbs_environment
     53sudo /opt/drbl/sbin/drbl-cp-host /var/spool/torque/server_name /var/spool/torque/server_name
    4954# enable pbs_mom service for DRBL Clients
    5055sudo /opt/drbl/sbin/drbl-client-service pbs_mom on
     
    5257sudo update-rc.d pbs_sched defaults
    5358sudo update-rc.d pbs_server defaults
     59# restart pbs_sched and pbs_server
     60sudo /etc/init.d/pbs_sched start
     61sudo /etc/init.d/pbs_server start
     62# start pbs_mom
     63sudo /opt/drbl/sbin/drbl-doit /etc/init.d/pbs_mom start
Note: See TracChangeset for help on using the changeset viewer.