When you integrate the billing system with VMmanager 5 you can limit the number of simultaneous service activation operations running on a processing module. When the limit is reached, BILLmanager will select another processing module.
Set the limit
To set the limit in the billing system:
- Connect to the server with BILLmanager via ssh with the superuser permissions.
- Open the /usr/local/mgr5/etc/billmgr.conf file.
- Add the string "
Option pmvmmgrCheckMaxOpenOp
" to the file and save the changes. - Log in to BILLmanager → Integration → Processing module → select the processing module VMmanager → Parameters.
- Select the Running operation limit and click on Edit.
- Set the Simultaneous activation operations limit. The default value is 2. 0 means that the limit is not set.
- Click on Ok to save the changes.
Select a processing module
BILLmanager performs the following operations to select a processing module:
- Selects all the processing modules connected to the tariff plan.
- Finds all the activation operations currently running on the selected processing modules and calculates the number of operations on each processing module.
- Finds issues on the processing modules processingmodule_getnextmodule.
- Sorts our the selected processing modules:
- By errors. Processing modules without errors have a higher priority and are added at the top of the list.
- By the maximum number of activation operations (maxrunningoperation). The processing modules that have not reached the limit have a higher priority.
- By processing module connected to service. The processing module that is currently connected to the service has a higher priority.
- By processing module priority.
- By processing module id. The processing modules with the smallest id have a larger priority.
- Selects the first processing module from the list.
- If no appropriate processing modules are found, BILLmanager will create a manual setup task.