Installation guide
86
Pramati Server 3.5 Administration Guide
The writetopology option creates the topology XML, which can be used to launch the configured
cluster nodes. The topology XML is generated in the same directory as the config-topology
file. Use the nodecreator command without any parameters to see the help.
3 Use the node-creator utility to remove the configured cluster nodes. The command to use is
nodecreator -remove -topology {$path_of_topology_xml}.
The topology XML is created while configuring the cluster if -writetopology option is used.
Configuring J2EE Server Cluster using NodeCreator
You can configure a J2EE Cluster using the NodeCreator class. To run the NodeCreator Utility:
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 cluster
java -Dinstall.root=. com.pramati.NodeCreator -createj2eecluster -name my
Table 29: 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 30: 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.