SAN-Module-3
Dr. Shanthi M. B.
Dept. of CSE
Topics from the syllabus
IP SAN and FCoE : iSCSI, FCIP
Network Attached Storage: General-Purpose Servers versus NAS Devices, Benefits of NAS, File Systems and Network File Sharing, Components of NAS, NAS I/O Operation, NAS Implementations, NAS File-Sharing Protocols, Factors Affecting NAS Performance
Expected Questions from this module
Question: Write a short note on iSCSI
Figure: iSCSI
iSCSI:
Components of iSCSI:
Question: Explain different options of iSCSI Host Connectivity
The three iSCSI host connectivity options are:
Question: Explain different iSCSI Topologies**
Two topologies of iSCSI implementations are native and bridged.
Native iSCSI Connectivity:
Bridged iSCSI Connectivity:
Combining FC and Native iSCSI Connectivity:
Question: Explain iSCSI Protocol Stack
Figure given below displays a model of the iSCSI protocol layers and depicts the
encapsulation order of the SCSI commands for their delivery through a physical
carrier.
Figure: iSCSI Protocol Stack
iSCSI PDU:
Figure:iSCSI PDU encapsulated in an IP packet
iSCSI Session:
An iSCSI session is established between an initiator and a target, as shown in Fig. below.
FCIP (Fibre channel over IP):
Question: With a neat diagram, explain FCIP Protocol Stack
The FCIP protocol stack is shown in the below given figure.
Question: Explain FCIP Topology
In an FCIP environment, an FCIP gateway is connected to each fabric via a standard FC connection.
The FCIP gateway at one end of the IP network encapsulates the FC frames into IP packets.
The gateway at the other end removes the IP wrapper and sends the FC data to the layer 2 fabric.
The fabric treats these gateways as layer 2 fabric switches.
An IP address is assigned to the port on the gateway, which is connected to an IP network. After the IP connectivity is established, the nodes in the two independent fabrics can communicate with each other.
Question: Write a short note on FCoE (Fibre Channel over Ethernet)
Figure: SAn Before before using FCOE
Figure: SAN after using FCOE
Question: Explain different Components of FCOE
The key components of FCOE are :
Converged Network Adaptors(CNA)
Cables
There are two options available for FCoE cabling:
1. Copper based Twinax
2. standard fiber optical cables.
A Twinax cable is composed of two pairs of copper cables covered with a shielded casing. The Twinax cable can transmit data at the speed of 10 Gbps over shorter distances up to 10 meters. Twinax cables require less power and are less expensive than fi ber optic cables.
FCoE Switches
An FCoE switch has both Ethernet switch and Fibre Channel switch functionalities.
As shown in Fig 2.32, FCoE switch consists of:
1. Fibre Channel Forwarder (FCF),
2. Ethernet Bridge,
3. set of Ethernet ports
4. optional FC ports
The function of the FCF is to encapsulate the FC frames, received from the FC port, into the FCoE frames and also to de-encapsulate the FCoE frames, received from the Ethernet Bridge, to the FC frames.
Upon receiving the incoming traffic, the FCoE switch inspects the Ethertype (used to indicate which protocol is encapsulated in the payload of an Ethernet frame) of the incoming frames and uses that to determine the destination.
Figure:FCoE switch generic architecture
Components of NAS:
Question: Explain NAS I/O Operation
The process of handling I/Os in a NAS environment is as follows:
1. The requestor (client) packages an I/O request into TCP/IP and forwards it through the network stack. The NAS device receives this request from the network.
2. The NAS device converts the I/O request into an appropriate physical storage request, which is a block-level I/O, and then performs the operation on the physical storage.
NAS I/O Operation
3. When the NAS device receives data from the storage, it processes and repackages the data into an appropriate file protocol response.
4. The NAS device packages this response into TCP/IP again and forwards it to the client through the network.
Question: Explain different NAS File Sharing Protocols:
Two common NAS file sharing protocols are:
Network File System (NFS):
NFS is a client-server protocol for file sharing that is commonly used on UNIX systems.
NFS was originally based on the connectionless User Datagram Protocol (UDP).
Currently, three versions of NFS are in use:
1. NFS version 2 (NFSv2): Uses UDP to provide a stateless network connection between a client and a server. Features, such as locking, are handled outside the protocol.
2. NFS version 3 (NFSv3): Uses UDP or TCP, and is based on the stateless protocol design. It includes some new features, such as a 64-bit file size, asynchronous writes, and additional file attributes to reduce refetching.
3. NFS version 4 (NFSv4): Uses TCP and is based on a stateful protocol design. It offers enhanced security. The latest NFS version 4.1 is the enhancement of NFSv4 and includes some new features, such as session model, parallel NFS (pNFS), and data retention.
Common Internet File System (CIFS):
Question: List and explain Factors Affecting NAS Performance:
NAS uses IP network; therefore, bandwidth and latency issues associated with IP affect NAS performance. Network congestion is one of the most significant sources of latency in a NAS environment. Following figure demonstrates the causes of latency.
Other factors that affect NAS performance at different levels follow:
1. Number of hops: A large number of hops can increase latency because IP processing is required at each hop, adding to the delay caused at the router.
2. Authentication with a directory service such as Active Directory: The authentication service must be available on the network with enough resources to accommodate the authentication load. Otherwise, a large number of authentication requests can increase latency.
3. Retransmission: Link errors and buffer overflows can result in retransmission. This causes packets that have not reached the specified destination to be re-sent. Care must be taken to match both speed and duplex settings on the network devices and the NAS heads. Improper configuration might result in errors and retransmission, adding to latency.
4. Overutilized routers and switches: The amount of time that an overutilized device in a network takes to respond is always more than the response time of an optimally utilized or underutilized device. Network administrators can view utilization statistics to determine the optimum utilization of switches and routers in a network. Additional devices should be added if the current devices are overutilized.
5. File system lookup and metadata requests: NAS clients access files on NAS devices. The processing required to reach the appropriate file or directory can cause delays. Sometimes a delay is caused by deep directory structures and can be resolved by flattening the directory structure. Poor file system layout and an overutilized disk system can also degrade performance.
6. Over utilized NAS devices: Clients accessing multiple files can cause high utilization levels on a NAS device, which can be determined by viewing utilization statistics. High memory, CPU, or disk subsystem utilization levels can be caused by a poor file system structure or insufficient resources in a storage subsystem.
7. Over utilized clients: The client accessing CIFS or NFS data might also be over utilized. An overutilized client requires a longer time to process the requests and responses. Specific performance-monitoring tools are available for various operating systems to help determine the utilization of client resources.
What is iSCSI: https://drive.google.com/file/d/1pXWU3NL-K4NJ5HTUKNYZrZv2R98mKnhW/view?usp=share_link
SAN protocols:https://drive.google.com/file/d/10UkKeGj0b58kUqeiyAL4k6gAfjL3wNWf/view?usp=share_link
iSCSI topologies:https://drive.google.com/file/d/1buKWAwL9RgZyLO3I6o6H807F1pRWxSOW/view?usp=share_link
FCOE:https://drive.google.com/file/d/1s15hbuiKp0YOJdVU6PHisluY3JBvnC-M/view?usp=share_link
NAS:https://drive.google.com/file/d/1Q3LlQ0E9f259EXouhtcMY38-fOUBuNPN/view?usp=share_link
NAS:https://drive.google.com/file/d/1kY_Me_p1hqDX3sYTn9W_PCIO8BZDzKSE/view?usp=share_link
NAS/SAN/DAS:https://drive.google.com/file/d/1PdfoadxvpBmpl93Cwhf-cTchqLK-vAat/view?usp=share_link