Sun Java System Application Server 9.1 Quick Start Guide

ProcedureTo Create a Cluster using the Admin Console

For simplicity, the cluster runs completely within one machine. This procedure creates the sample cluster one the same host on which the DAS is running.

Before You Begin

You must have already started the node agent, as described in To Start the Node Agent. When you specify instances during cluster creation, associate the instance with a running node agent for the machine on which you want the instance to run. If the node agent is not running, the instance will not start. Node agent and instance names must be unique across clusters that are created in a domain.

  1. Log in to the Administration Console at http:// localhost:portnumber if you have not already done so.

    Replace the localhost variable with the name of the system that the Domain Administration Server is running on. Replace portnumber with the port number of the cluster or enterprise domain.

  2. On the right pane, under Common Tasks, click Create New Cluster to display the New Cluster page.

  3. Type cluster1 as the name of the new cluster.

  4. From the drop-down list of available configuration templates, select the default-config configuration and choose Make a copy of the selected Configuration.

  5. Click the New button twice to create two entries to specify two instances for the cluster.

  6. Type instance1 and instance2 as instance names.

    Alternatively, you can specify the name of a node agent that you created and started. To create a node agent and start it, use the asadmin create-node-agent(1) command.

  7. Click OK.

    The Cluster Created Successfully page appears, and cluster1 appears in the tree in the left pane. A copy of the configuration template default-config was made for this cluster, and the name cluster1-config was assigned to it.

  8. Start cluster1 Cluster.