Hitachi

JP1 Version 11 JP1/Service Level Management Description


9.9 jslmmgrexport (exports service monitor information)

Function

This command exports service monitor information needed for data migration. This export processing can be performed for a single monitored service or for all monitored services.

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).

jslmmgrexport is set as the identifier in the messages 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

jslmmgrexport [ -g service-group-name -s service-name ]
                 -t { export-period | all | none }
                 -o output-file-name
                 [ -f ]

Execution permission

User account that belongs to the OS's Administrators group

Storage folder

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

Arguments

-g service-group-name

Specifies the name of the service group to which the monitored service to be exported belongs. If a nonexistent service group name is specified, an error results. A name beginning with a hyphen (-) cannot be specified.

When you specify this option, you must also specify the -s option.

To export service monitor information for all monitored services, omit both this option and the -s option. However, if no monitored services have been registered in SLM, executing this command with this option and the -s option both omitted results in an error.

-s service-name

Specifies the name of the monitored service whose service monitor information is to be exported. If a nonexistent service name is specified, an error results. A name beginning with a hyphen (-) cannot be specified.

When you specify this option, you must also specify the -g option.

To export service monitor information for all monitored services, omit both this option and the -g option. However, if no monitored services have been registered in SLM, executing this command with this option and the -g option both omitted results in an error.

-t

Specifies the period for which service performance data is to be exported. The following explains the specification method.

-o output-file-name

Specifies as an absolute path the name of the output file to which the data is to be exported. Specification in UNC representation is not supported.

The command collects the data to be exported and then outputs it in binary format to the specified file.

The service performance information subject to export processing consists of real-time information and past information. After a period of a specific amount of time, service performance information is compressed and then retained as past information. Any information whose age is less than the specific amount of time is retained as real-time information without being compressed. Therefore, the size of the output file changes even when the service monitor information is the same because the amount of real-time data varies depending on when the command is executed.

-f

Specifies that if the output file specified in the -o option already exists, that file is to be overwritten with the export data.

If this option is omitted and the specified output file already exists, the command results in an error.

Notes

Return value

Return value

Description

0

Export processing terminated normally.

1

Export processing failed.

130

The process has been interrupted by pressing Ctrl+C.

Example

C:\Program Files\HITACHI\JP1ITSLM\mgr\bin\jslmmgrexport -g GroupA -s ServiceA -t 1 -o D:\data\itslm_export