- Community Home
- >
- Storage
- >
- HPE SimpliVity
- >
- running svt-shutdown-safe from a remote server
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-14-2021 01:28 AM
01-14-2021 01:28 AM
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
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-15-2021 06:12 AM
01-15-2021 06:12 AM
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'
A quick resolution to technical issues for your HP Enterprise products is just a click away HPE Support Center Knowledge-base
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-16-2021 02:06 AM
01-16-2021 02:06 AM
Re: running svt-shutdown-safe from a remote server
Hi
Thanks for that - that works well
I don't suppose you also know the syntax for being able to use the svtcli user for this? I'd need to add the --emgergency to the end of the command line but then also include a method to input the password again?
many thanks in advance
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-27-2021 06:16 PM
01-27-2021 06:16 PM
Solution@jlangmead, there is no natively supported way to automate svtcli logins with the commands.
A quick resolution to technical issues for your HP Enterprise products is just a click away HPE Support Center Knowledge-base