- Community Home
- >
- Storage
- >
- HPE SimpliVity
- >
- running svt-shutdown-safe from a remote server
-
-
Forums
- Products
- Servers and Operating Systems
- Storage
- Software
- Services
- HPE GreenLake
- Company
- Events
- Webinars
- Partner Solutions and Certifications
- Local Language
- China - 简体中文
- Japan - 日本語
- Korea - 한국어
- Taiwan - 繁體中文
-
- Advancing Life & Work
- Advantage EX
- Alliances
- Around the Storage Block
- HPE Ezmeral: Uncut
- OEM Solutions
- Servers & Systems: The Right Compute
- Tech Insights
- The Cloud Experience Everywhere
- HPE Blog, Austria, Germany & Switzerland
- Blog HPE, France
- HPE Blog, Italy
- HPE Blog, Japan
- HPE Blog, Middle East
- HPE Blog, Latin America
- HPE Blog, Russia
- HPE Blog, Saudi Arabia
- HPE Blog, South Africa
- HPE Blog, UK & Ireland
- HPE Blog, Poland
-
Blogs
- Advancing Life & Work
- Advantage EX
- Alliances
- Around the Storage Block
- HPE Blog, Latin America
- HPE Blog, Middle East
- HPE Blog, Saudi Arabia
- HPE Blog, South Africa
- HPE Blog, UK & Ireland
- HPE Ezmeral: Uncut
- OEM Solutions
- Servers & Systems: The Right Compute
- Tech Insights
- The Cloud Experience Everywhere
-
Information
- Community
- Welcome
- Getting Started
- FAQ
- Ranking Overview
- Rules of Participation
- Tips and Tricks
- Resources
- Announcements
- Email us
- Feedback
- Information Libraries
- Integrated Systems
- Networking
- Servers
- Storage
- Other HPE Sites
- Support Center
- Aruba Airheads Community
- Enterprise.nxt
- HPE Dev Community
- Cloud28+ Community
- Marketplace
-
Forums
-
Forums
-
Blogs
-
Information
-
English
- 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
Hewlett Packard Enterprise International
- Communities
- HPE Blogs and Forum
© Copyright 2022 Hewlett Packard Enterprise Development LP