VCS ERROR V-16-1-53004 halogin can not be run to specify an alternative profile for localhost root user

book

Article ID: 100039882

calendar_today

Updated On:

Description

Error Message

VCS ERROR V-16-1-53004 halogin can not be run to specify an alternative profile for localhost root user

Cause

The GlobalZone, from where VCS is controlled, VCS_HOST is not defined in the LocalZone.

Resolution

1. From the GlobalZone, log into the LocalZone.
# hostname


# zlogin


2. Define the GlobalZone from where the LocalZone is to be under VCS control.
# VCS_HOST=
 

3. Export the VCS_HOST environment variable.
# export VCS_HOST

 
4. Authenticate an alternate non-root profile user to run VCS commands from the LocalZone without being prompted for passwords for each VCS command.
# /opt/VRTS/bin/halogin
 

5. Verify the VCS password hidden file creation.
 
# ls -al ~/.vcspwd
-rw-------  1 root     root         48 Aug 21 08:53 /root.vcspwd

# ls -al /etc/VRTSvcs/.vchost
-rw---------- 1 root  root          14 Nov  1  2016 /etc/VRTSvcs/.vchost

# /opt/VRTS/bin/hastatus -summary

-- SYSTEM STATE
-- System               State                Frozen

A  GlobalZoneHostname01       RUNNING              0
A  GlobalZoneHostname02      RUNNING               0

 

Issue/Introduction

An alternate non-root profile wants to run VCS (Veritas Cluster Server) commands from a LocalZone. However, the user is prompted for a password for each, and every, VCS command.