Configuring the Service Sets and Services

The configuration first sets up the services and their associated servers.

This part of the configuration is under [edit sync equilibrium2].

service-gate {
    gate-name {
        address service-gate-IP-address;
    }
server-group {
    group-name {
        servers {
            server-IP-address;
        }
    }
}
service-type {
    type-name {
        port TCP-port;
    }
}
balance-rules {
    rule rule-name {
        term term-name {
            from {
                service-gate service-gate-name;
            }
            then {
                server-group server-group-name;
            }
        }
    }
}
classify-rules {
    rule rule-name {
        term term-name {
            from {
                service-type service-type-name;
            }
            then {
                service-gate service-gate-name;
            }
        }
    }
}

Service-set Configuration

Next, the configuration specifies the rules for the services the plugins will implement.

services {
    service-set svc-set-name {
        interface-service {
            service-interface service-interface-name;
        }
        extension-service equilibrium2-balance {
            rule balance-rule-name;
        }
        extension-service equilibrium2-classify {
            rule classify-rule-name;
        }
        service-order {
            forward-flow [ equilibrium2-classify equilibrium2-balance ];
            reverse-flow [ equilibrium2-balance equilibrium2-classify ];
        }
    }
}

To compare this with the original Sync Equilibrium configuration, see Configuring the Application.

Processing the Configuration


2007-2009 Juniper Networks, Inc. All rights reserved. The information contained herein is confidential information of Juniper Networks, Inc., and may not be used, disclosed, distributed, modified, or copied without the prior written consent of Juniper Networks, Inc. in an express license. This information is subject to change by Juniper Networks, Inc. Juniper Networks, the Juniper Networks logo, and JUNOS are registered trademarks of Juniper Networks, Inc. in the United States and other countries. All other trademarks, service marks, registered trademarks, or registered service marks are the property of their respective owners.
Generated on Sun May 30 20:26:47 2010 for Juniper Networks Partner Solution Development Platform JUNOS SDK 10.2R1 by Doxygen 1.4.5