Install the Secondary Server
-
Make sure that the primary server is up and running.
This is required because the primary server owns the configuration files required by the secondary server.
-
Unpack the
Exalead CloudView
archive to the target
directory.
We recommend using the same installation path as for the primary server when installing Exalead CloudView. Having a different path will not affect the main features of the product but it will break the Java memory consumption metrics in the Monitoring Console.
This will create yourINSTALLDIRfolder, which will have the same name as the archive file. -
Run the installation script for the secondary server.
In the
INSTALLDIR, run the install script.<INSTALLDIR>/install.sh -license <LICENSE> -data <DATADIR> -host <SECONDARY_SERVER_HOSTNAME> -importSecurity <EXISTING_DATADIR/security> -install <SECONDARY_SERVER_INSTALL> -slave <PRIMARY_SERVER_GATEWAY_URL>
Where:
Variable Description <LICENSE>The path to the Exalead CloudView license file ( cvlicense.dat).<DATADIR>Creates the specified directory during installation, to store the index and configuration data. Specify a new directory for <DATADIR>.Important: For ease of maintenance, keep the <DATADIR>path separate from the<INSTALLDIR>path.<SECONDARY_SERVER_HOSTNAME>The secondary server's hostnamevalue in the primary server’sDeployment.xml<PRIMARY_SERVER_GATEWAY_URL>Use the format http://<PRIMARYSERVERHOSTNAME>:<BASEPORT+11><SECONDARY_SERVER_INSTALL>The secondary server's installvalue in the primary server'sDeployment.xml<EXISTING_DATADIR/security>The path to the existing installation's <DATADIR>/securitydirectory. This argument is required if you have.NETconnectors. It is used to import the security keys.The following samples show the install script and the
Deployment.xmlfile configuration.install.sh -license cvlicense.dat -data /cloudview/data -importSecurity /cloudview/data/security -install slave -slave http://server001.exalead.com:10011 -host server02.exalead.com
<DeploymentConfig xmlns="exa:exa.bee.deploy.v10" version="0"> <Host hostname="server001.exalead.com" install="cvdefault" hostAgentPort="10009"> <PortRange startPort="10000" lastPort="10099"/> <Role name="Master"></Role> <Role name="Indexing"></Role> <Role name="Converter"></Role> <Role name="DictionaryBuilder"></Role> <Role name="Index"> <RoleAttribute name="buildGroup" value="bg0"/> <RoleAttribute name="instance" value="i0"/> <RoleAttribute name="runtimeConfig" value="system_io_caching"/> <RoleAttribute name="useSharedDir" value="true"/> </Role> ... </Host> <Host hostname="server002.exalead.com" install="slave" hostAgentPort="10009"> <PortRange startPort="10000" lastPort="10099"/> <Role name="Index"> <RoleAttribute name="buildGroup" value="bg0"/> <RoleAttribute name="indexSlice" value="0"/> <RoleAttribute name="instance" value="i1"/> <RoleAttribute name="runtimeConfig" value="system_io_caching"/> </Role> </Host> </DeploymentConfig> - Once the installation is complete, start Exalead CloudView. See Start the Secondary Server.