User Tools

Site Tools


progetti:htcondor-tf:quick_howto_in_progress

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.

Close / Open a WN (''badmin [hclose|hopen]'')

There are several ways:

  • 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 -cancel -pool htc-2.cr.cnaf.infn.it wn-123.cr.cnaf.infn.it

* In the configuration file for the WN, set:


[…]
StartJobs = true
STARTD_ATTRS = StartJobs, $(STARTD_ATTRS)
[…]

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

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki