ctsvhbal Command
Purpose
Displays the possible identities that the local system may use to identify itself in RSCT host-based authentication (HBA) security mechanism credentials.
Syntax
ctsvhbal [ [ -d | -h | -m | -s ] | [ -e msgnum[,msgnum...] ] [ -l { 1 | 2 | 3 | 4 } | -b ]
Description
The ctsvhbal command is a verification utility for the RSCT host-based authentication (HBA) security mechanism. It displays the possible identities that the local system may use to identify itself in HBA credentials.
- On both the local and remote system, issue the ctsvhbac command to verify that each system has a valid HBA security mechanism configuration.
- On the local system, issue the ctsvhbal command to determine the values that the HBA security mechanism will use to identify this host to a remote system.
- On the remote system, issue the ctsvhbar command, specifying the local system host name or IP address, to determine the value that the remote system will use to verify HBA credentials transmitted from the local system.
- Compare the ctsvhbal and ctsvhbar command output to determine whether the two systems are using the same scheme for host-name resolution. If an exact host-name match does not appear in the output, repair the host-name resolution scheme, and repeat the steps above until both commands yield an exact match.
- On the remote system, issue the ctsvhbal command to determine the values that the HBA security mechanism will use to identify that host to the local system.
- On the local system, issue the ctsvhbar command, specifying the remote system host name or IP address, to determine the value that the local system will use to verify HBA credentials transmitted from the remote system.
- Compare the ctsvhbal and ctsvhbar command output to determine whether the two systems are using the same scheme for host-name resolution. If an exact host-name match does not appear in the output, repair the host-name resolution scheme, and repeat the steps above until both commands yield an exact match.
For more detailed instructions and examples, see the cluster security topics in RSCT Administration Guide.
Flags
- -b
- Produces brief output. When this option is used, the command displays only the host identities found for the local system and any errors detected. If the -l option is specified, this option is ignored.
- -d
- Displays the list of probes required for successful execution of this command.
- -e
- Specifies a list of error messages that are not to be displayed by this command during its execution. One or more message numbers may be specified. Message numbers must be in the xxxx-yyy format. Multiple messages are to be separated by commas (,) with no white space characters.
- -h
- Displays a help message for this command.
- -l
- Allows the Cluster System Management (CSM) Probe Infrastructure
to set the detail level of the output. Accepted levels are:
- 1
- Verbose mode. Displays the command purpose summary and status information for all tests.
- 2
- Displays the command purpose summary and any attention or error conditions detected in any tests.
- 3
- Displays any attention or error conditions detected in any tests.
- 4
- Silent mode. Displays errors detected during the tests.
- -m
- Displays a detailed description of the command and its purpose.
- -s
- Displays a summary of the purpose for the command.
Parameters
None.
Security
Permissions on the ctsvhbal command permit members of the bin user group to execute this command.
Exit Status
- 0
- No problems detected. Any messages displayed are informational. No administration intervention is required.
- 10
- No problems were detected, but the local system is unable to authenticate itself to any remote systems. The local system does not have any active network interfaces, which is a configuration that RSCT permits. For this exit status, however, the system administrator should verify that this configuration is appropriate.
- 20
- One or more problems were detected. Host-name resolution mechanisms that the local system uses are unable to obtain host names of network interfaces that the local system supports. Unless this condition is corrected, authentication requests using the HBA mechanism probably will not be successful on this system. For this exit status, the system administrator should follow the problem-resolution advice listed in the command output.
- 127
- Unexpected failure in this command.
Restrictions
- Cluster security services supports its own host identifier format and trusted host list file format only.
- Trusted host lists are modifiable using this command only.
- Cluster security services does not provide an automated utility for creating, managing, and maintaining trusted host lists throughout the cluster. This is a procedure left to either the system administrator or the cluster management software.
Standard Output
When the -h flag is specified, this command's usage statement is written to standard output. When the -l flag is specified, the contents of the trusted host list file are written to standard output.
Standard Error
Descriptive information for any detected failure condition is written to standard error.
Examples
ctsvhbal
Output would be similar to: ctsvhbal: The Host Based Authentication (HBA) mechanism identities for
the local system are:
Identity: zathras.pok.ibm.com
Identity: 9.127.100.101
ctsvhbal: At least one of the above identities must appear in the
trusted host list on the node where a service application resides in order
for client applications on the local system to authenticate successfully.
Ensure that at least one host name and one network address identity from the
above list appears in the trusted host list on the service systems used by
applications on this local system.
Location
- /opt/rsct/bin/ctsvhbal
- Contains the ctsvhbal command
Files
- /opt/rsct/cfg/ctcasd.cfg
- Default configuration for the ctcasd daemon
- /var/ct/cfg/ctcasd.cfg
- Configuration for the ctcasd daemon, which can be modified by the system administrator