HRpM Agent Logs
HRpM Agent Logs
Prior to version 6.0, Hitachi Replication Manager was called HiCommand Replication Monitor.
When a failure occurs in a Replication Manager agent, collect maintenance information for the Replication Manager agent to determine the cause of the failure.
In most cases, to determine the cause of a failure, you need maintenance information for both the Replication Manager agent and the Device Manager agent. Depending on the Device Manager version you are using, use either of the following ways to collect maintenance information:
When using a Device Manager agent version 05-60 or later
Use the TIC command provided by the Device Manager agent to batch collect maintenance information for the Replication Manager agent and Device Manager agent.
When using a Device Manager agent version earlier than 05-60
You cannot collect maintenance information for the Replication Manager agent by using the TIC command supported by a Device Manager version earlier than 05-60. Use the hrpm_getras command to collect maintenance information for the Replication Manager agent.
Note that, to determine the cause of a failure, you also need to use the hcmdgetogs command to collect maintenance information for the management server, in addition to maintenance information for the pair management server.
The following explains how to use the hrpm_getras command:
Format
hrpm_getras directory-name
Description
Collects maintenance information for a Replication Manager agent.
Arguments
directory-name
Specifies the name of the directory in which collected maintenance information is stored. An absolute path or relative path can be specified. Enclose in double quotation marks (") directory names containing space characters. If you specify an existing directory, all the files and subdirectories in that directory are deleted, and then maintenance information is collected and stored.
In Windows:
- The following characters cannot be specified in a directory name:
/ , * ? " < > | $ % & ' ` ; [ ] { }
- The colon (:) indicates a drive, and the backslash (\) separates directory levels.
In Solaris:
- The following characters cannot be specified in a directory name:
, * ? " < > | $ % & ' ` \ : ; [ ] { }
- The forward slash (/) indicates a drive and separates directory levels.
Execution Examples
In the following example, the hrpm_getras command collects the Replication Manager maintenance information:
In Windows:
hrpm_getras C:\logfile
In Solaris:
# hrpm_getras /logfile