This example demonstrates how to configure a simple JReport Enterprise Server cluster by modifying the configuration options on the JReport Administration page on each JReport Enterprise Server.
Example description:
Take the following steps to set up the cluster:
C:\JReport\Serveradmin. This server will run as the admin server.C:\JReport\Serverslave. This server will be configured to run as a slave server.
Note: When installing the two JReport Enterprise Servers, you should use the special license key only for JReport Enterprise Server cluster.
C:\JReport\Serverslave.http://localhost:8889.The port is the service port you use to access the JReport Console page. The default port number is 8888. If there are two or more JReport Enterprise Servers started on one machine, the service port number of each server must be changed to a unique one, in order to avoid port conflicts.
In this example, the port number is changed to 8886, since the admin server will use the default port number 8888.
The reason why the port number should be changed here is for the same reason as that of step 5.
C:\JReport\Serveradmin.
Note that when installing a JReport Enterprise Server with a special license key for cluster, the server will be an admin server by default. In this example, the shared disk and load balance feature are not required, and so the admin server does not need to be configured.
Connecting to admin server [127.0.0.1:1129].
Connected to admin server [127.0.0.1:1129] successfully.
This means that the JReport Enterprise Server cluster has been configured and started successfully.
Notes: