Académique Documents
Professionnel Documents
Culture Documents
Copyright 2000 / All rights reserved Reprinted from VMEbus Systems / March-April 2000 / 1
FIBRE CHANNEL: include the serializer/deserializer
(SERDES) function and present a 20-
protocol. FC-2 defines a data transport
mechanism that is independent of upper
A TUTORIAL bit parallel interface to the Fibre layer protocols. FC-2 is self-configuring
Channel encoding and control logic. and supports point-to-point, arbitrated
GLMs are primarily used to allow fac- loop, and switched environments.
■ FC-l (The transmission protocol) tory configurability, but they also
■ FC-2 (The framing and signaling allow field exchanges or upgrades by An N_Port is a port on a node, such as:
protocol) users.
■ Gigabit Interface Converters (GBICs) ■ a server
Physical interface and media: FC-0 provide a serial interface to the ■ a workstation
FC-0 is the lowest level. It specifies the SERDES function. GBICs can be hot ■ a peripheral
physical link of the channel. Fibre inserted or removed from installed
Channel operates over various physical Fibre Channel nodes. These are partic- If a port is inserted to a loop it becomes an
media and data rates. Fibre Channel’s ularly useful in multiple-port devices NL_Port. Data communications are per-
approach ensures maximum flexibility, (such as switches and hubs) where sin- formed over a Fibre Channel link by the
allowing existing cable installations (as gle ports may need to be reconfigured interconnected ports. Each node includes
well as a variety of new cable technolo- without interrupting the operation an ASIC with an embedded Fibre Channel
gies) to be used. other ports. Link Control Facility, which handles the
logical and physical control of the link,
Multimedia Channels Networks
and provides a logical interface to the rest
of the system.
FC-4 Audio Video IPI SCSI HiPPI SBCCS IP 802.2
Each port contains a transmitter and a
Common Services receiver and can act as:
FC-3
10/20 bit media independent interface Serializer / Deserializer Fibre Channel implementation
Serializer / Deserializer Serial media independent interface nomenclature
(100-TW-S-EL and 100-M5-I-SL are the
Multimode fiber – Single mode fiber – Copper most common implementations)
FC-0 133 266 531 1.06 2.12 4.25
Mbits/sec Mbits/sec Mbits/sec Gbits/sec Gbits/sec Gbits/sec
Speed:
400 400 Mbytes/sec
FC-PH 200 200 Mbytes/sec
100 100 Mbytes/sec
Figure 1 50 50 Mbytes/sec
25 25 Mbytes/sec
As an example, with Fibre Channel, a sin- ■ Media interface Adapters (MIAs) 12.5 12.5 Mbytes/sec
gle-mode fibre can enter a building, a mul- allow users to interface copper DB-9
timode fibre can be used for the distribu- connectors to multimode fibre optics. Media:
tion inside, and copper drops can be used The power to support the optical trans- SM Single Mode Fiber
to connect to individual workstations. ceivers is supplied by pins defined in M5 50/125 Multimode Fiber
the DB-9 interface. M6 62.5/125 Multimode Fiber
For short distances, Fibre Channel uses MI Miniature Cable — Copper
twinax copper connections. 100 Mbytes/ Transmission protocol: FC-1 TV Video Cable — Copper
sec of effective transfer rate is possible The superior transmission characteristics TP Twisted Pair — Copper
with a line speed of 1.0625 Gbaud. of a DC-balanced 8B/10B code scheme TW Twinax — Copper
Copper connections are typically made are used by FC-1 for clock recovery, byte
through standard DB-9 connectors, or the synchronization, and encode/decode. In Distance:
more recently developed HSSDC con- this scheme, eight data bits (one byte) are L Long: >2 km
nectors. transmitted as a 10-bit group. This well- I Intermediate: 100 m to 2 km
balanced code (developed by IBM) allows S Short: <l00 m
Fibre optic connections (with effective for low-cost component design and pro-
transfer rates of 2.125 and 4.25 Gbaud) vides good transition density for easier Transmitter:
have also been approved. The fibre optic clock recovery. A unique special character LL Long Wave Laser
connections are typically made with dual (called a comma character) ensures proper (1300 to 1550 nm)
SC connectors. byte and word alignment. Other advan- SL Short Wave Laser
tages of this code are its error detection (780 to 850 nm)
Fibre Channel products may be equipped capability and a simple logic implementa- SN Short Wave Laser
with a copper or a fibre optic interface, or tion for both the encoder and the decoder. (780 to 850 nm, without
they may have a media independent inter- Open Fibre Control)
face. Three media independent interfaces Framing and signaling LE Long Wave LED
have been defined. protocol: FC-2 (1300 to 1550 nm)
Reliable communications result from Fibre EL Electrical
■ Gigabaud Link Modules (GLMs) Channel’s FC-2 Framing and Signaling
Copyright 2000 / All rights reserved Reprinted from VMEbus Systems / March-April 2000 / 3
FIBRE CHANNEL: Note: Proprietary protocols are also pos-
sible, and are permitted by the Fibre
cating nodes is taken into account, and
the appropriate media and the components
A TUTORIAL Channel standard. needed to provide the quality of service
are chosen.
FC-4 maps these higher-layer protocols to
for each N_Port. Any N_Port may query the FC-PH physical and signaling layers Loop and hub topologies
the Name Server at any time to discover below them. The physical and signaling A Fibre Channel loop topology can inter-
other N_Ports attached to the fabric. protocols are implemented in hardware, connect up to 127 ports. Loop topologies
providing faster throughput. Typically, provide resilient interconnection through
The Alias Server channel protocols follow the command/ their use of port bypass circuits. These
The Alias Server is used to assign alias data/status paradigm described earlier. Each bypass circuits are installed either into the
IDs to multicast groups and to hunt of these information categories has different backplane of a disk enclosure, or into an
groups. A multicast frame is delivered to attributes and requires separate processing. external device called a hub.
all of the N_Ports that have been assigned However, all three categories of info are
to the alias ID for the multicast group. handled by the same hardware-imple- The bypass circuit automatically detects
mented protocol. Fibre Channel’s hardware the presence of an active node and inserts
A hunt group is a set of N_Ports that all implementation eliminates the need to it into the loop. Similarly, it detects a node
provide Fibre Channel interfaces to a sin- expend compute cycles on I/O processing, that has failed or has been powered off and
gle node. The Alias Server assigns an alias thus making servers, workstations, and removes it from the loop. This is accom-
ID to the entire set. This allows any mass storage systems much more efficient. plished automatically, without any manual
frames that contain this alias ID to be intervention.
routed to any available (non-busy) N_Port Fibre channel topologies
within the set. This improves efficiency by Fibre Channel connects nodes using three Classes of service
decreasing the chance of encountering a physical topologies. These topologies Fibre Channel switches and nodes can be
busy N_Port. include: designed to support five different Classes
of Service:
Management Services ■ Point-to-point topologies
Management services are provided for ■ Loop topologies ■ Class 1 — Acknowledged
management applications to have access ■ Switched topologies Connection Service
to the entire fabric, its internal topology, ■ Class 2 — Acknowledged
and its configuration. Management appli- Loop topologies Connectionless Service
cations may, for example, specify which Loops connected to the enterprise-level ■ Class 3 — Unacknowledged
N_Ports are allowed to access each other. network through a switch are called public Connectionless Service
Other services allow the management loops. A free-standing loop is called a ■ Class 4 — Fractional Bandwidth
application to discover how the fabric private loop. Hubs are normally used to Connection-Oriented Service
is interconnected. Authentication is connect nodes into a loop topology. ■ Class 6 — Unidirectional
provided to ensure that the correct man- Connection Service
agement application is configuring the Switch topologies
fabric. The primary function of a switch is to Class 1: Acknowledged
receive frames from a source node and connection service
Key Server route them to the destination node. Each Class 1 provides a true connection-based
The Key Server provides a standard node has a unique Fibre Channel address, service. The result is a full-bandwidth, cir-
method for distribution of authentication which is used to route the frame. The cuit-switched connection. Fibre Channel
keys and encryption keys. For example, a switch hides from the nodes: can setup (or tear down) such a connection
management application that wishes to in microseconds.
access management services could query ■ the network topology
the Key Server for the necessary authenti- ■ the routing path selection within the An end-to-end path between the commu-
cation key. switching fabric nicating nodes is established through the
■ the internal structure of the fabric, switch. Since the only overhead for Class
The ULP mapping layer (FC-4) which might consist of multiple inter- 1 is connection setup and tear-down, it is
Data can be concurrently transported over connected switches an efficient Class of Service for large data
the same physical interface using several exchanges.
different protocols. The following proto- Each node only has to manage a simple
cols have been specified (or proposed) as point-to-point connection between itself Class 1 service provides an acknowl-
FC-4s: and the switch. A node simply does the edgment of receipt, for guaranteed deliv-
equivalent of dialing a phone number by ery. Some applications (such as mass
■ Small Computer System Interface inserting an ID number for the destination storage backup and recovery) use Fibre
(SCSI) node into the header of the frame, which Channel’s guaranteed delivery feature
■ Internet Protocol (IP) precedes the payload data. If that ID num- to move data reliably and quickly with-
■ High Performance Parallel Interface ber is invalid, the switch rejects it. If for out the overhead of a network protocol
(HiPPI) Framing Protocol some reason the switch cannot process the stack.
■ Single Byte Command Code Set data, it responds with a “Busy” signal, and
Mapping (SBCCS) to implement the node tries again. Camp on is a Class 1 feature that enables
ESCON and block multiplex inter- a switch to monitor a busy port and queue
faces A switch accepts the responsibility for that port for the next connection. As soon
■ Audio Video Fast File Transfer routing frames according to the class as the port becomes free the switch
■ Real-time, embedded avionics of service selected by the initiating node. makes the connection. This shortens
■ Virtual Interface (VI) The distance between the communi- connection times because there is no need
Copyright 2000 / All rights reserved Reprinted from VMEbus Systems / March-April 2000 / 5
FIBRE CHANNEL: by-link basis. Based on adaptive routing
within the switch, individual frames
attributes, and their N_Port identifiers. A
node name is an 8-byte value that may be
A TUTORIAL between the switch ports are indepen- an IEEE address (worldwide unique) or it
dently routed. During frame switching, may be locally assigned. In either case, it
some buffering is needed inside the switch is unique within the switch address space.
hub uses a port-bypass circuit to detect to provide link level flow control between
whether a node is active. The bypass cir- the switch and the connected N_Port, N_Port identifiers are assigned (optionally
cuit either opens the loop (thus inserting NL_Port, or E_Port. Applications that by the login server) when login takes
the active node) or closes the loop, thus need low latency for short transfers will place. After this time, a node or N_Port
ensuring the loop is operational even when use frame switching. may register the association between that
that node is inactive. Hubs also allow node and related N_Ports. Translation for
nodes to be inserted or removed from the Note: In the future the switch’s E_Ports IP addresses, upper-layer protocols, and
loop while it is operating. will also be connected to WANs through classes of service is also provided.
an Inter Working Unit. This is the result of
Fibre Channel mass storage enclosures a joint development between the Fibre The alias server
have a loop built into their backplane. Channel industry in Japan and in the U.S. If a single server has multiple connections
Each backplane node also has a port- to a Fibre Channel fabric, these might col-
bypass circuit, just like those used in hubs. Initialization lectively be designated as a hunt group.
This allows the disk drives to be hot During initialization, address assignment The alias server assigns this hunt group an
swapped, into and out of the loop. and switch-to-switch paths are automati- alias.
cally determined. At any time during
Switched scaled-bandwidth the operation, nodes can be added or The alias server also assigns an alias to
topology removed. When nodes are connected, they each multicast group. A multicast group is
Fibre Channel switches are easy to install automatically login and exchange operat- a group of N_Ports that receive frames
and use because the Fibre Channel proto- ing parameters with their switch. During transmitted by some N_Port belonging to
col provides self-configuration and self- the login process an N_Port inherits the their group. The frame from a source
management. When a Fibre Channel address of its switch port. NL_Ports N_Port is replicated and sent to all the
switch or node powers on, it first deter- inherit the top 16 bits of the switches other members of the multicast group,
mines what is on the other end of the cable, FL_Port and then assign up to 126 using Class 3 service.
and then figures out how to work with it. addresses, using the bottom 8 bits for
members of the loop. The alias server manages the registration
If it is connected node-to-node, the two and the de-registration of all aliases. A sin-
nodes automatically operate point-to-point. Fibre Channel servers gle N_Port can register with more than
If it is connected to a switch, the node logs Fibre Channel servers provide a set of one multicast group at any time.
in with the switch and then exchanges functions, called Generic Services, which An N_Port may also register a list of
interoperability parameters. If the connec- provide enhancements to Fibre Channel's N_Ports as members of a multicast group.
tion is switch-to-switch, the login process basic protocols. These servers are typi- The fabric is responsible for the routing of
determines the network configuration and cally found in switched topologies. the frames based on these aliases.
addresses. All of this is automatic, requir-
ing no operator intervention. Multiple switches linked together form a Summary
fabric. The server functions might be cen- Fibre Channel brings to market reliable,
There are two types of ports on a switch: tralized on a single switch within a fabric, high-performance, easy-to-use, low-cost
or they might be distributed over all the communications required by the new
■ F_Ports / FL_Ports, which are used to switches in the fabric. The protocol used breed of data-and communications-inten-
connect switch-to-node to provide all services is the Fibre Channel sive applications. It provides new levels of
■ E_Ports, which are used to connect common transport protocol (FC-CT), performance for mass storage and server
switch-to-switch which is transparent to the fabric type or networks. Fibre Channel’s high-speed
topology. links offer more cost-effective solutions
If a port on a switch is both an F_Port and than today’s systems.
an E_Port it is called a G_Port (generic). The login server
Most switches come with G_Ports that The login server is a logical entity within Fibre Channel enables heterogeneous
automatically determine whether to the switch that receives and responds to clusters of mass storage, servers, and
behave as F_Ports or as E_Ports during login requests. The login server also con- workstations. It combines the attributes of
initialization. firms (or assigns) the N_Port address for a channel with those of a network, a syn-
each node that initiates a login. The login thesis which results in a more reliable,
Fibre Channel switches that offer both server can then provide the name server faster, lower-cost, simpler, and more effi-
connection-based and connectionless with the login attributes of each of its cient solution for IT systems.
switching are actually two separate N_Ports.
switches in one. These switches let appli- Massive data warehouses and data
cations take advantage of the best features The fabric/switch controller marts enable better management and deliv-
of both types of switching technologies. A fabric/switch controller provides ser- ery of data for improved decision making.
Note: Support for both a circuit-based and vices, such as initialization, configuration, Highly available, scalable computer and
a frame-based switching is not required. routing management, and optional fabric- mass storage clusters deliver effective use
Some switches are just circuit switches, assisted services. of corporate resources. Enterprises have
and others are just frame switches. seen a mass storage explosion, and Fibre
The name server Channel provides the means to manage
In the frame-switching mode, the band- The name server allows all nodes attached mass storage growth, while maintaining
width is dynamically allocated, on a link- to a fabric to discover other nodes, their and increasing performance.
Copyright 2000 / All rights reserved Reprinted from VMEbus Systems / March-April 2000 / 7