[DRBD-user] Failed action not configured

Antonio Fernández Pérez antoniofernandez at fabergames.com
Thu Sep 26 09:35:14 CEST 2013

Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.


Hi everybody,

Anybody could tell me where is the problem?

I have configured two nodes using DRBD+Pacemaker+Corosync+MySQL: Node1 with
ip address 192.168.1.38, Node2 with ip address 192.168.1.39. Virtual IP is
192.168.1.37.

First problem: When I type ifconfig on Node1 only appears one IP address.
If I type arp 192.168.1.37 points to Node1 (By MAC address). Where is the
virtual interface?
Second problem: When I type crm_mon appears this problem "Failed actions:
mysqld_start_0 (node=drbd-nodo1, call=22, rc=6, status=complete): not
configured
". What is it?

My configuration:
=============
node drbd-nodo1 \
        attributes standby="off"
node drbd-nodo2
primitive drbd_mysql ocf:linbit:drbd \
        params drbd_resource="srv" \
        op monitor interval="20" role="Master" timeout="300" \
        op monitor interval="30" role="Slave" timeout="300"
primitive mysql_fs ocf:heartbeat:Filesystem \
        params device="/dev/drbd0" directory="/var/lib/mysql" fstype="ext4"
\
        op start interval="1s" timeout="60" \
        op stop interval="1s" timeout="120" \
        meta target-role="Started"
primitive mysql_ip ocf:heartbeat:IPaddr2 \
        params ip="192.168.1.37" cidr_netmask="24" \
        op monitor interval="15s"
primitive mysqld ocf:heartbeat:mysql \
        params binary="/usr/bin/mysqld_safe" config="/etc/my.cnf"
user="mysql" group="mysql" log="/var/log/mysql.log"
pid="/var/run/mysqld/mysqld.pid" datadir="/var/lib/mysql/data"
socket="/var/run/mysqld/mysqld.sock" \
        op monitor interval="30s" timeout="30s" \
        op start interval="1s" timeout="120" \
        op stop interval="1s" timeout="230" \
        meta target-role="Started"
group mysql mysql_fs mysql_ip mysqld \
        meta target-role="Started"
ms mysql_ms drbd_mysql \
        meta master-max="1" master-node-max="1" clone-max="2"
clone-node-max="1" notify="true"
colocation fs_on_drbd inf: mysql mysql_ms:Master
property $id="cib-bootstrap-options" \
        dc-version="1.0.9-74392a28b7f31d7ddc86689598bd23114f58978b" \
        cluster-infrastructure="openais" \
        expected-quorum-votes="2" \
        stonith-enabled="false" \
        no-quorum-policy="ignore" \
        last-lrm-refresh="1366714966"
rsc_defaults $id="rsc-options" \
        resource-stickiness="100" \
        migration-threshold="3"

===============================================

I hope your answer.

Regards,

Antonio.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linbit.com/pipermail/drbd-user/attachments/20130926/34690c81/attachment.htm>


More information about the drbd-user mailing list