@@ -826,16 +826,52 @@ def default_for(
826826 range.
827827 ''' )
828828 Conf ('condemned' , VDR .V_ABSOLUTE_HOST_LIST , desc = f'''
829- These hosts will not be used to run jobs .
829+ List run hosts that workflows should *not* run on .
830830
831- If workflows are already running on
832- condemned hosts, Cylc will shut them down and
833- restart them on different hosts.
831+ These hosts will be subtracted from the
832+ `available <global.cylc[scheduler][run hosts]>` hosts
833+ preventing new workflows from starting on the "condemned" host.
834+
835+ Any workflows running on these hosts will either migrate
836+ to another host, or shut down according to
837+ :py:mod:`the configuration <cylc.flow.main_loop.auto_restart>`.
838+
839+ This feature requires ``auto restart`` to be listed
840+ in `global.cylc[scheduler][main loop]plugins`.
841+
842+ For more information, see the
843+ :py:mod:`auto restart <cylc.flow.main_loop.auto_restart>`
844+ plugin.
845+
846+ .. rubric:: Example:
847+
848+ .. code-block:: cylc
849+
850+ [scheduler]
851+ [[main loop]]
852+ # activate the "auto restart" plugin
853+ plugins = auto restart
854+ [[run hosts]]
855+ # there are three hosts in the "pool"
856+ available = host1, host2, host3
857+
858+ # however two have been taken out:
859+ # * workflows running on "host1" will attempt to
860+ # restart on "host3"
861+ # * workflows running on "host2" will shutdown
862+ condemned = host1, host2!
834863
835864 .. seealso::
836865
866+ :py:mod:`cylc.flow.main_loop.auto_restart`
837867 :ref:`auto-stop-restart`
838868
869+ .. versionchanged:: 8.4.2
870+
871+ The "force mode" (activated by a "!" suffix) caused issues
872+ at workflow startup for Cylc versions between 8.0.0 and
873+ 8.4.1 inclusive.
874+
839875 .. versionchanged:: 8.0.0
840876
841877 { REPLACES } ``[suite servers]condemned hosts``.
@@ -1336,7 +1372,7 @@ def default_for(
13361372 The means by which task progress messages are reported back to
13371373 the running workflow.
13381374
1339- ..rubric:: Options:
1375+ .. rubric:: Options:
13401376
13411377 zmq
13421378 Direct client-server TCP communication via network ports
0 commit comments