Sun GlassFish Communications Server 2.0 High Availability Administration Guide

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