<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">On 15/09/15 14:22, H Yavari wrote:<br>
</div>
<blockquote
cite="mid:2116966465.385982.1442323357717.JavaMail.yahoo@mail.yahoo.com"
type="cite">
<div style="color:#000; background-color:#fff; font-family:Arabic
Transparent, Arial;font-size:13px">
<div id="yui_3_16_0_1_1442321975110_3165">Hi,</div>
<div id="yui_3_16_0_1_1442321975110_3262"><br>
</div>
<div dir="ltr" id="yui_3_16_0_1_1442321975110_3299">I'm newbie
to pacemaker. So I don't know about all features.</div>
<div id="yui_3_16_0_1_1442321975110_3529" dir="ltr">My question
: I have 4 servers, 2 servers are appY(active and standby) and
2 servers are appZ (active and standby).</div>
<div id="yui_3_16_0_1_1442321975110_3414" dir="ltr"><br>
</div>
<div id="yui_3_16_0_1_1442321975110_3413" dir="ltr">I want
implement HA with Pacemaker, So I can do this for AppY and
AppZ now (with following the tutorials). But my issue is that
my servers must be pair. I mean :</div>
<div id="yui_3_16_0_1_1442321975110_3528" dir="ltr">Pair#1 :AppY
(active) + AppZ(active)</div>
<div id="yui_3_16_0_1_1442321975110_3527" dir="ltr"> and</div>
<div id="yui_3_16_0_1_1442321975110_3526" dir="ltr">Pair#2
:AppY(standby) + AppZ(standby)</div>
<div id="yui_3_16_0_1_1442321975110_3525" dir="ltr">So when any
servers in pair#1 is failed, other pair goes active.</div>
<div id="yui_3_16_0_1_1442321975110_3499" dir="ltr"><br>
</div>
<div id="yui_3_16_0_1_1442321975110_3500" dir="ltr">it is
possible ? How can I achieve this with configurations?</div>
<div id="yui_3_16_0_1_1442321975110_3530" dir="ltr"><br>
</div>
<div id="yui_3_16_0_1_1442321975110_3531" dir="ltr">Thanks.</div>
<div id="yui_3_16_0_1_1442321975110_3532" dir="ltr"><br>
</div>
<div id="yui_3_16_0_1_1442321975110_3533" dir="ltr">Regards,</div>
<div id="yui_3_16_0_1_1442321975110_3534" dir="ltr">H.Yavari<br>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
</blockquote>
<br>
You can use 'location constraints' within Pacemaker to define
preferred nodes for resources' (applications in your case) to run,
and also to define which nodes a resource cannot run on. So, yes you
can do what you want.<br>
<br>
<br>
</body>
</html>