Configuring the Interim Account Interval and Usage Metric of a Service in the External Database (SRC CLI)

To configure how the db-engine processor manages services, you need to specify the usage metric and the interim accounting interval options. Both of these options are configured with JavaScript variables.

Use the following statement to configure how the SRC VTA manages services:

shared vta group name processor db-engine service name {interim-interval-function interim-interval-function;usage-metric usage-metric;}

Note: The CLI editing level must be set to expert for this task.

To configure how the db-engine processor manages services:

  1. From configuration mode, access the statement that configures the db-engine processor to manage services and specify the name of the service. For example, to configure a service called QuotaLocal in the SRC VTA group vta1:
    [edit]user@host# edit shared vta group vta1 processor db-engine service QuotaLocal
  2. Specify the JavaScript function that defines the usage metric for the service.
    [edit shared vta group vta1 processor db-engine service QuotaLocal]user@host# set usage-metric usage-metric
  3. Specify the JavaScript variables that define the interim accounting interval for the service.
    [edit shared vta group vta1 processor db-engine service QuotaLocal]user@host# set interim-interval-function interim-interval-function

Related Documentation