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

# Adding a Mutex Group (SRC CLI)

Use the following configuration statements to configure a mutex group in the global service scope:

`

services global mutex-group name {
  auto-deactivate (yes | no);
  description description ;
  services [ services... ];
}

`

Use the following configuration statements to configure a mutex group in a service scope:

`

services scope name mutex-group name {
  auto-deactivate (yes | no);
  description description ;
  services [ services... ];
}

`

To add a mutex group:

1. 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
   `
2. 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)
   `
3. Enter a description for the service.
   `
   [edit services global mutex-group Video]
   user@host# set description description
   `
4. Configure the lists of services that the mutex group contains.
   `
   [edit services global mutex-group Video]
   user@host# set services [ services... ]
   `
5. (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 ];

#### Related Topics

- Overview of Restricting Simultaneous Activation of Services
- Customizing Service Implementations
- Adding a Mutex Group (C-Web Interface)
- Restricting Simultaneous Activation of Persistent or Automatic Services

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