<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'>TOTALLY!!! Woo-Hoo! &nbsp;You're the best, Digimer. I appreciate (all of) your constant patience with us newbies. This is one of the few open source communities that is truly inviting and accepting to help promote the use of excellent product and support.<br><br>Kudos to all!!<br><div><span name="x"></span><div><div><div><div><div><div><div><div><div><div style="color: rgb(0, 0, 0); font-weight: bold; "><span class="Apple-style-span"><br></span></div><div style="color: rgb(0, 0, 0); font-weight: bold; "><span class="Apple-style-span"><br></span></div><div><span class="Apple-style-span" style="font-weight: bold; "></span><span class="Apple-style-span" style="color: rgb(0, 0, 0); font-weight: bold; ">Bruce M. Wolfe, M.S.W., CIO<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><span style="color: rgb(0, 0, 0); font-weight: bold; "><br></span><img src="http://alcoholjustice.org/images/stories/logo/aj-logo-for-web-byline-50pct.jpg"><br><div style="color: rgb(0, 0, 0); text-align: left; ">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 24 Belvedere St.<br>&nbsp;&nbsp;&nbsp; San Rafael, CA 94901 &nbsp;<br><span class="gc-cs-link" title="Call with Google Voice">415/456.5692</span><span style="font-size: 12pt; ">&nbsp;</span><span style="font-size: 12pt; ">&nbsp;(Main Office)</span></div><div style="text-align: left; "><span class="gc-cs-link" title="Call with Google Voice" style="color: rgb(0, 0, 0); ">415/257.2493</span><span style="font-size: 12pt; ">&nbsp;</span><span style="font-size: 12pt; ">&nbsp;(Direct)</span></div><div style="text-align: left; "><span class="gc-cs-link" title="Call with Google Voice" style="color: rgb(0, 0, 0); ">415/456.0491</span>&nbsp;&nbsp;(Fax)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; KI6BSL &nbsp;(HAM)</div></div></div></div></div></div></div></div></div></div></div><span name="x"></span><br><br>

"Most of the change we think we see in life is due to truths being in and out of favor." - Robert Frost</div><hr id="zwchr"><blockquote style="border-left:2px solid rgb(16, 16, 255);margin-left:5px;padding-left:5px;">On 08/16/2012 07:38 PM, Bruce Wolfe, M.S.W., CIO wrote:<br>&gt; Thanks, Digimer, and greetings again.<br>&gt; <br>&gt; The configuration is:<br>&gt; Failover of primary to secondary.<br>&gt; Two nodes: one primary, one secondary in, as you say, a RAID 1<br>&gt; configuration.<br>&gt; <br>&gt; So, all three get used? In our current configuration, we are only using<br>&gt; DRBD and Heartbeat.<br><br>To get automatic recovery after failure, yes, you need all three.<br><br>DRBD simply replicates raw data. That's it, nothing more. Promoting a<br>secondary node to primary requires external actions, be it by the user<br>or via another program.<br><br>Heartbeat is deprecated and has no future. Anyone using it should be<br>making near-term plans to get off of it. So let's take the right off the<br>table.<br><br>Corosync is a stand alone tool that handles cluster membership and<br>message passing. It doesn't care what other programs do or how they use<br>it's message passing capabilities. It is merely a communications tool.<br>Specifically; It decided who can send and receive messages amoungst a<br>group of machines. In our case, we want this so that pacemaker can<br>coordinate actions.<br><br>Pacemaker is a cluster resource manager. That is, it reacts to changes<br>in cluster membership and, based on defined policies, decides to stop,<br>start, migrate or otherwise act on services. It doesn't care *how*<br>machines in the cluster come and go, only that they do.<br><br>So in your use case, you would setup DRBD to replicate data. Next, you<br>would configure corosync to say "these two nodes are members of cluster<br>X". Then you tell Pacemaker; "When both nodes are available, make node<br>1's DRBD the primary and make node 2 secondary. However, if not 1 dies,<br>promote node 2 to primary. When node 1 returns, demote node 2 and<br>promote noed 1."<br><br>Make sense?<br><br>-- <br>Digimer<br>Papers and Projects: https://alteeve.com<br></blockquote><br></div></body></html>