Problem
VCS MirrorView agent fails to change EMC MirrorView role from primary to secondary during failover or using hagrp -switch command. The agent uses following command to change EMC MirrorView role from primary to secondary during failover and hagrp -switch command
#/opt/Navisphere/bin/naviseccli -h xx.xx.xx.xxx mirror -sync -promotegroup -name GROUP_NAME
The command works outside of VCS, but returns an error when called via the VCS agent.
Error Message
Error occurred while trying to connect: 'xx.xx.xx.xxx'.
Message : Certificate Verification Error: cannot find a certificate trust chain.
Cause
The current implementation of VCS agent for EMC MirrorView does not support medium Certification Verification Level.
Solution
Upgrade to the latest version of the MirrorView agent where other NaviSeccli certification levels are supported.The MirrorView agent is part of the VCS Agent Pack, which can be downloaded from Veritas SORT.
A workaround for older versions of the MirrorView agent is to reinstall the EMC NaviSeccli package with a low Certificate Verification Level.
Note: The problem can also be caused by using the wrong certificate. Please make sure that the certificate used by VCS is the same as the one used by system user. For example, VCS does not have the HOME environment variable set, so it may access the certificate in the root directory instead of the user's home directory. The following messages may be logged in the VCS engine log.
2014/02/02 06:30:19 VCS WARNING V-16-20054-103 (host2) MirrorView:MY_MirrorView:online:Getting the role, state, condition and update policy for group:group_prd
2014/02/02 06:30:19 VCS WARNING V-16-20054-52 (host2) MirrorView:MY_MirrorView:online:Cmd being fired is:
/opt/Navisphere/bin/naviseccli -h diskarray mirror -sync -listgroups -name group_prd -role -state -condition 2>&1
2014/02/02 06:30:19 VCS ERROR V-16-20054-1113 (host2) MirrorView:MY_MirrorView:online:devices are in an invalid mix of states; administrative intervention required
Applies To
Veritas and Veritas High Availability Agent Pack Q32010
Solaris/AIX/HP-UX/Linux