(Click to open topic with navigation)
Use the Adaptive Computing Torque package system to create self-extracting tarballs which can be distributed and installed on compute nodes. The Torque packages are customizable. See the INSTALL file for additional options and features.
If you installed Torque using the RPMs, you must install and configure your nodes manually by modifying the
[root]# vi /var/spool/torque/mom_priv/config
$pbsserver headnode # hostname running pbs server
$logevent 225 # bitmap of which events to log
[root]# service pbs_mom restart
To create Torque packages
> make packages
Building ./torque-package-clients-linux-i686.sh ...
Building ./torque-package-mom-linux-i686.sh ...
Building ./torque-package-server-linux-i686.sh ...
Building ./torque-package-gui-linux-i686.sh ...
Building ./torque-package-devel-linux-i686.sh ...
Done.
The package files are self-extracting packages that can be copied and executed on your production machines. Use --help for options.
> cp torque-package-mom-linux-i686.sh /shared/storage/
> cp torque-package-clients-linux-i686.sh /shared/storage/
Adaptive Computing recommends that you use a remote shell, such as SSH, to install Torque packages on remote systems. Set up shared SSH keys if you do not want to supply a password for each host.
The only required package for the compute node is mom-linux. Additional packages are recommended so you can use client commands and submit jobs from compute nodes.
The following is an example of how to copy and install mom-linux in a distributed fashion.
> for i in node01 node02 node03 node04 ; do scp torque-package-mom-linux-i686.sh ${i}:/tmp/. ; done
> for i in node01 node02 node03 node04 ; do scp torque-package-clients-linux-i686.sh ${i}:/tmp/. ; done
> for i in node01 node02 node03 node04 ; do ssh ${i} /tmp/torque-package-mom-linux-i686.sh --install ; done
> for i in node01 node02 node03 node04 ; do ssh ${i} /tmp/torque-package-clients-linux-i686.sh --install ; done
> for i in node01 node02 node03 node04 ; do ssh ${i} ldconfig ; done
Alternatively, you can use a tool like xCAT instead of dsh.
To use a tool like xCAT
> prcp torque-package-linux-i686.sh noderange:/destinationdirectory/
> psh noderange /tmp/torque-package-linux-i686.sh --install
Although optional, it is possible to use the Torque server as a compute node and install a pbs_mom with the pbs_server daemon.
Related Topics