![]() |
|
To run the NodeCreator, run NodeCreator.bat (for Windows) or NodeCreator.sh (for Unix) located at <install_dir>\server\bin\ by passing the following values:
Table 1: Operations that can be performed using the NodeCreator class
| Operation | Description |
| -createj2ee | To create a Standalone J2EE node. |
| -createj2eecluster | To create multiple J2EE nodes in a cluster. |
| -createjms | To create a Message Server node. |
| -createjmscluster | To create multiple Message Server nodes in a cluster. |
The various values (given as parametername value format) required to perform the above operations are:
Table 2: Values for the NodeCreator class
| Value | Description |
| -name | Names of the nodes. In case of a cluster, the names are separated by a comma ‘,’. |
| -ip | The IP of the machine on which this node is being created. The default value is local host. In case of a cluster, the IPs are separated by a comma ‘,’. |
| -namingport | Naming ports of the nodes. In case of a cluster, the ports are separated by a comma ‘,’. |
| -httpport | HTTP ports of the nodes. In case of a cluster, the ports are separated by a comma ‘,’. |
| -clustername | In case of a cluster, the name of the cluster. |
You can also specify the System Property install.root, if the program is not being run from the Server root.
Example for creating a J2EE Standalone node:
NodeCreator.bat/NodeCreator.sh -createj2ee -name mynode1 -namingport 9191 -httpport 8181
Example for creating a J2EE cluster:
NodeCreator.bat/NodeCreator.sh -createj2eecluster -name mynode1, mynode2 -namingport 9191,9292 -httpport 8181,8282 -clustername mycluster
| © Pramati Technologies 2007 | Runs on Pramati Server | Feedback | Legal |