<HTML>
<HEAD>
<META content="text/html; charset=utf-8" http-equiv=Content-Type>
<META content="OPENWEBMAIL" name=GENERATOR>
</HEAD>
<BODY bgColor=#ffffff>
Thanks very much Dejan! That's exactly the information I needed!
<br />
<br />
<br /><font size="2">
<br />
<br />Kenneth M 
DeChick

<br />Linux Systems 
Administrator

<br />Community Computer Service, 
Inc.

<br />(315)-255-1751  
ext154

<br />http://www.medent.com

<br />kend@medent.com

<br />Registered Linux User 
#497318

<br />-- -- -- -- -- -- -- -- -- -- 
--
<br />
&quot;You canna change the laws of physics, Captain; I've got to have 
thirty
minutes! 
&quot;
<br />

<br />.
<center><img src="https://www.medent.com/openwebmail/images/defmailsig.jpg" /></center>
<br />
<br /><b>---------- 
Original Message 
-----------</b>
<br />
From: Dejan Muhamedagic &lt;dejanmm@fastmail.fm&gt; 

<br />
To: pacemaker@clusterlabs.org, kend@medent.com 

<br />
Sent: Tue, 19 Jan 2010 18:18:47 +0100 

<br />
Subject: Re: [Pacemaker] Question on resource groups 

<br />

<br />&gt; Hi, 
<br />&gt; 
<br />&gt; 

On Tue, Jan 19, 2010 at 11:38:06AM -0500, Ken Dechick wrote: 
<br />&gt; 

&gt; Hello all, 
<br />&gt; 

&gt;  
<br />&gt; 

&gt; Quick question here today. Please forgive me if this has been 
<br />&gt; 

&gt; answered, I have searched for a couple days and not been able 
<br />&gt; 

&gt; to come up with the answer. I am working on a standard 2 node 
<br />&gt; 

&gt; cluster using DRBD and I have my resources in a group. All in 
<br />&gt; 

&gt; working well, but my question has to do with what happens when 
<br />&gt; 

&gt; there is a problem with an individual service. Consider the 
<br />&gt; 

&gt; following example using heartbeat (3.0.1-1) drbd (8.3.6) and 
<br />&gt; 

&gt; pacemaker (1.0.6): 
<br />&gt; 

&gt;  
<br />&gt; 

&gt; Cluster with one reosurce group which contains these resources in this 
order:  
<br />&gt; 

&gt;     
<br />&gt; 

&gt;    -drbd master/slave 
<br />&gt; 

&gt;    -virtual file system 
<br />&gt; 

&gt;    -openvpn 
<br />&gt; 

&gt;    -samba 
<br />&gt; 

&gt;    -apache webserver 
<br />&gt; 

&gt;    -cupsd 
<br />&gt; 

&gt;  
<br />&gt; 

&gt; Problem I am running into is if there is a problem with openvpn 
<br />&gt; 

&gt; in this example (VPN goes down and keys are missing so it 
<br />&gt; 

&gt; CANNOT restart without intervention), watching the cluster with 
<br />&gt; 

&gt; crm_mon, I see that all the services under openvpn in order 
<br />&gt; 

&gt; (samba,apache, cupsd) will all starta &quot;rolling restart&quot;. In 

<br />&gt; 

&gt; other words, I see openvpn fail, then samba goes down, then 
<br />&gt; 

&gt; apache goes down, then cups goes down. Next cups comes up, 
<br />&gt; 

&gt; apache comes up, samba comes up, then openvpn tries to start 
<br />&gt; 

&gt; but fails so the progress starts over - smba, apache and cups 
<br />&gt; 

&gt; stop then start again. What I end up with is a system where 
<br />&gt; 

&gt; those last 3 services which runs fine alone keep coming up then 
<br />&gt; 

&gt; going down again, over and over. Only way I can change this is 
<br />&gt; 

&gt; to fix the openvpn issue, then things restart and stay 
<br />&gt; 

&gt; restarted. 
<br />&gt; 

&gt;  
<br />&gt; 

&gt; My question is: is this normal (expected) behavior? 
<br />&gt; 
<br />&gt; 

Yes. 
<br />&gt; 
<br />&gt; 

