Running the command  /opt/VRTSvcs/bin/vcsencrypt [-vcs][-agent]  returns an empty string for the encrypted password.

book

Article ID: 100050482

calendar_today

Updated On:

Description

Error Message

# /opt/VRTSvcs/bin/vcsencrypt -agent

Enter Password:

Enter Again:

* As can be seen from the above, no password in encrypted format is returned

Cause

The ".ivinfo" file under /etc/VRTSvcs/conf/config may be missing or empty.

# ls -la /etc/VRTSvcs/conf/config/.ivinfo
-rw-------. 1 root root 0 May 20 00:21 /etc/VRTSvcs/conf/config/.ivinfo

or:

# ls -la /etc/VRTSvcs/conf/config/.ivinfo
ls: cannot access '/etc/VRTSvcs/conf/config/.ivinfo': No such file or directory

Resolution

Whilst the cluster is running, run "/opt/VRTSvcs/bin/haconf -dump"  to update or recreate the file

# /opt/VRTSvcs/bin/haconf -dump


# ls -la /etc/VRTSvcs/conf/config/.ivinfo
-rw-------. 1 root root 95 May 20 00:22 /etc/VRTSvcs/conf/config/.ivinfo

# cat /etc/VRTSvcs/conf/config/.ivinfo
ff:21:c4:0d:cf:c6:1f:2f:cd:d9:4e:ad:23:78:90:11:f2:f2:aa:fa:ab:11:5c:66:cd:d2:4e:ad:23:78:90:12

re-running the command "/opt/VRTSvcs/bin/vcsencrypt [-vcs] [-agent]

# /opt/VRTSvcs/bin/vcsencrypt -agent
Enter Password:

Enter Again:

91:fa:a4:80:b7:16:26:f3:fc:5b:11:f9:a0:e4:0c:f3:00:fe:3d:59:bd:90:f5:fb:25:8b:79:a5:23:8f:0f:22

 

 

Issue/Introduction

Running the command /opt/VRTSvcs/bin/vcsencrypt [-vcs][-agent] returns an empty string for the encrypted password.