The ha commands may fail for non-root user if cluster is secure
The
ha commands fail to work for one of the following reasons:
-
If you first use a non-root user without a home directory and then create a home directory for the same user.
-
If you configure security on a cluster and then un-configure and reconfigure it.
Workaround
-
Delete /var/VRTSat/profile/\<user_name\>,
-
Delete /home/user_name/.VRTSat.
-
Delete /var/VRTSat_lhc/\<cred_file\> file which same non-root user owns.
-
Run
hacommand with same non-root user (this will pass).
Related information