Skip to main content



      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 00:34 Go to next message
Eclipse UserFriend
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
Re: How to setup the configuration in program? [message #1712394 is a reply to message #1712209] Fri, 23 October 2015 11:08 Go to previous message
Eclipse UserFriend
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: Mon May 05 16:31:39 EDT 2025

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

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

Back to the top