Hitachi

JP1 Version 12 JP1/Integrated Management 2 - Manager Command and Definition File Reference


jcshostsexport

Organization of this page

Function

This command acquires host information from the host information database. When this command is executed, it loads host information from the host information database and stores it in a specified host information file (if no host information file name is specified, the host information is output to standard output).

You can use this command when the Central Scope functions are enabled.

Format

jcshostsexport [-h logical-host-name] > host-information-file-name

Execution permission

In Windows: Administrator permissions (if the Windows UAC feature is enabled, the command is executed from the administrator console)

In UNIX: Superuser permissions

Storage directory

In Windows:

Scope-path\bin\

In UNIX:

/opt/jp1scope/bin/

Arguments

-h logical-host-name

When you are operating in a cluster system, this option specifies the logical host name. If this option is omitted, the logical host name specified in the JP1_HOSTNAME environment variable is assumed. If the JP1_HOSTNAME environment variable is not specified, the physical host name is assumed. If you are not using a cluster system, specification of this option is not needed.

host-information-file-name

Specifies the name of the file in which the host information is to be stored.

Return values

0

Normal termination

1

Logical host name is invalid

2

Argument error

4

No permission to execute the command

10

Setup has not been completed

11

There is no host information database

12

Insufficient memory

14

Host information database is corrupted

15

Message initialization failed

16

Host information database is in use

99

Other error