Skip to main content



      Home
Home » Archived » Gyrex » Gyrex node failed to be listed in cluster environment
Gyrex node failed to be listed in cluster environment [message #976874] Thu, 08 November 2012 17:53 Go to next message
Eclipse UserFriend
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 Go to previous message
Eclipse UserFriend
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/
Previous Topic:How to use gyrex-1.2M1-repo.zip
Next Topic:@Consumes & @Produces
Goto Forum:
  


Current Time: Wed Jul 23 14:24:16 EDT 2025

Powered by FUDForum. Page generated in 0.03259 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top