jbslistsrv
- Organization of this page
Function
The jbslistsrv command lists the target authentication server names set in the common definition information on the screen.
Format
jbslistsrv [-h logical-host-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 for which the destination authentication server is set. 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.
Return values
0 |
Normal end |
Other than 0 |
Abnormal end |
Example
The following shows some examples of use.
- Example 1
-
Suppose that the primary authentication server is server1, and the secondary authentication server is server2. The following information appears when you execute the jbslistsrv command:
jbslistsrv primary:server1 secondary:server2
- Example 2
-
Suppose that the primary authentication server is server1, and the secondary authentication server is server2. If server1 is in blocked status, the following information appears when you execute the jbslistsrv command:
jbslistsrv primary:server1:blocked secondary:server2
- Example 3
-
If only one authentication server is set (authentication server name:server1), the following information appears when you execute the jbslistsrv command:
jbslistsrv primary:server1