<html><head><style type='text/css'>p { margin: 0; }</style></head><body><div style='font-family: arial,helvetica,sans-serif; font-size: 12pt; color: #000000'><P>David,</P>
<P> </P>
<P>Just so I'm clearer (when I run into this issue...)</P>
<P> </P>
<P>You have to have all of the supporting software for each resource installed (i.e. drbd, nfs, mysql, or whatever) not just the RA's?</P>
<P> </P>
<P>If you have the RA's installed you'd get "not installed" but that is not sufficient for Pacemaker to assume it's not running? I would think that not installed would be can't be running but... ;-)</P>
<P> </P>
<P>Thanks!<BR></P>
<DIV><SPAN name="x"></SPAN>
<STYLE>/* Style Definitions */p.MsoNormal, p.MsoAutoSig, li.MsoNormal, div.MsoNormal {margin:0cm; margin-bottom:.0001pt;}@page WordSection1 {size:612.0pt 792.0pt; margin:72.0pt 72.0pt 72.0pt 72.0pt; mso-header-margin:36.0pt; mso-footer-margin:36.0pt; mso-paper-source:0;}div.WordSection1 {page:WordSection1;}</STYLE>
<DIV class=WordSection1>
<P class=MsoNormal>Jake<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p></o:p></P>
<P class=MsoNormal><o:p> </o:p></P></DIV><SPAN name="x"></SPAN><BR></DIV>
<HR id=zwchr>
<DIV style="FONT-STYLE: normal; FONT-FAMILY: Helvetica,Arial,sans-serif; COLOR: #000; FONT-SIZE: 12pt; FONT-WEIGHT: normal; TEXT-DECORATION: none"><B>From: </B>"David Vossel" <dvossel@redhat.com><BR><B>To: </B>"The Pacemaker cluster resource manager" <pacemaker@oss.clusterlabs.org><BR><B>Sent: </B>Friday, June 8, 2012 11:14:18 AM<BR><B>Subject: </B>Re: [Pacemaker] Configuring a cluster for asymmetric operation<BR><BR>----- Original Message -----<BR>> From: "Matthew O'Connor" <matt@ecsorl.com><BR>> To: "The Pacemaker cluster resource manager" <pacemaker@oss.clusterlabs.org><BR>> Sent: Friday, June 8, 2012 8:36:13 AM<BR>> Subject: Re: [Pacemaker] Configuring a cluster for asymmetric operation<BR>> <BR>> I ran across the same issue when putting together an asymmetric<BR>> cluster. Generally, I've found that it's necessary to make sure all<BR>> nodes have the same resource-related backing software installed. For<BR>> instance, I too have had to install DRBD on all nodes, even those not<BR>> running DRBD. iSCSITarget is another one - even with the RA<BR>> available,<BR>> not having the proper service available for the monitor to query can<BR>> cause a monitor error - which tends to nuke the resource on all<BR>> nodes,<BR>> even the properly configured ones. As it was explained to me,<BR>> Pacemaker<BR>> needs to be able to know that a resource isn't (or is) running on a<BR>> node<BR>> that it isn't (or is) supposed to be running on. Lack of resource<BR>> agent<BR>> (i.e. lack of ability to monitor) is not taken as an indication that<BR>> such a resource isn't running there.<BR><BR>Yes, this is true. There is no way around this, pacemaker will probe every known resource on every node each time it starts up. Without having the resource agents installed on all nodes, pacemaker can not verify a resource is running or not, which will cause problems. Even if the configuration prevents a resource from ever being started by pacemaker on a node, pacemaker will still need a way to verify that resource isn't already running when it starts up.<BR><BR>-- Vossel<BR><BR>> On 6/8/2012 3:36 AM, Brad Jones wrote:<BR>> > I have a cluster with three nodes, A B and C. A and B can<BR>> > basically<BR>> > stand in for one another; they run a DRBD master/slave set, and<BR>> > failure of A where most things run normally fires up services on B.<BR>> ><BR>> > C helps arbitrate quorum and runs Stonith plugins. I've written<BR>> > location rules to prohibit most of the production services from<BR>> > running on node C.<BR>> ><BR>> > Problem is, the DRBD RA tries to monitor on node C, even though<BR>> > DRBD<BR>> > isn't even installed. (It fails, helpfully, "not installed.") I'm<BR>> > stuck with a slowly-incrementing failcount on C.<BR>> ><BR>> > When I give all services a default location rule and set<BR>> > symmetric-cluster="false", some of the resources stay running on A<BR>> > but<BR>> > most of the important ones stop.<BR>> ><BR>> > This was raised back in 2010 here:<BR>> > <http://oss.clusterlabs.org/pipermail/pacemaker/2010-April/005873.html><BR>> > but I can't find much more about this issue on the web and there's<BR>> > only passing mention of it in the Pacemaker documentation.<BR>> ><BR>> > Bottom line: What's required to correctly configure a cluster with<BR>> > symmetric-cluster set to false?<BR>> ><BR>> > FYI I'm on pacemaker 1.1.6, heartbeat 3.0.5, on Ubuntu 10.04.<BR>> ><BR>> > Thanks! Brad<BR>> > --<BR>> > Brad Jones<BR>> > Brad@Jones.name<BR>> > Mobile: 303-219-0795<BR>> ><BR>> > _______________________________________________<BR>> > Pacemaker mailing list: Pacemaker@oss.clusterlabs.org<BR>> > http://oss.clusterlabs.org/mailman/listinfo/pacemaker<BR>> ><BR>> > Project Home: http://www.clusterlabs.org<BR>> > Getting started:<BR>> > http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf<BR>> > Bugs: http://bugs.clusterlabs.org<BR>> <BR>> --<BR>> <BR>> Sincerely,<BR>> Matthew O'Connor<BR>> <BR>> -----------------------------------------------------------------<BR>> Sr. Software Engineer<BR>> PGP/GPG Key: 0x55F981C4<BR>> Fingerprint: E5DC A0F8 5A40 E4DA 2CE6 B5A2 014C 2CBF 55F9 81C4<BR>> <BR>> Engineering and Computer Simulations, Inc.<BR>> 11825 High Tech Ave Suite 250<BR>> Orlando, FL 32817<BR>> <BR>> Tel: 407-823-9991 x315<BR>> Fax: 407-823-8299<BR>> Email: matt@ecsorl.com<BR>> Web: www.ecsorl.com<BR>> -----------------------------------------------------------------<BR>> <BR>> CONFIDENTIAL NOTICE: The information contained in this electronic<BR>> message is legally privileged, confidential and exempt from<BR>> disclosure<BR>> under applicable law. It is intended only for the use of the<BR>> individual<BR>> or entity named above. If the reader of this message is not the<BR>> intended<BR>> recipient, you are hereby notified that any dissemination,<BR>> distribution<BR>> or copying of this message is strictly prohibited. If you have<BR>> received<BR>> this communication in error, please notify the sender immediately by<BR>> return e-mail and delete the original message and any copies of it<BR>> from<BR>> your computer system. Thank you.<BR>> <BR>> _______________________________________________<BR>> Pacemaker mailing list: Pacemaker@oss.clusterlabs.org<BR>> http://oss.clusterlabs.org/mailman/listinfo/pacemaker<BR>> <BR>> Project Home: http://www.clusterlabs.org<BR>> Getting started:<BR>> http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf<BR>> Bugs: http://bugs.clusterlabs.org<BR>> <BR><BR>_______________________________________________<BR>Pacemaker mailing list: Pacemaker@oss.clusterlabs.org<BR>http://oss.clusterlabs.org/mailman/listinfo/pacemaker<BR><BR>Project Home: http://www.clusterlabs.org<BR>Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf<BR>Bugs: http://bugs.clusterlabs.org<BR><BR></DIV><BR></div></body></html>