A node represents a host on which the GlassFish Server software is installed. A node must exist for every host on which GlassFish Server instances reside.
In the navigation tree, select the Nodes node.
The Nodes page opens.
On the Nodes page, click New.
The New Node page opens.
In the Name field, type your choice of name for the node.
From the Type drop-down list, select the type of the node to create.
To create a node supports communication over secure shell (SSH), select SSH.
To create a node that does not support remote communication, select CONFIG.
In the Node Host field, type the name of the host that the node represents.
Whether this field is mandatory depends on the type of the node:
If the type of the node is CONFIG, the name of the host may be omitted. The name of the host can be determined when instances that reside on the node are created.
If the type of the node is SSH, the name of the host must be specified. Otherwise, an error occurs.
In the Node Directory field, type the path to the directory that is to contain GlassFish Server instances that are created on the node.
If the type of the node is CONFIG, leave this field empty. The node directory can be determined when instances that reside on the node are created.
If you type a relative path, the path is relative to the as-install directory, where as-install is the base installation directory of the GlassFish Server software on the host.
In the Installation Directory field, type the full path to the parent of the base installation directory of the GlassFish Server software on the host, for example, /export/glassfish3
.
If the type of the node is CONFIG, leave this field empty. The installation directory can be determined when instances that reside on the node are created.
Finish the creation of the node as required by the type of the node.
If the type of the node is CONFIG, click Save.
If the type of the node is SSH, follow the instructions in To Finish the Creation of an SSH Node.