Logging On to VCS
When non-root users execute haxxx commands, they are prompted for their VCS user name and password to authenticate themselves. Use the halogin command to save the authentication information so that you do not have to enter your credentials every time you run a VCS command.
In secure clusters, VCS assigns Guest privileges to all native users.
The command stores authentication information in the user's home directory. In secure clusters, the command also sets up a trust relationship and retrieves a certificate from an authentication broker.
If you run the command for different hosts, VCS stores authentication information for each host.
To log on to a cluster running in secure mode
-
Set the following environment variables:
- VCS_DOMAIN---Name of the VxSS domain to which the user belongs.
- VCS_DOMAINTYPE---Type of VxSS domain: unixpwd, nt, NIS, NIS+, or vx.
-
Define the node on which the VCS commands will be run. Set the VCS_HOST environment variable to the name of the node. You can also set the variable to the virtual IP address configured in the ClusterService group.
-
Log on to VCS:
# halogin vcsusername password
Note
You do not need to run the halogin command if you are running VCS commands from the local host.
To log on to a cluster not running in secure mode
-
Define the node on which the VCS commands will be run. Set the VCS_HOST environment variable to the name of the node.
-
Log on to VCS:
# halogin vcsusername password
To end a session for a host
# halogin -endsession hostname
To end all sessions
# halogin -endallsessions
VCS will now prompt you for credentials every time you run a VCS command.
|