Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello
I'm looking for a possibility to shutdown/halt the filer over a powershell script? Is there any solution?
The background ist that I would like to create a script which stop the filer in case of a UPS event.
I know about the ups command on netapp, but I'll control the whole shutdown from a central management pc.
Any ideas?
regards,
simon
Solved! See The Solution
1 ACCEPTED SOLUTION
migration has accepted the solution
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hey Simon,
There isn't an API to shutdown a controller, but you can use the invoke-nassh cmdlet.
Invoke-NaSsh -Command 'halt -t 0'
Hope that helps,
~Glenn
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
There are a number of ways to accomplish this - look into plink that comes with Putty. You can call batch scripts basically from anything. You can establish SSH and then issue the halt command on each of your heads. Remember if you're in a pair you'll want to do a cluster disable as well. If you want something more fancy, look into something like this http://huddledmasses.org/scriptable-ssh-from-powershell/
migration has accepted the solution
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hey Simon,
There isn't an API to shutdown a controller, but you can use the invoke-nassh cmdlet.
Invoke-NaSsh -Command 'halt -t 0'
Hope that helps,
~Glenn
