OBJECTIVE>> To setup a dual-node HA cluster to provide uninterrupted and/or load-balanced hosting for KVM instances managed by Cloudmin Pro and mirrored to the second host using DRBD
HARDWARE>> Nodes: 2X Dual Xeon 16GB Internet connectivity: 2X Internet leased lines(different ISPs) load-balanced through a dual-wan router Virtualization: KVM Replication: DRBD/Pacemaker Replicated Drive: /KVM
NETWORKING: Both internet lines connected to Dual-Wan router. Both nodes; eth0s connected to router for private IP assignment and Internet access Both nodes; eth1s connected to each other for DRBD/Corosync/GFS2 communication
SOFTWARE: Both nodes; CentOS 6.5 installed Both nodes; Cloudmin Pro installed Both nodes; DRBD configured in Dual-Primary mode to replicate /KVM on a GFS2 filesystem
CLOUDMIN CONFIGURATION: node2 as Cloudmin replica of node1 node1 and node2 part of host failover group ("System Operations -> Force Failover" OPTION MISSING)
TRIAL: Creating the first Instance on node1: Test1and testing failover to secondary host: node2
Following the above setup, we consider that Cloudmin will assume the existence of the test1 image file on the local drive /KVM on node2 when it is created in node1 and switch to node2:Test1 when node1 fails.
Instead, what happens is that test1 goes down as soon as node1 is shutdown.
QUESTIONS: 1. What are we doing wrong here? 2. Is the topology and configurations correct? 3. Are we missing steps? 4. Is there anything additional to be done? 5. Is there an alternative/easier/more logical approach to achieving the objective?
Thanking you, Surjo Banerjee