Sun GlassFish Communications Server 2.0 High Availability Administration Guide

Setting the Data Centric Rules File for a Converged Load Balancer

The following tasks use the Admin Console or the CLI to set a data centric rules file for a converged load balancer.

ProcedureTo Set the Data Centric Rules File Using the Admin Console

  1. Create the data centric rules file.

  2. Log in to the Admin Console.

    In you browser, type http://hostname:port

  3. In the left-hand pane, click Converged Load Balancer.

  4. Select a Converged Load Balancer from the list of Converged Load Balancers.

    The Settings page appears. The DCR File Settings section in this page displays the current data centric rules file.

  5. In the Upload DCR File field, click Browse to upload the data centric rules XML or JAR file you have created.


    Note –

    Communications Server does not expect the file extension to be case-sensitive.


  6. Click Save.

ProcedureTo Set the Data Centric Rules File Using CLI

  1. Create the data centric rules file.

  2. To set the XML or JAR file as the data centric rules file for Communications Server, use the asadmin set-dcr-file command.

    The following are sample commands:

    asadmin set-dcr-file --host myhost --port 4850 --clbconfig my-cluster-config mydcrfile.jar

    asadmin set-dcr-file --host myhost --port 4850 --clbconfig my-cluster-config mydcrfile.xml