User Tools

Site Tools


progetti:htcondor-tf:quick_howto_in_progress

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

progetti:htcondor-tf:quick_howto_in_progress [2019/05/16 08:09]
dalpra@infn.it created
progetti:htcondor-tf:quick_howto_in_progress [2019/05/16 09:26] (current)
dalpra@infn.it
Line 1: Line 1:
-===== A random list of random how-to recipes =====+=====How-to recipes ​(a random list)=====
 This is especially intended for CREAM-CE/​LSF administrators,​ to help them finding an equivalent HTC-CE/HTC way to do something. This is especially intended for CREAM-CE/​LSF administrators,​ to help them finding an equivalent HTC-CE/HTC way to do something.
 === Close / Open a WN (''​badmin [hclose|hopen]''​)=== === Close / Open a WN (''​badmin [hclose|hopen]''​)===
 There are several ways: There are several ways:
-  ​From the Central Manager, ​with ''​condor_drain'':​ +  ​From the Central Manager, ​using ''​condor_drain'':​ 
-  ''​[root@htc-2 ~]# condor_drain -graceful -pool htc-2.cr.cnaf.infn.it wn-123.cr.cnaf.infn.it''​\\ +''​[root@htc-2 ~]# condor_drain -graceful -pool htc-2.cr.cnaf.infn.it wn-123.cr.cnaf.infn.it\\ 
-  To open the wn: +[root@htc-2 ~]# condor_drain -cancel -pool htc-2.cr.cnaf.infn.it wn-123.cr.cnaf.infn.it''​ 
-  ''​[root@htc-2 ~]# condor_drain -cancel -pool htc-2.cr.cnaf.infn.it wn-123.cr.cnaf.infn.it''​ +  ​ 
-  ​In the configuration file for the WN set this:+  * In the configuration file for the WNset: 
 ''​\\ ''​\\
-[...] +[...]\\ 
-StartJobs = true +StartJobs = true\\ 
-STARTD_ATTRS = StartJobs, $(STARTD_ATTRS) +STARTD_ATTRS = StartJobs, $(STARTD_ATTRS)\\ 
-[...]+[...]\\
 ''​\\ ''​\\
 Then toggle ''​StartJobs''​ to open/close the WN. Each change requires ''​condor_reconfig''​ on the machine. Then toggle ''​StartJobs''​ to open/close the WN. Each change requires ''​condor_reconfig''​ on the machine.
progetti/htcondor-tf/quick_howto_in_progress.txt · Last modified: 2019/05/16 09:26 by dalpra@infn.it