17.03.2015 Views

Storage Area Networks For Dummies®

Storage Area Networks For Dummies®

Storage Area Networks For Dummies®

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Chapter 2: SAN Building Blocks<br />

47<br />

knows it’s connected to that port. The WWN is also sometimes called a<br />

WWPN, or World Wide Port Name.<br />

The WWN and a WWPN are the exact same thing, the actual address<br />

for a Fibre Channel port. In some cases, large storage arrays can also<br />

have what is known as a WWNN, or World Wide Node Name. Some Fibre<br />

Channel storage manufactures use the WWNN for the entire array, and<br />

then use an offset of the WWN for each port in the array for the WWPN.<br />

I guess this is a Fibre Channel storage manufactures way of making the<br />

World Wide Names they were given by the standards bodies last longer.<br />

You can think of the WWNN as the device itself, and the WWPN as the<br />

actual port within the device, but in the end, it’s all just a WWN.<br />

The name server is like a telephone directory. When one device wants<br />

to talk to another in the fabric, it uses the other device’s phone number<br />

to call it up. The switch protocol acts like the telephone operator. The<br />

first device asks the operator what the other device’s phone number is.<br />

The operator locates the number in the directory (the name server) in<br />

the switch, and then routes the call to the port where the other device is<br />

located.<br />

There is a trick you can use to determine whether the WWN refers to a<br />

server on the fabric or a storage port on the fabric. Most storage ports’<br />

WWN always start with the number 5, and most host bus adapters’ start<br />

with either a 10 or a 21 as the first hexadecimal digits in the WWN. Think<br />

of it like the area code for the phone number. If you see a number like<br />

50:06:03:81:D6:F3:10:32, its probably a port on a storage array. A<br />

number like 10:00:00:01:a9:42:fc:06 will be a servers’ HBA WWN.<br />

✓ SCSI: The SCSI protocol is used by a computer application to talk to its<br />

disk-storage devices. In a SAN, the SCSI protocol is layered on top of<br />

either the FC-AL or FC-SW protocol to enable the application to get to<br />

the disk drives within the storage arrays in a Fibre Channel SAN. This<br />

makes Fibre Channel backward-compatible with all the existing applications<br />

that still use the SCSI protocol to talk to disks inside servers. If the<br />

SCSI protocol was not used, all existing applications would have needed<br />

to be recompiled to use a different method of talking to disk drives.<br />

SCSI works a bit differently in a SAN from the way it does when it talks to<br />

a single disk drive inside a server. SCSI inside a server runs over copper<br />

wires, and data is transmitted in parallel across the wires. In a SAN, the<br />

SCSI protocol is serialized, so each bit of data can be transmitted as a<br />

pulse of light over a fiber-optic cable. If you want to connect older parallel<br />

SCSI-based devices in a SAN, you have to use a data router, which acts as a<br />

bridge between the serial SCSI used in a SAN and the parallel SCSI used in<br />

the device. (See “Data routers,” earlier in this chapter, for the gory details.)<br />

Although iSCSI and Infiniband protocols can also be used in storage networks,<br />

the iSCSI protocol is used over an IP network and then usually bridged into

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!