How To Practice A Glassfish Cluster

This tutorial volition endeavour to explain, how to practise a Glassfish cluster using the Glassfish's admin interface.

To practise this, you lot must convey download, install in addition to configured Glassfish's domain1 to start.

Steps:

1.) Create nodes (What are nodes? See reference below. Basically it's or hence other auto amongst Glassfish installed/or none because when you lot configure a node from a rear glassfish it tin re-create itself to the node). Click Nodes->New in addition to fix the next values:
Type: SSH
Node Host: is the IP of the node machine
SSH Port: 22
SSH User Authentication: Password
Set SSH User Name in addition to Password

2.) Create a novel cluster, Click Clusters->New, operate into a cluster advert in addition to click Ok.

3.) Add an instance. Click the newly created cluster in addition to lead the Instance tab.

4.) Under Server Instances, click New. In the Node dropdown, lead the advert of the node nosotros simply created in addition to hand it an event name. Click ok.


5.) You convey instantly configured a Glassfish cluster to add together a novel node repeat 2.

6.) To install an application to the cluster, click the Applications tab in addition to deploy every bit usual. In the Targets department add together the newly created cluster advert to the Selected Targets panel.


Common Problem:
1.) Sometimes the controller (the Glassfish where you lot setup the cluster) is non visible inwards the node that you lot added. To solve this effect add together the controller's advert in addition to ip inwards the node's /etc/hosts. IPComputer Name.

Reference:
http://glassfish.java.net/public/clustering31.html
Next
Previous
Click here for Comments

0 komentar:

Please comment if there are any that need to be asked.