Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    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 22:53 Go to next message
Sean He is currently offline Sean HeFriend
Messages: 2
Registered: November 2012
Junior Member
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 16:19 Go to previous message
Gunnar Wagenknecht is currently offline Gunnar WagenknechtFriend
Messages: 486
Registered: July 2009
Location: San Francisco ✈ Germany
Senior Member

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: Tue Mar 19 10:21:05 GMT 2024

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

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

Back to the top