Install secondary servers

The procedure to install a secondary server for OnePart are detailed below.

  1. Unpack the OnePart kit to the target installation directory.
  2. Run the installation script for the secondary server. In the installation directory, <ONEPART_INSTALLDIR>, run the install script.

    install.bat -license <LICENSE> -data <DATADIR> -importSecurity <OLD_DATADIR/security> 
    -instance <SECONDARYSERVER_INSTALL> -host <SECONDARYSERVER_HOSTNAME> 
    -secondaryServer <MAINSERVER_GATEWAY_URL>

    Where:

    Argument Description
    <LICENSE> The path to the OnePart license file (cvlicense.dat).
    <DATADIR> Creates the specified directory during installation, to store the index and configuration data. Specify a new directory for <DATADIR>.
    <SECONDARYSERVER_HOSTNAME> The secondary server hostname value in the main server Deployment.xml file.
    <MAINSERVER_GATEWAY_URL> Use the format http://<MAINSERVERHOSTNAME>:<BASEPORT+11>.
    <SECONDARYSERVER_INSTALL> The secondary server install value in the main server Deployment.xml file.
    <OLD DATADIR\security> The path to the existing installation <DATADIR>\security directory. This is used to import the security keys.

    For example:

    install.bat -license cvlicense.dat -data C:\onepart\datadir -importSecurity \ 
    -instance onepart -secondaryServer -host server02.exalead.com 
    -secondaryServer http://server001.exalead.com:10011

Once the installation is complete, the OnePart secondary server is now up and running.