Changeset 163
- Timestamp:
- Aug 3, 2010, 9:48:59 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
drbl-biocluster/drbl-torque.sh
r104 r163 5 5 ######## 6 6 if [ ! -e torque-2.3.6.tar.gz ]; then 7 wget wgethttp://www.clusterresources.com/downloads/torque/torque-2.3.6.tar.gz7 wget http://www.clusterresources.com/downloads/torque/torque-2.3.6.tar.gz 8 8 tar zxvf torque-2.3.6.tar.gz 9 9 cd torque-2.3.6/ … … 42 42 EOF 43 43 sudo mv config /var/spool/torque/mom_priv/jobs/config 44 # terminate pbs_server and pbs_schedule 44 45 sudo qterm -t quick 46 sudo /etc/init.d/pbs_sched stop 47 # re-deploy DRBL 45 48 sudo /opt/drbl/sbin/drblpush -c /etc/drbl/drblpush.conf 49 # copy torque related configuration files for pbs_mom 46 50 sudo /opt/drbl/sbin/drbl-cp-host /var/spool/torque/server_priv/nodes /var/spool/torque/server_priv/nodes 47 51 sudo /opt/drbl/sbin/drbl-cp-host /var/spool/torque/mom_priv/jobs/config /var/spool/torque/mom_priv/jobs/config 48 52 sudo /opt/drbl/sbin/drbl-cp-host /var/spool/torque/pbs_environment /var/spool/torque/pbs_environment 53 sudo /opt/drbl/sbin/drbl-cp-host /var/spool/torque/server_name /var/spool/torque/server_name 49 54 # enable pbs_mom service for DRBL Clients 50 55 sudo /opt/drbl/sbin/drbl-client-service pbs_mom on … … 52 57 sudo update-rc.d pbs_sched defaults 53 58 sudo update-rc.d pbs_server defaults 59 # restart pbs_sched and pbs_server 60 sudo /etc/init.d/pbs_sched start 61 sudo /etc/init.d/pbs_server start 62 # start pbs_mom 63 sudo /opt/drbl/sbin/drbl-doit /etc/init.d/pbs_mom start
Note: See TracChangeset
for help on using the changeset viewer.