<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Take a look at the config here, it does what you need, you
probably have to adapt to your specific setup.<br>
<br>
<a
href="http://oss.clusterlabs.org/pipermail/pacemaker/2010-November/008334.html">http://oss.clusterlabs.org/pipermail/pacemaker/2010-November/008334.html</a><br>
<br>
Regards,<br>
Dan<br>
<br>
Robinson, Eric wrote:
<blockquote
cite="mid:768FEA3F936926468F594E3CA7741FE80288B15B@ipa-vault.nvipa.com"
type="cite">
<blockquote type="cite">
<blockquote type="cite">
<pre wrap="">Is it possible to deploy a 3-node CRM-based cluster where:
        -- nodes A and C share resource R1 on /dev/drbd0
        -- nodes B and C share resource R2 on /dev/drbd1
        -- resource constraints prevent R1 from running on node B and
</pre>
</blockquote>
</blockquote>
<pre wrap=""><!---->prevent
</pre>
<blockquote type="cite">
<blockquote type="cite">
<pre wrap="">resource R2 from running on node A?
</pre>
</blockquote>
</blockquote>
<pre wrap=""><!---->
</pre>
<blockquote type="cite">
<pre wrap="">I don't think I understand what you're trying to do.
Please elaborate.
</pre>
</blockquote>
<pre wrap=""><!---->
</pre>
<blockquote type="cite">
<pre wrap="">Why would you need to prevent R1 from "running" on
Host B if the resource is shared between A and C?
B is not at all configured to connect to R1, is it?
</pre>
</blockquote>
<pre wrap=""><!---->
It's a three-node CRM cluster where node C acts as a failover for nodes
A and B, but nodes A and B do not fail over to each other. However, in a
three-node CRM cluster, all resources are allowed to run on all nodes by
default. For example, even though resource R1 only physically exists on
nodes A and C, if node A fails Pacemaker might try to start it on node B
if we don't put in some kind of constraints. You follow?
--
Eric Robinson
Disclaimer - November 16, 2010
This email and any files transmitted with it are confidential and intended solely for <a class="moz-txt-link-abbreviated" href="mailto:drbd-user@lists.linbit.com">drbd-user@lists.linbit.com</a>. If you are not the named addressee you should not disseminate, distribute, copy or alter this email. Any views or opinions presented in this email are solely those of the author and might not represent those of Physicians' Managed Care or Physician Select Management. Warning: Although Physicians' Managed Care or Physician Select Management has taken reasonable precautions to ensure no viruses are present in this email, the company cannot accept responsibility for any loss or damage arising from the use of this email or attachments.
This disclaimer was added by Policy Patrol: <a class="moz-txt-link-freetext" href="http://www.policypatrol.com/">http://www.policypatrol.com/</a>
_______________________________________________
drbd-user mailing list
<a class="moz-txt-link-abbreviated" href="mailto:drbd-user@lists.linbit.com">drbd-user@lists.linbit.com</a>
<a class="moz-txt-link-freetext" href="http://lists.linbit.com/mailman/listinfo/drbd-user">http://lists.linbit.com/mailman/listinfo/drbd-user</a>
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Dan FRINCU
Systems Engineer
CCNA, RHCE
Streamwide Romania
</pre>
</body>
</html>