Microsoft Virtualization Discussions

Diag Mode in a Node of a cDOT filer

aselvan

Hi All,

I am trying to login into the diag mode in a node of a cDOT filer.Any help is highly appreciated !!

Regards

Aravindhan Selvan

1 ACCEPTED SOLUTION

cole

Here is one example using Invoke-NcSsh:

Invoke-NcSsh -Command 'system node run -node * -command "priv set diag; registry walk options"'

View solution in original post

10 REPLIES 10

scottgelb

node run to get to the node shell, then priv set diag.

cmode-single::> node run local

Type 'exit' or 'Ctrl-D' to return to the CLI

cmode-single-01> priv set diag

Warning: These diagnostic commands are for use by NetApp

         personnel only.

cmode-single-01*>

aselvan

Hi Scott,

Thank you for the response. I would like to get into the Diag mode of  the node via Powershell.

Regards

Aravindhan Selvan

scottgelb

Sorry I didn't see which forum this was posted.

Sent from my iPhone 5

cole

It is not possible to login to diag mode. What are you attempting to do? There still might be a solution, depending on what you are attempting.

aselvan

Hi Cole,

Thank you for the reply. I am trying to write a script

1. which would login into the node of the CDOT filer's to get the registry value for the auto-grow trigger which based on the size. ( For more Info https://kb.netapp.com/support/index?page=content&id=3011632&actp=search&viewlocale=en_US&searchid=null) .

2. If i don't have the desired value, the script would go and change it.

Regards

Aravindhan Selvan

cole

Ok, so you would just need to use the cmdlets Get-NcVolAutosize and Set-NcVolAutosize.  Is this the data you are looking for (I'm just looking at one volume below as an example)?

#7 PS2 D:\Development\PowerShell> Get-NcVolAutosize -VserverContext vs-vmware -Name test | fl *

   NcController           : den-cluster

Name                   : test

IsEnabled              : False

IncrementSize          : 10485760

MaximumSize            : 251658240

MinimumSize            : 209715200

GrowThresholdPercent   : 85

ShrinkThresholdPercent : 50

Mode                   : off

aselvan

Thanks again. I think you are using 8.2 version ONTAP . But in 8.1 version cluster ONTAP , the autogrow would trigger based on the registry value we set @ the node level . which i am trying to modify

Regards

Aravindhan Selvan

cole

I have sent you an email with one possible solution to this.

JGPSHNTAP

I'm interested in this as well.  We use the setflag command for 7-mode.

cole

Here is one example using Invoke-NcSsh:

Invoke-NcSsh -Command 'system node run -node * -command "priv set diag; registry walk options"'

View solution in original post

Announcements
NetApp on Discord Image

We're on Discord, are you?

Live Chat, Watch Parties, and More!

Explore Banner

Meet Explore, NetApp’s digital sales platform

Engage digitally throughout the sales process, from product discovery to configuration, and handle all your post-purchase needs.

NetApp Insights to Action
I2A Banner
Public