Array Setup and Networking
1843965 Members
1974 Online
110226 Solutions
New Discussion

Powershell Script to Create Clone, Mount Clone

 
SOLVED
Go to solution
blunderdog45
Occasional Advisor

Re: Powershell - create clone, mount clone

I've got these scripts loaded into powershell but am having trouble connecting to the array. When I enter the following command:

Connect-NSArray -SystemName 10.10.10.10 -UserName Admin -Password password

I get an error: "Couldn't login to http://10.10.10.10:4219/soap"

Can you tell what I'm missing here.

Thanks!

jrich52352
Trusted Contributor

Re: Powershell - create clone, mount clone

so the username is case sensitive, its a lowercase a..

also you dont even need to provide that (its in case you've got other accounts setup, the default is provided)

Connect-NSArray -systemname 10.10.10.10 -password password

blunderdog45
Occasional Advisor

Re: Powershell - create clone, mount clone

I'm getting back to this topic now. I still get a failure when I try to login. I'm using this command:

Connect-NSArray -systemname 10.10.10.10 -password mypass

and I get back the following error:

Couldn't login to http://10.10.10.10:4210/soap

Is there something that must be done to talk to the array on port 4210 or is it set by default?

gmiller132
New Member

Re: Powershell - create clone, mount clone

I would like to know more about GroupMgmt.dll. Is this supplied by Nimble? An open source project?  Something else?

Thanks!

mikeelam57
Occasional Advisor

Re: Powershell - create clone, mount clone

Did you ever get volume collections added to this module? Really want to create a snap/clone that is SQL consistent.

Thanks,

Mike

jrich52352
Trusted Contributor

Re: Powershell - create clone, mount clone

Kelley Underwood - I manually  tack on the port, since thats set by Nimble. There really isnt any magic here, and sadly not much of an error is returned from the unit. There is nothing special that needs to be done to the array but check to make sure you can communicate ok with it on that port, you can just paste that address in to a browser and the soap data should show up. If it doesnt there is likely some sort of firewall or something blocking it.

Greg Miller the groupmgmt.dll is something that Adam Herbert created, its basically just a generic soap wrapper and can fairly easily be created.

Mike Elam - I've added the feature to New-NSSnapshot, there are 3 primary inputs -volume (string volume name), -inputobject (vol object) and -volumecollection which is the name of the collection you want to snap.

sorry for the delayed response guys, for some reason i never saw any emails come in!

bob201411
New Member

Re: Powershell Script to Create Clone, Mount Clone

Adam looks like with a New API from Nimble GroupMgmt.dll and the above powershell script does not work. Does any one have any thing similar which references a RESET API.