This is interesting.  What is important, afterall?  In the case of a grid, it is more like a quorum that allows operations to continue without data loss.  I&#39;m not sure if individual instances matter as complete sets of EC2s could go up or down and there still be no effect on cluster as a whole.  <br>
<br>Would it not be the cache instances, or jgroups configuration that are the most important managed resource in this case?<br><br>-Adrian<br><br><div class="gmail_quote">On Wed, May 6, 2009 at 11:11 AM, Heiko W. Rupp <span dir="ltr">&lt;<a href="mailto:hwr@redhat.com">hwr@redhat.com</a>&gt;</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;">Manik Surtani schrieb:<div class="im"><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Is there a way to use JGroups for discovery?  If the console was running <br>
</blockquote>
<br></div>
Yes of course.<div class="im"><br>
<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
in the same VM as any of the cache instances, it could delegate discovery to the cache, which could expose a set of addresses.<br>
</blockquote>
<br></div>
The console (be it Jopr or Embedded Jopr) never connects to a managed<br>
resource itself, but the agent-plugin does this. So you could e.g. have<br>
an agent running within EC2 that has the Infinispan plugin, which talks to<br>
all the cache nodes and the server UI would run in the enterprise and would<br>
talk to that agent.<br>
<br>
The most difficult part would be to get the naming of the individual IS instances<br>
on the various hosts right (*) - especially when only one agent is managing multiple<br>
instances.<br>
<br>
(*) The name of a resource must not change on the next discovery run. That is<br>
why for example the process id is not allowed, as a process restart would find a<br>
different resource and the existing one would be marked as down.<div><div></div><div class="h5"><br>
<br>
  Heiko<br>
_______________________________________________<br>
infinispan-dev mailing list<br>
<a href="mailto:infinispan-dev@lists.jboss.org" target="_blank">infinispan-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/infinispan-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/infinispan-dev</a><br>
</div></div></blockquote></div><br>