NetApp is a unified storage. It supports both NAS and SAN protocols. SAN is a block-based storage system that uses FC, Fibre Channel over Ethernet (FCoE), and iSCSI protocols to make data available over the network. Starting with the Data ONTAP 8.1 operating system, clustered Data ONTAP systems began supporting SANs on clusters of up to four nodes. In the Data ONTAP 8.2 operating system, SAN is supported in clusters of up to eight nodes.
NetApp supports the following protocols .
FC
FCoE
iSCSI
In Clustered Data ONTAP,
NAS supports up to 12 HA pair and supports NFS,pNFS and CIFS.
SAN supports up to 4 HA pairs and supports FC, FCoE and iSCSI.
Typical FC Network – NetApp SAN Environment:
There are multiple ways to connect the initiators and targets together. Which is the best? Answer: Depends on your architectural requirements. Usually in an enterprise environment, switches are used to provide connections to the host initiators and storage targets.
Typical iSCSI Network – NetApp SAN Environment:
How to configure the iSCSI vServer and Create the LUNs ?
NetUA::> lun create -vserver uaiscsi -volume netvol1 -lun lun0 -size 1GB -ostype linux -space-reserve disabled
Created a LUN of size 1g (1073741824)
NetUA::>
NetUA::> lun show -vserver uaiscsi
Vserver Path State Mapped Type Size
--------- ------------------------------- ------- -------- -------- --------
uaiscsi /vol/netvol1/lun0 online unmapped linux 1GB
NetUA::>
We have successfully created a LUN on NetApp Storage.
10. Create the iSCSI target.
NetUA::> vserver iscsi create -vserver uaiscsi -target-alias uaiscsi -status-admin up
NetUA::> vserver iscsi show
Target Target Status
Vserver Name Alias Admin
---------- -------------------------------- ---------------------------- ------
uaiscsi iqn.1992-08.com.netapp:sn.f1f7f2449dee11e5b3cd123478563412:vs.8
uaiscsi up
NetUA::>
11. Create a new portset for Vserver “uaiscsi”.
NetUA::> portset create -vserver uaiscsi -portset uaiscsips -protocol iscsi
NetUA::> portset show -vserver uaiscsi -portset uaiscsips
Vserver Name: uaiscsi
Portset Name: uaiscsips
LIF Name: -
Protocol: iscsi
Number Of Ports: 0
Bound To Igroups: -
NetUA::>
12. Check the LIF name of “uaiscsi” Vserver and map the LIF to portset.
NetUA::> net int show uaiscsi1
(network interface show)
Logical Status Network Current Current Is
Vserver Interface Admin/Oper Address/Mask Node Port Home
----------- ---------- ---------- ------------------ ------------- ------- ----
uaiscsi
uaiscsi1 up/up 192.168.0.131/24 NetUA-01 e0e true
NetUA::>
NetUA::> portset add -vserver uaiscsi -portset uaiscsips -port-name uaiscsi1
NetUA::>
NetUA::> portset show -vserver uaiscsi -portset uaiscsips
Vserver Name: uaiscsi
Portset Name: uaiscsips
LIF Name: uaiscsi1
Protocol: iscsi
Number Of Ports: 1
Bound To Igroups:
NetUA::>
13. Create a initiator group and map newly created portset “uaiscsips” to it.
NetUA::> igroup add -vserver uaiscsi -igroup uaiscsi3 -initiator iqn.1993-08.org.debian:01:21a0d3d79b9f
NetUA::> igroup show -vserver uaiscsi
Vserver Igroup Protocol OS Type Initiators
--------- ------------ -------- -------- ------------------------------------
uaiscsi uaiscsi3 iscsi linux iqn.1993-08.org.debian:01:21a0d3d79b9f
NetUA::>
Configure the iSCSI initiator on Linux Host (Ubuntu):
1. Login to the Linux host.
2. Install iscsi package .
root@uacloud:~# apt-get install open-iscsi
3.Try to access the iSCSI target.
root@uacloud:~# iscsiadm -m discovery -t st -p 192.168.0.131
iscsiadm: cannot make connection to 192.168.0.131: Connection refused
iscsiadm: cannot make connection to 192.168.0.131: Connection refused
iscsiadm: cannot make connection to 192.168.0.131: Connection refused
iscsiadm: cannot make connection to 192.168.0.131: Connection refused
iscsiadm: cannot make connection to 192.168.0.131: Connection refused
iscsiadm: cannot make connection to 192.168.0.131: Connection refused
iscsiadm: connection login retries (reopen_max) 5 exceeded
iscsiadm: Could not perform SendTargets discovery: encountered connection failure
root@uacloud:~#
IP Address – NetApp Vserver LIF . (Refer step 12).
If you are not configured the portset and initiator target group properly, you may get errors like above. (iscsiadm: cannot make connection to IP_Address: Connection refused)
If you have configured correctly,you can see like following.
No comments:
Post a Comment