008 - Networking - C9.1.5 SAN Facts
How SAN Works
- SAN is a dedicated network separate from the production network - SAN connects file servers with storage devices. -- Multiple servers can connect through the SAN fabric to share the same storage device -- Single server can connect with multiple storage devices. - Storage devices are called SAN targets - Servers are called SAN initiators and run initiator software to communicate with SAN targets. - Storage device appears to be connected to a server like any other directly attached storage.
SAN Component: Host
Description: Hosts are not technically a SAN component. - Hosts connect to the SAN using a NIC or host bus adapter (HBA). -- HBA is a circuit board that is inserted into a computer motherboard, just like a NIC.
SAN Component: SAN Fabric
Description: SAN fabric consists of: - SAN hubs - SAN switches - Network cables Term fabric is generally used identify multiple communication paths between servers and storage devices. This creates redundant fabric rather than a single thread. Also, fabric serves as a reminder that the storage area network is different from the production network.
SAN Component: Storage
Description: Storage devices are typically - Disk arrays - Tape libraries - Optical jukeboxes
SAN Technology - Ininiband
Designed for high-performance supercomputers. - Features high throughput and very low latency. - Can be used in SAN as well as between clustered computers.
SAN Technology - Fiber Channel over Ethernet (FCoE)
Developed to lower the cost of Fibre Channel solutions. - Like iSCSI, FCoE uses standard Ethernet switches and physical connection. - Unlike iSCSI, which can run on slower Ethernets, FCoE requires 10 gigabit Ethernet.
Storage area Network (SAN)
Multiple servers are configured to share a common storage device.
Jumbo Frames
SANs move large amounts of data. Enabling jumbo frames in iSCSI or FCoE SAN can increase the perfomance of the SAN. - Most Ethernet switches that support gigabit Ethernet are configured with a maximum transmission unit (MTU) size of 1500 bytes. -- MTU specifies the maximum size of the payload in an Ethernet frame. -- MTU of 1500 is the maximum allowed by IEEE 802.3 standard. - Jumbo frames have payloads larger than 1500 bytes. -- Size of jumbo frames varies bu vendor and device. -- Many network devices support payloads as large as 9000 bytes. - To enable jumbo in SAN, change MTU settings on all servers, SAN fabric devices (SAN switches) and storage devices.
Choosing SAN technology.
Several factors may influence the choice of SAN technology: - Cost wise, iSCSI and FCoE are cheaper, but Fibre Channel and Infiniband perform better. - iSCSI and FCoE are easier to implement than Fibre Channel and infiniband, which require specialized hardware and knowledge. - iSCSI and FCoE are not as fast as Fibre Channel and Infiniband. -- iSCSI and FCoE speeds will increase as Ethernet speeds increase. - Infiniband has a short distance limitation of about 300 meters, and Fibre Channel has a distance limitations of 10 kilometers. - iSCSI and FCoE, can route IP packets over many networks, accommodating longer distances. -- Performance is impacted, as the longer distances increase latency.
SAN Technology - Fibre Channel (FC)
Switched FC SAN uses fiber optic cabling, network adapters, and switches to build the SAN fabric. To build a redundant FC SAN: - Install two FC HBAs in each server. - Deploy two FC switches by connecting each server to each FC switch. -- Connect one HBA to the first FC switch -- Connect the other HBA to the second FC switch. - Deoply shared storage devices. -- Use RAID devices containing multiple hard disks and two FC HBAs. -- Connect one HBA to the first FC switch. -- Connect the other HBA to the second FC switch. When physically configured, FC uses SCSI protocols to access and manage the shared storage: - The storage devices on the FC target appear to the operating system on the initiators as if they are locally attached SCSI hard disks. - The initiators send SCSI commands over the SAN fabric to manage the remote storage on the target. - Each server connected to the SAN is an initiator and can send disk I/O SCSI commands to the shared storage device.
Clustering a SAN
The servers in a SAN share common storage devices. They are commonly deployed in a clustered configuration. - With clustering enabled, multiple SAN servers can be grouped together to provide a degree of fault tolerance. - All of the cluster data exists on the shared storage there is no need to replicate data between servers. - To users on the network, the cluster appears as a single file server. - If one of the servers in the cluster goes down, another server immediately takes over to provide access to the files on the shared storage device. Clustered SAN servers can also be configured to load balance. - Bottleneck can occur if one server in a cluster is overlaoded with requests to access the SANs shared storage. - Load-balanced cluster can divide up the work and distribute it between multiple servers in the cluster. - Load balancing can dramatically increase the performance of the SAN.
SAN Technology - Internet Small Computer Systems Interface (iSCSI)
iSCSI SAN uses network protocols that encapsulates SCSI commands within IP packets and transmits them over a standard Ethernet network. To build a redundant iSCSI SAN: - Install two dedicated Ethernet NICs in each server. These NICs can have either fiber or twisted pair connection. - Deploy two dedicated Ethernet switches by connecting each server to each switch using the appropriate fiber optic or twisted pair cabling. -- Connect one NIC to the first switch. -- Connect the other NIC to the second switch. - Deploy the shared storage devices. -- Use RAID devices with two Ethernet NICs. -- Connect on NIC to the first switch. -- Connect the other NIC to the second switch. As with FC iSCSI storage devices are targets, while iSCSI servers are initiators. - iSCSI initiator connects to and communicates with iSCSI targets using port 3260 by default. - Storage devices on the remote iSCSI target appear to the operating system on the iSCSI initiator as locally-attached hard disks. - iSCSI initiator sends SCSI commands within IP packets to the iSCSI target over the network. - iSCSI target redirects the SCSI commands to its locally-attached storage devices. iSCSI SAN should never be implemented on a standard production network. The performance of the SAN will be heavily impacted. As a best practice, implement a dedicated network infrastructure (cabling, switches, and NICs) that is restricted to only iSCSI SAN traffic.