Installation guide

87
CHAPTER 19
Using Pramati Server NodeCreator
node1,mynode2 -namingport 9191,9292 -httpport 8181,8282 -clustername myclus-
ter
The help snippet that shows up on the command shell is as follows:
Usage: java com.pramati.NodeCreator [operation] [option value] [flag]
Creating LB Node using NodeCreator
Load Balancer node can be created using the NodeCreator utility as shown below:
java -Dinstall.root=. com.pramati.NodeCreator -createlb -name nodeA -naming-
port 9191 -httpport 8080 -topology <topology.xml>
In the above example a node named nodeA will be created and the node configuration is picked up
from the topology.xml file created in the same directory as the config-topology-cluster-template.xml
The attributes are explained in the following table:
Table 31: Attributes for creating LB Nodes
Attribute Description
-name Name of the cluster node.
-namingport Naming port(s) of the nodes. In case of a cluster, the ports are separated by a comma ‘,’.
-httpport HTTP port for the node.
-topology Location to pickup the cluster topology and configuration.