&gt; If so how 
<br />&gt; 

&gt; do I change this? 
<br />&gt; 
<br />&gt; 

Reconfigure. Your group doesn't represent properly the relations 
<br />&gt; 

between resources. I guess that all the four resources depend on 
<br />&gt; 

drbd and filesystem, but not on each other. You can then create 
<br />&gt; 

non-ordered group with those four resources and collocate/order 
<br />&gt; 

that group with the drbd/fs group. 
<br />&gt; 
<br />&gt; 

Thanks, 
<br />&gt; 
<br />&gt; 

Dejan 
<br />&gt; 
<br />&gt; 

&gt; I have tried several on-fail options in the 
<br />&gt; 

&gt; monitors for those services (tried: stop, restart, and block) 
<br />&gt; 

&gt; but this doesn't change the behavior. I would like to just have 
<br />&gt; 

&gt; the one service stop without affecting the others. Do I need to 
<br />&gt; 

&gt; re-think using a resource group?? Any assistance would be 
<br />&gt; 

&gt; greatly appreciated. The pacemaker site has a lot of 
<br />&gt; 

&gt; documentation but it's not the clearest explainations at times. 
<br />&gt; 

&gt;  
<br />&gt; 

&gt; -Thanks 
<br />&gt; 

&gt;  
<br />&gt; 

&gt; Kenneth M DeChick 
<br />&gt; 

&gt; Linux Systems Administrator 
<br />&gt; 

&gt; Community Computer Service, Inc. 
<br />&gt; 

&gt; (315)-255-1751 ext154 
<br />&gt; 

&gt; <a target="_blank" href="http://www.medent.com/">http://www.medent.com</a> 

<br />&gt; 

&gt; kend@medent.com 
<br />&gt; 

&gt; Registered Linux User #497318 
<br />&gt; 

&gt; -- -- -- -- -- -- -- -- -- -- -- 
<br />&gt; 

&gt; &quot;You canna change the laws of physics, Captain; I've got to have 
thirtyminutes! &quot; 
<br />&gt; 

&gt;  
<br />&gt; 

&gt; . 
<br />&gt; 

&gt;   
<br />&gt; 

&gt; This message has been scanned for viruses and dangerous content by 
MailScanner, SpamAssassin &amp;nbsp;&amp;amp; ClamAV. &lt;BR&gt; 
<br />&gt; 

&gt;  &lt;BR&gt; 
<br />&gt; 

&gt; This message and any attachments may contain information that is protected 
by law as privileged and confidential, and is transmitted for the sole use 
&lt;BR&gt; 
<br />&gt; 

&gt; of the intended recipient(s). If you are not the intended recipient, you 
are hereby notified that any use, dissemination, copying or retention of this 
e-mail &lt;BR&gt; 
<br />&gt; 

&gt; or the information contained herein is strictly prohibited. If you received 
this e-mail in error, please immediately notify the sender by e-mail, and 
permanently &lt;BR&gt; 
<br />&gt; 

&gt; delete this e-mail. &lt;BR&gt; 
<br />&gt; 

&gt;  
<br />&gt; 
<br />&gt; 

&gt; _______________________________________________ 
<br />&gt; 

&gt; Pacemaker mailing list 
<br />&gt; 

&gt; Pacemaker@oss.clusterlabs.org 
<br />&gt; 

&gt; <a target="_blank" href="http://oss.clusterlabs.org/mailman/listinfo/pacemaker">http://oss.clusterlabs.org/mailman/listinfo/pacemaker</a> 

<br /><b>------- End of Original Message 
-------</b>
<br />

</font>
</BODY>
</HTML>

This message has been scanned for viruses and dangerous content by MailScanner, SpamAssassin &nbsp;&amp; ClamAV. <BR>
 <BR>
This message and any attachments may contain information that is protected by law as privileged and confidential, and is transmitted for the sole use <BR>
of the intended recipient(s). If you are not the intended recipient, you are hereby notified that any use, dissemination, copying or retention of this e-mail <BR>
or the information contained herein is strictly prohibited. If you received this e-mail in error, please immediately notify the sender by e-mail, and permanently <BR>
delete this e-mail. <BR>