HiRDB Datareplicator Version 8 Description, User's Guide and Operator's Guide

[Contents][Glossary][Index][Back][Next]

3.4.4 Remote control

You can use the JP1/Cm2/Network Node Manager's SNMP protocol to execute a Datareplicator's commands at a remote machine.

MIB file
There must be a MIB file at each Datareplicator (at the supervisor machine and at each supervised machine) to perform remote control. Copy a Datareplicator MIB file (the filename is hdsMIB) into the supervisor machine, and then load it with the JP1/Cm2/Network Node Manager. Do not edit a Datareplicator's MIB file. For details about the MIB file, see 3.4.9 MIB file.
Organization of this subsection
(1) Mechanism of remote control
(2) Limitations on available commands

(1) Mechanism of remote control

You must define a command and its options in the JP1/Cm2/Network Node Manager at the supervisor machine. The JP1/Cm2/Network Node Manager issues a SET request and SET information to the supervised machine's SNMP agent on the basis of information in the MIB file. The supervised machine's SNMP agent references the MIB file and executes Datareplicator commands. However, the command execution results (return value) are not returned.

Details about a command executed by remote control are output to the supervised machine's system log and event log, except for the percent sign (%). When a command is executed successfully, it is logged into the command log in the directory.

(2) Limitations on available commands

Remote control enables you to execute only Datareplicator commands; no other commands can be executed under remote control. No checking is performed to validate the correctness of the command name or options. Datareplicator will attempt to execute any specified command, even if it is not a valid command.

Although the SNMP agent can execute commands, it cannot receive a command's response. For this reason, you cannot execute an interactive command (one that issues a query message after it executes).

Unsupported command
hdestart -i command

The following figure provides an overview of using JP1/Cm2 for remote control.

Figure 3-30 Overview of using JP1/Cm2 for remote control

[Figure]

#1
JP1/Cm2/Network Node Manager

#2
UNIX: JP1/Cm2's SNMP agent
Windows: Datareplicator's SNMP agent

Explanation
  1. Specify a Datareplicator command and options on the JP1/Cm2/Network Node Manager at the supervisor machine. The JP1/Cm2/Network Node Manager references the Datareplicator's MIB file and passes the command name, options, SET request code, and system index to the supervised machine's SNMP agent.
  2. The supervised machine's SNMP agent references the Datareplicator's MIB file and executes the specified command and options.
  3. The Datareplicator command is executed. Because the command execution results are not returned to the JP1/Cm2/Network Node Manager, you must use status monitoring or the information collection facility to check the results.