cluster.ini [ClusterSettings]
The block [ClusterSettings] of settings/cluster.ini, with 8 setting(s).
Never edit settings/cluster.ini itself: an update replaces it. Put the settings you change in an override, which wins over the shipped file:
settings/override/cluster.ini.append.phpfor every siteaccess,settings/siteaccess/<siteaccess>/cluster.ini.append.phpfor one siteaccess,extension/<extension>/settings/cluster.ini.append.phpin an extension (read when the extension is active).
HostList
The hosts, in the order the commands visit them. Each one has a block
[Host_<name>] below. A name is letters, digits, dot, dash and underscore.HostList[]
HostList[]=web
HostList[]=cluster
Default: an empty list.
# settings/override/cluster.ini.append.php
[ClusterSettings]
# an empty "HostList[]" first replaces the shipped list; without it the items are added
HostList[]
*/ ?>DefaultPhp
The PHP binary on a host whose block names none (Php=).
Default: php.
# settings/override/cluster.ini.append.php
[ClusterSettings]
DefaultPhp=php
*/ ?>ConnectTimeout
Seconds ssh waits for a host to answer (ssh -o ConnectTimeout).
Default: 20.
# settings/override/cluster.ini.append.php
[ClusterSettings]
ConnectTimeout=20
*/ ?>Timeout
Seconds one host may take for everything it is asked to do; a host that takes
longer is stopped and counts as failed.
Default: 1800.
# settings/override/cluster.ini.append.php
[ClusterSettings]
Timeout=1800
*/ ?>Mode
Run on the hosts one after the other (sequential, the default) or all at once
(parallel). --parallel and --sequential on the command line win.
Default: sequential.
# settings/override/cluster.ini.append.php
[ClusterSettings]
Mode=sequential
*/ ?>AllowRootUser
Add --allow-root-user to every console command, so that a host where the ssh
login (or User=) is root runs it. A non-root user ignores the option.
A host block can set its own AllowRootUser=enabled|disabled.
Default: enabled.
# settings/override/cluster.ini.append.php
[ClusterSettings]
AllowRootUser=enabled
*/ ?>SshOptions
More ssh options for every host, each as ssh -o takes it.
SshOptions[]=StrictHostKeyChecking=accept-new
Default: an empty list.
# settings/override/cluster.ini.append.php
[ClusterSettings]
# an empty "SshOptions[]" first replaces the shipped list; without it the items are added
SshOptions[]
*/ ?>LogFile
The log in var/log where every run is written, one line per host
(in addition to the audit event system.cluster.run).
Default: cluster.log.
# settings/override/cluster.ini.append.php
[ClusterSettings]
LogFile=cluster.log
*/ ?>Related
Generated by ./console exp:help:examples from settings/cluster.ini. Do not edit this page: change the source and generate again (how). Free documentation: GFDL 1.3 or later.