[prev in list] [next in list] [prev in thread] [next in thread] 

List:       forgerock-openidm
Subject:    Re: [OpenIDM] How OpenIDM 3.0 clustering works ????????
From:       Andreas Egloff <andi.egloff () forgerock ! com>
Date:       2015-03-23 15:09:05
Message-ID: CALto_tw=z7pbCnTPhYEYmS3q0rSbKnfBYaXQ=1F-TM0QJh-g3A () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


"and appropriate" should read "and any appropriate" node. Appropriate is
defined by what you want each node to be responsible for handling.

On Mon, Mar 23, 2015 at 4:07 PM, Andreas Egloff <andi.egloff@forgerock.com>
wrote:

> There is no "primary" node in OpenIDM, clustering is deliberately
> homogenous and appropriate node can be load balanced to.
>
> The setting you are referencing is related to file based configuration an=
d
> installation.
>
> On Mon, Mar 23, 2015 at 2:51 PM, Nitin G. Prabhu <Nitin.Prabhu@mastek.com=
>
> wrote:
>
>>  To add to below  if I have say two instances of openidm in a cluster
>> should I always call the primary(one configured as clustered-first) and =
if
>> it is down will it automatically redirect to other running instance?
>>
>>
>>
>> Do I need a load balancer in cluster configuration of openidm
>>
>>
>>
>> Regards,
>>
>> Nitin
>>
>>
>>
>> *From:* openidm-bounces@forgerock.org [mailto:
>> openidm-bounces@forgerock.org] *On Behalf Of *Nitin G. Prabhu
>> *Sent:* 23 March 2015 13:10
>> *To:* 'openidm@forgerock.org'
>> *Subject:* [OpenIDM] How OpenIDM 3.0 clustering works ????????
>>
>>
>>
>> Hi,
>>
>>
>>
>> I am using OpenIDM with cluster configuration enabled but I wanted to
>> know how this clustering is useful for our scenario described below
>>
>>
>>
>> =C2=B7         We have two REST based services and it is invoking openid=
m via
>> load balancer
>>
>> =C2=B7         We have two openidm instances and single postgres instanc=
e for
>> openidm internal repository
>>
>> =C2=B7         We are not using any managed object in between
>>
>> =C2=B7         We are using Openidm REST to create,update,delete,patch
>> directory objects which is opendj
>>
>>
>>
>>
>>
>> Now the thing is OpenIDM is invoked via the load balancer so if we have
>> two instances running and say one goes down then load balancer forwards
>> request only to active openidm instance running.
>>
>>
>>
>> My question are we using openidm clustering the right way and is the
>> purpose of clustering met in our case ?
>>
>>
>>
>> Regards,
>>
>> Nitin
>>
>>
>>
>> MASTEK LTD.
>> In the US, we're called MAJESCOMASTEK
>>
>>
>> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~=
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>> Opinions expressed in this e-mail are those of the individual and not
>> that of Mastek Limited, unless specifically indicated to that effect.
>> Mastek Limited does not accept any responsibility or liability for it. T=
his
>> e-mail and attachments (if any) transmitted with it are confidential and=
/or
>> privileged and solely for the use of the intended person or entity to wh=
ich
>> it is addressed. Any review, re-transmission, dissemination or other use=
 of
>> or taking of any action in reliance upon this information by persons or
>> entities other than the intended recipient is prohibited. This e-mail an=
d
>> its attachments have been scanned for the presence of computer viruses. =
It
>> is the responsibility of the recipient to run the virus check on e-mails
>> and attachments before opening them. If you have received this e-mail in
>> error, kindly delete this e-mail from desktop and server.
>>
>> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~=
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>>
>>
>>
>>
>> MASTEK LTD.
>> In the US, we're called MAJESCOMASTEK
>>
>>
>> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~=
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>> Opinions expressed in this e-mail are those of the individual and not
>> that of Mastek Limited, unless specifically indicated to that effect.
>> Mastek Limited does not accept any responsibility or liability for it. T=
his
>> e-mail and attachments (if any) transmitted with it are confidential and=
/or
>> privileged and solely for the use of the intended person or entity to wh=
ich
>> it is addressed. Any review, re-transmission, dissemination or other use=
 of
