Tuesday, May 10, 2016

Introduction to Netapp Cluster Mode

Cluster Mode Introduction :- 

Virtualization plays a key role in clustered Data Ontap

                    Before server virtualization, system administrators frequently deployed applications on dedicated servers in order to maximize application performance, and to avoid the instabilities often encountered when combining multiple applications on the same operating system instance. While this design approach was effective, it also had the following drawbacks:

• It did not scale well — adding new servers for every new application was expensive.

• It was inefficient — most servers are significantly under-utilized, and businesses are not extracting the full benefit of their hardware investment.

• It was inflexible — re-allocating standalone server resources for other purposes is time consuming, staff intensive, and highly disruptive.


Server virtualization directly addresses all three of these limitations by decoupling the application instance from the underlying physical hardware.

Multiple virtual servers can share a pool of physical hardware, allowing businesses to consolidate their server workloads to a smaller set of more effectively utilized physical servers.
Additionally, the ability to transparently migrate running virtual machines across a pool of physical servers reduces the impact of downtime due to scheduled maintenance activities.

Clustered Data ONTAP brings these same benefits, and many others, to storage systems. As with server virtualization, clustered Data ONTAP enables you to combine multiple physical storage controllers into a single logical cluster that can non-disruptively service multiple storage workload needs. With clustered Data ONTAP you can:

• Combine different types and models of NetApp storage controllers (known as nodes) into a shared
physical storage resource pool (referred to as a cluster).

• Support multiple data access protocols (CIFS, NFS, Fibre Channel, iSCSI, FCoE) concurrently on the same storage cluster.

• Consolidate various storage workloads to the cluster. Each workload can be assigned its own Storage Virtual Machine (SVM), which is essentially a dedicated virtual storage controller, and its own data volumes, LUNs, CIFS shares, and NFS exports.

• Support multi-tenancy with delegated administration of SVMs. Tenants can be different companies,
business units, or even individual application owners, each with their own distinct administrators whose admin rights are limited to just the assigned SVM.

• Use Quality of Service (QoS) capabilities to manage resource utilization between storage workloads.

• Non-disruptively migrate live data volumes and client connections from one cluster node to another.

• Non-disruptively scale the cluster out by adding nodes. Nodes can likewise be non-disruptively removed from the cluster, meaning that you can non-disruptively scale a cluster up and down     during hardware refresh cycles.

• Leverage multiple nodes in the cluster to simultaneously service a given SVM's storage workloads.

• This means that businesses can scale out their SVMs beyond the bounds of a single physical node in
response to growing storage and performance requirements, all non-disruptively.

• Apply software and firmware updates, and configuration changes without downtime


Cluster Networking:-

Ports are the physical Ethernet and Fibre Channel connections on each node, the interface groups (ifgrps) you can create to aggregate those connections, and the VLANs you can use to subdivide them.

A logical interface (LIF) is essentially an IP address that is associated with a port, and has a number of associated characteristics such as an assigned home node, an assigned physical home port, a list of physical ports it can fail over to, an assigned SVM, a role, a routing group, and so on.

A given LIF can only be assigned to a single SVM, and since LIFs are mapped to physical network ports on cluster nodes this means that an SVM runs, in part, on all nodes that are hosting its LIFs.

Routing tables in clustered Data ONTAP are defined for each Storage Virtual Machine. Since each SVM has it’s own routing table, changes to one SVM’s routing table does not have impact on any other SVM’s routing table.

IPspaces are new in Data ONTAP 8.3, and allow you to configure a Data ONTAP cluster to logically separate one IP network from another, even if those two networks are using the same IP address range.

IPspaces are a mult-tenancy feature that allow storage service providers to share a cluster between different companies while still separating storage traffic for privacy and security.

Every cluster includes a default IPspace to which Data ONTAP automatically assigns new SVMs, and that default IPspace is probably sufficient for most NetApp customers who deploy a cluster within a single company or organization that uses a non-conflicting IP address range.

Broadcast Domains are also new in Data ONTAP 8.3, and are collections of ports that all have access to the same layer 2 networks, both physical and virtual (i.e., VLANs).

Every IPspace has it’s own set of Broadcast Domains, and Data ONTAP provides a default broadcast domain to go along with the default IPspace.  Broadcast domains are used by Data ONTAP to determine what ports an SVM can use for it’s LIFs.

