Microsoft Virtualization Discussions
Microsoft Virtualization Discussions
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
Solved! See The Solution
Here is one example using Invoke-NcSsh:
Invoke-NcSsh -Command 'system node run -node * -command "priv set diag; registry walk options"'
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*>
Hi Scott,
Thank you for the response. I would like to get into the Diag mode of the node via Powershell.
Regards
Aravindhan Selvan
Sorry I didn't see which forum this was posted.
Sent from my iPhone 5
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.
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
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
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
I have sent you an email with one possible solution to this.
I'm interested in this as well. We use the setflag command for 7-mode.
Here is one example using Invoke-NcSsh:
Invoke-NcSsh -Command 'system node run -node * -command "priv set diag; registry walk options"'