HA users have Group Operator privileges, instead of Group Administrator for the service groups.
1.) Steps to remove GroupOperator 'username' for the Service Group:
Check the current privileges for the VCS user:
Syntax:
# hauser -display
Example:
# hauser -display coracle
coracle : ClusterOperator
GroupOperator for group(s) ( prdclm01_grp )
Remove Operator privileges from user:
# haconf -makerw
Syntax:
# hauser -delpriv
Example:
# hauser -delpriv coracle OperatorGroup -group prdclm01_grp
--- This is the workaround for the above, if issues are found with doing it:
# hastop -all -force :keeps zones, databases, and applications running outside of vcs.
Then 'vi' on the main.cf to remove the Service Group(s) Operators=
Next Verify the VCS configuration:
# cd /etc/VRTSvcs/conf/config
# hacf -verify .
If this comes back good:
# hastart
.. on all nodes.
2.) Steps to add Administrator to 'username' for the Service Group
Make VCS configuration writable:
# haconf -makerw
Syntax:
# hauser -addpriv
Example:
# hauser -addpriv coracle Administrator -group prdclm01_grp
# haconf -dump -makero
Check after resetting the vcs user to be group administrator:
Syntax:
# hauser -display
Example:
# hauser -display coracle
coracle : ClusterOperator
GroupAdministrator for group(s) ( prdclm01_grp )
3.) Next reset the 'coracle' halogin password:
Syntax:
# /opt/VRTS/bin/hauser - update
Example:
# /opt/VRTS/bin/hauser -update coracle
Enter Password: <--- enter password
Enter Again: <--- re-enter to confirm the password
Now log onto the system as the VCS user other than root, and log onto the zone:
# /usr/sbin/zlogin prdclm01
Run 'hastatus -sum' command:
# /opt/VRTSvcs/bin/hastatus -sum
VCS NOTICE V-16-1-52563 VCS Login:coracle
Enter Password:
-- SYSTEM STATE
-- System State Frozen
A mtvav240-b2a RUNNING 0
A mtvav240-b2b RUNNING 0
-- GROUP STATE
-- Group System Probed AutoDisabled State
B prdclm01_grp mtvav240-b2a Y N ONLINE
Applies To
Lab replication setup: zones = prdclm01 mount: prdclm01 = /zone/prdclm01 Zone user: coracle = prdclm01 VCS privilege for user Service Group Operator: bash-3.00# hauser -display coracle coracle : ClusterOperator GroupOperator for group(s) ( prdclm01_grp )