Exercise 7: Worker Node + Torque Configuration: Difference between revisions

From Gridkaschool
Jump to navigationJump to search
(Created page with " == 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 …")
 
No edit summary
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:



== Customize the configuration files ==
== Customize the configuration files ==


Line 7: Line 4:
* On the CE:
* On the CE:


cd /root
cd /root tar -cvf siteinfo_dir.tar siteinfo_dir/ scp siteinfo_dir.tar <wn-host>:

tar -cvf siteinfo_dir.tar siteinfo_dir/
scp siteinfo_dir.tar <wn-host>:


* On the WN:
* On the WN:


cd /root
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
tar -xvf siteinfo_dir.tar
== Configure the Worker Node == /opt/glite/yaim/bin/yaim -c -s /root/siteinfo_dir/site-info.def -n WN -n TORQUE_client
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

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