Overview
In this section, we will learn how to manage the NetApp cluster. We will change the serial, disable and remove snapshots and others:
Disk Management (Simulator)
Now, in order to make some use of our Virtualised storage, we need to add some disks.
Enter System Shell
Before that however, we need to unlock the diag user. Diag user is a special type of user, used for administrative purposes and the most important thing is that it allows us to enter into the system shell:
Create Data Disks
Now that we are in the system shell we are ready to create the disks as follows:
- Change the Path
- Create the disks
Create SSD Disks
To add SSD disks, use the same command, just instead of type 23, we will add disks with type: 35
After that, we can safetly reboot the machine. Once the machines boots, we have to fix a common problem with the simulator. The simulator often crashes because of the insufficient space in the root aggregate. So, we have to assign all disks this node and remove & disable the snapshots
General Management
In this section we will review general disk management for both: simulator and real environment:
Assign Disks & Remove / Disable snapshot
After that we can reboot the server:
Once rebooted, we can assign disk to the root aggregate and increase the space in the volume:
Add disk & Increase space on the Volume
Firstly, we have to add the disk to the volume:
Once we have that we can increase the storage of the volume. Firstly, I will give him bigger number (1G) so I will see with how much I can increase it (in my case 888MB)
Create Aggregate
Create Volume
Privilege Levels
On NetApp, we have several privilege levels:
- Admin - Most commands and parameters are available at this level. They are used for common or routine tasks.
- Advanced - Commands and parameters at this level are used infrequently, require advanced knowledge, and can cause problems if used inappropriately. You use advanced commands or parameters only with the advice of support personnel.
- Diagnostic (locked by default) - Diagnostic commands and parameters are potentially disruptive. They are used only by support personnel to diagnose and fix problems.
Let's see how to enter and use each of them:
Admin
The admin privilege is default privilege level which you have when you enter with the management IP and username & password which you specify when you create the cluster.
Code
login as: admin Keyboard-interactive authentication prompts from server: | Password: End of keyboard-interactive prompts from server This is your first recorded login. Unsuccessful login attempts since last login: 1 cluster1::>
As explained above, most of the commands are available in that mode.
Advanced
In advanced privileged level we have additional commands and options. Please be careful, as advanced should be used only with the instructions of NetApp support:
To elevate your privileges to Advanced level, use the following syntax:
Elevate to Advanced
cluster1::> set -privilege advanced Warning: These advanced commands are potentially dangerous; use them only when directed to do so by NetApp personnel. Do you want to continue? {y|n}: y cluster1::*>
We can check all the commands available in Advanced level:
Advanced Commands
cluster1::*> ? application> *Display and manage applications autobalance> *The autobalance directory cluster> Manage clusters event> Manage system events exit Quit the CLI session history Show the history of commands for this CLI session job> Manage jobs and job schedules lun> Manage LUNs man Display the on-line manual pages metrocluster> Manage MetroCluster network> Manage physical and virtual network connections protection-type> *Manage Protection Types and RPOs qos> QoS settings redo Execute a previous command rows Show/Set the rows for this CLI session run Run interactive or non-interactive commands in the nodeshell security> The security directory set Display/Set CLI session settings snaplock> Manages SnapLock attributes in the system snapmirror> Manage SnapMirror statistics> Display operational statistics statistics-v1> The statistics-v1 directory storage> Manage physical storage, including disks, aggregates, and failover storage-service> *Manage Storage Services system> The system directory top Go to the top-level directory up Go up one directory volume> Manage virtual storage, including volumes, snapshots, and mirrors vserver> Manage Vservers
The commands, ending with “*” are available ONLY in advanced privileged level.
Diagnostic
Diagnostic is to be used by NetApp personal only or by their supervsion and instructions. It can cause permanent failure if used wrongly.
To enter into a diagnostic privileged level, use the following command (again only under Netapp personal supervision and guidance)
Elevate to Diagnostic
cluster1::*> set -privilege diagnostic Warning: These diagnostic commands are for use by NetApp personnel only. Do you want to continue? {y|n}: y cluster1::*>
Legacy
Legacy mode is the old ONTAP7- level of syntax. Unlike the other privileges, the legacy mode operate on the node, rather than the entire cluster level.
To enter into legacy mode, use the following command:
Elevate to Legacy
cluster1::*> system node run cluster1-01 Type 'exit' or 'Ctrl-D' to return to the CLI cluster1-01>
Where cluster1-01 is the cluster node which you want to manage.
System
System level is very low level management and it is usually done via the Netapp personal instructions. First we have to set the diagnostic level privilege, as before and then we can enable also system level.
Elevate to System level
cluster1::> set -privilege diagnostic Warning: These diagnostic commands are for use by NetApp personnel only. Do you want to continue? {y|n}: y cluster1::*> systemshell local (system node systemshell) [email protected]'s password: Warning: The system shell provides access to low-level diagnostic tools that can cause irreparable damage to the system if not used properly. Use this environment only when directed to do so by support personnel. cluster1-01%