Subnets in Data ONTAP 8.3 are a convenience feature intended to make LIF creation and management easier for Data ONTAP administrators.

A subnet is a pool of IP addresses that you can specify by name when creating a LIF. Data ONTAP will automatically assign an available IP address from the pool to the LIF, along with a subnet mask and a gateway.

A subnet is scoped to a specific broadcast domain, so all the subnet’s addresses belong to the same layer 3 network. Data ONTAP manages the pool automatically as you create or delete LIFs, and if you manually configure a LIF with an address from the pool, it will detect that the address is in use and mark it as such in the pool.

DNS Zones allow an SVM to manage DNS name resolution for it’s own LIFs, and since multiple LIFs can share the same DNS name, this allows the SVM to load balance traffic by IP address across the LIFs. To use DNS Zones you must configure your DNS server to delegate DNS authority for the subdomain to the SVM.

Monday, February 15, 2016

Configuring Flash Pool on Netapp 7-Mode as well as C-mode

NetApp Flash Pool is an intelligent storage caching product within the NetApp Virtual Storage Tier (VST) product family. A Flash Pool aggregate configures solid-state drives (SSDs) and hard disk drives (HDDs) into a single storage pool (aggregate), with the SSDs providing a fast-response-time cache for volumes that are provisioned on the Flash Pool aggregate.

Remeber that there is minimum requirement of Disk to create a FLASH POOL 

FAS3100 and FAS3200 min requirement is 3+2 ( 3 data + 2 Parity )

FAS6000 and FAS6200 is 9+2 ( 9 Data + 2 Parity )


Step 1:- You Need to enable Hybrid on your aggregate in order to have flash pool

7- Mode

aggr options aggr_name hybrid_enabled on

Cluster Mode 

storage aggregate modify -aggregate aggr_name -hybrid_enabled true


Step 2:- Now you can add disks using their DISK ID's , If you have more than one Raid Group you have to choose which RG 

7-Mode 

aggr add aggr_name -T SSD 6@100

cluster Mode

storage aggregate add-disks -aggregate aggr-name -disktype SSD -diskcount 3


You can verify If it is enabled as below

7-Mode

aggr status -v aggr_name

Cluster Mode

storage aggregate show -aggregate aggr_name


Once done now you need to create READ or WRITE policies in the Aggregate , Please follow the guide to create policies 


Thursday, February 11, 2016

What is host automatic LUN space reclaiming in Netapp Ontap 8.2

Data ONTAP 8.2 introduced a space reclamation feature that allows Data ONTAP to reclaim space from a thin provisioned LUN when the client deletes data from it, and also allows Data ONTAP to notify the client when the LUN cannot accept writes due to lack of space on the volume.

Supported Operating System starting from the versions below following all the later releases

VMware ESX 5.0 

Red Hat Enterprise Linux 6.2

Microsoft Windows 2012


Note:- You can only enable space reclamation through the Data ONTAP command line,


nayabclus1::> lun show -vserver svmsan -path /vol/lnxvol/lnxlun -fields
space-allocation

vserver path space-allocation
------- ---------------------- ----------------
svmsan /vol/lnxvol/lnxlun disabled


Now Enable space reclamation for the LUN lnxlun

nayabclus1::> lun modify -vserver svmsan -path /vol/lnxvol/lnxlun -space-allocation
enabled

Check the LUN's space reclamation setting now

nayabclus::> lun show -vserver svmsan -path /vol/lnxvol/lnxlun -fields space-allocation

vserver path space-allocation
------- ---------------------- ----------------

svmsan /vol/lnxvol/lnxlun  enabled


The space reclamation has been enabled

Thursday, October 8, 2015

Netapp Load Share Mirroring For Volume

What are Load Sharing Mirrors

One can create a load sharing mirroring relationship on a FlexVolume which has high read hits. We can have one or more load sharing volumes for a source volume where all the read's would be directed to the destination read-only volumes which acts as load sharing for the source volume.

To create a load Sahring volume we have to choose -type parameter as DP, Now i have volume Manufacturing where i will be creating two load sharing volumes (Mirror1 & 2)

Nayab_C01::> volume create -vserver vs0 -volume Manufacturing_mirror1
-aggregate aggr2 -size 3GB -type DP