>> or taking of any action in reliance upon this information by persons or
>> entities other than the intended recipient is prohibited. This e-mail an=
d
>> its attachments have been scanned for the presence of computer viruses. =
It
>> is the responsibility of the recipient to run the virus check on e-mails
>> and attachments before opening them. If you have received this e-mail in
>> error, kindly delete this e-mail from desktop and server.
>>
>> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~=
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>>
>> _______________________________________________
>> OpenIDM mailing list
>> OpenIDM@forgerock.org
>> https://lists.forgerock.org/mailman/listinfo/openidm
>>
>>
>

[Attachment #5 (text/html)]

<div dir="ltr">&quot;and appropriate&quot; should read &quot;and any \
appropriate&quot; node. Appropriate is defined by what you want each node to be \
responsible for handling.</div><div class="gmail_extra"><br><div \
class="gmail_quote">On Mon, Mar 23, 2015 at 4:07 PM, Andreas Egloff <span \
dir="ltr">&lt;<a href="mailto:andi.egloff@forgerock.com" \
target="_blank">andi.egloff@forgerock.com</a>&gt;</span> wrote:<br><blockquote \
class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex"><div dir="ltr">There is no &quot;primary&quot; node in \
OpenIDM, clustering is deliberately homogenous and appropriate node can be load \
balanced to.<div><br></div><div>The setting you are referencing is related to file \
based configuration and installation.  </div></div><div class="gmail_extra"><br><div \
class="gmail_quote"><div><div class="h5">On Mon, Mar 23, 2015 at 2:51 PM, Nitin G. \
Prabhu <span dir="ltr">&lt;<a href="mailto:Nitin.Prabhu@mastek.com" \
target="_blank">Nitin.Prabhu@mastek.com</a>&gt;</span> \
wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 \
.8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5">





<div lang="EN-GB" link="blue" vlink="purple">
<div>
<p class="MsoNormal"><span style="color:#1f497d">To add to below   if I have say two \
instances of openidm in a cluster should I always call the primary(one configured as \
clustered-first) and if it is down will it automatically redirect to other running \
instance?<u></u><u></u></span></p> <p class="MsoNormal"><span \
style="color:#1f497d"><u></u>  <u></u></span></p> <p class="MsoNormal"><span \
style="color:#1f497d">Do I need a load balancer in cluster configuration of \
openidm<u></u><u></u></span></p> <p class="MsoNormal"><span \
style="color:#1f497d"><u></u>  <u></u></span></p> <p class="MsoNormal"><span \
style="color:#1f497d">Regards,<u></u><u></u></span></p> <p class="MsoNormal"><span \
style="color:#1f497d">Nitin<u></u><u></u></span></p> <p class="MsoNormal"><span \
style="color:#1f497d"><u></u>  <u></u></span></p> <div>
<div style="border:none;border-top:solid #b5c4df 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span lang="EN-US" \
style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;">From:</span></b><span \
lang="EN-US" style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;"> \
<a href="mailto:openidm-bounces@forgerock.org" \
target="_blank">openidm-bounces@forgerock.org</a>  [mailto:<a \
href="mailto:openidm-bounces@forgerock.org" \
target="_blank">openidm-bounces@forgerock.org</a>] <b>On Behalf Of </b>Nitin G. \
Prabhu<br> <b>Sent:</b> 23 March 2015 13:10<br>
<b>To:</b> &#39;<a href="mailto:openidm@forgerock.org" \
target="_blank">openidm@forgerock.org</a>&#39;<br> <b>Subject:</b> [OpenIDM] How \
OpenIDM 3.0 clustering works ????????<u></u><u></u></span></p> </div>
</div><div><div>
<p class="MsoNormal"><u></u>  <u></u></p>
<p class="MsoNormal">Hi,<u></u><u></u></p>
<p class="MsoNormal"><u></u>  <u></u></p>
<p class="MsoNormal">I am using OpenIDM with cluster configuration enabled but I \
wanted to know how this clustering is useful for our scenario described \
below<u></u><u></u></p> <p class="MsoNormal"><u></u>  <u></u></p>
<p><u></u><span style="font-family:Symbol"><span> ·<span style="font:7.0pt \
&quot;Times New Roman&quot;">                 </span></span></span><u></u>We have two \
REST based services and it is invoking openidm via load balancer<u></u><u></u></p> \
<p><u></u><span style="font-family:Symbol"><span> ·<span style="font:7.0pt \
&quot;Times New Roman&quot;">                 </span></span></span><u></u>We have two \
openidm instances and single postgres instance for openidm internal \
repository<u></u><u></u></p> <p><u></u><span style="font-family:Symbol"><span> ·<span \
style="font:7.0pt &quot;Times New Roman&quot;">                 \
</span></span></span><u></u>We are not using any managed object in \
between<u></u><u></u></p> <p><u></u><span style="font-family:Symbol"><span> ·<span \
style="font:7.0pt &quot;Times New Roman&quot;">                 \
</span></span></span><u></u>We are using Openidm REST to create,update,delete,patch \
directory objects which is opendj<u></u><u></u></p> <p class="MsoNormal"><u></u>  \
<u></u></p> <p class="MsoNormal"><u></u>  <u></u></p>
<p class="MsoNormal">Now the thing is OpenIDM is invoked via the load balancer so if \
we have two instances running and say one goes down then load balancer forwards \
request only to active openidm instance running.<u></u><u></u></p> <p \
class="MsoNormal"><u></u>  <u></u></p> <p class="MsoNormal">My question are we using \
openidm clustering the right way and is the purpose of clustering met in our case \
?<u></u><u></u></p> <p class="MsoNormal"><u></u>  <u></u></p>
<p class="MsoNormal">Regards,<u></u><u></u></p>
<p class="MsoNormal">Nitin<u></u><u></u></p>
<p class="MsoNormal" style="margin-bottom:12.0pt"><span \
style="font-size:12.0pt;font-family:&quot;Times New \
Roman&quot;,&quot;serif&quot;"><u></u>  <u></u></span></p> <table border="0" \
cellpadding="0" style="background:white"> <tbody>
<tr>
<td style="padding:.75pt .75pt .75pt .75pt">
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:&quot;Times New \
Roman&quot;,&quot;serif&quot;;color:black">MASTEK LTD.<br> In the US, we&#39;re \
called MAJESCOMASTEK<br> <br>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br>
 Opinions expressed in this e-mail are those of the individual and not that of Mastek \
Limited, unless specifically indicated to that effect. Mastek Limited does not accept \
any responsibility or liability for it. This e-mail and attachments (if any) \
transmitted  with it are confidential and/or privileged and solely for the use of the \
intended person or entity to which it is addressed. Any review, re-transmission, \
dissemination or other use of or taking of any action in reliance upon this \
information by persons or  entities other than the intended recipient is prohibited. \
This e-mail and its attachments have been scanned for the presence of computer \
viruses. It is the responsibility of the recipient to run the virus check on e-mails \
and attachments before opening them.  If you have received this e-mail in error, \
kindly delete this e-mail from desktop and server.<br> \
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<u></u><u></u></span></p>
 </td>
</tr>
</tbody>
</table>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:&quot;Times New \
Roman&quot;,&quot;serif&quot;"><u></u>  <u></u></span></p> \
</div></div></div><div><div> <br><br><table bgcolor="white" \
style="color:black"><tbody><tr><td>MASTEK LTD.<br> In the US, we&#39;re called \
MAJESCOMASTEK<br> <br>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br>
 Opinions expressed in this e-mail are those of the individual and not that of Mastek \
Limited, unless specifically indicated to that effect. Mastek Limited does not accept \
any responsibility or liability for it. This e-mail and attachments (if any) \
transmitted with it are confidential and/or privileged and solely for the use of the \
intended person or entity to which it is addressed. Any review, re-transmission, \
dissemination or other use of or taking of any action in reliance upon this \
information by persons or entities other than the intended recipient is prohibited. \
This e-mail and its attachments have been scanned for the presence of computer \
viruses. It is the responsibility of the recipient to run the virus check on e-mails \
and attachments before opening them. If you have received this e-mail in error, \
kindly delete this e-mail from desktop and server.<br> \
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br>
 </td></tr></tbody></table></div></div></div>

<br></div></div><span class="">_______________________________________________<br>
OpenIDM mailing list<br>
<a href="mailto:OpenIDM@forgerock.org" target="_blank">OpenIDM@forgerock.org</a><br>
<a href="https://lists.forgerock.org/mailman/listinfo/openidm" \
target="_blank">https://lists.forgerock.org/mailman/listinfo/openidm</a><br> \
<br></span></blockquote></div><br></div> </blockquote></div><br></div>



_______________________________________________
OpenIDM mailing list
OpenIDM@forgerock.org
https://lists.forgerock.org/mailman/listinfo/openidm


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic