DevPortal

How do I use NodeCreator to Configure Cluster?


Cluster configuration can be performed using the NodeCreator utility as shown in the following example.

What is the Usage Objective?

To have a cluster with four nodes (a1, a2, a3, and a4) on four different machines (n1, n2, n3, and n4) respectively.

Inputs: A sample standalone node containing all the resources and configurations. An XML file giving details of the cluster conversion. The template of the XML file can be found in $INSTALL_DIR\templates\config-topology-cluster-template.xml.

Requirements: To restore the configuration of the sample node and modify some of the configuration as per requirement.

Steps Involved:

  1. Start the Admin Service on each node where cluster nodes need to be made. In this case (n1, n2, n3, and n4). Admin Service can be started by using runstartupsvc.bat in $INSTALL_DIR\server\bin directory.
  2. Use the NodeCreator utility that can be found in $INSTALL_DIR\server\bin directory to configure a cluster. The command to use the NodeCreator utility is:
    nodecreator -config_topology {$path_of_config_xml} -configuration {$path_of_config_xml} -writetopology.

    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 NodeCreator 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.


Related Topics:

© Pramati Technologies 2007 Runs on Pramati Server | Feedback | Legal