<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>On 6 May 2009, at 11:14, Adrian Cole wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">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'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?</blockquote><div><br></div><div>I tend to agree with Adrian, although if an individual node were to be 'bounced' for whatever reason, naming as far as management is concerned could be something statically configured. E.g., we could introduce a configuration element for node name, such that the management console would see information scoped on a few things:</div><div><br></div><div>+ app-1-cluster</div><div> + data-cache</div><div> + node1</div><div> + node2</div><div> + node3</div><div> + some-other-cache</div><div> + node1</div><div> + node2</div><div> + node3</div><div>+ app-2-cluster</div><div>- etc - </div><div><br></div><div>Current configuration allows you to specify cache name and cluster name. Node name could be added. E.g.:</div><div><br></div><div><global></div><div> <transport clusterName="app-1-cluster" nodeName="node1"></div><div> </transport></div><div></global></div><div><cache name="data-cache"></div><div> .... </div><div></cache></div><div><br></div><div>If nodeName is not specified then network address is used. These details could then be exposed via JMX for collection by the JOPR agent.</div><div><br></div><div>So assuming that solves the naming problem, I still think the main problem is discovery.</div><div><br></div><div>So it makes sense that the console talks to agents, and agents talk to the process being run locally, which is fine. But how does the console find agents? :-) Or is the console's location statically configured on each agent so the agent reports its location on startup? This makes sense to me... </div><br><blockquote type="cite"><br><br>-Adrian<br><br><div class="gmail_quote">On Wed, May 6, 2009 at 11:11 AM, Heiko W. Rupp <span dir="ltr"><<a href="mailto:hwr@redhat.com">hwr@redhat.com</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;">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.</blockquote></div></blockquote><br><blockquote type="cite"><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><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> _______________________________________________<br>infinispan-dev mailing list<br><a href="mailto:infinispan-dev@lists.jboss.org">infinispan-dev@lists.jboss.org</a><br>https://lists.jboss.org/mailman/listinfo/infinispan-dev</blockquote></div><br><div apple-content-edited="true"> <span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>--</div><div>Manik Surtani</div><div><a href="mailto:manik@jboss.org">manik@jboss.org</a></div><div>Lead, Infinispan</div><div>Lead, JBoss Cache</div><div><a href="http://www.infinispan.org">http://www.infinispan.org</a></div><div><a href="http://www.jbosscache.org">http://www.jbosscache.org</a></div><div><br></div></div></span><br class="Apple-interchange-newline"></div></span><br class="Apple-interchange-newline"> </div><br></body></html>