[Pacemaker] Cluster Test Suite: Bad News

2009-10-28 Thread Schmidt, Torsten
Hi list, after manually (positive) testing of my new cluster i've initiated one round of the cluster test suite with the following command: ./CTSlab.py --at-boot 1 --nodes 'mysqlha1 mysqlha2' --stack ais --syslog-facility local6 --schema pacemaker-1.0 --logfile /var/log/messages --stonith 1 --

Re: [Pacemaker] how to run a remote script

2009-10-22 Thread Schmidt, Torsten
Hi Gilberto, take a look at the tomcat ocf-script: start 'crm' to to 'ra' and do: crm(live)ra# meta tomcat ocf here you see the parameters (required and optional) implement the tomcat as primitive resource dependend on a cluster-ip (IPaddr2) like this: primitive res.ocf.tomct ocf:heartbeat:to

Re: [Pacemaker] ocf:linbit:drbd monitor failed with stacked resource

2009-10-19 Thread Schmidt, Torsten
you put me in the right direction, i checked my syslog and found (drbd 8.3.2): Oct 19 13:29:11 mysqlHA2 drbd[3369]: ERROR: meta parameter misconfigured, expected clone-max = 2, but found 1. Oct 19 13:29:11 mysqlHA2 lrmd: [1665]: info: RA output: (res.drbd.mysqlstack:0:monitor:stderr) 2009/10/19_

[Pacemaker] ocf:linbit:drbd monitor failed with stacked resource

2009-10-19 Thread Schmidt, Torsten
Hi list, i configured pacemaker to take care of a three node drbd stetup but the monitor on the stacked drbd resouce failed and the resource never gets started. Doing the necessary steps by hand everything works fine (on-node-with-ip: drbdadm --stacked adjust mysqlstack ; drbdadm --stacked prima

Re: [Pacemaker] Problems with colocation/order with drbdtree-node-setup

2009-10-16 Thread Schmidt, Torsten
-Ursprüngliche Nachricht- Von: Schmidt, Torsten [mailto:torsten.schm...@tecdoc.net] Gesendet: Freitag, 16. Oktober 2009 12:54 An: pacemaker@oss.clusterlabs.org Betreff: Re: [Pacemaker] Problems with colocation/order with drbdtree-node-setup thank you very much Johan, i commited my configs. the

Re: [Pacemaker] Problems with colocation/order with drbd tree-node-setup

2009-10-16 Thread Schmidt, Torsten
thank you very much Johan, i commited my configs. the 'simple' ptest now is: - ERROR: unpack_rsc_op: Hard error - res.drbd.mysqlstack:0_monitor_0 failed with rc=6: Preventing ms.drbd.mysqlstac

Re: [Pacemaker] Problems with colocation/order with drbd tree-node-setup

2009-10-16 Thread Schmidt, Torsten
t too much. > colocation co.ms.drbd.mysqlstack_on_res.ip.mysql inf: ms.drbd.mysqlstack res.ip.mysql Why this? You already force both ms.drbd.mysqlstack and res.ip.mysql onto ms.drbd.mysqldb:Master, so there is no need to force ms.drbd.mysqlstack onto res.ip.mysql too. J. On Fri, 2009-10-16 at 1

[Pacemaker] Problems with colocation/order with drbd tree-node-setup

2009-10-16 Thread Schmidt, Torsten
my first post on this list; will be quite a long one :) environment: OS: RHEL 5.4 x86_64 drbd83.x86_64 8.3.2-6.el5_3 kmod-drbd83.x86_648.3.2-6.el5_3 openais.x86_640.80.6-8.el5_4.1 heartbeat.x86_64