<div dir="ltr"><div>Hi everybody,<br><br>Anybody could tell me where is the problem?<br><br>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.<br>
<br>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?<br>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<br>
". What is it?<br><br></div>My configuration:<br><div>=============<br>node drbd-nodo1 \<br> attributes standby="off"<br>node drbd-nodo2<br>primitive drbd_mysql ocf:linbit:drbd \<br> params drbd_resource="srv" \<br>
op monitor interval="20" role="Master" timeout="300" \<br> op monitor interval="30" role="Slave" timeout="300"<br>primitive mysql_fs ocf:heartbeat:Filesystem \<br>
params device="/dev/drbd0" directory="/var/lib/mysql" fstype="ext4" \<br> op start interval="1s" timeout="60" \<br> op stop interval="1s" timeout="120" \<br>
meta target-role="Started"<br>primitive mysql_ip ocf:heartbeat:IPaddr2 \<br> params ip="192.168.1.37" cidr_netmask="24" \<br> op monitor interval="15s"<br>primitive mysqld ocf:heartbeat:mysql \<br>
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" \<br>
op monitor interval="30s" timeout="30s" \<br> op start interval="1s" timeout="120" \<br> op stop interval="1s" timeout="230" \<br> meta target-role="Started"<br>
group mysql mysql_fs mysql_ip mysqld \<br> meta target-role="Started"<br>ms mysql_ms drbd_mysql \<br> meta master-max="1" master-node-max="1" clone-max="2" clone-node-max="1" notify="true"<br>
colocation fs_on_drbd inf: mysql mysql_ms:Master<br>property $id="cib-bootstrap-options" \<br> dc-version="1.0.9-74392a28b7f31d7ddc86689598bd23114f58978b" \<br> cluster-infrastructure="openais" \<br>
expected-quorum-votes="2" \<br> stonith-enabled="false" \<br> no-quorum-policy="ignore" \<br> last-lrm-refresh="1366714966"<br>rsc_defaults $id="rsc-options" \<br>
resource-stickiness="100" \<br> migration-threshold="3"<br><br><div>===============================================<br><br></div><div>I hope your answer.<br><br></div><div>Regards,<br><br>
</div><div>Antonio.</div><br></div></div>