Home > Veritas Cluster Server Manual Pages
HACLI (1M) |
Maintenance Commands |
hacli -cmd command [-sys | -server system(s)]
hacli -help
VRTSvcs
The hacli command can be used to issue commands from one system in the cluster to another system. VCS must be running on the systems. The use of the hacli command requires setting HacliUserLevel to at least COMMANDROOT, which allows only root users to use hacli. By default, the HacliUserLevel setting is NONE. If the users do not want the root user on system A to enjoy root privileges on another system B, HacliUserLevel should remain set to NONE (the default) on system B. The cluster attribute HacliUserLevel attribute has three, case-sensitive values:
mars# hacli -cmd "/usr/bin/finger" -sys jupiter jupiter: Command is finger 2>&1 jupiter: No one logged on
mars# hacli -cmd finger jupiter: Command is finger 2>&1 jupiter: No one logged on mars: Command is finger 2>&1 Login Name TTY Idle When Where kroot Super-User pts/1 22: Tue 14:57 fubar.xyz.com kroot Super-User pts/2 22: Wed 11:58
mars# hacli -cmd "ls /etc/VRTSvcs" Command is finger 2>&1 jupiter: Command is finger 2>&1 jupiter: Templates conf snmp mars: Command is finger 2>&1 Templates conf snmp
Copyright (c) 2008 Symantec.
All rights reserved.
Last updated: 07/03/2008
Copyright ©2009 Symantec Corporation
All rights reserved.