Configuring the SAE to Send Tracking Events to the SRC-VTA
The SRC-VTA communicates with the SAE through the Enterprise JavaBean (EJB) adapter plug-in. This plug-in is an SAE plug-in and performs the following functions:
- Filters SAE plug-in events for the SRC-VTA.
- Adapts internal SAE events to EJB-compatible methods.
- Sends SAE tracking plug-in events to the SRC-VTA.
To configure the EJB adapter plug-in:
- From configuration mode, access the EJB adapter plug-in
configuration. In this sample procedure, the EJB adapter plug-in called
QuotaVTA is configured in the nw-area SAE group.
- user@host# edit shared sae group nw-area configuration plug-ins name QuotaVTA ejb-adaptor
- Configure the class name of the J2EE application server’s
JNDI service provider.
- [edit shared sae group nw-area configuration plug-ins name QuotaVTA ejb-adaptor]
- user@host# set jndi-service-provider jndi-service-provider
- Configure the URL of J2EE application server that is running
JNDI service.
- [edit shared sae group nw-area configuration plug-ins name QuotaVTA ejb-adaptor]
- user@host# set application-server-url application-server-url
- Configure the JNDI name of the SAEEventListener EJB of
the peer VTA.
- [edit shared sae group nw-area configuration plug-ins name QuotaVTA ejb-adaptor]
- user@host# set jndi-sae-event-listener jndi-sae-event-listener
- (Optional) Configure the LDAP filter that determines the
subscriber and service events that the EJB adapter plug-in sends to
the VTA. If you specify plug-in attributes in this field, you must
include the same attributes in the attributes option.
- [edit shared sae group nw-area configuration plug-ins name QuotaVTA ejb-adaptor]
- user@host# set event-admitter event-admitter
Table 1 lists the values that you can use for LDAP filter strings.
Table 1: Settings for Filter Strings
The variables in the filter include the names of plug-in attributes and a PluginEventType variable. The value of this variable is the name of the type of event, such as PE_START_SERVICE. For names of plug-in attributes and plug-in event types, see the SAE CORBA plug-in documentation on the Juniper Networks Web site at http://www.juniper.net/techpubs/software/management/src/api-index.html or in the
SDK+AppSupport+Demos+Samples.tar.gzfile on the Juniper Web site at https://www.juniper.net/support/csc/swdist-erx/src.html. - (Optional) Specifies whether or not the J2EE application
server uses load balancing to determine the location that manages
requests to the VTA.
- [edit shared sae group nw-area configuration plug-ins name QuotaVTA ejb-adaptor]
- user@host# set use-ejb-cluster
- Configure load-balancing scheme of the J2EE application
server that hosts the VTA. See the documentation for the J2EE application
server to determine which load-balancing scheme it supports.
- [edit shared sae group nw-area configuration plug-ins name QuotaVTA ejb-adaptor]
- user@host# set ejb-clustering-strategy (EJBObjectClustering | EJBHomeClustering | JNDIClustering)
- (Optional) Configure the plug-in attributes that the EJB
adapter plug-in sends to the VTA listener. If you do not define a
list of attributes, the EJB adapter plug-in sends all plug-in attributes
to the VTA. Sending unnecessary plug-in attributes can adversely affect
the performance of SRC components.
- [edit shared sae group nw-area configuration plug-ins name QuotaVTA ejb-adaptor]
- user@host# set attributes [(host | router-name | interface-name | ...)...]
Specify at least the following plug-in attributes: router-name, session-id, login-name, user-ip-address, ssp-host, domain, service-name, event-time, session-time, in-octets, out-octets, in-packets, out-packets, session-timeout, downstream-bandwidth, upstream-bandwidth, service-session-name, subscription-name. You may need to add attributes if you use them for the event admitter.
