Community

Subscribe
Highlighted
Accepted Solution

Diag Mode in a Node of a cDOT filer

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

Re: Diag Mode in a Node of a cDOT filer

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

cmode-single:Smiley Embarassed 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*>

Re: Diag Mode in a Node of a cDOT filer

Hi Scott,

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

Regards

Aravindhan Selvan

Re: Diag Mode in a Node of a cDOT filer

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

Sent from my iPhone 5

Re: Diag Mode in a Node of a cDOT filer

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.

Re: Diag Mode in a Node of a cDOT filer

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

Re: Diag Mode in a Node of a cDOT filer

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

Re: Diag Mode in a Node of a cDOT filer

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

Re: Diag Mode in a Node of a cDOT filer

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

Re: Diag Mode in a Node of a cDOT filer

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