- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - VMware
- >
- P4300 G2 shutdown Script via SSH if you get power ...
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
04-13-2021 08:16 AM
04-13-2021 08:16 AM
P4300 G2 shutdown Script via SSH if you get power cut
Is there a way to shutdown the Lefthand via Script with SSH if the power cuts off? I am using Eaton UPS.
What would you write into the script for automatical shutdown if the power cuts off?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-16-2021 02:23 PM
04-16-2021 02:23 PM
Re: P4300 G2 shutdown Script via SSH if you get power cut
There are no scripts available for StoreVirtual.
But you can use write scripts which use the cliq to do the commands like shutdown.
I work at HPE
HPE Support Center offers support for your HPE services and products when and how you need it. Get started with HPE Support Center today.
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-17-2021 12:02 PM - edited 04-19-2021 06:51 AM
04-17-2021 12:02 PM - edited 04-19-2021 06:51 AM
Re: P4300 G2 shutdown Script via SSH if you get power cut
Do you have maybe another SSH script for shutdown or smth like that? Just to have the right command.
Or could you maybe at least tell me the right command for shutting it down? Is there the possibility to connect on it via SSH? If yes, which version?
BR
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-19-2021 11:53 AM - last edited on 06-24-2021 10:31 AM by Ramya_Heera
04-19-2021 11:53 AM - last edited on 06-24-2021 10:31 AM by Ramya_Heera
Re: P4300 G2 shutdown Script via SSH if you get power cut
We can run the shutdown command through SSH. However, we (Support Team) need to generate one time passwords to log into root.
We can shutdown the Node through Cliq. Below are the steps for the same.
1. Open a Putty Session
2. Enter the IP Address of the Node on Port 16022
3. Run the following Command:
Syntax
shutdownNsm {login=} { userName= passWord= | groupName= } {action=} [delay=]
Parameters
Name Description
The IP addresses or DNS-resolvable names of one or more storage
systems.
{login}
The authentication user name for the storage system. If you use this
parameter, you must include the passWord parameter with it. Or, you can
use the groupName parameter instead of userName and passWord.
{userName}
The name of the management group. Use this parameter if you do not use
the userName and passWord parameters. Because groupName has
{groupName}
cached credentials, it does not require the userName and passWord
parameters.
The password for the storage system. Required when the userName
parameter is used.
{passWord}
The operation to perform. Values are Shutdown—Powers off the storage
system, Restart—Reboots the storage system, and Cancel—Cancels a
restart or shutdown, if pending.
{action}
[delay] The number of minutes to delay prior to shutdown or restart (defaults to 0).
CAUTION:
• Shutting down a storage node may cause loss of access to volumes or degrade performance.
• This command will display a prompt, requiring confirmation before proceeding. This prompt
may be overridden with an optional prompt=0 parameter on the command line; in this case,
the command will always run without pausing for confirmation.
I work at HPE
HPE Support Center offers support for your HPE services and products when and how you need it. Get started with HPE Support Center today.
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]
