Installation guide
52
Pramati Server 3.5 Administration Guide
Click Next>>. ‘Step 2 of 3: Add Nodes’ page appears.
To add more than one node, provide similar details in the fields provided.
Enter the Session Persistence details. Select whether EJB and Web will have session persistence ‘In
Memory’ or ‘Database’. This makes sure that the state of a stateful session bean is passivated into a
database, and that the state of the bean is replicated on any running node during failover. This
database can be different from the database that stores the cluster details. Click ‘Next’.
A successful node addition prompts ‘New Cluster Test created successfully.’ in the Status panel. The
third step is to set the Session properties in case a failover happens. In the new page, you can:
• Replicate data on all the nodes of the cluster, or
• Maintain a backup on selected nodes of the cluster
Click ‘Save’ to return to the Server Administration Service main page. The new cluster is seen listed
here.
Modifying Cluster
On the Server Administration Service, click ‘Configure’ against the cluster that is to be modified
under J2EE Server Clusters section. A screen displaying the cluster details and the nodes that define
the cluster appears.
You can:
• View configuration details of individual nodes by clicking on their names provided as links.
• Specify the weight of the cluster nodes. This value is used for Load Balancing.
Table Provide a table name for the database, say ‘emp’. This is a mandatory field.
Table 15: Step 2 of adding a J2EE Cluster
Fields Description
EJB, Web Specify the type of the node. This can be EJB or Web. You can also select both the types.
Name Specify the name of the node. Say, ‘MyNode’.
Host name Specify the host name or IP address of the machine on which the node will run. Say,
‘localhost’.
Lookup port Specify the Lookup port on which Naming service should start. Say, ‘9191’.
HTTP port Specify the HTTP port on which the Web container will start. This is valid only when you
specify the node type as Web or Both. Say,’8181’.
HTTPS port Specify the secure communication port (HTTPS) on which you want the Web container to
start. This is valid only when you specify the node type as Web or BOTH. You can enable or
disable this port.
Table 14: Step 1 of adding a J2EE Cluster
Fields Options Description