mod_ctlextra and load-config file

I'm looking for a way of dynamically crating virtual hosts without having to stop the server.

mod_ctlextra have a function:
load-config file load config from file
http://www.ejabberd.im/mod_ctlextra

Can it do what I need?

Will ejabebrd load the config in addition to the original config ejabberd.cfg or will it override the original config?

Is there another way of dynamically changing ejabberd`s config?

Thanks

vhost live addition not possible

Ted wrote:

I'm looking for a way of dynamically crating virtual hosts without having to stop the server.

mod_ctlextra have a function:
load-config file load config from file
http://www.ejabberd.im/mod_ctlextra

Can it do what I need?

No, and vhost addition/removal at runtime is not possible right now.

The best solution I found is to add vhosts to the ejabberd.cfg and plan a server restart at midnight.

In addition, note that it's unknown how much vhosts ejabberd will support efficiently, when speaking of thousands...

Ted wrote:

Will ejabebrd load the config in addition to the original config ejabberd.cfg or will it override the original config?

This function will call the config load code, so it behaves exactly as it does at startup: the file is parsed and the options are stored in the proper place. However, modules, listeners, auth methods, database connections, ... will not be reconfigured until next restart anyway.

I guess the usefulness of load-config is quite limited, even useless.

Ted wrote:

Is there another way of dynamically changing ejabberd`s config?

Many ejabberd options can be modified with Web Admin and/or Ad-hoc commands. But there are other options that currently can only be modified in ejabberd.cfg, like hosts and some s2s options.

Quote: No, and vhost

Quote:

No, and vhost addition/removal at runtime is not possible right now.

Is it theoretically possible with custom module?

Is it possible by patching the ejabberd core?

Thanks

Enterprise Server

I believe the non-free enterprise level ejabberd supports dynamic vhost management so it stands to logic that capability is there, just not in the free version.

Is there a list of the

Is there a list of the features in the enterprise version?

Syndicate content