Hitachi

JP1 Version 11 JP1/Service Level Management Description


9.8 jslmmgrdbcleanup (cleans up database)

Function

This command deletes unneeded data, including the data that remained when monitored services were deleted and data that was created when database errors occurred. By deleting unneeded data, you can obtain free space for the database.

To ensure the efficient use of space in the database, we recommend that you clean up the database periodically (on a daily to weekly basis).

Execute this command while the following SLM - Manager services are running:

In a cluster system, execute this command on the active server (if the command is executed on the standby server, an error will result).

If the -r option is specified, this command deletes RD areas to which no monitored service is assigned. If the -r option is omitted, this command deletes any unneeded data in an RD area, but the RD area will remain and can be reused.

jslmmgrdbcleanup is set as the identifier in the messages that this command outputs to the message logs.

For details about the message logs, see 7.2.4 Message logs.

For details about the messages displayed during command execution, see 11.3 Messages.

Format

jslmmgrdbcleanup [ -r ]

Execution permission

User account that belongs to the OS's Administrators group

Storage folder

SLM-Manager-installation-folder\mgr\bin\

Arguments

-r

Deletes RD areas to which no monitored service is assigned, in addition to deleting unneeded data in the database.

Notes

Return value

Return value

Description

0

Database cleanup processing terminated normally.

1

Database cleanup processing failed.

130

The process has been interrupted by pressing Ctrl+C.

Example

C:\Program Files\HITACHI\JP1ITSLM\mgr\bin\jslmmgrdbcleanup