HI Michael<br>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 ?<br>
<br>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 :-)<br>
<br>Thanks<br>Paul<br><br><br>autojoin none<br>debug 1<br>debugfile /var/log/ha-debug<br>logfile /var/log/ha-log<br>logfacility local0<br>#use_logd on<br>mcast eth1 239.0.0.1 694 1 0<br>bcast eth1<br>
warntime 5<br>deadtime 20<br>initdead 60<br>keepalive 2<br>node crhnode1<br>node crhnode2<br>#deadping 15<br>#ping 10.100.0.254<br>crm yes<br><br>Current crm_mon<br>============<br>Last updated: Fri Jan 28 14:10:22 2011<br>
Stack: Heartbeat<br>Current DC: crhnode2 (59440607-2a5c-450e-84fa-<div id=":4k">94bf69742671) - partition with quo<br>rum<br>Version: 1.0.10-da7075976b5ff0bee71074385f8fd02f296ec8a3<br>2 Nodes configured, unknown expected votes<br>
2 Resources configured.<br>
============<br><br>Online: [ crhnode1 crhnode2 ]<br><br> Clone Set: MYPINGCLONE<br> Started: [ crhnode1 crhnode2 ]<br> Resource Group: WEBRES<br> failoverip (ocf::heartbeat:IPaddr): Started crhnode2<br> crhweb (ocf::heartbeat:apache): Started crhnode2<br>
<br>crm configure show<div class="im"><br>node $id="271808bb-ed74-4eaa-8c94-bf32a00074dd" crhnode1 \<br> attributes standby="off"<br>node $id="59440607-2a5c-450e-84fa-94bf69742671" crhnode2 \<br>
attributes standby="off"<br></div><div class="im">
primitive MYPING ocf:pacemaker:pingd \<br></div> params host_list="10.100.0.254" multiplier="100" \<div class="im"><br> op monitor interval="15s" timeout="20s" \<br> op start interval="5" timeout="90s" \<br>
op stop interval="0" timeout="100s"<br>primitive crhweb ocf:heartbeat:apache \<br> params configfile="/etc/httpd/conf/httpd.conf" \<br></div> op monitor interval="30s" \<div class="im">
<br>
op start interval="0" timeout="40s" \<br></div> op stop interval="0" timeout="60s"<div class="im"><br>primitive failoverip ocf:heartbeat:IPaddr \<br> params ip="10.100.1.100" cidr_netmask="255.255.0.0" \<br>
op monitor interval="30s"<br></div>group WEBRES failoverip crhweb \<br> meta target-role="Started"<br>clone MYPINGCLONE MYPING \<br> meta globally-unique="false" target-role="Started"<br>
location web_location WEBRES \<div class="im"><br> rule $id="web_location-rule" -inf: not_defined pingd or pingd lte 0<br></div>order crhweb-after-failoverip inf: MYPINGCLONE WEBRES<div class="im"><br>property $id="cib-bootstrap-options" \<br>
dc-version="1.0.10-da7075976b5ff0bee71074385f8fd02f296ec8a3" \<br> cluster-infrastructure="Heartbeat" \<br> stonith-enabled="false" \<br> no-quorum-policy="ignore"<br>
rsc_defaults $id="rsc-options" \<br> resource-stickiness="100"<br></div></div><br><br><br><br><br><div class="gmail_quote">On 1 February 2011 20:15, Michael Schwartzkopff <span dir="ltr"><<a href="mailto:misch@clusterbau.com">misch@clusterbau.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div class="im">On Tuesday 01 February 2011 21:00:22 paul harford wrote:<br>
> Hi bart<br>
> i think your right linit is looking the best or Michael Schwartzkopff's<br>
> book if its avaiable in english<br>
><br>
> Paul<br>
<br>
</div>Hey!<br>
<br>
I am also offering support.<br>
<br>
Greetings.<br>
<div><div></div><div class="h5"><br>
--<br>
Dr. Michael Schwartzkopff<br>
Guardinistr. 63<br>
81375 München<br>
<br>
Tel: (0163) 172 50 98<br>
</div></div><br>_______________________________________________<br>
Pacemaker mailing list: <a href="mailto:Pacemaker@oss.clusterlabs.org">Pacemaker@oss.clusterlabs.org</a><br>
<a href="http://oss.clusterlabs.org/mailman/listinfo/pacemaker" target="_blank">http://oss.clusterlabs.org/mailman/listinfo/pacemaker</a><br>
<br>
Project Home: <a href="http://www.clusterlabs.org" target="_blank">http://www.clusterlabs.org</a><br>
Getting started: <a href="http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf" target="_blank">http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf</a><br>
Bugs: <a href="http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker" target="_blank">http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker</a><br>
<br></blockquote></div><br>