How to setup the configuration in program? [message #1712209] |
Thu, 22 October 2015 00:34  |
Eclipse User |
|
|
|
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  |
Eclipse User |
|
|
|
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
|
|
|
Powered by
FUDForum. Page generated in 0.03797 seconds