Before configuring your load balancer, you must:
Install a supported web server and configure it. For more information on configuring a supported web server, see Chapter 4, Configuring Web Servers for HTTP Load Balancing.
Install the load balancer plug-in.
For information on the installation procedure, see Sun GlassFish Enterprise Server v2.1.1 Installation Guide.
Create Enterprise Server clusters or server instances to participate in load balancing.
Deploy applications to these clusters or instances.
If you have a deployment scenario where the instances and the load balancer are installed on different network domains, then you must create the node agent by specifying the fully qualified domain name using the option, --agentproperties. For example, asadmin create-node-agent --agentproperties remoteclientaddress=myhost.country.example.com test-na.