Gyrex node failed to be listed in cluster environment [message #976874] |
Thu, 08 November 2012 17:53  |
Eclipse User |
|
|
|
Hi,
I'm just a newbie in the use of gyrex.
After I unzipped gyrex into 2 machines, and started them one by one.
In node 1, I just use command under OSGi console:
osgi> cloud ls
sean-t60_c1d14afd - <unnamed> @ sean-t60 [approved, online]
It can't list another nodes information.
How to enable the list of another node, so it can approve it and enable it to be online.
The wiki/document doesn't address this usage very clear.
My purpose is very simple.
1. start gyrex in 2 machines.
2. enable them to be a cluster. In one gyrex node, make the other node online in the cloud.
|
|
|
Re: Gyrex node failed to be listed in cluster environment [message #977843 is a reply to message #976874] |
Fri, 09 November 2012 11:19  |
Eclipse User |
|
|
|
Hi!
Am 08.11.2012 23:53, schrieb Sean He:
> How to enable the list of another node, so it can approve it and enable it to be online.
There are two possibilites. One using the Admin UI and another one using
the console.
Using the console it would be the following:
Assume you have two nodes:
Node A (IP 1.2.3.4, hostname "a")
Node B (IP 1.2.3.5, hostname "b")
We'll use Node A as the "master" server in this case.
On Node B:
osgi> cloud setConnectString 1.2.3.4
Then on Node A:
osgi> cloud ls pending
osgi> cloud approveNode NodeB-ID
-Gunnar
--
Gunnar Wagenknecht
gunnar@xxxxxxxx
http://wagenknecht.org/
|
|
|
Powered by
FUDForum. Page generated in 0.04558 seconds