One of jabberd2 annoyances was its requirement to run one SM instance for
every serviced domain. I already did some work for dynamic jabberd2
configuration introducing default host option in c2s.xml to remove
requirement of restarting C2S every time one adds new serviced domain. But
it still required launching separate SM process instance.
Today I committed virtual domains support changes to SVN branch
http://codex.xiaoka.com/svn/jabberd2/branches/vhosts which allows you to
configure more than one serviced domain in only one SM instance.
I successfully configured 3 domains in one SM instance and was able to talk
between these 3 and one another in second SM process. All 4 connected to one
Router process instance.
Of course all domains serviced in one SM process have identical
configuration. If you need domains with different configuration, you need to
create another sm.xml and launch separate SM process for them.
The SVN vhosts branch changes need some polishing and testing. I would
appreciate if you tried these and tell me what you think.
--
Tomasz Sterna
Instant Messaging & EDI Consultant
Open Source Developer
http://tomasz.sterna.tv/ http://www.xiaoka.com/
--
To unsubscribe send a mail to [email protected]