On 10/16/2012 05:16 PM, Borja García de Vinuesa wrote: > Hi again! > > As I said, now pacemaker "takes" fence_ec2. However, it's not working as > expected. This is what I find when starting pacemaker on all nodes (online > ha1 and ha2 and ha3 in standby): > > -------------------------------------------------------------------------------------------------- > ============ > Last updated: Tue Oct 16 17:11:47 2012 > Last change: Tue Oct 16 16:57:46 2012 via cibadmin on ha1 > Stack: openais > Current DC: ha2 - partition with quorum > Version: 1.1.7-6.el6-148fccfd5985c5590cc601123c6c16e966b85d14 > 3 Nodes configured, 3 expected votes > 6 Resources configured. > ============ > > Node ha3: standby > Online: [ ha1 ha2 ] > > Master/Slave Set: ms_drbd_r0 [p_drbd_r0] > Masters: [ ha1 ] > Slaves: [ ha2 ] > Resource Group: g_r0 > p_fs_r0 (ocf::heartbeat:Filesystem): Started ha1 > p_ip_r0 (ocf::heartbeat:IPaddr2): Started ha1 > p_r0 (ocf::heartbeat:mysql): Started ha1 > > Failed actions: > stonith_my-ec2-nodes_start_0 (node=ha2, call=11, rc=1, status=complete): > unknown error > stonith_my-ec2-nodes_start_0 (node=ha1, call=7, rc=1, status=complete): > unknown error > > ----------------------------------------------------------------------------------------------------- > > > CONFIGURATION > > [root@ha1 ~]# crm configure show > node ha1 > node ha2 > node ha3 \ > attributes standby="on" > primitive p_drbd_r0 ocf:linbit:drbd \ > params drbd_resource="r0" \ > op monitor interval="15s" > primitive p_fs_r0 ocf:heartbeat:Filesystem \ > params device="/dev/drbd0" directory="/var/lib/mysql_drbd" > fstype="ext4" > primitive p_ip_r0 ocf:heartbeat:IPaddr2 \ > params ip="54.X.X.X " cidr_netmask="32" nic="eth0" > primitive p_r0 ocf:heartbeat:mysql \ > params binary="/usr/bin/mysqld_safe" config="/etc/my.cnf" > datadir="/var/lib/mysql_drbd/mysql_data" pid="/var/run/mysqld/mysqld.pid" > socket="/var/lib/mysql/mysql.sock" user="root" group="root" > additional_parameters="--bind-address=54.X.X.X --user=root" \ > op start interval="0" timeout="120s" \ > op stop interval="0" timeout="120s" \ > op monitor interval="20s" timeout="30s" \ > meta is-managed="true" > primitive stonith_my-ec2-nodes stonith:fence_ec2 \ > params ec2-home="$EC2_HOME" pcmk_host_check="static-list" > pcmk_host_list="ha1 ha2 ha3" \
I'd say you are missing that $EC2_HOME in the env ... but logs should tell you. I used full path here and it works for me. Regards, Andreas -- Need help with Pacemaker? http://www.hastexo.com/now > op monitor interval="600s" timeout="300s" \ > op start start-delay="30s" interval="0" > group g_r0 p_fs_r0 p_ip_r0 p_r0 > ms ms_drbd_r0 p_drbd_r0 \ > meta master-max="1" master-node-max="1" clone-max="2" > clone-node-max="1" notify="true" > location cli-prefer-g_r0 g_r0 \ > rule $id="cli-prefer-rule-g_r0" inf: #uname eq ha1 > location cli-prefer-p_r0 p_r0 \ > rule $id="cli-prefer-rule-p_r0" inf: #uname eq ha1 > colocation c_r0_on_drbd inf: g_r0 ms_drbd_r0:Master > order o_drbd_before_mysql inf: ms_drbd_r0:promote g_r0:start > property $id="cib-bootstrap-options" \ > dc-version="1.1.7-6.el6-148fccfd5985c5590cc601123c6c16e966b85d14" \ > cluster-infrastructure="openais" \ > expected-quorum-votes="3" \ > no-quorum-policy="ignore" \ > stonith-enabled="false" \ > stonith-action="reboot" \ > last-lrm-refresh="1349707463" > rsc_defaults $id="rsc-options" \ > resource-stickiness="100" > > With EC2_HOME=/tmp/ec2-api-tools-1.6.4 > > Any ideas on which could be the problem here? > > Thanks in advance! > > Borja Gª de Vinuesa O. > Communications Administrator > Skype: borja.garcia.actualize > > > [Descripción: LogoActualizeRGB] <http://www.actualize.es/> > > > Avda. Valdelaparra, 27 > P. E. Neisa Norte Edif. 1, 3ªpl. > 28108 Alcobendas Madrid- España > Tel. +34 91 799 40 70 > Fax +34 91 799 40 79 > www.actualize.es<http://www.actualize.es/> > > > > > ESPAÑA * BRASIL * CHILE * COLOMBIA * MEXICO * UK > > > Aviso sobre confidencialidad > Este documento se dirige exclusivamente a su destinatario y puede contener > información confidencial o cuya divulgación debe estar autorizada en virtud > de la legislación vigente. Se informa a quien lo recibiera sin ser el > destinatario o persona autorizada por éste, que la información contenida en > el mismo es reservada y su utilización o divulgación con cualquier fin está > prohibida. Si ha recibido este documento por error, le rogamos que nos lo > comunique inmediatamente por esta misma vía o por teléfono, y proceda a su > destrucción. > > Confidentiality and Privacy: If you have received this email in error, please > notify the sender and delete it as well as any attachments. The e-mail and > any attached files are intended only for the use of the person or > organisation to whom they are addressed. It is prohibited and may be unlawful > to use copy or disclose these documents unless authorised to do so. We may > need to monitor emails we send and receive. > > > > > _______________________________________________ > Linux-HA mailing list > [email protected] > http://lists.linux-ha.org/mailman/listinfo/linux-ha > See also: http://linux-ha.org/ReportingProblems >
signature.asc
Description: OpenPGP digital signature
_______________________________________________ Linux-HA mailing list [email protected] http://lists.linux-ha.org/mailman/listinfo/linux-ha See also: http://linux-ha.org/ReportingProblems
