[Pacemaker] Update failure messages

Dejan Muhamedagic dejanmm at fastmail.fm
Tue Apr 6 10:12:18 UTC 2010


Hi,

On Tue, Apr 06, 2010 at 11:11:02AM +0200, Stefan Kelemen wrote:
> Hello,
> after updating heartbeat pacemaker on aktual version from madkiss to PM1.0.8 i got this messages.
> 
> ------------------ 
> 
> server1:~# crm
> crm(live)# configure
> crm(live)configure# verify
> crm_verify[5291]: 2010/04/06_11:04:39 WARN: unpack_nodes: Blind faith: not fencing unseen nodes
> WARNING: pri_drbd_Dienst: default-action-timeout 20s for start is smaller than the advised 240
> WARNING: pri_drbd_Dienst: default-action-timeout 20s for stop is smaller than the advised 100
> WARNING: pri_FS_drbd_t3: default-action-timeout 20s for start is smaller than the advised 60
> WARNING: pri_FS_drbd_t3: default-action-timeout 20s for stop is smaller than the advised 60
> WARNING: pri_IP_Cluster: default-action-timeout 20s for start is smaller than the advised 90
> WARNING: pri_IP_Cluster: default-action-timeout 20s for stop is smaller than the advised 100
> WARNING: pri_apache_Dienst: default-action-timeout 20s for start is smaller than the advised 90
> WARNING: pri_apache_Dienst: default-action-timeout 20s for stop is smaller than the advised 100
> crm(live)configure#

These messages are about timeouts for operations which are most
probably too short, i.e. shorter than what's been advised by the
author of the resource agent. For instance, to fix the drbd
resource modify it like this:

primitive pri_drbd_Dienst ocf:linbit:drbd \
        params drbd_resource="t3" \
        op monitor interval="15" \
        op start timeout="240" \
        op stop timeout="100"

You can also set the default-action-timeout:

property default-action-timeout="120s"

Thanks,

Dejan

