Sun GlassFish Enterprise Server 2.1 High Availability Administration Guide

ProcedureTo Deploy Node Agents Offline

Use offline deployment to deploy node agents in the domain before configuring the individual local machines.

The following figure summarizes the offline deployment.

Node Agent Offline Deployment
Before You Begin

Install and start the Domain Administration Server. Once the Domain Administration Server is up and running, begin either online or offline deployment.

  1. Create placeholder node agents in the Domain Administration Server.

    See To Create a Node Agent Placeholder for more information.

  2. Create server instances and clusters, and deploy applications.

    When creating a server instance, make sure to assign port numbers that are not already in use. Because the configuration is being done offline, the domain cannot check for port conflicts at creation time.

  3. Install a node agent on every machine that will host a server instance.

    Use the installer or the asadmin create-node-agent command . The node agents must have the same names as the placeholder node agents previously created.

    See Creating a Node Agent for more information.

  4. Start the node agents using the asadmin start-node-agent command .

    When a node agent is started, it binds to the Domain Administration Server and creates any server instances previously associated with the node agent.

    See Starting a Node Agent for more information.