Hitachi

JP1 Version 12 JP1/Base User's Guide


jbshostsexport

Organization of this page

Function

The jbshostsexport command collects jp1hosts information registered in the common definition information, and then outputs it to the standard output.

Format

jbshostsexport [-h logical-host-name] > jp1hosts-definition-file-name

Required execution permission

In Windows: Administrators (If User Account Control (UAC) for Windows is enabled, you must execute the command from the administrator console.)

In UNIX: Superuser or JP1/Base administrator permission

Command directory

In Windows:

installation-folder\bin\

In UNIX:

/opt/jp1base/bin/

Arguments

-h logical-host-name

When using JP1/Base in a cluster system, specify the logical host whose jp1hosts information you want to collect. If you omit this option, the host name set in the environment variable JP1_HOSTNAME is assumed. If the environment variable JP1_HOSTNAME is not set, the physical host name is assumed.

jp1hosts-definition-file-name

Specify the name of the file in which to collect the jp1hosts data.

Return values

0

Normal end

1

Message processing error

2

Command argument error

3

Permission check error

4

Common definition error