jbsblockadesrv
- Organization of this page
Function
The jbsblockadesrv command blocks access to the specified authentication server.
Format
jbsblockadesrv [-h logical-host-name] -s authentication-server-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.
-s authentication-server-name
Specify the name of the authentication server to be placed in blocked status.
Return values
0 |
The authentication server has been blocked. |
1 |
The authentication server is already blocked. |
17 |
The authentication server cannot be blocked. |
Other than 0, 1, or 17 |
Abnormal end |
Example
Suppose that the primary authentication server is server1, and the secondary authentication server is server2. When you execute the jbsblockadesrv command to block server2, the following information appears:
jbsblockadesrv -s server2 primary:server1 secondary:server2:blocked