Hi at all, and compliments for this project, it's a lot interesting. I'm a
newbie and I'm trying to use Linux HA. I've configured Drbd, mysql but I've
a problem with apache. This is my configuration:
node server1 \
attributes standby="off"
node server2 \
attributes standby="off"
primitive ClusterIP ocf:heartbeat:IPaddr2 \
params ip="10.10.7.100" cidr_netmask="32" \
op monitor interval="30s"
primitive WebSite ocf:heartbeat:apache \
params configfile="/etc/apache2/apache2.conf" httpd="/usr/sbin/apache2"
port="80" \
op monitor interval="1min"
primitive drbd_mysql ocf:linbit:drbd \
params drbd_resource="r0" \
op monitor interval="15s"
primitive fs_mysql ocf:heartbeat:Filesystem \
params device="/dev/drbd/by-res/r0" directory="/data/" fstype="ext3"
primitive mysqld lsb:mysql
group mysql fs_mysql ClusterIP mysqld WebSite
ms ms_drbd_mysql drbd_mysql \
meta master-max="1" master-node-max="1" clone-max="2" clone-node-max="1"
notify="true"
colocation mysql_on_drbd inf: mysql ms_drbd_mysql:Master
colocation website-with-ip inf: WebSite ClusterIP
order apache-after-ip inf: ClusterIP WebSite
order mysql_after_drbd inf: ms_drbd_mysql:promote mysql:start
property $id="cib-bootstrap-options" \
dc-version="1.0.9-unknown" \
cluster-infrastructure="openais" \
expected-quorum-votes="2" \
stonith-enabled="false" \
no-quorum-policy="ignore" \
last-lrm-refresh="1306924621"
rsc_defaults $id="rsc-options" \
resource-stickiness="100"
But I've these errors on crm_mon:
Online: [ server2 server1 ]
Master/Slave Set: ms_drbd_mysql
Masters: [ server2 ]
Slaves: [ server1 ]
Resource Group: mysql
fs_mysql (ocf::heartbeat:Filesystem): Started server2
ClusterIP (ocf::heartbeat:IPaddr2): Started server2
mysqld (lsb:mysql): Started server2
WebSite (ocf::heartbeat:apache): Stopped
Failed actions:
WebSite_start_0 (node=server2, call=17, rc=1, status=complete): unknown
error
WebSite_start_0 (node=server1, call=17, rc=1, status=complete): unknown
error
Anyone can help me? Best regards and thanks a lot in advance
_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems