Sunday, March 4, 2018

NetApp ONTAP 9.3 iSCSI Administration



NetApp offers a family of unified storage systems with best-in-class storage efficiency, enabling organizations of all sizes to accelerate business processes and reduce overall cost of storing, managing, protecting, and retaining their electronic data. NetApp® unified storage solutions support both file and block protocols natively from the same platform, including NFS, CIFS, FC, FCoE, and iSCSI. iSCSI offers significant value by reducing the cost to acquire and manage storage networks. The many features and benefits of IP SANs with iSCSI include:
Compatibility/Interoperability
  • 1Gb/10Gb Ethernet
    • iSCSI is flexible enough to run at almost any Ethernet speed. The most popular speeds today are Gigabit and 10Gigabit. This flexibility allows you to standardize on a single network technology while providing price and performance offerings best suited to your application requirements.
Resiliency

  • MPIO
    • As with other networking technologies, iSCSI supports multipathing to improve network resiliency. Two data paths are available at the host and also at the target to provide redundancy in the event of a path failure. Increased bandwidth also is provided by using both data paths. NetApp supports all major operating system MPIO technologies and also offers a DSM for Windows® environments. The NetApp MPIO DSM adds additional functionality and performance and can support concurrent visibility to a LUN via either iSCSI, FC, or FCoE.
Security

  • Included in the iSCSI specification is a robust set of security features to help prevent unwanted intrusion or wire tapping of networks. These features include Challenge Handshake Authentication Protocol (CHAP) and Internet Protocol Security (IPsec).

    • Challenge Handshake Authentication Protocol is a security protocol used to enable iSCSI initiators and targets to prove their identity to each other to ensure each connection is authorized between host and storage.
    • Internet Protocol Security is a suite of protocols for securing IP traffic by authenticating and encrypting each packet in the data stream.

Enable the iscsi service for an existing SVM using the following command.

Check the vserver status whether iscsi is running or not.




Collect the iqn information from host (ESX Server)



Create an interface group using the host OS and host iqn.




Then create a LUN with specified size.
LUN got created, but not mapped to the host.




Now map the LUN to an ESX Host.



List the LIF's used for iSCSI protocol.



Add the iSCSI LIF (Target Portal) Address to the iscsi Dynamic discovery.



Once added, rescan the hardware, this discover the new LUN's.




Then Host discovered, the new devices.
Notice here, device is 1 but it comes from 2 paths. ESX by default enabled with multi-pathing.




Display the Multi-Path information.



Display the iscsi sessions.





For example, if one of the iSCSI LIF was down, then other path is used.



See one path is dead.




To create a new VMFS datastore.






Now new data store is got created from the NetApp iSCSI LUN.




To list the files or VMs from the datastore.



For cloning the LUN use the following command.





Map the LUN to HOST.




Then you can see the new Cloned LUN also.




To increase the size of an existing LUN online.




Size got increased.




Unmapping the LUN.




Offline the LUN.




To delete the LUN.





Create a new manual snapshot.




To test this, delete the vm's from the datastore.



VM's are deleted.




Now you for the restoration of a snapshot in a file level.

Then you will see the files back.




Set the interface access control to access the LUN.




Then host can access the LUN through only one LIF.




To remove the iscsi access list.




Now accessing through both the LIFs.



Saturday, March 3, 2018

Step By Step vSphere 6.5 NFS & iSCSI Data Store Configuration




Step By Step NFS Datastore Configuration:

To create a new NFS datastore, go to Storage>>Datastores>>New Datastore




New Datastore wizard will open. Using this you can create a new NFS or VMFS Datastore. Or else you can increase the capacity of an existing datastore.

To Mount NFS datastore, select the Mount NFS Datastore option.




To Mount NFS datastore we need the following information

1. NFS Datastore name
2. NAS Storage IP Address
3. NAS storage Path to mount (volume path)
4. NFS Protocol version and ACL information.




Detailed summary to mount the datastore.



New NFS datastore been mounted. 

Now you will be able to create a VM in NFS Datastore.




Step By Step iSCSI VMFS Datastore Configuration:

First enable the iSCSI storage adapter.

To enable storage >> Adapters >> Configure iSCSI

It will open the iSCSI config wizard.



Enable this option.

iSCSI protocol uses 3260 as a default port number.

iqn (iSCSI qualified number). Share this iqn to storage team to map the LUN to vSphere 6.5.




Then iSCSI is enabled and online.




Now add the Dynamic Target portal Address (SAN Storage iSCSI IP address)




NetApp Storage IP address Added.




Then rescan the Hardware. You will be able to see the new devices from NetApp via iSCSI.



Then create a new VMFS datastore .... Storage >> Datastores>>new datastore

Select VMFS datastore to create.




Select the LUN and provide the vmfs datastore name.




Select the partition options.




Ready to complete --- detailed summary of configuration.



Now successfully iSCSI vmfs Datastore added.



To increase capacity of an existing datastore, rescan the hardware and you will be able to see the new LUNs from NetApp Storage.




New LUN's are discovered.




Then go and increase the capacity of an existing data store.







Select the data store.




Select the Disks (LUNs)




Select the partition options.





Now the size is increased and you can see the two extents.




For redundancy iSCSI uses the multi-pathing feature.

A disk (LUN) discovered through 2 paths.




Using Disk properties, you can edit the multi-path options.