07-05-2012 12:01 AM
When running any of the commands, is it possible to run them on a remote server? I know you can manage another server from the GUI, but cannot find if there is an option to do this via command line.
Solved! Go to Solution.
07-05-2012 01:05 AM
There is no option for volume manager commands (vxprint, vxdg etc) to be run remotely, but you can run commands remotelty with VCS, so if you have SFWHA, then from node1 you could run vxprint on node2 using:
hacli -cmd vxprint -sys node2
This requires that you set HacliUserLevel to COMMANDROOT (one off change to allow privileges):
haconf -makerw haclus -modify HacliUserLevel COMMANDROOT haclus -dump -makero
If you don't have VCS, you could try an O/S remote shell like Winrs
Mike
07-05-2012 01:05 AM
There is no option for volume manager commands (vxprint, vxdg etc) to be run remotely, but you can run commands remotelty with VCS, so if you have SFWHA, then from node1 you could run vxprint on node2 using:
hacli -cmd vxprint -sys node2
This requires that you set HacliUserLevel to COMMANDROOT (one off change to allow privileges):
haconf -makerw haclus -modify HacliUserLevel COMMANDROOT haclus -dump -makero
If you don't have VCS, you could try an O/S remote shell like Winrs
Mike
07-05-2012 10:27 AM
You can follow this link and find out the way to do this
http://www.aikitsupport.com/article/how-run-commands-remotely-windows-server
07-05-2012 11:15 PM
Thanks for the information, this answers my question for me.