<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Juan Ramon Martin Blanco wrote:
<blockquote
cite="mid:8a5668960902031040n6ee99e61padacd78a1e040c80@mail.gmail.com"
type="cite"><br>
<br>
<div class="gmail_quote">On Tue, Feb 3, 2009 at 7:31 PM, Marcos David
<span dir="ltr"><<a moz-do-not-send="true"
href="mailto:marcos.david@efacec.pt">marcos.david@efacec.pt</a>></span>
wrote:<br>
<blockquote class="gmail_quote"
style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi,<br>
I have a 4 node cluster using RHEL 5.3.<br>
<br>
I have 4 services which I want to spread trough the servers so I can<br>
have some load-balancing.<br>
Each server should run one of the services when they are enabled, but<br>
what is happening is that the services always start on the node from<br>
which I enabled them.<br>
<br>
My configuration is this:<br>
<br>
FailOverDomain1 -> includes node1 only, unrestricted, unordered<br>
FailOverDomain2 -> includes node2 only, unrestricted, unordered<br>
FailOverDomain3 -> includes node3 only, unrestricted, unordered<br>
FailOverDomain4 -> includes node4 only, unrestricted, unordered<br>
</blockquote>
<div>Hi Marcos,<br>
<br>
>From the Red Hat documentation: <br>
<p> A failover domain is a named subset of cluster members that are
eligible to run a cluster service in the event of a system failure. A
failover domain can have the following characteristics:</p>
<ul>
<li>
<p>Unrestricted — Allows you to specify that a subset of members
are preferred, but that a cluster service assigned to this domain can
run on any available member.</p>
</li>
<li>
<p>Restricted — Allows you to restrict the members that can run a
particular cluster service. If none of the members in a restricted
failover domain are available, the cluster service cannot be started
(either manually or by the cluster software).</p>
</li>
<li>
<p>Unordered — When a cluster service is assigned to an unordered
failover domain, the member on which the cluster service runs is chosen
from the available failover domain members with no priority ordering.</p>
</li>
<li>
<p>Ordered — Allows you to specify a preference order among the
members of a failover domain. The member at the top of the list is the
most preferred, followed by the second member in the list, and so on.</p>
</li>
</ul>
<p>By default, failover domains are unrestricted and unordered.</p>
<p><br>
</p>
<p>Configure them as restricted</p>
<p><br>
</p>
<p>Greetings,</p>
<p>Juanra<br>
</p>
</div>
<blockquote class="gmail_quote"
style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>
<br>
service1 is allocated to FailOverDomain1<br>
service2 is allocated to FailOverDomain2<br>
service3 is allocated to FailOverDomain3<br>
service4 is allocated to FailOverDomain4<br>
<br>
when I execute:<br>
clusvcadm -e service1<br>
clusvcadm -e service2<br>
clusvcadm -e service3<br>
clusvcadm -e service4<br>
<br>
all the services start on the same node (the one where I executed the<br>
above commands)<br>
<br>
Shouldn't they start on the node in their respective failover domain?<br>
Am I doing something wrong?<br>
<br>
Thanks for the help.<br>
<font color="#888888"><br>
<br>
<br>
<br>
--<br>
Linux-cluster mailing list<br>
<a moz-do-not-send="true" href="mailto:Linux-cluster@redhat.com">Linux-cluster@redhat.com</a><br>
<a moz-do-not-send="true"
href="https://www.redhat.com/mailman/listinfo/linux-cluster"
target="_blank">https://www.redhat.com/mailman/listinfo/linux-cluster</a><br>
</font></blockquote>
</div>
<br>
<pre wrap="">
<hr size="4" width="90%">
--
Linux-cluster mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Linux-cluster@redhat.com">Linux-cluster@redhat.com</a>
<a class="moz-txt-link-freetext" href="https://www.redhat.com/mailman/listinfo/linux-cluster">https://www.redhat.com/mailman/listinfo/linux-cluster</a></pre>
</blockquote>
Hi,<br>
I based my configuration on the redhat documention:<br>
<br>
<h5 id="head-22e3273a63b2604d546a32fbf2e8245959fa6d3d">Preferred node
or preferred member:</h5>
<span class="anchor" id="line-350"></span>This is a notion which is no
longer present in rgmanager. In older versions, the preferred <span
class="anchor" id="line-351"></span>node was the member designated to
run a given service if the member is online. <span class="anchor"
id="line-352"></span>In most cases, it was used with the "Relocate on
Preferred Node Boot" service option <span class="anchor" id="line-353"></span>(as
it was generally thought to be useless without!). <b>In newer
rgmanagers, we <span class="anchor" id="line-354"></span>can emulate
this behavior by specifying an unordered, unrestricted failover domain <span
class="anchor" id="line-355"></span>of exactly one member.</b> There
is no equivalent to the "Relocate on Preferred Node <span
class="anchor" id="line-356"></span>Boot" option in Cluster Manager
1.0.x. <br>
<br>
So it was supposed to work.<br>
Or is the restricted option necessary in my case?<br>
<br>
Greetings,<br>
Marcos David<br>
<br>
<br>
</body>
</html>