| 1 | = Grid_environment = |
| 2 | == How to Install PBS Based on DRBL == |
| 3 | |
| 4 | * 1. Introduction[[BR]][[BR]] |
| 5 | * TORQUE is an open source resource manager providing control over batch jobs and distributed compute nodes based on OpenPBS. Torque developed from OpenPBS, so the commands are the same. |
| 6 | |
| 7 | * 2. Configure and Deploy Torque on the DRBL server and clients[[BR]][[BR]] |
| 8 | * At first, you can download [http://www.clusterresources.com/downloads/torque/torque-2.3.3.tar.gz torque-2.3.3.tar.gz] and install and configure it by consulting [http://www.clusterresources.com/torquedocs21/a.ltorquequickstart.shtml Appendix L: TORQUE Quick Start Guide] or[http://www.globusconsortium.org/tutorial/ch2/ Globus Toolkit Tutorial_Deploying torque].[[BR]][[BR]] |
| 9 | * If you want to deploy Torque based on DRBL, you should re-configure data management on the compute nodes. PBS copies back output files at the end of the job.[[BR]][[BR]] |
| 10 | * By default, "copy back" is done using the pbs_rcp command which might not be supported or might not want to be supported on most clusters. If your home directories are mounted across cluster nodes, use the $usecp parameter to manage copy back. |
| 11 | {{{ |
| 12 | Edit /var/spool/torque/mom_priv/config and add one line. |
| 13 | |
| 14 | $usecp *:/home /home |
| 15 | }}} |
| 16 | * Now you should deploy Torque to clients if you have already install and configure server successfully.[[BR]][[BR]] |
| 17 | * Default shared directory on each machine is Torque installation directory (Ex: /opt/pbs).[[BR]][[BR]] |
| 18 | * Each machine has its own directory: $PBS_HOME (/var/spool/torque). This directory stores the configuration files and logs for PBS daemons (Ex: pbs_server, pbs_sched, and pbs_mom) on each machine. |
| 19 | {{{ |
| 20 | On the DRBL_server: |
| 21 | |
| 22 | cp /var/spool/torque /tftpboot/nodes/[client_ip]/etc/ -rf |
| 23 | }}} |
| 24 | |
| 25 | |
| 26 | == References == |
| 27 | * [http://www.clusterresources.com/pages/products/torque-resource-manager.php TORQUE Resource Manager] |
| 28 | * [http://www.clusterresources.com/torquedocs21/a.ltorquequickstart.shtml Appendix L: TORQUE Quick Start Guide] |
| 29 | * [http://www.globusconsortium.org/tutorial/ch2/ Globus Toolkit Tutorial_Deploying torque] |