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

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

3.4.6 Initializing operations management

This subsection discusses the items that you define to use JP1/Cm2 operations management.

Organization of this subsection
(1) Setting up the supervisor machine
(2) Setting up a supervised machine (for a UNIX Datareplicator)
(3) Setting up a supervised machine (for a Windows Datareplicator)

(1) Setting up the supervisor machine

The item discussed as follows must be set up at the supervisor machine (manager).

(a) Loading the MIB file

Copy the Datareplicator MIB file (hdsMIB) into any directory in the supervisor machine. The information collection and remote control facilities become available once you load the JP1/Cm2/Network Node Manager into the MIB. The following are the names of the directory and file where you will find the Datareplicator MIB file:

Directory name
For UNIX Datareplicator: /opt/hirdbds/lib
For Windows Datareplicator: Datareplicator-installation-directory\lib

Filename
hdsMIB

(2) Setting up a supervised machine (for a UNIX Datareplicator)

In the case of a UNIX Datareplicator, the items listed as follows must be set up at a supervised machine.

(a) Setting up the directory subject to monitoring

Execute the hdspathlist command at the supervised machine to set up the directory (HDSPATH or HDEPATH) of Datareplicator that is to be subject to supervision. JP1/Cm2 monitors Datareplicator that corresponds to the directory specified in the hdspathlist command.

(b) Creating a shell script

To use the remote control facility to execute a Datareplicator command that requires a HiRDB environment variable, you must create a shell script. Specify the Datareplicator command and any HiRDB environment variables in this shell script. The following Datareplicator commands require HiRDB environment variables:

When you specify the filename of the created shell script, the remote control facility executes the Datareplicator command in the environment specified in the shell script. There is no need to create a shell script to execute a command that does not require environment variables.

To create a shell script:

  1. Copy the sample shell script into the Datareplicator-installation-directory/bin directory. The following are the names of the directories and files where you can find sample shell scripts:
    Name of directory for sample shell scripts
    /opt/hirdbds/lib/sample
    Shell script filenames
    Shell script for event issuance: hdeevent_sh
    Shell script for extraction definition preprocessing file: hdeprep_sh
    Shell script for source Datareplicator startup: hdestart_sh
    Shell script for target Datareplicator startup: hdsstart_sh
    Target directory name
    /opt/hirdbds/bin
  2. Edit the copied file and specify the applicable command and environment variables. For details about environment variables, see 2.4 Specifying environment variables (UNIX).
  3. Grant execution privilege to the created shell script file.
(c) Setting up the JP1/Cm2/Extensible SNMP Agent

Register the Datareplicator's MIB file (hdsMIB) at the JP1/Cm2/Etensible SNMP Agent. For details about how to set up JP1/Cm2/Extensible SNMP Agent, see the manual JP1 Version 8 JP1/Consolidated Management 2/Extensible SNMP Agent.

(d) Setting up the Datareplicator agent

Specify the JP1/Cm2/Extensible SNMP Agent's $OV_BIN environment variable for the user who will execute the Datareplicator agent startup command (hdsagtstart). For automatic startup of the Datareplicator agent subject to status monitoring, register the following pathname in /etc/localrc:

Registered path name
/opt/hirdbds/lib/hdsagtstart_sh

To change settings for the Datareplicator agent settings (such as the monitoring interval), execute the hdsagtopt command.

(3) Setting up a supervised machine (for a Windows Datareplicator)

In the case of a Windows Datareplicator, the items listed as follows must be set up at a supervised machine.

(a) Setting up the SNMP service

From Network Computer, choose the Services tab to set up the SNMP service.

(b) Setting up the Datareplicator agent

For automatic startup of the Datareplicator agent subject to status monitoring, specify HiRDB Datareplicator (Agent) in the Windows Service dialog box as the service to be subject to automatic startup.

To change settings for the Datareplicator agent settings (such as the monitoring interval), execute the hdsagtopt command.