> ha.cf
> 
> node server1 server2
> 
> # Logging
> # debug                          1
>  use_logd                       false
>  logfacility                    local0
> 
>  # Misc Options
>  traditional_compression        off
>  compression                    bz2
>  coredumps                      true
> 
>  # Communications
> # udpport                        691
>  bcast                          eth1
> # autojoin                       any
> 
>  # Thresholds (in seconds)
>  keepalive                      1
>  warntime                       6
>  deadtime                       10
>  initdead                       15
>  crm on
> ping 192.168.1.1 192.168.4.10
> 
> apiauth mgmtd uid=root
> respawn root /usr/lib/heartbeat/mgmtd -v
> 
> 
> simple look config from crmshell
> 
> server1:~# crm
> crm(live)# configure
> crm(live)configure# show
> node $id="3e20966a-ed64-4972-8f5a-88be0977f759" server1
> node $id="5262f929-1082-4a85-aa05-7bd1992f15be" server2
> primitive pri_FS_drbd_t3 ocf:heartbeat:Filesystem \
>         params device="/dev/drbd0" directory="/mnt/drbd_daten" fstype="ext3" options="noatime"
> primitive pri_IP_Cluster ocf:heartbeat:IPaddr2 \
>         params ip="192.168.1.253" cidr_netmask="24" nic="eth1"
> primitive pri_apache_Dienst ocf:heartbeat:apache \
>         op monitor interval="15" \
>         params configfile="/etc/apache2/apache2.conf" httpd="/usr/bin/apache2" port="80"
> primitive pri_drbd_Dienst ocf:linbit:drbd \
>         params drbd_resource="t3" \
>         op monitor interval="15"
> group group_t3 pri_FS_drbd_t3 pri_IP_Cluster pri_apache_Dienst
> ms ms_drbd_service pri_drbd_Dienst \
>         meta notify="true"
> colocation col_apache_after_drbd inf: group_t3 ms_drbd_service:Master
> order ord_apache_after_drbd inf: ms_drbd_service:promote group_t3:start
> property $id="cib-bootstrap-options" \
>         dc-version="1.0.8-2c98138c2f070fcb6ddeab1084154cffbf44ba75" \
>         cluster-infrastructure="Heartbeat" \
>         no-quorum-policy="ignore" \
>         default-resource-stickiness="1000" \
>         last-lrm-refresh="1270544541" \
>         startup-fencing="false" \
>         stonith-enabled="false"
> 
> 
> CIB.xml
> 
> 
> <cib validate-with="pacemaker-1.0" crm_feature_set="3.0.1" have-quorum="1" dc-uuid="5262f929-1082-4a85-aa05-7bd1992f15be" epoch="49" num_updates="0" admin_epoch="0" cib-last-written="Tue Apr  6 11:03:09 2010">
>   <configuration>
>     <crm_config>
>       <cluster_property_set id="cib-bootstrap-options">
>         <nvpair id="cib-bootstrap-options-dc-version" name="dc-version" value="1.0.8-2c98138c2f070fcb6ddeab1084154cffbf44ba75"/>
>         <nvpair id="cib-bootstrap-options-cluster-infrastructure" name="cluster-infrastructure" value="Heartbeat"/>
>         <nvpair id="cib-bootstrap-options-no-quorum-policy" name="no-quorum-policy" value="ignore"/>
>         <nvpair id="cib-bootstrap-options-default-resource-stickiness" name="default-resource-stickiness" value="1000"/>
>         <nvpair name="last-lrm-refresh" id="cib-bootstrap-options-last-lrm-refresh" value="1270544541"/>
>         <nvpair id="cib-bootstrap-options-startup-fencing" name="startup-fencing" value="false"/>
>         <nvpair id="cib-bootstrap-options-stonith-enabled" name="stonith-enabled" value="false"/>
>       </cluster_property_set>
>     </crm_config>
>     <nodes>
>       <node id="3e20966a-ed64-4972-8f5a-88be0977f759" type="normal" uname="server1"/>
>       <node id="5262f929-1082-4a85-aa05-7bd1992f15be" type="normal" uname="server2"/>
>     </nodes>
>     <resources>
>       <master id="ms_drbd_service">
>         <meta_attributes id="ms_drbd_service-meta_attributes">
>           <nvpair id="ms_drbd_service-meta_attributes-notify" name="notify" value="true"/>
>         </meta_attributes>
>         <primitive class="ocf" id="pri_drbd_Dienst" provider="linbit" type="drbd">
>           <instance_attributes id="pri_drbd_Dienst-instance_attributes">
>             <nvpair id="pri_drbd_Dienst-instance_attributes-drbd_resource" name="drbd_resource" value="t3"/>
>           </instance_attributes>
>           <operations>
>             <op id="pri_drbd_Dienst-monitor-15" interval="15" name="monitor"/>
>           </operations>
>         </primitive>
>       </master>
>       <group id="group_t3">
>         <primitive class="ocf" id="pri_FS_drbd_t3" provider="heartbeat" type="Filesystem">
>           <instance_attributes id="pri_FS_drbd_t3-instance_attributes">
>             <nvpair id="pri_FS_drbd_t3-instance_attributes-device" name="device" value="/dev/drbd0"/>
>             <nvpair id="pri_FS_drbd_t3-instance_attributes-directory" name="directory" value="/mnt/drbd_daten"/>
>             <nvpair id="pri_FS_drbd_t3-instance_attributes-fstype" name="fstype" value="ext3"/>
>             <nvpair id="pri_FS_drbd_t3-instance_attributes-options" name="options" value="noatime"/>
>           </instance_attributes>
>         </primitive>
>         <primitive class="ocf" id="pri_IP_Cluster" provider="heartbeat" type="IPaddr2">
>           <instance_attributes id="pri_IP_Cluster-instance_attributes">
>             <nvpair id="pri_IP_Cluster-instance_attributes-ip" name="ip" value="192.168.1.253"/>
>             <nvpair id="pri_IP_Cluster-instance_attributes-cidr_netmask" name="cidr_netmask" value="24"/>
>             <nvpair id="pri_IP_Cluster-instance_attributes-nic" name="nic" value="eth1"/>
>           </instance_attributes>
>         </primitive>
>         <primitive class="ocf" id="pri_apache_Dienst" provider="heartbeat" type="apache">
>           <operations>
>             <op id="pri_apache_Dienst-monitor-15" interval="15" name="monitor"/>
>           </operations>
>           <instance_attributes id="pri_apache_Dienst-instance_attributes">
>             <nvpair id="pri_apache_Dienst-instance_attributes-configfile" name="configfile" value="/etc/apache2/apache2.conf"/>
>             <nvpair id="pri_apache_Dienst-instance_attributes-httpd" name="httpd" value="/usr/bin/apache2"/>
>             <nvpair id="pri_apache_Dienst-instance_attributes-port" name="port" value="80"/>
>           </instance_attributes>
>         </primitive>
>       </group>
>     </resources>
>     <constraints>
>       <rsc_colocation id="col_apache_after_drbd" rsc="group_t3" score="INFINITY" with-rsc="ms_drbd_service" with-rsc-role="Master"/>
>       <rsc_order first="ms_drbd_service" first-action="promote" id="ord_apache_after_drbd" score="INFINITY" then="group_t3" then-action="start"/>
>     </constraints>
>     <rsc_defaults/>
>     <op_defaults/>
>   </configuration>
> </cib>
> (END)
> 
> 
> 
> Regards Stefan Kelemen
> 
> -- 
> GRATIS für alle GMX-Mitglieder: Die maxdome Movie-FLAT!
> Jetzt freischalten unter http://portal.gmx.net/de/go/maxdome01
> 
> _______________________________________________
> Pacemaker mailing list
> Pacemaker at oss.clusterlabs.org
> http://oss.clusterlabs.org/mailman/listinfo/pacemaker




More information about the Pacemaker mailing list