Unable to create or update password for Veritas Cluster Server (VCS) user accounts

book

Article ID: 100049549

calendar_today

Updated On:

Description

Error Message:

VCS ERROR V-16-1-11356 SecInfo is not set. Use 'vcsencrypt -gensecinfo' for generating SecInfo.
VCS ERROR V-16-1-11399 Failed to create user.

The following error is seen if the configuration is not dumped after generating the key:

VCS ERROR V-16-1-11502 IV value is NULL or not dumped in memory.
VCS ERROR V-16-1-11399 Failed to create user.

Cause

The security key is not generated to allow the hauser command to complete.

Resolution

1) Generate the security key using the vcsencrypt command as below:

Linux:
# /opt/VRTSvcs/bin/vcsencrypt -gensecinfo   

Windows:
# vcsencrypt -gensecinfo  

Enter any passphrase. This is a temporary passphrase which does not need to be stored.

2) Dump the configuration after generating the security key

# haconf -dump

3) Change VCS to read-write mode, if needed

# haconf -makerw

4)  Add or update the user 

Add User:
# hauser -add -priv Administrator

Update User password:
# hauser -update  

5) Save the configuration and change VCS mode to read-only.

# haconf -dump -makero