You can install NexJ Server as
a single instance or as a server cluster remotely using
ssh.
Before you begin installing NexJ Server,
ensure that Java JDK is installed on your machine and that the Java JDK
installation directory is set as the system environment variable
JAVA_HOME.
You must also acquire the correct JDBC driver for your
database. Contact your NexJ representative or see the Release Notes
document for your version of NexJ CRM for
more information.
To install NexJ Server
as a standalone instance or as a server cluster remotely using
ssh:
-
In NexJ Studio, on the
Deployment layer, in the
Environment tab, open the environment file for
the current deployment.
-
In the Overview tab, ensure that
Type is set to
Generic.
-
In the Deployment Location field, specify
the ssh folder directories for all the server nodes.
For example, to install two NexJ Server
nodes, specify
ssh://hostname/projectdir1/sams,ssh://hostname/projectdir2/sams
or
ssh://{hostname/projectdir1,hostname/projectdir2}/sams.
-
If you are installing a NexJ Server
cluster, in the Clustering/Session subtab,
select the Distributed (Enable Clustering)
check box.
-
Save the updated environment file.
-
Click .
The Preferences dialog
opens.
-
Click .
-
In the Known hosts file field, enter the
path to the known hosts file.
The known hosts file allows NexJ Studio to
authenticate the server.
-
In the Personal key field, do one of the
following:
- If basic authentication is enabled in the environment file,
select the Use password from the .server file (basic
authentication) check box.
- If basic authentication is not enabled in the environment
file, in the Identity file field, enter the
path to the private key for the client.
-
Click OK.
The Preferences dialog
closes.
-
Click the Deploy Model button .
The NexJ Server
instance or cluster is installed in the directories that you
specified.
-
Using a tool such as sftp or scp, copy the appropriate JDBC
driver, such as jtds-1.2.2-7.jar or
ojdbc6.jar, to the
SERVER_HOME\deploy directory
for each deploy location that you specified earlier in the
Deployment Location field.
The NexJ Server
instance or cluster is installed remotely on the specified
servers.