Hi:

thank you for your reply.

I have done the part of isolating the management node from other
worker/slave nodes. In my case, the master/management node behaves as a
controller, meaning that it does not share any of the configurations with
worker nodes and has very minimal components installed.

I wanted to control the behavior or config settings of other nodes, which I
am able to do with the combination of Jolokia endpoint and my custom mbeans.

My problem basically lies while getting the list of cluster nodes. For
example:

when I query the list of nodes from the cluster, for every node, I get the
following information:
id, hostname, port, alias(by default empty).
I was able to make use of the alias field by manually setting its value to
the jolokia endpoint of that particular node. But, I have to do this
manually. I was trying to avoid this manual step because every time I
restart my karaf instance, this goes away.

Thus, my question is, based on the currently available information from a
Node (id/hostname,port,ip), would I be able to retrieve the contents of a
config file on that node? And more importantly, these config files that I am
talking about are unique per instance, which means I cannot sync it in
cluster. For instance, `etc/org.ops4j.pax.web.cfg` contains the port number
of Jetty. And it has to be different for every instance, to avoid port
collision.

To summarize this, I was interested to see if it is possible to have
node-to-node communication (which looks more of a hazelcast question) in
cellar.

Regards,
Cooshal.



--
Sent from: http://karaf.922171.n3.nabble.com/Karaf-User-f930749.html

Reply via email to