Exercise 2: Torque Batch System Installation: Difference between revisions
From Gridkaschool
Jump to navigationJump to search
(Created page with "== Install the torque server == yum install emi-torque-server yum install emi-torque-utils == Check if munge is installed and if needed install it == * Check if munge is …") |
No edit summary |
||
Line 32: | Line 32: | ||
* Check if munge is set to automatically start at boot time |
* Check if munge is set to automatically start at boot time |
||
chkconfig --list |grep munge |
chkconfig --list |grep munge |
||
Line 39: | Line 38: | ||
# chkconfig --list |grep munge |
# chkconfig --list |grep munge |
||
munge 0:off 1:off 2:on 3:on 4:on 5:on 6:off |
munge 0:off 1:off 2:on 3:on 4:on 5:on 6:off |
||
if not, configure it: |
if not, configure it: |
||
chkconfig munge on |
chkconfig munge on |
||
* |
* Check if a munge key is present with right ownership and permissions |
||
ls - /etc/munge/munge.key |
|||
should be: |
|||
-r-------- 1 munge munge 1024 Aug 14 16:21 /etc/munge/munge.key |
|||
if not so, |
|||
* create a munge key in one of the hosts: |
|||
/usr/sbin/create-munge-key |
/usr/sbin/create-munge-key |
||
* |
* set right permissions and ownership: |
||
chown munge:munge /etc/munge/munge.key |
|||
chmod 400 /etc/munge/munge.key |
|||
* Copy the munge key on all the hosts of the cluster |
* Copy the munge key on all the hosts of the cluster |
||
cp /etc/munge/munge.key <...> |
cp /etc/munge/munge.key <...> |
||
* Start the munge daemon on these nodes |
|||
service munge start |
|||
chkconfig munge on |
Latest revision as of 15:45, 22 August 2013
Install the torque server
yum install emi-torque-server yum install emi-torque-utils
Check if munge is installed and if needed install it
- Check if munge is installed
rpm -qa |grep munge
- If needed install it
yum install munge
Enable munge on your torque cluster
- Check if munge is running
ps -ef |grep munge
Should be something like:
# ps -ef |grep munge munge 26535 1 0 Aug21 ? 00:00:02 /usr/sbin/munged
if not, start munge
service munge start
- Check if munge is set to automatically start at boot time
chkconfig --list |grep munge
should be something like:
# chkconfig --list |grep munge munge 0:off 1:off 2:on 3:on 4:on 5:on 6:off
if not, configure it:
chkconfig munge on
- Check if a munge key is present with right ownership and permissions
ls - /etc/munge/munge.key
should be:
-r-------- 1 munge munge 1024 Aug 14 16:21 /etc/munge/munge.key
if not so,
- create a munge key in one of the hosts:
/usr/sbin/create-munge-key
- set right permissions and ownership:
chown munge:munge /etc/munge/munge.key chmod 400 /etc/munge/munge.key
- Copy the munge key on all the hosts of the cluster
cp /etc/munge/munge.key <...>