=====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.