Download as pdf or txt
Download as pdf or txt
You are on page 1of 13

1

NetApp ONTAP NVMe

my
a
us
Tutorial th
Mu
r
ma
l ku
hi
nt
Se

SENTHILKUMAR MUTHUSAMY 1
2

What is NVMe?

NVM Express (NVMe) is a data storage protocol that delivers the


fastest response times for business-critical enterprise applications.
However, NVMe is more than a storage specification; the broader
NVMe over Fabrics protocol encompasses the entire data path, from

my
server to network to storage system.

a
NVMe—the NVM Express data storage standard—is emerging as a

us
core technology for enterprises that are building new storage
infrastructures or upgrading to modern ones.
th
NVMe is both a protocol optimized for solid-state storage devices, and
Mu
a set of open-source architectural standards for NVMEM components
and systems.
r
ma

NVMe adds some new names for some common structures.


l ku
hi
nt
Se

An NVMe Qualified Name (NQN) identifies an endpoint and is similar


to an iSCSI Qualified Name (IQN) in both format (domain registration
date, domain registered, and something unique like a serial number). A
namespace is analogous to a LUN (Logical Unit Number, a unique
identifier for a logical or physical device); both represent an array of
blocks presented to an initiator. A subsystem is analogous to an initiator
group (igroup) (subsystems have considerably more functionality but
for our purposes, we are focusing on how to map LUNs/namespaces),
SENTHILKUMAR MUTHUSAMY 2
3

it is used to mask an initiator so that it can see and mount a LUN or


namespace. Asymmetric Namespace Access (ANA) is a new protocol
feature for monitoring and communicating path states to the host
operating system’s Multipath I/O (MPIO) or multipath stack, which
uses information communicated through ANA to select and manage
multiple paths between the initiator and target.

NVMe will become an essential part of the modern data center, because
it addresses three crucial attributes of data storage performance: IOPS,
throughput, and latency.

my
The IOPS and bandwidth improvements are primarily the result of
NVMe’s flexibility and its ability to take advantage of fast transport

a
us
technologies to move NVMe commands and data.

th
NVMe accelerates many of today’s most important emergent business
Mu
workloads:
r

 Artificial intelligence (AI).


ma

 Machine learning (ML)/deep learning (DL).


l ku

 Internet of Things (IoT).


hi
nt

NVMe as a Storage Attachment Architecture


Se

NVMe is most commonly used today for attaching disks and disk
shelves. Many storage vendors and suppliers have introduced offerings
based on using NVMe as a storage-attachment architecture and
standard. Technically, in most cases, NVMe is the protocol used to
perform I/O, whereas the physical transport is primarily PCIe.
In this scenario, NVMe replaces the SCSI command set with the NVMe
command set and frequently replaces SATA or serial-attached SCSI
(SAS) with PCIe to connect drives to the storage controller. NVMe
relies on a physical attachment and transport. It uses PCIe as the
transport.

SENTHILKUMAR MUTHUSAMY 3
4

Better performance with NVMe/TCP


NetApp will now be using the TCP protocol for its NVMe over fabrics.
Customers won't need new hardware as the protocol works over
existing network connections. NetApp believes the support of
NVMe/TCP will see broader deployment, as it will lower latency
without incurring new equipment costs.

NVMe/TCP is more efficient and more resilient than internet small

my
computer systems interface (iSCSI), a protocol used for
communication between the host and target, for customers looking to

a
us
modernize in that way.

th
Mu
NVMe Configuration Step-By-Step:
r

NVMeOF:
ma
ku

1. Create a new SVM and enable the NVMe/FC Protocol.


l
hi
nt
Se

SENTHILKUMAR MUTHUSAMY 4
5

2. Check and List the fc-nvme supported adapters.

a my
us
3. Create NVMe FC LIF using CLI or System Manager.
th
Mu
r
ma
l ku
hi
nt
Se

SENTHILKUMAR MUTHUSAMY 5
6

4. Create NVMe/FC Subsystem.

a my
us
5. Get the host nqn (In linux host server:# cat /etc/nvme/hostnqn)
& add the host nqn to subsystem.
th
Mu
r
ma
l ku

6. Create a Namespace with the following:


hi

a. Vserver Name
nt

b. Volume Path
c. Size
Se

d. OS type
e. Namespace

SENTHILKUMAR MUTHUSAMY 6
7

7. Map the Namespace to NVMe subsystem and then discover from

my
the host.

a
us
th
Mu
r
ma
ku

8. Manage using System Manager and ActiveIQ Unified Manager


l
hi
nt
Se

SENTHILKUMAR MUTHUSAMY 7
8

a my
NVMe/TCP Configuration:

us
th
1. Create a SVM and enable the access protocol service NVMe/FC
or NVMe/TCP
Mu
r
ma
l ku
hi
nt
Se

2. List the SVM and check the configured protocols.

SENTHILKUMAR MUTHUSAMY 8
9

3. Create a NVMe/TCP IP LIFs and List it.

my
a
us
th
Mu
r
ma
ku

4. List the host (Linux) NQN.


l
hi
nt
Se

SENTHILKUMAR MUTHUSAMY 9
10

5. Create a Namespace, subsystem and map the namespace.

a my
us
th
We have created 2 namespaces with 5GB and 20GB size.
Mu
r
ma
l ku
hi

6. Login to Linux Server (Host) and list the nvme modules and
nt

multipath status.
Se

SENTHILKUMAR MUTHUSAMY 10
11

7. Host side discover the namespace and connect through nvme LIF
ip address.

amy
us
th
Mu
r
ma
l ku
hi
nt
Se

8. Check and list the discovered devices.

SENTHILKUMAR MUTHUSAMY 11
12

my
9. Create a file system.

a
us
th
Mu
r
ma
l ku
hi
nt
Se

SENTHILKUMAR MUTHUSAMY 12
13

10. Mount the filesystem.

11. Check the mounted File system and space details.

a my
us
th
Mu
r
ma
l ku
hi
nt
Se

http://senthil-it-infrastructure.blogspot.com/2020/05/netapp-ontap-97-
nvme-configuration-and.html

SENTHILKUMAR MUTHUSAMY 13

You might also like