[Pacemaker] pacemaker won't start mysql in the second node
paul harford
harfordmeister at gmail.com
Tue Feb 1 20:27:19 UTC 2011
HI Michael
is it possible to get an english version of your book ? i'm having trouble
with pingd and correct settings for the location of the node etc and i think
i'd be better trying to understand it rather than bother you with loads of
silly questions. Do you provide any web based or vlt training ?
My config is below if you think it might be just a simple config error or
not, i have 2 ethernet connections eth1 is the heartbeat interface eth0 is
the public interface. I just want to failover an ip and apache when i cannot
connect to the default gateway. Sounds so simple when you know how :-)
Thanks
Paul
autojoin none
debug 1
debugfile /var/log/ha-debug
logfile /var/log/ha-log
logfacility local0
#use_logd on
mcast eth1 239.0.0.1 694 1 0
bcast eth1
warntime 5
deadtime 20
initdead 60
keepalive 2
node crhnode1
node crhnode2
#deadping 15
#ping 10.100.0.254
crm yes
Current crm_mon
============
Last updated: Fri Jan 28 14:10:22 2011
Stack: Heartbeat
Current DC: crhnode2 (59440607-2a5c-450e-84fa-
94bf69742671) - partition with quo
rum
Version: 1.0.10-da7075976b5ff0bee71074385f8fd02f296ec8a3
2 Nodes configured, unknown expected votes
2 Resources configured.
============
Online: [ crhnode1 crhnode2 ]
Clone Set: MYPINGCLONE
Started: [ crhnode1 crhnode2 ]
Resource Group: WEBRES
failoverip (ocf::heartbeat:IPaddr): Started crhnode2
crhweb (ocf::heartbeat:apache): Started crhnode2
crm configure show
node $id="271808bb-ed74-4eaa-8c94-bf32a00074dd" crhnode1 \
attributes standby="off"
node $id="59440607-2a5c-450e-84fa-94bf69742671" crhnode2 \
attributes standby="off"
primitive MYPING ocf:pacemaker:pingd \
params host_list="10.100.0.254" multiplier="100" \
op monitor interval="15s" timeout="20s" \
op start interval="5" timeout="90s" \
op stop interval="0" timeout="100s"
primitive crhweb ocf:heartbeat:apache \
params configfile="/etc/httpd/conf/httpd.conf" \
op monitor interval="30s" \
op start interval="0" timeout="40s" \
op stop interval="0" timeout="60s"
primitive failoverip ocf:heartbeat:IPaddr \
params ip="10.100.1.100" cidr_netmask="255.255.0.0" \
op monitor interval="30s"
group WEBRES failoverip crhweb \
meta target-role="Started"
clone MYPINGCLONE MYPING \
meta globally-unique="false" target-role="Started"
location web_location WEBRES \
rule $id="web_location-rule" -inf: not_defined pingd or pingd lte 0
order crhweb-after-failoverip inf: MYPINGCLONE WEBRES
property $id="cib-bootstrap-options" \
dc-version="1.0.10-da7075976b5ff0bee71074385f8fd02f296ec8a3" \
cluster-infrastructure="Heartbeat" \
stonith-enabled="false" \
no-quorum-policy="ignore"
rsc_defaults $id="rsc-options" \
resource-stickiness="100"
On 1 February 2011 20:15, Michael Schwartzkopff <misch at clusterbau.com>wrote:
> On Tuesday 01 February 2011 21:00:22 paul harford wrote:
> > Hi bart
> > i think your right linit is looking the best or Michael Schwartzkopff's
> > book if its avaiable in english
> >
> > Paul
>
> Hey!
>
> I am also offering support.
>
> Greetings.
>
> --
> Dr. Michael Schwartzkopff
> Guardinistr. 63
> 81375 München
>
> Tel: (0163) 172 50 98
>
> _______________________________________________
> Pacemaker mailing list: Pacemaker at oss.clusterlabs.org
> http://oss.clusterlabs.org/mailman/listinfo/pacemaker
>
> Project Home: http://www.clusterlabs.org
> Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
> Bugs:
> http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.clusterlabs.org/pipermail/pacemaker/attachments/20110201/ff2df32e/attachment-0002.htm>
More information about the Pacemaker
mailing list