jbshosts2export
- Organization of this page
Function
The jbshosts2export command collects the jp1hosts2 information registered for a host and outputs it to standard output.
Format
jbshosts2export [-h logical-host-name] > jp1hosts2-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
Specify the name of the logical host whose jp1hosts2 information you want to collect. If you omit this option, the host name set in the JP1_HOSTNAME environment variable is assumed. If JP1_HOSTNAME is not set, the physical host name is assumed.
To collect the jp1hosts2 information for a logical host in a cluster system, execute the jbshosts2export command on the primary node.
jp1hosts2-definition-file-name
Specify the name of the file from which to collect the jp1hosts2 information.
Return values
0 |
Normal end |
1 |
Message processing error |
2 |
Command argument error |
3 |
Permission check error |
4 |
Common definition error |
5 |
File I/O error |