NetApp Community Update
This site will enter Read Only mode on July 23 as we prepare to move to a new platform. You will still be able to view content, but posting and replying will be temporarily disabled.
We're excited to launch our new Community experience on July 30 and more information will follow soon.
Stay connected during the transition - Join our Discord community today.

Software Development Kit (SDK) and API Discussions

Creating a DR SVM using Powershell ToolKit 4.20

NADRS
2,453 Views

Hi All

 

I've hit a possible bug with Powershell Toolkit 4.20 when trying to create a DR SVM on Ontap 9.0RC1 (Simulator), the CLI works fine by the way.

 

Steps:

 

Create new SVM using New-NcVServer using appropriate switches e.g

 

New-NcVserver -Name $MySVM -RootVolume $MyRootVol -RootVolumeAggregate $Myaggr -RootVolumeSecurityStyle $Style -Language $Lang

This works fine, now to create a DR SVM the code should be:

 

New-NcVserver -Name $MyDRSVM -SubType dp-destination

If you press enter at this point the cmdlet prompts for inputs for RootVolume, RootVolumeAggregate etc ... and also wont allow empty strings - if you then specify values the cmdlet outputs a message stating that only name, comment and ipspace are valid parameters when creating a destination Vserver for DR. 

 

Result can't create a DR SVM.

 

Am I missing a switch or is this an opportunity for a fix??

 

Ta

 

 

 

 

0 REPLIES 0
Public