Logging on to VCS

VCS prompts user name and password information when non-root users execute haxxx commands. You can 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. Note that you might need specific privileges to run VCS commands.

When you run halogin, VCS stores encrypted authentication information in the user's home directory. For clusters running in secure mode, 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.

After you run the command, VCS stores the info until you end the session.

Root users need not run halogin when running VCS commands from the local host.

To log on to a cluster running in secure mode

  1. Set the following environment variables:
  2. Define the node on which the VCS commands will be run. Set the VCS_HOST environment variable to the name of the node. To run commands in a remote cluster, you set the variable to the virtual IP address configured in the ClusterService group.
  3. Log on to VCS:

    halogin vcsusername password

To log on to a cluster not running in secure mode

  1. Define the node on which the VCS commands will be run. Set the VCS_HOST environment variable to the name of the on which to run commands. You can set the variable to the virtual IP address configured in the ClusterService group.
  2. Log on to VCS:

    halogin vcsusername password

To end a session for a host

To end all sessions

VCS prompts you for credentials every time you run a VCS command.