SAN4
SAN4
Components of SAN
A SAN consists of three basic components: servers, network infrastructure, and
storage. These components can be further broken down into the following key
elements: node ports, cabling, interconnecting devices (such as FC switches or
hubs), storage arrays, and SAN management software.
1. Node port
In fibre channel, devices such as hosts, storage and tape libraries are all
referred to as nodes.
Each node is a source or destination of information for one or more
nodes. Each node requires one or more ports to provide a physical interface
for communicating with other nodes. These ports are integral components of
an HBA and the storage front-end adapters. A port operates in full-duplex
data transmission mode with a
transmit (Tx) and a receive (Rx)link.
2. Cabling
SAN implementations use optical fiber cabling. Copper can be used for shorter
Connector
A Standard connector (SC) (see Figure 6-5 (a)) and a Lucent connector (LC)
are two commonly used connectors for fiber optic cables. An
SC is used for data transmission speeds up to 1 Gb/s, whereas an LC is used
for speeds up to 4 Gb/s. Figure
6-6 depicts a Lucent connector and a Standard
connector.A
Straight Tip (ST)
is a fiber optic connector with a plug and a socket that is
locked with a half-twisted bayonet lock (see Figure
6-5 (c)). In the early days
of FC deployment, fiber optic cabling predominantly used ST connectors. This
connector is often used with Fibre Channel patch panels.
Interconnect Devices
Hubs, switches, and directors are the interconnect devices commonly used in
SAN.
Hubs are used as communication devices in FC-AL implementations. Hubs
physically connect nodes in a logical loop or a physical star topology.
Switches are more intelligent than hubs and directly route data from one
physical port to another. Therefore, nodes do not share the bandwidth.
Directors are larger than switches and are deployed for data center
implementations. The function of directors is similar to that of FC switches, but
directors have higher port count and fault tolerance capabilities.
Storage array
SAN implementations complement the standard features of storage arrays by
providing high availability and redundancy, improved performance, business
continuity, and multiple host connectivity.
FC-Protocol stack
FC Frame
An FC frame (Figure 6-17) consists of five parts:
start of frame (SOF)frame header datafield
cyclic redundancy check(CRC) and endofframe(EOF).
The SOF and EOF act as delimiters. In addition to this role, the SOF is a flag
that indicates whether the frame is the first frame in a sequence of frames.
The frame header is 24 bytes long and contains addressing information for
the frame. It includes the following information: Source ID (S_ID), Destination
ID (D_ID), Sequence ID (SEQ_ID), Sequence Count (SEQ_CNT), Originating
Exchange ID (OX_ID), and Responder Exchange ID (RX_ID), in addition to
some control fields.
The S_ID and D_ID are standard FC addresses for the source port and the
destination port, respectively. The SEQ_ID and OX_ID identify the frame as a
component of a specific sequence and exchange, respectively.
The frame header also defines the following fields:
Routing Control (R_CTL)
: This field denotes whether the frame is a link
control frame or a data frame. Link control frames are nondata frames
that do not carry any payload. These frames are used for setup and mes-
saging. In contrast, data frames carry the payload and are used for data
transmission.
Class Specific Control (CS_CTL)
: This field specifies link speeds for class
1 and class 4 data transmission.
TYPE
: This field describes the upper layer protocol (ULP) to be carried
on the frame if it is a data frame. However, if it is a link control frame,
this field is used to signal an event such as ―fabric busy.‖ For example, if
the TYPE is 08, and the frame is a data frame, it means that the SCSI will
be carried on an FC.
Data Field Control (DF_CTL)
: A 1-byte field that indicates the existence
of any optional headers at the beginning of the data payload. It is a mechanism
to extend header information into the payload.
Frame Control (F_CTL)
: A 3-byte field that contains control information
related to frame content. For example, one of the bits in this field indicates
whether this is the first sequence of the exchange.
FC topologies
Fabric design follows standard topologies to connect devices. Core-edge fabric
is one of the popular topology designs. Variations of core-edge fabric and mesh
topologies are most commonly deployed in SAN implementations.
1.Core-Edge Fabric
In the core-edge fabric topology, there are two types of switch tiers in this
fabric. The edge tier usually comprises switches and offers an inexpensive
approach to adding more hosts in a fabric.
The core tier usually comprises enterprise directors that ensure high fabric
availability.
The core tier usually comprises enterprise directors that ensure high fabric
availability.
A mesh topology may be one of the two types: full mesh or partial mesh. In
a full mesh every switch is connected to every other switch in the topology. Full
mesh topology may be appropriate when the number of switches involved is
small. A typical deployment would involve up to four switches or directors,
with each of them servicing highly localized host-to-storage traffic. In a full
mesh topology, a maximum of one ISL or hop is required for host-to-storage
traffic.
In a partial mesh topology, several hops or ISLs may be required for the traffic
to reach its destination. Hosts and storage can be located anywhere in the fabric,
and storage can be localized to a director or a switch in both mesh topologies.
A full mesh topology with a symmetric design results in an even number of
switches, whereas a partial mesh has an asymmetric design and may result in
an odd number of switches.
NETWORK ATTACHED STORAGE
NAS uses network and file-sharing protocols to perform filing and storage
functions. These protocols include TCP/IP for data transfer and CIFS and NFS
for remote file service. NAS enables both UNIX and Microsoft Windows users
to share the same data seamlessly.
A NAS device uses its own operating system and integrated hardware, soft-
ware components to meet specific file service needs. Its operating system is
optimized for file I/O and, therefore, performs file I/O better than a general-
purpose server.
NAS benefits
Traditional SAN environments allow block I/O over Fibre Channel, whereas
NAS environments allow file I/O over IP-based networks. Organizations need
the performance and scalability of SAN plus the ease of use and lower TCO of
NAS solutions. The emergence of
IP technology that supports block I/O over IP has positioned IP for storage
solutions.
Two primary protocols that leverage IP as the transport mechanism are iSCSI
and Fibre Channel over IP (FCIP).
iSCSI Protocol Stack
The architecture of iSCSI is based on the client/server model. SCSI is the
command protocol that works at the application layer of the OSI model. The
initiators and targets use SCSI commands and responses to talk to each other.
The SCSI command descriptor blocks, data, and status messages are
encapsulated into TCP/IP and transmitted across the network between initiators
and targets.
iSCSI is the session-layer protocol that initiates a reliable session between a
device that recognizes SCSI commands and TCP/IP. The iSCSI session-layer
interface is responsible for handling login, authentication, target discovery, and
session management. TCP is used with iSCSI at the transport layer to provide
reliable service.
TCP is used to control message flow, windowing, error recovery, and retrans
mission. It relies upon the network layer of the OSI model to provide global
addressing and connectivity. The layer-2 protocols at the data link layer of this
model enable node-to-node communication for each hop through a separate
physical network.
FCIP
Organizations are now looking for new ways to transport data throughout the
enterprise, locally over the SAN as well as over longer distances, to ensure that
data reaches all the users who need it. One of the best ways to achieve this goal
is to interconnect geographically dispersed SANs through reliable, high-speed
links. This approach involves transporting FC block data over the existing IP
infrastructure used throughout the enterprise.
The FCIP standard has rapidly gained acceptance as a manageable, cost-
effective way to blend the best of two worlds: FC block-data storage and the
proven, widely deployed IP infrastructure. FCIP is a tunneling protocol that
enables distributed FC SAN islands to be transparently interconnected over
existing IP-based local, metropolitan, and wide-area networks. As a result,
organizations now have a better way to protect, store, and move their data
while leveraging investments in existing technology.
FCIP uses TCP/IP as its underlying protocol. In FCIP, the FC frames are
encapsulated onto the IP payload. FCIP does not manipulate
FC frames (translating FC IDs for transmission).
When SAN islands are connected using FCIP, each interconnection is called
an FCIP link.
FCIP Topology
. An FCIP environment functions as if it is a single cohesive SAN environment.