NET/MASTER RMS Management and Operations Guide
Limiting Concurrent Rule Actions
Planning for, Installing, and Managing RMS
3–16 115415 NonStop NET/MASTER RMS Management and Operations Guide
Limiting Concurrent
Rule Actions
When a message triggers a rule, RMS can perform specific rule actions. You can limit
the number of rule actions that can concurrently execute by defining an NCL queue in
which to execute the rule actions. To ensure that the rule actions execute in an NCL
queue, follow these steps:
1. Define the name of the NCL queue and its execution limit by using the
NCLQUEUE SET command (refer to the NonStop NET/MASTER MS Command
Reference Manual for information on this command). Use multiple NCLQUEUE
SET commands to define multiple NCL queues: one command for each queue.
Enter NCLQUEUE SET commands from a customized ZRMSININ NCL procedure
to ensure that NCL queues are defined whenever you start RMS. Enter
NCLQUEUE SET commands from the OCS command line to define new NCL
queues after RMS starts or to change the execution limit of existing NCL queues.
2. For each rule, specify the name of a defined NCL queue in which the rule actions
are to execute in the NCL Queue field in the RMS : System Action panel (see
Section 5, “Creating and Developing Rulesets and Rules,” for more information).
When a message triggers a rule, the execution limit of the NCL queue determines
the number of rule actions that can execute concurrently.
Neither step depends on the other. If you perform one step but not the other, rule
actions are not sent to an NCL queue, and there is no limit on the number of rule
actions that can execute concurrently.
You can use the NCLQUEUE SET command at any time to dynamically change the
execution limit of one or more NCL queues without affecting the rule definitions that
use each NCL queue. As you detect changes in system load, this provides the
flexibility to balance, increase, decrease, or suspend rule actions without the need to
change rule definitions.
You can define a rule with a nonexistent NCL queue name in case you want to define
an NCL queue for the rule in the future.
On different systems in a network, you can define the same NCL queue with different
execution limits.
Use the NCLQUEUE RESET command to delete an NCL queue. Use the SHOW
NCLQUEUE command from the OCS command line to display the execution limit for
each NCL queue. Use the SHOW NCL command from the OCS command line to
display delayed or queued rule actions. Refer to the NonStop NET/MASTER MS
Command Reference Manual for information on these commands.
See Section 2, “Message Handlers, Timers, Rulesets, and Rules,” for more information
about how rule actions are queued. See Section 5, “Creating and Developing Rulesets
and Rules,” for information about specifying an NCL queue for rule actions.
Refer to the NonStop NET/MASTER MS System Management Guide for an overview of
NCL queues and information about how to establish NCL queues for your NonStop
NET/MASTER MS system.