Exercise 7: Worker Node + Torque Configuration: Difference between revisions
From Gridkaschool
Jump to navigationJump to search
No edit summary |
No edit summary |
||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
== Customize the configuration files == |
== Customize the configuration files == |
||
Line 8: | Line 7: | ||
tar -cvf siteinfo_dir.tar siteinfo_dir/ |
tar -cvf siteinfo_dir.tar siteinfo_dir/ |
||
⚫ | |||
⚫ | |||
* On the WN: |
* On the WN: |
||
cd /root |
cd /root |
||
tar -xvf siteinfo_dir.tar |
tar -xvf siteinfo_dir.tar |
||
cd siteinfo_dir/services |
cd siteinfo_dir/services |
||
⚫ | |||
⚫ | |||
== Check munge == |
|||
rpm -qa |grep munge |
|||
munge-libs-0.5.8-8.el5.x86_64 |
|||
munge-0.5.8-8.el5.x86_64 |
|||
ls -l /etc/munge/munge.key |
|||
-r-------- 1 munge munge 1024 Aug 23 14:27 munge.key |
|||
If not, needed: |
|||
chmod 400 munge.key |
|||
⚫ | |||
⚫ | |||
== Configure the Worker Node == |
== Configure the Worker Node + Torque == |
||
/opt/glite/yaim/bin/yaim -c -s /root/siteinfo_dir/site-info.def -n WN -n TORQUE_client |
/opt/glite/yaim/bin/yaim -c -s /root/siteinfo_dir/site-info.def -n WN -n TORQUE_client |
Latest revision as of 15:00, 23 August 2012
Customize the configuration files
- On the CE:
cd /root
tar -cvf siteinfo_dir.tar siteinfo_dir/ scp siteinfo_dir.tar <wn-host>:
- On the WN:
cd /root tar -xvf siteinfo_dir.tar cd siteinfo_dir/services #cp /opt/glite/yaim/examples/siteinfo/services/glite-wn /root/siteinfo_dir/services/ #vi/gedit glite-wn
Check munge
rpm -qa |grep munge munge-libs-0.5.8-8.el5.x86_64 munge-0.5.8-8.el5.x86_64 ls -l /etc/munge/munge.key -r-------- 1 munge munge 1024 Aug 23 14:27 munge.key
If not, needed:
chmod 400 munge.key
Configure the Worker Node + Torque
/opt/glite/yaim/bin/yaim -c -s /root/siteinfo_dir/site-info.def -n WN -n TORQUE_client