Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Gyrex » How to setup the configuration in program?(Setup web application, Setup Jobs)
How to setup the configuration in program? [message #1712209] Thu, 22 October 2015 04:34 Go to next message
Sean Zhang is currently offline Sean ZhangFriend
Messages: 20
Registered: July 2015
Location: China
Junior Member

Hi,
Generally, after publishing the bundles to the server first time, there are several configurations need to be done for business requirement. Such as, set up the http service for providing the access by HTTP protocol (provider, context, mounts, etc...), set up the job schedulers & entries for job auto execution. But I don't want to setup manually when deploying to a new server, and I want to do these things in a separate bundle, programmable. Can anyone show me the code examples.

Thanks


Study every day, and love every day!
Re: How to setup the configuration in program? [message #1712394 is a reply to message #1712209] Fri, 23 October 2015 15:08 Go to previous message
Gunnar Wagenknecht is currently offline Gunnar WagenknechtFriend
Messages: 486
Registered: July 2009
Location: San Francisco ✈ Germany
Senior Member

Hi,

Are these servers separate?

In a production setup, you usually have all the information stored in
ZooKeeper. All servers read from and update settings in ZooKeeper.
Thus, there is no need to configure new servers other than telling them
how to connect to ZooKeeper. We've automated that by submitting the
ZooKeeper connection information as part of the startup script and/or
by placing a configuration file into a freshly deployed Gyrex workspace.

-Gunnar

--
Gunnar Wagenknecht
gunnar@xxxxxxxx
Previous Topic:workspace folder is huge
Next Topic:WHY ZOOKEEPER GATE IS DOWN
Goto Forum:
  


Current Time: Sun Nov 18 05:39:01 GMT 2018

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

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

Back to the top