<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! 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> </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; "> 24 Belvedere St.<br> San Rafael, CA 94901 <br><span class="gc-cs-link" title="Call with Google Voice">415/456.5692</span><span style="font-size: 12pt; "> </span><span style="font-size: 12pt; "> (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; "> </span><span style="font-size: 12pt; "> (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> (Fax)<br> KI6BSL (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>> Thanks, Digimer, and greetings again.<br>> <br>> The configuration is:<br>> Failover of primary to secondary.<br>> Two nodes: one primary, one secondary in, as you say, a RAID 1<br>> configuration.<br>> <br>> So, all three get used? In our current configuration, we are only using<br>> 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>