Projects tigase _server server-core Issues #824
Reconfiguring server during run-time (#824)
wojciech.kapcia@tigase.net opened 8 years ago

This is a followup of #5425 - allow reconfiguring of the server during run-time.

server/src/main/groovy/tigase/admin/CompManager.groovy

server/src/main/groovy/tigase/admin/PluginManager.groovy

Andrzej Wójcik (Tigase) commented 5 years ago

I've reviewed multiple possible options but every one of them is rather complicated. Instead, I've decided to create a new script (old kept for reference for now), UpdateConfig.groovy which allows the user to download current config, modify it and apply it to the server. Right now script works on single cluster node as clustering may be more difficult or even not possible if each cluster node would have a different config.

As I've checked this works ok with Kernel as it was designed to handle the change of the configuration. However, I cannot tell if this will work in all of the cases.

I suppose that a script like it is could be useful but is potentially dangerous as it may cause a crash and restart - but that can be caused even by scripts for previous versions of Tigase. I would say that we should not work on that anymore as we are working on reducing the​ number of settings kept in etc/config.tdsl.

wojciech.kapcia@tigase.net commented 5 years ago

Right now script works on single cluster node as clustering may be more difficult or even not possible if each cluster node would have a different config.

AFAIR we agreed that we should aim for all nodes having same configuration…

I would say that we should not work on that anymore as we are working on reducing the​ number of settings kept in etc/config.tdsl.

... and moving things to database (which would minimise/eliminate first issue). Thus I concur we can close this one and focus on moving more settings to database.

issue 1 of 1
Type
New Feature
Priority
Blocker
Assignee
RedmineID
5489
Version
Candidate for next major release
Spent time
7h
Issue Votes (0)
Watchers (0)
Reference
tigase/_server/server-core#824
Please wait...
Page is in error, reload to recover