[Contents] [Prev] [Next] [Index] [Report an Error]


Configuration Tasks

The configuration script configures the components that it finds and accesses on each host. However, depending on your configuration and the components you use, such as the type of database and J2EE application server, you may need to manually configure some of the components or to modify the configuration. This section provides a complete list of the configuration procedures for the VTAs and explains which procedures the script completes.

To configure the SDX software to use a VTA, you must:

  1. Configure subscribers in the directory.
  2. Configure services for the VTA in the directory.
  3. Configure the EJB adaptor plug-in.
  4. (Threshold VTA only) Configure the retailer to use the tracking plug-in.
  5. Configure the database.
  6. Configure the J2EE application server.
  7. Configure the bootstrap properties and Web applications for the VTA.
  8. Deploy the VTA inside the J2EE application server.
  9. Configure NICs for the VTAs.
  10. Configure the VTA.

Configuring Subscribers

NOTE: If it can access the directory by using the standard password via the standard port, the configuration script /opt/UMC/conf/vta/load configures a retailer and a couple of subscribers in the directory. If you are using the VTA only for testing or demonstration purposes, you can use these subscribers and skip the task below.


To use the VTAs, you must have at least one retailer and a couple of subscribers in the directory. If you do not have an established base of subscribers for testing the VTA, you must either load sample data that includes subscribers or create subscribers. For information about installing sample data, see SDX Software Basics Guide, Chapter 6, Operating the Directory Server. For information about adding subscribers to the directory, see SDX Objects Guide, Chapter 2, Managing Subscribers and Subscriptions.

Configuring Services

NOTE: If it can access the directory by using the standard password via the standard port, the configuration script creates services for the VTAs, and you do not need to complete these tasks. The script also creates policies for the services and configures the services to generate tracking events.


The services you must create for a VTA depend on that particular VTA. Only the VTA should activate and deactivate the services, and you must ensure that these services are not visible on a service selection portal for subscribers to control manually. You can use other services in conjunction with a VTA provided that you design the policies and priorities for those services to work together.

For example, if you manage subscribers with a Quota VTA, you may want to allow subscribers to manually activate a service that overrides the quota service, and consequently prevents charges in the periodic and bought accounts. You would account for use of this service via RADIUS accounting rather than via a Quota VTA, and subscribers would incur an extra cost for using the service. In this case, you would configure the overriding service with a higher precedence than the quota service.

Similarly, for a Threshold VTA, when subscribers have an active subscription to the Misbehaving service, you may want to allow them to manually activate a service that overrides the misbehaving service. You would account for use of this service via RADIUS accounting rather than via a Threshold VTA, and subscribers would incur an extra cost for using the service. In this case, you would configure the overriding service with a higher precedence than the misbehaving service.

To configure services for the VTA:

  1. Create the services appropriate for the VTA.
  1. Configure policies that specify ingress and egress accounting rules consistent with the usage formula.

For information about configuring accounting rules for a policy, see SDX Objects Guide, Chapter 4, Policy Management Overview.

  1. For all subscribers managed by the VTA, create an individual or a group subscription to the services you created.

For information about configuring subscriptions, see SDX Objects Guide, Chapter 2, Managing Subscribers and Subscriptions.

  1. For the quota service, configure the subscriptions to automatically activate the service when the subscribers log in.

Accessing the J2EE Application Server's Client Libraries

NOTE: If you use JBoss on the host, the script /opt/UMC/conf/vta/load copies the JBoss client libraries to the SAE installation directory, and you do not need to complete these tasks.


Each SAE that interacts with the VTA requires access to the J2EE application server's client libraries. To provide this access:

  1. Refer to the documentation for the J2EE application server to determine the locations and names of the files for the client libraries.

When you install the VTAs, the files for the JBoss client libraries are placed in the folder /opt/UMC/conf/vta/jboss-client.

  1. Copy the files for the libraries to one of the following folders on each host that supports an SAE.

For example:

