Install torque: mudanças entre as edições
De Instituto de Física - UFRGS
Ir para navegaçãoIr para pesquisar
Sem resumo de edição |
Sem resumo de edição |
||
(19 revisões intermediárias pelo mesmo usuário não estão sendo mostradas) | |||
Linha 1: | Linha 1: | ||
<h2>How to install Torque 6.0.1 (Server and Mom) in | <h2>How to install Torque 6.0.1 (Server and Mom) and Maui 3.3 in Debian 8 (Jessie) x86_64</h2> | ||
''' | '''Install dependencies (Server)''' | ||
# apt-get install libtool libssl-dev libxml2-dev libboost-dev build-essential | |||
'''Get the source and compile it''' | |||
# wget <torques-source-code-url> -O torque-<version>.tar.gz | # wget <torques-source-code-url> -O torque-<version>.tar.gz | ||
# tar -xzvf torque-<version>.tar.gz | # tar -xzvf torque-<version>.tar.gz | ||
# cd torque-<version>/ | # cd torque-<version>/ | ||
# ./configure | -> If your nodes are diskless, run: | ||
# ./configure --disable-spool --disable-mom-checkspool | |||
Otherwise run: | |||
# ./configure | |||
# make | # make | ||
# make install | # make install | ||
Linha 15: | Linha 22: | ||
''trqauthd'': | ''trqauthd'': | ||
# mkdir /usr/lib/systemd/system/ | |||
# cp contrib/systemd/trqauthd.service /usr/lib/systemd/system/ | # cp contrib/systemd/trqauthd.service /usr/lib/systemd/system/ | ||
# systemctl enable trqauthd.service | # systemctl enable trqauthd.service | ||
Linha 37: | Linha 45: | ||
''If using Torque's own built-in scheduler'': | ''If using Torque's own built-in scheduler'': | ||
# pbs_sched | # pbs_sched | ||
-> If you want pbs_sched to run at boot, you need to configure it manually | -> If you want pbs_sched to run at boot, you need to configure it manually (you can add it in /etc/rc.local) | ||
# qmgr -c "set server scheduling = True" | # qmgr -c "set server scheduling = True" | ||
Linha 46: | Linha 54: | ||
# scp torque-package-mom-linux-x86_64.sh <mom-node>: | # scp torque-package-mom-linux-x86_64.sh <mom-node>: | ||
# scp torque-package-clients-linux-x86_64.sh <mom-node>: | # scp torque-package-clients-linux-x86_64.sh <mom-node>: | ||
''(in the node, create the directory "/usr/lib/systemd/system/" if it does not exist)'' | |||
# scp contrib/systemd/pbs_mom.service <mom-node>:/usr/lib/systemd/system/ | # scp contrib/systemd/pbs_mom.service <mom-node>:/usr/lib/systemd/system/ | ||
''Install dependencies (Node)'': | |||
# apt-get install libssl-dev libxml2-dev | |||
''On each node'': | ''On each node'': | ||
# ssh root@node | # ssh root@<mom-node> | ||
# ./torque-package-mom-linux-x86_64.sh --install | # ./torque-package-mom-linux-x86_64.sh --install | ||
# ./torque-package-clients-linux-x86_64.sh --install | # ./torque-package-clients-linux-x86_64.sh --install | ||
Linha 59: | Linha 72: | ||
$pbsserver headnode | $pbsserver headnode | ||
# service pbs_mom restart | # service pbs_mom restart | ||
'''MAUI (IN THE SERVER)''' | |||
''Get the source and compile it'' | |||
# wget <maui-source-code-url> -O maui-<version>.tar.gz | |||
# tar -xzvf maui-<version>.tar.gz | |||
# cd maui-<version>/ | |||
(./configure should take care of the proper configs (like detecting the PBS installation)) | |||
# ./configure | |||
# make | |||
# make install | |||
-> You have to start maui manually ("/usr/local/maui/sbin/maui") | |||
-> If you want to start maui on boot, add "/usr/local/maui/sbin/maui" to /etc/rc.local | |||
The information in this page is based on this document: | The information in this page is based on this document: | ||
Linha 67: | Linha 96: | ||
http://www.adaptivecomputing.com/products/open-source/torque/ | http://www.adaptivecomputing.com/products/open-source/torque/ | ||
For more information about Maui, please visit: | |||
http://www.adaptivecomputing.com/products/open-source/maui/ |
Edição atual tal como às 18h38min de 30 de maio de 2016
How to install Torque 6.0.1 (Server and Mom) and Maui 3.3 in Debian 8 (Jessie) x86_64
Install dependencies (Server)
# apt-get install libtool libssl-dev libxml2-dev libboost-dev build-essential
Get the source and compile it
# wget <torques-source-code-url> -O torque-<version>.tar.gz # tar -xzvf torque-<version>.tar.gz # cd torque-<version>/ -> If your nodes are diskless, run: # ./configure --disable-spool --disable-mom-checkspool Otherwise run: # ./configure # make # make install
TORQUE SERVER
# echo <torque_server_hostname> > /var/spool/torque/server_name trqauthd: # mkdir /usr/lib/systemd/system/ # cp contrib/systemd/trqauthd.service /usr/lib/systemd/system/ # systemctl enable trqauthd.service # echo /usr/local/lib > /etc/ld.so.conf.d/torque.conf # ldconfig # systemctl start trqauthd.service # export PATH=/usr/local/bin/:/usr/local/sbin/:$PATH Initial setup: # ./torque.setup root Node list: -> Add nodes to /var/spool/torque/server_priv/nodes Pbs_server startup at boot: # qterm # cp contrib/systemd/pbs_server.service /usr/lib/systemd/system/ # systemctl enable pbs_server.service # systemctl start pbs_server.service If using Torque's own built-in scheduler: # pbs_sched -> If you want pbs_sched to run at boot, you need to configure it manually (you can add it in /etc/rc.local) # qmgr -c "set server scheduling = True"
TORQUE MOM (for the nodes)
# make packages # scp torque-package-mom-linux-x86_64.sh <mom-node>: # scp torque-package-clients-linux-x86_64.sh <mom-node>: (in the node, create the directory "/usr/lib/systemd/system/" if it does not exist) # scp contrib/systemd/pbs_mom.service <mom-node>:/usr/lib/systemd/system/ Install dependencies (Node): # apt-get install libssl-dev libxml2-dev On each node: # ssh root@<mom-node> # ./torque-package-mom-linux-x86_64.sh --install # ./torque-package-clients-linux-x86_64.sh --install # ldconfig # systemctl enable pbs_mom.service # systemctl start pbs_mom.service -> Set server in /var/spool/torque/mom_priv/config: $pbsserver headnode # service pbs_mom restart
MAUI (IN THE SERVER)
Get the source and compile it # wget <maui-source-code-url> -O maui-<version>.tar.gz # tar -xzvf maui-<version>.tar.gz # cd maui-<version>/ (./configure should take care of the proper configs (like detecting the PBS installation)) # ./configure # make # make install -> You have to start maui manually ("/usr/local/maui/sbin/maui") -> If you want to start maui on boot, add "/usr/local/maui/sbin/maui" to /etc/rc.local
The information in this page is based on this document:
http://docs.adaptivecomputing.com/torque/6-0-1/help.htm
For more information about Torque, please visit:
http://www.adaptivecomputing.com/products/open-source/torque/
For more information about Maui, please visit: