Please enter search query.
Search <product_name> all support & community content...
VCS ERROR V-16-1-53004 halogin can not be run to specify an alternative profile for localhost root user
Article: 100039882
Last Published: 2023-04-10
Ratings: 0 0
Product(s): InfoScale & Storage Foundation
Problem
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.Error Message
VCS ERROR V-16-1-53004 halogin can not be run to specify an alternative profile for localhost root userCause
The GlobalZone, from where VCS is controlled, VCS_HOST is not defined in the LocalZone.Solution
1. From the GlobalZone, log into the LocalZone.
# hostname
<GlobalZoneHostname>
# zlogin <LocalZoneHostname>
<GlobalZoneHostname>
# zlogin <LocalZoneHostname>
2. Define the GlobalZone from where the LocalZone is to be under VCS control.
# VCS_HOST=<GlobalZoneHostname>
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 <main.cf SecureClus SG Administrator username> <main.cf SecureClus SG Administrator password>
5. Verify the VCS password hidden file creation.
# ls -al ~/.vcspwd
# ls -al /etc/VRTSvcs/.vchost
-rw---------- 1 root root 14 Nov 1 2016 /etc/VRTSvcs/.vchost
# /opt/VRTS/bin/hastatus -summary
-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