HPE SimpliVity
cancel
Showing results for 
Search instead for 
Did you mean: 

running svt-shutdown-safe from a remote server

 
Frequent Advisor

running svt-shutdown-safe from a remote server

Hi

Is it possible to shutdown an OVC via an SSH command line executed from a remote server?

If I putty into the OVC I can execute svt-shutdown-safe all fine and the OVC will shut down as expected. 

If I run #sshpass -p '<OVC password>' ssh -l administrator@vsphere.local <OVC IP address> 'svt-shutdown-safe'   it logs in ok but I get an error saying that 'svt-shutdown-safe' cannot be found. Is this expected and, if so, is there a way to get this to work?

kind regards

1 REPLY 1
Occasional Advisor

Re: running svt-shutdown-safe from a remote server

@jlangmead, running this command requires that the environment variables be set prior. To do this, you will need to use...
. /var/tmp/buil/bin/appsetup
... in your command line.

Try this command:
#sshpass -p '<OVC password>' ssh -l administrator@vsphere.local <OVC IP address> '. /var/tmp/buil/bin/appsetup;svt-shutdown-safe' 

I am an HPE Employee
A quick resolution to technical issues for your HP Enterprise products is just a click away HPE Support Center Knowledge-base