cancel
Showing results for 
Search instead for 
Did you mean: 

Running command on another server

David_work
Level 2

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.

1 ACCEPTED SOLUTION

Accepted Solutions

mikebounds
Level 6
Partner Accredited

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

 
 

View solution in original post

3 REPLIES 3

mikebounds
Level 6
Partner Accredited

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

 
 

joybanerjee81
Level 2

You can follow this link and find out the way to do this

http://www.aikitsupport.com/article/how-run-commands-remotely-windows-server

 

David_work
Level 2

Thanks for the information, this answers my question for me.