Installation guide

19
Using Pramati Server NodeCreator
The NodeCreator is a utility for creating or removing nodes and clusters. You can configure
and use the NodeCreator with both the command line and XMLs.
Using NodeCreator with Command line
To run the NodeCreator:
Run NodeCreator.bat (for Windows) or NodeCreator.sh (for Unix) located at <install_dir>/
server/bin/.
Execute java com.pramati.NodeCreator class by passing the following values:
The various values (given as {parametername value} format) required to perform the above
operations are:
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
java -Dinstall.root=. com.pramati.NodeCreator -createj2ee -name my
node1 -namingport 9191 -httpport 8181
Table 25: Operations that can be performed using the Node Creator 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
Table 26: Values for the Node Creator class
Value
Description
-name Name(s) 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 port(s) of the nodes. In case of a cluster, the ports are separated by a comma ‘,’
-httpport HTTP port(s) 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.