[JDEV] Separate configurations for virtual servers?

Tim Ferguson tim.ferguson at cw.com
Wed Jan 31 08:10:39 CST 2001


I haven't tried this but I would like to, so to make sure I understand let
me provide a little bit more of an outline of what I think you are talking
about.

<service id=sessions>
  [remove the <host> tag that normally goes here]
  <service id='jsm_vhost_a'>
     <host>vhost_a</host>
      <jsm xmlns=jabber:config:jsm>
           [host specific configuration]
      </jsm>
   </service>
  <service id='jsm_vhost_b'>
     <host>vhost_b</host>
      <jsm xmlns=jabber:config:jsm>
           [host specific configuration]
       </jsm>
  </service>

</service>

Sorry for my ignorance and I appreciate your patience :)

Thanks,
Tim
-----Original Message-----
From: jdev-admin at jabber.org [mailto:jdev-admin at jabber.org]On Behalf Of David
Barth
Sent: Wednesday, January 31, 2001 6:44 AM
To: jdev at jabber.org
Subject: Re: [JDEV] Separate configurations for virtual servers?

Have you tried loading 2 separate jsm instances with a different <host>,
ie :

<service id='jsm_vhost_a'>
  <host>vhost_a</host>
  [...]
</service>

<service id='jsm_vhost_b'>
  <host>vhost_b</host>
  [...]
</service>

inside the same jabber.xml config file.

Be sure to have other instances like xdb listen for <host/> packets.
Also logs can be redirected to distinct files by using 2 log instances
as well.
I haven't tried it myself, but it's supposed to work. So, let us know
about your findings.

--
dbarth

_______________________________________________
jdev mailing list
jdev at jabber.org
http://mailman.jabber.org/listinfo/jdev





More information about the JDev mailing list