The need for a resync is because you didn't have a fence device setup so
it split-brained. If you use it with the 'crm-fence-peer.sh' fence
handler this would not happen.

Even without DRBD you will need fencing in a cluster to maintain sanity
and avoid losing data.

On 02/01/2013 06:39 PM, Paul Archer wrote:
> Thanks so much for the quick, detailed, and informative answer!
> I'll definitely go with building the latest and greatest of corosync and 
> pacemaker. 
> As far as the cluster I already have setup, I'll have to get those configs on 
> Monday. Oh, and FWIW, I tried using DRBD with KVM, but found it too fragile. 
> If I lost a node, the whole block device needed to be synced. I settled on 
> the latest version of gluster instead. Resyncing is faster, as the files for 
> the individual VMs can be synced.
> 
> Thanks again,
> 
> pma
> 
> 
> 
> Paul Archer, Linux System Administrator
> [email protected]
> 972-646-0137 cell
> 1717 McKinney Ave, Suite 800
> Dallas, TX 75201
> www.topgolf.com
> 
> ________________________________________
> From: [email protected] 
> [[email protected]] on behalf of Andrew Martin 
> [[email protected]]
> Sent: Friday, February 01, 2013 4:15 PM
> To: General Linux-HA mailing list
> Subject: Re: [Linux-HA] best combo of software for HA (on Ubuntu 12.04)
> 
> Hello Paul,
> 
> I've recently worked through building the latest versions of Corosync (2.1.0 
> at
> the time) and Pacemaker (1.1.8) on Ubuntu 12.04. I think you'll have the best
> results if you work with the latest version of these services so that you
> don't run into bugs that have since been fixed. If you simply build them from
> source and do "make install", it should be pretty straightforward. If, like 
> me,
> you want to create packages to deploy on your production servers, then there's
> a bit more work to be done. On Ubuntu, Pacemaker and Corosync depend on the
> cluster-glue and resource-agents packages. I've been told that there should
> be no problem using the versions of these packages provided in 12.04 with the
> latest versions of Corosync and Pacemaker. The new version of Corosync also
> introduces a new dependency, libqb (http://www.libqb.org/). You can also build
> this from source.
> 
> From repositories: cluster-glue resource-agents
> From source: libqb corosync pacemaker
> 
> Part of the complexity of building packages for Corosync and Pacemaker
> is that Ubuntu divides these source packages up into a number of binary
> packages, as defined here:
> http://packages.ubuntu.com/source/precise/corosync
> http://packages.ubuntu.com/source/precise/pacemaker
> 
> Thus when you compile your own version of Corosync or Pacemaker, you don't 
> want
> to have any of those packages installed.
> 
> I'd recommend using apt's "build-dep" option for installing all of the
> dependencies you'll need to build Corosync and Pacemaker from source:
> apt-get build-dep corosync
> apt-get build-dep pacemaker
> 
> In regards to the cluster you set up, can you post your Pacemaker CIB or
> additional details about your configuration? I think Corosync + Pacemaker + 
> DRBD
> should work well for what you'd like to do.
> 
> Thanks,
> 
> Andrew
> 
> ----- Original Message -----
>> From: "Paul Archer" <[email protected]>
>> To: [email protected]
>> Sent: Friday, February 1, 2013 2:36:49 PM
>> Subject: [Linux-HA] best combo of software for HA (on Ubuntu 12.04)
>>
>> Sorry for the noob-ish question, but Google is not my friend today.
>>
>> I'm trying to setup a cluster to support KVM/libvirt failover. I have
>> one running with corosync 1.4.2 and pacemaker 1.16 on Ubuntu 12.04.
>> It works OK for virtual IP and apache failover, but I've had a lot
>> of trouble getting it to handle KVM. It's been a couple of months,
>> and I can't remember all the details now, but managed VMs would get
>> shutdown, not failover properly, etc.
>>
>> So I'm trying to determine what the best combination of software is.
>> First, corosync is way out of date. The latest is 3.2--but I can't
>> find any packages for it, so I'd have to compile from source.
>> Pacemaker is somewhat out of date, too, but the 1.16 package is
>> about the latest I can put my hands on there, too. And there's
>> heartbeat and cman to muddy the waters.
>>
>> Anyone have any suggestions/recommendations?
>>
>> Thanks,
>>
>> pma
>>
>>
>>
>> Paul Archer, Linux System Administrator
>> [email protected]
>> 972-646-0137 cell
>> 1717 McKinney Ave, Suite 800
>> Dallas, TX 75201
>> www.topgolf.com<http://www.topgolf.com/>
>> _______________________________________________
>> Linux-HA mailing list
>> [email protected]
>> http://lists.linux-ha.org/mailman/listinfo/linux-ha
>> See also: http://linux-ha.org/ReportingProblems
>>
> _______________________________________________
> Linux-HA mailing list
> [email protected]
> http://lists.linux-ha.org/mailman/listinfo/linux-ha
> See also: http://linux-ha.org/ReportingProblems
> 
> 
> _______________________________________________
> Linux-HA mailing list
> [email protected]
> http://lists.linux-ha.org/mailman/listinfo/linux-ha
> See also: http://linux-ha.org/ReportingProblems
> 


-- 
Digimer
Papers and Projects: https://alteeve.ca/w/
What if the cure for cancer is trapped in the mind of a person without
access to education?
_______________________________________________
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