cp /opt/UMC/conf/vta/jboss-client/*.jar /opt/UMC/ssp/lib

  1. Restart the SAE on each host to which you copied the client libraries.

Configuring the EJB Adaptor Plug-In

You configure the EJB adaptor plug-in in the same way that you configure other internal plug-ins for the SAE. For detailed information about configuring SAE plug-ins, see SDX Components Guide, Vol. 1, Chapter 5, Configuring Authorization and Tracking Plug-Ins.

To configure the EJB adaptor plug-in:

  1. In the navigation pane for the configuration editor, open the file for the SAE configuration (the default file is SAE.xml).
  2. Click on the Plug-Ins tab.
  3. Scroll to the EJB Adaptor heading for the VTA.
  4. Customize the properties for the VTA using the following list of properties for the EJB adaptor plug-in:

JNDI Service Provider

Application Server URL

JNDI Name of SAE Event Listener

Plugin.thresholdvta.ejbJNDIName = Threshold/SAEEventListenerBean

Event Admitter

The variables in the filter include the names of plug-in attributes and a special variable PluginEventType. The value of this variable is the string name of the type of event, such as PE_START_SERVICE. For exact names of plug-in attributes and information about types of plug-in events, see SDX Components Guide, Vol. 1, Chapter 6, Developing External and Hosted Plug-Ins.

NOTE: If you reference plug-in attributes in the property <pluginName>.admitter, you must include those attributes in the property Plugin.<pluginName>.attr.

Plugin Attributes

Use EJB Cluster

EJB Clustering Strategy

Setting the Tracking Plug-In for the Retailer

NOTE: If it can access the directory with the standard password via the standard port, the configuration script creates the retailer virneo-threshold and attaches the thresholdvta plug-in to this retailer. If you require a sample retailer for demonstration or testing purposes only, you can skip this task.


For a Threshold VTA, you must specify the tracking plug-in for the retailer. To do so:

  1. Access SDX Admin.
  2. In the navigation pane, highlight the retailer.

The Retailer pane appears.

  1. Enter thresholdvta in the Tracking Plugin field.

This name matches the name of the EJB adaptor plug-in for Threshold VTA.

  1. Click Save.

Configuring the Database

To configure the database:

  1. For each VTA, create a database that uses the schema for the VTA.

To view the database schemas, see the following files, which are created when you install the Solaris package for the VTAs.

  1. Configure access to the database for an administrator by using the VTA to monitor and manage subscribers.

The access parameters you configure must match the access parameters you configure for the data sources created in the J2EE application server (see Configuring the J2EE Application Server).

Configuring the J2EE Application Server

NOTE: If you use JBoss, the configuration script automatically configures the J2EE application server, and you do not need to complete these tasks.


You must configure the J2EE application server to support the VTAs.

To configure the J2EE application server:

  1. Install the JDBC driver that allows your database to connect to the J2EE application server.

See the documentation for the database to determine the required JDB driver. For example, for JBoss, copy the driver to /opt/UMC/jboss/server/default/lib.

  1. Restart the J2EE application server.
  2. For each VTA, create a data source with a JNDI name that matches the name of the data source (see Table 61 for the default names).

If you want to modify the names of the VTA deployment descriptors, see the following section.

  1. Set up a JMS connection factory, and link it to the resource environment reference called jms/QueueConnectionFactory.

The way you link the JMS connection factory to the resource environment reference depends on the J2EE application server. For more information, see the documentation for the J2EE application.

  1. For each VTA, create a JMS queue for the ConnectionFactory with the appropriate name for the VTA (see Table 61).
  2. Create a role called VTA-Admin, and configure the administrators that you want to be able to access the VTA administration portal with this role.
  3. Specify an authentication mechanism, and access parameters (such as a username and password) by which administrators can access the data source via the portals.

The access parameters you configure must match the access parameters you configure for the database (see Configuring the Database).




Table 61: Names for Data Sources and JMS Queues 
Type of VTA
Default Name for Data Sources
Name for JMS Queue

Quota

Quota/MySQLS

queue/Quota/SAEEventQueue

Threshold

Threshold/MySQLS

queue/Threshold/SAEEventQueue

Creating Deployment Descriptors

The enterprise archives (EAR files) for a Quota VTA and a Threshold VTA contain several modules that require deployment descriptors for the J2EE application server. In these EAR files, you will find sample deployment descriptors for several J2EE application servers. See the Release Notes for information about the J2EE servers which we have tested with the VTAs.

NOTE: See the documentation for your J2EE application server to determine the names of the files that contain the descriptors and how to edit them.


If you want to deploy the VTAs in a J2EE application server that we have not tested, you may need to develop your own deployment descriptors. In this case, you may be able to use the samples we provide as a guide.

To create a deployment descriptor:

  1. Create a folder for the VTA on a host.
  2. mkdir vta
    
    
    
  3. Copy the EAR file for the VTA from the webapp folder on the application library CD to the folder that you created in Step 1. For example:
  4. cp /cdrom/cdrom0/webapp/quotavta.ear vta
    
    
    
  5. From the EAR file, extract the following file into the folder you created in
    Step 1:

For example:

cd vta
jar xvf quotavta.ear datamgr.jar

  1. For each JAR file you extracted, extract the file that defines the deployment descriptors for the J2EE application server. For example, for JBoss:
  2. jar xvf datamgr.jar META-INF/jboss.xml
    
    
    
  3. Edit the file that defines the deployment descriptors for the J2EE application server.
  4. Replace in the JAR file the file that defines the deployment descriptors for the J2EE application server. For example:
  5. jar uvf datamgr.jar META-INF/jboss.xml
    
    
    
  6. Replace the JAR file in the EAR file. For example:
  7. jar uvf quotavta.ear datamgr.jar
    
    
    

Configuring Bootstrap Properties and Web Applications for the VTAs

Bootstrap properties specify how the VTA loads configurations from the directory. If you install the directory on a different host than the J2EE application server, you must modify the bootstrap properties to specify the directory host.

NOTE: The examples shown in these steps are for the Quota VTA. The procedure for the Threshold VTA is identical; however, the EAR filename is thresholdvta.ear.


To configure the bootstrap properties for each VTA:

  1. Create a folder for the VTA on a host.
  2. mkdir vta
    
    
    
  3. Copy the EAR file for the VTA from the webapp folder on the application library CD to the folder that you created in Step 1.
  4. cp /cdrom/cdrom0/webapp/quotavta.ear vta
    
    
    
  5. From the EAR file, extract the file vtacore.jar into the folder you created in
    Step 1.
  6. cd vta
    
    jar xvf quotavta.ear vtacore.jar
    
    
    
  7. From the file vtacore.jar, extract the file META-INF/ejb-jar.xml.
  8. jar xvf vtacore.jar META-INF/ejb-jar.xml
    
    
    
  9. In the folder you created in Step 1, edit the META-INF/ejb-jar.xml file.

See Properties in ejb-jar.xml file for information about the properties in this file.

  1. Replace the file META-INF/ejb-jar.xml in the file vtacore.jar.
  2. jar uvf vtacore.jar META-INF/ejb-jar.xml
    
    
    
  3. Replace the file vtacore.jar in the EAR file.
  4. jar uvf quotavta.ear vtacore.jar
    
    
    

To configure the Web applications for the VTAs:

  1. From the EAR file, extract the file <vtaName>CustCare.war into the folder you created in Step 1 of the previous procedure.
  2. cd vta
    
    jar xvf quotavta.ear quotaCustCare.war
    
    
    
  3. From the file <vtaName>CustCare.war, extract the file CONSTANTS.incl.
  4. jar xvf quotaCustCare.war CONSTANTS.incl
    
    
    
  5. Edit the properties in the file CONSTANTS.incl.

See Properties in CONSTANTS.incl file for Quota VTA for information about the properties for a Quota VTA and Properties in CONSTANTS.incl file for Threshold VTA for information about the properties for a Threshold VTA.

  1. Replace the file CONSTANTS.incl into the file <vtaName>CustCare.war.
  2. jar uvf quotaCustCare.war CONSTANTS.incl
    
    
    
  3. Replace the file <vtaName>CustCare.war into the EAR file.
  4. jar uvf quotavta.ear quotaCustCare.war
    
    
    

Properties in ejb-jar.xml file

The following list shows the properties in the ebj-jar.xml file.

Config.java.naming.provider.url, Config.java.naming.security.principal, Config.java.naming.security.credentials, Config.java.naming.security.protocol

Config.net.juniper.smgt.lib.config.staticConfigDN

Config.net.juniper.smgt.lib.config.dynamicConfigDN

Config.net.juniper.smgt.des.<propertySuffix>

vta.namespace

Properties in CONSTANTS.incl file for Quota VTA

The following list shows the properties in the CONSTANTS.incl file for Quota VTA.

NIC_PROXY_NAMESPACE

PERIODIC_QUOTA

SUBSCRIBER_ACTIVATE_DESCRIPTION

PERIODIC_QUOTA_INITIAL_TOP_UP_DESCRIPTION

SUBSCRIBER_DEACTIVATE_DESCRIPTION

PERIODIC_QUOTA_INACTIVE_TOP_UP_DESCRIPTION

SUBSCRIBER_PURCHASE_DESCRIPTION

BOUGHT_QUOTA_ACCOUNT_NAME

CAUTION: Do not change this value.

PERIODIC_QUOTA_ACCOUNT_NAME

CAUTION: Do not change this value.

ACTIVE_STATUS

CAUTION: Do not change this value.

INACTIVE_STATUS

CAUTION: Do not change this value.

Properties in CONSTANTS.incl file for Threshold VTA

The following list shows the properties in the CONSTANTS.incl file for Threshold VTA.

NIC_PROXY_NAMESPACE

LDAP_BEHAVING_SERVICE_NAME

LDAP_MISBEHAVING_SERVICE_NAME

LDAP_BEHAVING_OBSERVATION_PERIOD_MILLIS

LDAP_MISBEHAVING_OBSERVATION_PERIOD_MILLIS

BEHAVING_OBSERVATION_PERIOD

MISBEHAVING_OBSERVATION_PERIOD

UPPER_THRESHOLD

LOWER_THRESHOLD

MISBEHAVING_RATE

Configuring NICs for VTAs

Use of NICs with the Threshold and Quota VTAs automates some operations for subscribers (see Use of NICs with VTAs). For demonstrations and installations with few subscribers, you can configure the VTA to use a NIC proxy stub, which explicitly defines a set of data mappings. However, for standard installation with a significant number of subscribers and multiple SAEs, you must configure a full NIC configuration.

To configure a NIC for the VTA management portals:

  1. Install the sample data called NIC Configuration Sample from the SDX software CD.

This action creates an entry called OnePopLogin under the entry called NIC in the LDAP schema.

  1. Configure a NIC proxy stub or a NIC; use the following guidelines for configuring the NIC:
  1. Add the NIC SAE agents to each SAE configuration as external plug-ins, as follows:
  2. Plugin.nic.objectref=corbaname::<host>:<port>/
    
    NameService#nicsae/saePort
    
    Plugin.nic.attr=PA_ROUTER_NAME,PA_SESSION_ID,PA_USER_TYPE,
    
    PA_LOGIN_NAME,PA_USER_IP_ADDRESS
    
    
    

For information, on modifying the SAE configuration, see SDX Components Guide, Vol. 1, Chapter 2, Configuring the SAE.

Configuring VTAs

The configuration script performs configuration tasks automatically. However, depending on your configuration, you may need to modify the configuration properties.

If you change the configuration of the VTA, the VTA will use the new parameters when you save the configuration in the directory. You do not need to restart the VTA to implement the changes.

The best way to configure the VTAs is to modify the sample data provided for these applications. To access the sample data:

  1. Start Configuration Editor.

For information about using the configuration editor, see SDX Software Basics Guide, Chapter 15, Using SDX Configuration Editor.

  1. Import the SDX system configuration from the directory.

Configuring Logging Properties for all VTAs

You can configure logging properties for all VTAs.

To configure logging properties:

  1. In the navigation pane for Configuration Editor, expand the folder called VTA.
  2. Select the applications.xml file.
  3. Hold down the right mouse button, and select Open With > SDX Configuration Editor.

The Log destinations window appears.

  1. Configure the logging properties.

You can see default settings for logging in this file. For information about configuring logging, see SDX Components Guide, Vol. 1, Chapter 12, Configuring Logging.

  1. Save the configuration.

Configuring Identifiers for Subscribers and Sessions

To configure identifiers:

  1. In the applications.xml file, click on the Subscriber ID and Lookup tab.

The Subscriber ID and Lookup window appears.

  1. Select or enter values for the identifiers.

See the following list for a description of the fields. For more information about this topic, see Identification of Subscribers, SAEs, and Sessions.

Subscriber ID

NOTE: The following three settings also provide information for the NIC and the SAE.

NOTE: The following settings do not provide information for the NIC and the SAE.

Namespace of NICProxy

SAE Subscriber Lookup

Configuring NIC Proxies

To configure NIC proxies:

  1. In the Configuration Editor navigation pane, expand the folder called NIC proxy in the VTA folder.
  2. Select the NIC proxy that you want to configure.

You must also specify the namespace of the NIC proxy in the CONSTANTS.incl file of the Web applications for the client Web portals (see Configuring Bootstrap Properties and Web Applications for the VTAs).

  1. Hold down the right mouse button, and select Open With > SDX Configuration Editor.

For information about the parameters that you can configure for NIC proxies, see SDX Components Guide, Vol. 2, Chapter 12, Configuring and Starting the NIC.

Configuring a Quota VTA

To configure a Quota VTA, configure operating settings for the Quota VTA and the initial settings for the periodic and bought accounts.

Configuring the Operating Settings for the Quota VTA

To configure the operating settings for the Quota VTA:

  1. In the Configuration Editor navigation pane, expand the folder called Applications in the VTA folder.
  2. Select the Quota.xml file.
  3. Hold down the right mouse button, and select Open With > SDX Configuration Editor.

The Quota VTA window appears and displays the information in the Periodic and Bought Quota Volume Tracking Application tab.

  1. Configure the fields for the VTA. See the following list of configuration properties for the Quota VTA.
  2. Save the Quota.xml file.

Quota service name

Quota usage charge formula

Time to next interim accounting

Record balance change history

Negative balance account

Configuring Initial Settings for Periodic and Bought Accounts

To configure the initial settings for the periodic and bought accounts:

  1. In the Quota.xml file, click on the tab called Account Initialization.
  2. Configure the fields in this window. See the following lists of initial settings.
  3. Save the Quota.xml file.

The following list shows the initial settings for a bought account.

Initial Balance

Initial Status

The following list shows the initial settings for a periodic account.

Initial Balance

Initial Status

Configuring a Threshold VTA

If you change the configuration of the VTA, the VTA will use the new parameters when you save the configuration in the directory. You do not need to restart the VTA to implement the changes. To configure a Threshold VTA:

  1. In the Configuration Editor navigation pane, expand the folder called Applications in the VTA folder.
  2. Select the Threshold.xml file.
  3. Hold down the right mouse button, and select Open With > SDX Configuration Editor.

The Threshold VTA window appears and displays the information in the Bandwidth Threshold Crossing Volume Tracking Application tab.

  1. Configure the values for the VTA. See the following list for each property that you can configure.

Behaving service name

Misbehaving service name

Behaving observation period

Misbehaving observation period

Behaving (lower) threshold

Misbehaving (upper) threshold

Usage formula

Deploying VTAs Inside the J2EE Application Server

You must deploy the EAR file for each VTA in the J2EE application server. See the documentation for the J2EE application server for information about deploying applications.

To deploy the VTAs inside JBoss, copy the EAR files to the JBoss default/deploy directory.

cp thresholdvta.ear /opt/UMC/jboss/server/default/deploy
cp quotavta.ear /opt/UMC/jboss/server/default/deploy

[Contents] [Prev] [Next] [Index] [Report an Error]