[Pacemaker] set the timeout
fatcharly at gmx.de
fatcharly at gmx.de
Mon Mar 11 14:44:11 UTC 2013
Hi,
how can I adjust the timeout for the start of a mysqld or a httpd in a config. It seems to me as if this is a little to short for our systems.
One of my configuration looks like this:
crm(live)# configure show
node $id="18c3666b-ed2f-4dac-8aa7-59ff005b18de" nodename \
attributes standby="off"
node $id="d896ce35-c691-4919-9050-9fdce27d24c7" nodename \
attributes standby="off"
primitive Apache ocf:heartbeat:apache \
params configfile="/etc/httpd/conf/httpd.conf" \
op monitor interval="45s" timeout="120s"
primitive HA_IP ocf:heartbeat:IPaddr2 \
params ip="XX.XX.XX.XX" cidr_netmask="28" \
op monitor interval="30s" timeout="120s"
primitive HA_IP2 ocf:heartbeat:IPaddr2 \
params ip="XX.XX.XX.XX" cidr_netmask="28" \
op monitor interval="30s" timeout="120s"
primitive HA_IP3 ocf:heartbeat:IPaddr2 \
params ip="XX.XX.XX.XX" cidr_netmask="28" \
op monitor interval="30s" timeout="120s"
primitive WebdataFS ocf:heartbeat:Filesystem \
params device="/dev/drbd20" directory="/mnt/clusterfs" fstype="ext3"
primitive wwwdrbd ocf:linbit:drbd \
params drbd_resource="webcontent" \
op monitor interval="30s" timeout="120s"
ms Webdata wwwdrbd \
meta master-max="1" master-node-max="1" clone-max="2" clone-node-max="1" notify="true"
colocation WebSite-with-WebdataFS inf: Apache WebdataFS
colocation fs_on_drbd inf: WebdataFS Webdata:Master
colocation ip-with-ip2 inf: HA_IP2 HA_IP
colocation ip2-with-ip3 inf: HA_IP3 HA_IP2
colocation website-with-ip inf: Apache HA_IP
order HA_IP2-after-HA_IP inf: HA_IP HA_IP2
order WebSite-after-WebdataFS inf: WebdataFS Apache
order WebdataFS-after-Webdata inf: Webdata:promote WebdataFS:start
order apache-after-ip inf: HA_IP Apache
property $id="cib-bootstrap-options" \
dc-version="1.0.5-462f1569a43740667daf7b0f6b521742e9eb8fa7" \
cluster-infrastructure="Heartbeat" \
stonith-enabled="false" \
no-quorum-policy="ignore"
rsc_defaults $id="rsc-options" \
resource-stickiness="100"
Kind Regards
fatcharly
More information about the Pacemaker
mailing list