NET/MASTER RMS Management and Operations Guide

BASERULE
Base Rulesets
115415 NonStop NET/MASTER RMS Management and Operations Guide 12–5
The following is an example of the contents of an IN file that sets the disk primary
processes:
PRIMARY $SYSTEM, 0
PRIMARY $DATA, 0
PRIMARY $DATA1, 1
PRIMARY $DATA2, 1
PRIMARY $DATA3, 2
PRIMARY $DATA4, 2
PRIMARY $DATA5, 3
PRIMARY $DATA6, 3
You can also customize the rule by changing the execution limit of the NCL queue in
which the rule actions execute. Use the NCLQUEUE SET command from the OCS
command line to change the execution limit. See Section 3, “Planning for, Installing,
and Managing RMS,” for more information.
ZDEVICEDOWN ZDEVICEDOWN is a message action rule that acts in response to event number 7 from
the EMS subsystem. The rule restarts a failed asynchronous device.
Message Delivery
The rule instructs the message handler to replace the original message (event
number 7 from the EMS subsystem) by the following:
EMS0007 DEVICE
device-name
[ CU
%ccu
| CU
%...
] DOWN
[(
cpu,chan,%ctlr,%unit
) ]
device-name
is the name of the failed device. Refer to EMS message 7 in the
Operator Messages Manual for an explanation of the other variables in the message. The
subject is
device-name
(for example, $ATP1).
Rule Actions
When a message triggers the rule, the message handler starts NCL procedure
ZRMSDEVN to perform the following:
1. Issue Guardian utility CMI commands to restart the device. If the restart
operation is successful, the procedure logs the following message in the NonStop
NET/MASTER MS activity log:
RMS9902
subsystem-name
DEVICE
device-name
RECOVERY COMPLETE.
STATUS: STARTED
subsystem-name
is the name of the subsystem that owns the device (for
example, ATP6100), and
device-name
is the name of the device that has been
restarted.
2. If Step 1 fails, delay one minute then retry Step 1. The restart operation repeats
until it is successful or the action is deleted. See “Displaying, Freezing, and
Deleting Active Subjects” in Section 9 for information on how to delete rule actions
for an active subject.