Installation guide

Cloning Jabber XCP Configurations
Jabber XCP Server Installation Guide Installing the Jabber XCP Server Page 29
Beta Version Only
Cloning Jabber XCP Configurations
The Jabber XCP server provides a cloning feature, which allows you to duplicate your
server configuration on multiple systems. This feature enables you to set up multiple
Jabber XCP servers in much less time than would be required if you had to install and
configure them manually.
To clone your Jabber XCP server:
1. Change to the Jabber user on the Jabber XCP server whose configuration you plan to
clone:
su - jabber
2. Enter the Jabber users password.
3. Export the $JABBER_HOME environment variable to the location of the Jabber
XCP server installation; for example:
export JABBER_HOME=/opt/jabber/XCP_5.2
The clone and unclone scripts require this variable to be set in
order to work correctly.
4. Change to the $JABBER_HOME/support/config_clone directory.
5. Execute the clone script:
./clone.sh
A compressed file is created and placed in the $JABBER_HOME/var/clone directory.
The file is named using the format
clone-[year][day_of_year][hour][minute][second].tgz; for example:
clone-2007251104203.tgz
6. Copy the clone file to the remote system where you want to clone the Jabber XCP
configuration.
The Jabber XCP server must already be installed on the remote
system so that you can apply the cloned configuration to it.
7. On the remote system, change to the Jabber user:
su - jabber
8. Enter the Jabber users password.
9. Export the $JABBER_HOME environment variable to the location of the Jabber
XCP server installation; for example:
export JABBER_HOME=/opt/jabber/XCP_5.2