Hallo Mailinglist,

I'm fairly new to the whole HA Concept, so please excuse my mess ups.
What I am trying to do is build a two Node Cluster with
DRBD-LVM-MySQL.
So far my Testsystem looks and works great.

What I am looking for is advise on what to improve, where I could make
my life easier, what to do better.
I know that I'm not finished, a extra Network-Device for DRBD and the
Cluster Communication will be added, probably bonding, for the
Production-Network as well, also STONITH for the Boxes when I move
them to Physical Hardware.

Here is my Config:
##################
ha-db01:~# crm configure show
node ha-db01 \
        attributes standby="off"
node ha-db02 \
        attributes standby="off"
primitive mysql_app lsb:mysql \
        op monitor interval="15s"
primitive mysql_drbd ocf:linbit:drbd \
        params drbd_resource="mysql" \
        op start interval="0" timeout="240" \
        op stop interval="0" timeout="100" \
        op monitor interval="59s" role="Master" timeout="30s" \
        op monitor interval="60s" role="Slave" timeout="30s"
primitive mysql_fs ocf:heartbeat:Filesystem \
        params device="/dev/mapper/vgMySQL-mysql_data"
directory="/export/mysql/data" fstype="ext3" \
        op start interval="0" timeout="60" \
        op stop interval="0" timeout="120"
primitive mysql_ip ocf:heartbeat:IPaddr2 \
        params ip="10.0.0.252" cidr_netmask="22"
primitive mysql_lvm ocf:heartbeat:LVM \
        params volgrpname="vgMySQL" exclusive="true" \
        op start interval="0" timeout="30" \
        op stop interval="0" timeout="30"
group mysql_grp mysql_ip mysql_app
group mysql_lvm_grp mysql_lvm mysql_fs
ms ms_drbd mysql_drbd \
        meta master-node-max="1" clone-max="2" clone-node-max="1"
globally-unique="false" notify="true" target-role="Master"
location drbd_on_one_node_only ms_drbd \
        rule $id="drbd_on_one_node_only-rule" $role="master" 100: #uname eq 
node1
colocation mysql-deps inf: ms_drbd:Master mysql_lvm_grp mysql_grp
order mysql_on_drbd inf: ms_drbd:promote mysql_lvm_grp:start mysql_grp:start
property $id="cib-bootstrap-options" \
        dc-version="1.0.9-74392a28b7f31d7ddc86689598bd23114f58978b" \
        no-quorum-policy="ignore" \
        default-resource-stickiness="200" \
        cluster-infrastructure="openais" \
        expected-quorum-votes="2" \
        stonith-enabled="false"
##################

Any thoughts, any Advise?

Thanks a lot,
Ben
_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Reply via email to