Creating one more load sharing mirror volume

Nayab_C01::> volume create -vserver vs0 -volume Manufacturing_mirror2
-aggregate aggr2 -size 3GB -type DP

After we have created Load Sharing mirror volume we have to establish relationship with the designated volume to direct all READ'S to the load sharing volumes and when configuring Snapmirror we have to choose -type as LS


Nayab_C01::> snapmirror create -source-path //vs0/Manufacturing
-destination-path //vs0/Manufacturing_mirror1 -type LS

[Job 171] Job is queued: snapmirror create the relationship with destination
[Job 171] Job succeeded: SnapMirror: done


Doing same for mirror2

Nayab_C01::> snapmirror create -source-path //vs0/Manufacturing
-destination-path //vs0/Manufacturing_mirror2 -type LS

[Job 201] Job is queued: snapmirror create the relationship with destination
[Job 201] Job succeeded: SnapMirror: done

Once we had the relationship established now we have initialize the baseline copy for Load Sharing

Nayab_C01::> snapmirror initialize-ls-set //vs0/Manufacturing

[Job 211] Job is queued: snapmirror load-share initialize for source //vs0/Manufacturing


Now we will have all our READ's redireced to the loadsharing destination volumes

Things to Remember :-

1) A load sharing volume should be mounted under the same SVM namespace as the source volume

2) Load Sharing volume is not supported for Infinite Volume

3) Load Sharing mirrors should be created on different aggregates and accessed by different node in the cluster to achieve load balancing

4) NFSv4 clients are not supported with read-only load-sharing mirrors, Inorder all the traffic from      NFSV4 clients will be routed to source volume from READ's and WRITE's




Monday, September 21, 2015

Netapp Cluster Mode Maximum Volume parameters





Parameter
Maximum Value
Maximum Volumes/Node
500
Maximum Volumes/24-Node
1,200
Minimum Flexible Volume
20MB
Maximum Flexible Volume ( 32-Bit )
16TB
Maximum flexible volume ( 64-Bit )
50TB to 100TB

Wednesday, September 9, 2015

How to search or view Events, Alerts or notifications in Netapp Cluster Mode

event log show -event *<keyword>*

For Ex:- event log -event *disk* ( This will show all the events with respect to disk )

event log show -event *<phrase>*

Ex:- event log show -event *"on-disk mailboxes"*

event log show -messagename *<msgname>*

Ex:- even log show --messagename kern.uptime.filer ( This will all the events with respect to uptime of the filer )

event log show -severity *<keyword>*

Levels of Severity :- Emergency, Alert, Critical, Error, Warning, Notice, Informational, Debug

Ex:- event log show -severity INFORMATIONAL ( This will show all the informational events )

event log show -time >= timeframe 

Ex:- event log show -time >=30mins  ( This will show events for last 30mins )

event log show -node  *<nodename>*

Ex:- event log show -node cluster01-02 ( This will show events of that particular node )

Tuesday, July 28, 2015

Replacing a Mother Board in a NETAPP cluster-mode controller

Recently i have replaced a mother board in a cluster mode system for one of my customer and after replacing i have booted the controller and observed it booted in to 7-Mode then immediately realized that i need to change the BOOTARG setting

bootarg.init.boot_clustered true 

Cluster mode needs a specific programmable ROM (PROM) environment variable setting to be set as above. Once after i have changed the settings my controller booted in to cluster mode :)

Tuesday, June 16, 2015

What are interface groups in Netapp

An interface group is a mechanism to group together multiple network interfaces (links) into one logical interface (aggregate). After an interface group is created, it is indistinguishable from a physical network interface.
The following figure shows four separate network interfaces, e3a, e3b, e3c, and e3d, before they are grouped into an interface group
                         


The diagram below shows four interfaces trunked together as Trunk1 



                             

Different vendors termed it with their own unique name virtual Aggregation or Link Aggregation or Trunks or Ether Channel


Interface groups provide several advantages over individual network interfaces:
  • Higher throughput
    Multiple interfaces work as one interface.
  • Fault tolerance
    If one interface in an interface group goes down, your storage system stays connected to the network by using the other interfaces.
  • No single point of failure
    If the physical interfaces in an interface group are connected to multiple switches and a switch goes down, your storage system stays connected to the network through the other switches.