Restricting Simultaneous Activation of Services
A mutex group defines a set of services that are mutually exclusive—services that the SAE cannot simultaneously activate for a particular subscriber. You can assign a service to more than one mutex group. When a subscriber requests activation of a particular service, the SAE determines which mutex groups contain that service. If the subscriber has current activations of other services listed in those mutex groups, the SAE proceeds in one of the following ways, depending on how you configured the mutex groups:
- Deactivates the other services listed in the mutex groups, and then activates the requested service.
- Refuses access to the requested service.
If the requested service is not listed in a mutex group, the SAE can activate the service regardless of any other services that the subscriber is using.
Restricting Simultaneous Activation of Persistent or Automatic Services
The SAE uses the following method to prevent simultaneous activation of mutually exclusive services that are configured for persistent activation or that are activated automatically when a subscriber logs in:
- If you (or a subscriber) persistently activate an existing service or change a subscription to activate an existing service when a subscriber logs in, the SAE determines whether the service is specified in one or more mutex groups.
- The SAE determines how each mutex group that lists the service is configured, and the SRC software acts accordingly.
- If all the mutex groups that list the service allow automatic deactivation of services, the SRC software removes the persistent activations for the service and changes activate-on-login subscriptions to manual.
- If any of the mutex groups does not allow automatic deactivation of services, the SRC software will not allow you to:
- Persistently activate the service.
- Change the subscription to activate the service when a subscriber logs in.
Adding a Mutex Group
Use the following configuration statements to configure a mutex group in the global service scope:
services global mutex-groupname
{auto-deactivate (yes | no);descriptiondescription
; services [services...
];}Use the following configuration statements to configure a mutex group in a service scope:
services scopename
mutex-groupname
{auto-deactivate (yes | no); descriptiondescription
; services [services...
];}
- From configuration mode, enter the mutex group configuration. In this sample procedure, the mutex group is called Video.
user@host#edit services global mutex-group Video
- Configure the method that the SAE uses to manage activation of services defined in this group.
[edit services global mutex-group Video]user@host#set auto-deactivate
(yes | no)- Enter a description for the service.
[edit services global mutex-group Video]user@host#set description
description
- Configure the lists of services that the mutex group contains.
[edit services global mutex-group Video]user@host#set services
[services...
]- (Optional) Verify your configuration.
[edit services global mutex-group Video]user@host#show
auto-deactivate yes;description "Video Services providing access to the same site with different quality";services [ Video-Bronze Video-Gold Video-Silver ];