Job Management Partner 1/Software Distribution Administrator's Guide Volume 2

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

4.13 dcmmonrst.exe (storing operating information in a database)

This section explains the dcmmonrst command, which stores operating information (suppress history and operation history) collected by JP1/Software Distribution in a database so that the operating information can be managed from the Operation Log List window.

You can execute this command in the managing server system for JP1/Software Distribution Manager. Note that this command cannot be executed when the Store the operation monitoring history in the JP1/SD database check box is cleared on the Operation Monitoring page in the setup.

Organization of this section
(1) Function
(2) Format
(3) Arguments
(4) Return codes
(5) Notes
(6) Example

(1) Function

This command stores the suppress history and operation history collected by JP1/Software Distribution in the netmdm_monitoring_security table so that the information can be managed in the Operation Log List window.

Storing operating information using automatic storage
If the settings below have been specified on the Operation Monitoring page in the setup, you can store operation information in the database whose retention period has elapsed by executing the dcmmonrst command:
  • Save the operation monitoring history check box is selected
  • Store the operation monitoring history in the JP1/SD database check box is selected
  • Enable automatic storage check box is selected
Executing the dcmmonrst command places a hold status on the stored database information, and disables subsequent operation of the periodic storage execution process. However, you can still use this command to store operating information.
To release the hold status, execute the dcmmonrst command with the /r argument specified. This releases the hold status and re-enables the periodic storage execution process. Note that when you execute the dcmmonrst command with /r specified as an argument, operating information whose retention period specified at setup has elapsed is deleted from the database. Therefore, after you have finished storing the operating information, check the operation log in the Operation Log List window before you execute the dcmmonrst command with the /r argument specified.
You can delete operating information stored in the database by executing this command with the /c argument specified. However, with the /c argument, if the database information is in hold status, the hold status is not released even if you delete the operating information.
While storage or deletion of operating information is being performed via periodic execution or by means of a command, you can cancel the process by executing the dcmmonrst command with the /r argument specified. However, if you cancel a storage or deletion process, the operating information whose retention period specified at setup has elapsed is deleted from the database. If you cancel storage being performed via periodic execution, storage restarts the next time a periodic execution process executes. If you cancel a storage or deletion operation performed by means of a command, the next storage or deletion operation performed with the command executes normally. If you restart the Remote Install Server service, the hold status is released without requiring you to execute the dcmmonrst command with the /r argument specified, and execution periodic storage is enabled. This operation also deletes from the database operating information whose retention period has elapsed.
If you execute the dcmmonrst command with the /s argument specified in order to store operation information, you can output the processing status by specifying the /n argument.

Manually storing operating information
If the settings below have been specified on the Operation Monitoring page in the setup, you can store the operating information in the database by executing the dcmmonrst command with the /x argument specified:
  • Save the operation monitoring history check box is selected
  • Store the operation monitoring history in the JP1/SD database check box is selected
  • Compress and move the operation history to the storage directory radio button is selected
  • Enable automatic storage check box is cleared
Note that the stored operating information accumulates in the database unless it is deleted by the dcmmonrst command with the /c argument specified.
Operating information that has been stored once will not be stored again by subsequent execution of this command, unless you execute the dcmmonrst command with the /z argument specified.
If you execute the dcmmonrst command with the /x argument specified in order to store operation information, you can output the processing status by specifying the /n argument.

(2) Format

Storing operating information whose retention period has elapsed when automatic storage is being used
dcmmonrst.exe [/h connection-destination] [/u user-ID-of-administrator]
              [/p password] /s start-date
              [/e end-date] [/d operation-history-backup-directory]
              { [/H host-name] | [/I IP-address] }
                [/n output-units-count]

Releasing the database hold status or canceling storage processing
dcmmonrst.exe [/h connection-destination] [/u user-ID-of-administrator]
              [/p password] /r

Storing operating information when manual storage is being used
dcmmonrst.exe [/h connection-destination] [/u user-ID-of-administrator]
              [/p password] /x [/d operation-history-backup-directory]
              [/s start-date] [/e end-date]
              { [/H host-name] | [/I IP-address] }
                [/n output-units-count]

Storing operating information again after it has been stored once
dcmmonrst.exe [/h connection-destination] [/u user-ID-of-administrator]
              [/p password] /z [/d operation-history-backup-directory]
              { [/H host-name] | [/I IP-address] }

Deleting operating information stored in a database
dcmmonrst.exe [/h connection-destination] [/u user-ID-of-administrator]
              [/p password] /c deletion-date

(3) Arguments

#: If both /H and /I are not specified as arguments, this command targets the operating information of all hosts.

(4) Return codes

The following explains the return codes that the dcmmonrst command may return:

Code Meaning Action
0 The restoration, release, or deletion of saved data was completed. None
2 Invalid argument specified in command argument. Check the settings for the command arguments.
3 Error during connection to managing server. Check the operating status of the managing server.
5 Communication failure between client and managing server system. Check the communications settings in the setup for the managing server.
7 Directory specified as storage directory not found or the user does not have access permission. Check the specified path.
12 Other errors occurred. Check the event log.
13 Invalid login name or password. Check the login name and the password.
15 Data being stored in database or deleted from database. Re-execute the command.
20 Database storage or deletion was canceled because the dcmmonrst command with /r specified as argument was executed. None
21
  • When the dcmmonrst command with the /x or /z argument specified was executed, the specified operation history backup directory was not found.
  • When the dcmmonrst command with the /x or /z argument specified was executed, there was no write permission for the specified operation history backup directory.
Specify the operation history backup directory for which you have write permissions.
22 The options specified in the command arguments cannot be executed with the current server setup settings. See the event log to check the server setup settings and the options specified in the command arguments.

If JP1/Base is linked to manage JP1/Software Distribution users, see 1.3.3 Setting for executing commands.

(5) Notes

(6) Example

The following shows examples of using the dcmmonrst command: