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

# Configuring the State Synchronization Plug-In Interface

Some external plug-ins, such as the Admission Control Plug-In (ACP) application and the SAE plug-in agent for the NIC, support state synchronization with the SAE. The state synchronization plug-in interface allows external plug-ins to maintain the state of active subscriber, service, and interface sessions without having to store intermediate versions of the state locally.

Use the following configuration statements to configure the state synchronization plug-in:

`

shared sae configuration plug-ins state-synchronization {
  fail-queue-size fail-queue-size;
  fail-queue-age fail-queue-age;
  batch-time batch-time;
  keepalive-time keepalive-time;
}
shared sae configuration plug-ins manager {
  threads threads;
}

`

To configure the state synchronization plug-in interface:

1. From configuration mode, access the state synchronization plug-in configuration.
   `
   user@host# edit shared sae configuration plug-ins state-synchronization
   `
2. Configure the maximum number of plug-in events that are stored while the communication with a state synchronization plug-in is interrupted.
   `
   [edit shared sae configuration plug-ins state-synchronization]
   user@host# set fail-queue-size fail-queue-size
   `
3. Configure the maximum time that plug-in events are stored while the communication with a state synchronization plug-in is interrupted.
   `
   [edit shared sae configuration plug-ins state-synchronization]
   user@host# set fail-queue-age fail-queue-age
   `
4. Configure the time that the SAE waits for other plug-ins to become ready before starting a synchronization sequence.
   `
   [edit shared sae configuration plug-ins state-synchronization]
   user@host# set batch-time batch-time
   `
5. Configure the time that the SAE waits after an event before sending a ping to the remote plug-in.
   `
   [edit shared sae configuration plug-ins state-synchronization]
   user@host# set keepalive-time keepalive-time
   `
6. Configure the number of threads that the SAE maintains for plug-in synchronization.
   `
   [edit shared sae configuration plug-ins state-synchronization]
   user@host# up
   [edit shared sae configuration plug-ins]
   user@host# set manager threads 5
   `
7. (Optional) Verify your configuration.

       [edit shared sae configuration plug-ins state-synchronization]
       user@host# show
       fail-queue-size 5000;
       fail-queue-age -1;
       batch-time 60;
       keepalive-time 60;

       [edit shared sae configuration plug-ins manager]
       user@host# show
       threads 5;

#### Related Topics

- Configuring the State Synchronization Plug-In Interface (C-Web Interface)
- Configuring the SAE for External Plug-Ins
- SAE Plug-Ins

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