Discuss NetApp solutions for Microsoft Private Cloud and the Hyper-V platform, including FlexPod Datacenter, OnCommand Plug-in for Microsoft, and ONTAP PowerShell Toolkit.
Discuss NetApp solutions for Microsoft Private Cloud and the Hyper-V platform, including FlexPod Datacenter, OnCommand Plug-in for Microsoft, and ONTAP PowerShell Toolkit.
Hello *, after upgrading NetApp PSTK to latest version 9.12.1.2302 on our win 2012R2 script host and running some dr scripts i noticed a possible error/bug in "New-NcVol" command. When using the parameter -language PS runs the new new-ncvol command without any errors but no volume will be created. I tried every possible combination but no volume wil be created. When leaving out the parameter volume will be created but we need to have a different language from svm root volume. Can anyone confirm the same problem when using -language? Currently it seems like every version of PSTK has its own big bugs which leaves them nearly unusable.
... View more
Hi everyone, I am using the Get-NcCifsSession from the Powershell Toolkit to get the number of sessions connected to a Vserver on an AFF with FlexCache configuration. However, most of the time, only a few sessions are displayed (occasionally, a larger number is displayed). When I get the session information using the ONTAP CLI at the same time, a larger number of sessions are displayed. - Number of sessions gotten using ONTAP CLI: 1226 -------------------- vserver cifs session show -Vserver vserver_name -------------------- - Number of sessions gotten using PowerShell Toolkit: 4 -------------------- vserver cifs session show -Vserver vserver_name -------------------- Our environment: Configuration: FlexCache configuration AFF (cache)--- CVO (origin) ONTAP version: 9.14.1 P1 Toolkit version: 9.14.1P1 Code for getting sessions: $cvo_mgmt_param = @{ 'ip_addr' = 'AFF IP Address' 'username' = 'admin'; 'password' = 'admin password'; } $password = ConvertTo-SecureString $cvo_mgmt_param['password'] -AsPlainText -Force $cred = New-Object System.Management.Automation.PSCredential $cvo_mgmt_param['username'],$password Connect-NcController $cvo_mgmt_param['ip_addr'] -credential $cred Get-NcCifsSession -Vserver <vserver-name> (Get-NcCifsSession -Vserver <vserver-name> | Measure-Object).Count ----- Example output: LifAddress SessionId ConnectionId ConnectedTime ProtocolVersion Address Vserver ---------- --------- ------------ ------------- --------------- ------- ------- XXX.XXX.XXX.XXX ...540379279 2633504152 15h 47m 5s smb3_1 XXX.XXX.XXX.XXX XXX.XXX.XXX.XXX ...540379280 2633504153 15h 47m 10s smb3_1 XXX.XXX.XXX.XXX XXX.XXX.XXX.XXX ...540379285 2633504161 15h 47m 10s smb3_1 XXX.XXX.XXX.XXX XXX.XXX.XXX.XXX ...540379287 2633504163 15h 47m 6s smb3_1 XXX.XXX.XXX.XXX 4
... View more
Hi everyone, in REST mode, if I extract user type quotas with the Get-NcQuota command, I see the quota, but not the associated user. If I run the same command in ZAPICALL mode I see the user. I'm using version 9.14.1 Do you have any ideas? Thanks for the support ZAPI: Get-NcQuota -vserver Vserver1 -Volume Volume1 -ZapiCall QuotaType QuotaTarget Volume Qtree DiskLimit FileLimit Vserver --------- ----------- ------ ----- --------- --------- ------- user DOMAIN1\user1 Volume1 qtreeuser1 6291456 - Vserver1 REST Get-NcQuota -vserver Vserver1 -Volume Volume1 -ZapiCall QuotaType QuotaTarget Volume Qtree DiskLimit FileLimit Vserver --------- ----------- ------ ----- --------- --------- ------- user Volume1 qtreeuser1 6291456 - Vserver1
... View more
AFAIK from 9.14.1 ONTAPI is removed from Date Ontap, right? So, when I try to connect to a 9.14.1 Cluster with the 9.14.1 Powershell toolkit I still need to use -ONTAPI ? So, the transition to REST isn't complete with 9.14.1 yet? Also there is no mapping information for connect-ncontroller as well as no mapping information for 9.14.1 on the dev site. Anyone knows the actual progress and timeline for this? kind regards U
... View more
Hi Everyone , Recently I tried to implement the FlexClone function through New-NcVolClone ,I executed the same instructions on three different versions of ONTAP. The instructions are as follows: New-NcVolClone -ParentVolume "SC_SQL3_Y" -CloneVolume "SC_SQL3_Y_20240520" -Vserver "svm-iscsi" -ParentSnapshot "Hourly_SQL-146-USERDB_05-08-2024_12.00.01.2713_1" -SpaceReserve "none" The three versions are ONTAP 9.3 P21 / 9.11.1 P11 / 9.14.1 P2. I hope to use the New-NcVolClone command to take a Flexclone specific snapshot and generate a new Thin povisioned volume. So I used the parameter -SpaceReserve "none", but I didn't expect that the result only took effect in ONTAP 9.3. No matter how hard I try, the clones produced by 9.11.1 and 9.14.1 must be thick provisioned volumes, does this seem to be a difference caused by the ONTAP version? Or am I missing something? How do I get newer versions of ONTAP to also create thin provisioned volumes?
... View more