- Community Home
- >
- Storage
- >
- HPE Nimble Storage
- >
- Application Integration
- >
- Re: Powershell Module - only partial functions wor...
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
Forums
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
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-19-2016 01:00 PM
тАО04-19-2016 01:00 PM
We have a Nimble Storage, software version: 2.2.8.0-252438-opt. We tried to use powershell module GitHub - jrich523/NimblePowerShell: Nimble PowerShell Module to automate the process to create a volume from a snapshot, then we found that some functions (snapshot related, such as Get-NSSnapshot) work for V1 (master branch), but do not work for V2; and some functions (volume related, such as New-NSvolume) work for V2, but do not work for V1. Is there a quick way to fix it?
Thank you,
Victor
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-21-2016 08:37 AM
тАО04-21-2016 08:37 AM
Re: Powershell Module - only partial functions work in V1 and V2
Hi Victor,
While I can't help you out with Mr. Rich's PS module, I can certainly help you with PowerShell scripts to automate creating a new volume from a snapshot of an existing volume. The attached examples make use of the Nimble REST API - note that you are going to need to be on Nimble OS 2.3 or greater.
I'm attaching two files here. The first is a simplified example where you are presenting the cloned volume back to the same host(s) that the original volume is presented to. The second script takes an additional argument of an initiator group name that you'd like the newly created volume to be presented to. It removes the original initiator group mapping and then maps it to the initiator group you specify.
Cheers!
Julian
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-21-2016 04:27 PM
тАО04-21-2016 04:27 PM
Re: Powershell Module - only partial functions work in V1 and V2
Thank you, Julian! We definitely will try this API method after we upgrade our Nimble OS to 2.3.
At the meantime, has anyone a idea to make the current PS module works with Nimble OS 2.2.8.0-252438-opt?
Thanks,
Victor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-28-2016 08:26 PM
тАО04-28-2016 08:26 PM
Re: Powershell Module - only partial functions work in V1 and V2
Nimble just released "Nimble PowerShell Toolkit NPT"
I have a few questions about it:
1. It says support Array versions
o Casablanca
o Daytona
what's the version number for those?
2. When we tried to connect to a array using Connect-NsGroup command, we got following error:
Get-Certificate : Failed to get website certificate. The error was 'Exception calling "GetResponse" with "0" argument(s): "Unable to connect to the remote server"'.
any help would be appreciated!
Victor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-29-2016 04:27 AM
тАО04-29-2016 04:27 AM
SolutionHi Victor,
The Nimble toolkit requires a NimbleOS version of 2.3.x or greater, as it's built on the REST API. I suspect that this is the cause of your error, as you are running 2.2.x, yeah?
Stay tuned for an updated readme along with a blog post that covers this new PS toolkit.
Cheers,
Julian
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-29-2016 10:45 AM
тАО04-29-2016 10:45 AM
Re: Powershell Module - only partial functions work in V1 and V2
Hi Julian,
You are right, we have the other Nimble which is 2.3.x, and Connect-NsGroup of Nimble PowerShell Toolkit works fine to connect to it.
Thank you,
Victor