Adding multiple hosts to the TIMP Server



A TIMP Installation allows you to host multiple domains; this allows you to host on the same server something like:
- mycompany1.com
- mycompany2.com
- mycompamy3.com

From the user's perspective these are 3 separate XMPP/Jabber servers.

In order to add the 2 hosts to the already present host (created during the configuration of the TIMP server), follow these steps:

- Open the "TIMP Management Console"
- Create a new plug-in
- Give it a "Plug-In Name", e.g. jsm-2 or whatever reminds you about the new host
- choose a domain name, and put it in the "Host" box
- Empty the JID Substr string
- As COM Object ID, type: WIN32_JABBERLib.JSMPlugin
- As Start-Up Type, be sure to set it to "Automatic"
- Be sure that everything else is "unchecked" in the "General PlugIn Settings"
- Press OK and Confirm you want to update the configuration
- Now open the configuration for the "JSM" plugin (the original Host plug-in)
- Switch to "Custom PlugIn Settings"
- Copy the whole text of the clipboard (e.g. selecting the whole text and pressing CTRL+C)
- Click on Cancel because you do NOT update the configuration
- Reopen the configuration of the newly created plugin (e.g. jsm-2)
- Switch to "Custom PlugIn Settings"
- Overwrite the custom part, pasting the content of the clipboard (e.g. selecting the whole text and pressing CTRL+V)
- If needed, change the custom part to meet the requirements of the newly created plugin (e.g. database integration, message logging, type of authentication etc)
- Press Ok, and confirm settings changes
- Start the new plug-in

- Repeat the previous steps for all the new hosts that you would like to add.

What you just did was adding one or more JSM Plug-ins to the TIMP server, and telling TIMP to address messages to a specific domain to the specific JSM Plug-in