Skip to main content



      Home
Home » Archived » Gyrex » http service in gyrex cluster
http service in gyrex cluster [message #1716512] Fri, 04 December 2015 08:22 Go to next message
Eclipse UserFriend
Finally, I decide to move standalone to cluster in production environment, it is more stable than standalone application.

I have done a simple test for cluster environment before deploying to production. There are two gyrex servers A (192.168.31.151) and B (192.168.31.156), and I have setup the http connectors on port 8080, and then set the tags for these two servers. A has three tags (webserver, scheduler, worker), and B has only one tag (webserver).

Then I try to access the web service through following two urls:

http://192.168.31.151:8080/service/xxx/yyy/zzz
http://192.168.31.156:8080/service/xxx/yyy/zzz

But, the first one cannot access with err connection refused, while the second one can access successfully.

Is there any mistake with my configuration?

Thanks
Re: http service in gyrex cluster [message #1716528 is a reply to message #1716512] Fri, 04 December 2015 10:21 Go to previous messageGo to next message
Eclipse UserFriend
Hi Sean,

On 2015-12-04 13:22:53 +0000, Sean Zhang said:
> Then I try to access the web service through following two urls:
>
> http://192.168.31.151:8080/service/xxx/yyy/zzz
> http://192.168.31.156:8080/service/xxx/yyy/zzz

What's the mount url?
Are you running a ZooKeeper cluster or using one of the Gyrex nodes as
ZooKeeper?
Is the error still the same after restarting the Gyrex node?

-Gunnar


--
Gunnar Wagenknecht
gunnar@xxxxxxxx
Re: http service in gyrex cluster [message #1716577 is a reply to message #1716528] Sat, 05 December 2015 05:25 Go to previous messageGo to next message
Eclipse UserFriend
Hi Gunnar,

I'm running a seperate zookeeper cluster.
Yeah, after restarting the gyrex node, everything is ok now.
Then, I reset everything and want to re-produce the problem, and then found that after setup the http service, the nodes need to be restarted.

Thank you.
Re: http service in gyrex cluster [message #1719261 is a reply to message #1716577] Wed, 06 January 2016 11:21 Go to previous message
Eclipse UserFriend
On 2015-12-05 10:25:52 +0000, Sean Zhang said:

> Then, I reset everything and want to re-produce the problem, and then
> found that after setup the http service, the nodes need to be restarted.

That's probably a lack of dynamics in the implementation. It's not
intended to be that way. Sometimes we just haven't had the time to
finish/polish all the dynamics. In such a case, a node restart helps.

-Gunnar


--
Gunnar Wagenknecht
gunnar@xxxxxxxx
Previous Topic:WHY ZOOKEEPER GATE IS DOWN
Next Topic:Trying to run integration tests
Goto Forum:
  


Current Time: Mon May 05 18:23:01 EDT 2025

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

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

Back to the top