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.

164<br />

Par t II: Designing and Building a SAN<br />

Notice the naming convention that I use. The switch’s name is Switch-x,<br />

where x is replaced with the fabric that it belongs to, followed by its switch<br />

number within the fabric (1, 2, 3, and so on). Note that the IP address just<br />

so happens to follow the domain ID. This isn’t part of any naming convention;<br />

it just worked out this way for this example. The domain ID needs to<br />

be a number between 1 and 255. If you set it to 0 (zero) on most switches, it<br />

will automatically be set to something unique if it joins another fabric (gets<br />

plugged into another switch). But for your first-time SAN, just set it yourself.<br />

I made all domain IDs unique even though they’re in different fabrics because<br />

if you decide in the future to connect this SAN fabric with the other one and<br />

expand with more switches, the two fabrics will be easier to merge with each<br />

other if they have unique domain IDs between them. (But that’s a whole other<br />

story . . . perhaps Advanced SANs <strong>For</strong> Dummies . . . hmmm.)<br />

Configuring the switches<br />

Most switch vendors give you a way to set the TCP/IP address through the<br />

front display on the switch. You press the appropriate buttons to navigate<br />

though the menu until you find the IP address settings and cycle through the<br />

numbers. It’s just like setting the clock on your VCR. Can’t do that either, eh?<br />

Well, if that doesn’t work or the switch doesn’t have a display on the front,<br />

here’s another way.<br />

A default IP address is usually assigned to the switch from the factory —<br />

something that no one else uses, such as 1.1.1.1 or something similar. To<br />

communicate with the switch and change settings, you need to take a laptop<br />

or PC and set its IP address to 1.1.1.2 or something close so that it can talk IP<br />

to the switch. Connect a network cable between the laptop and the switch,<br />

either directly via an Ethernet crossover cable or through a hub. Use the<br />

telnet program from the computer to the switch, and you’ll be able to log in<br />

to the switch’s interface to make the necessary changes. Figure 7-3 shows the<br />

connection to the switch from a PC or laptop using a telnet command.<br />

C:\> telnet 1.1.1.1<br />

opening 1.1.1.1...<br />

Figure 7-3:<br />

Configuring<br />

the switch<br />

over the<br />

network,<br />

using a<br />

telnet<br />

command<br />

from a PC or<br />

laptop.<br />

SwitchOS login:<br />

Server or laptop<br />

TCP/IP set to 1.1.1.2<br />

Setting the Switch IP Address<br />

Ethernet cable<br />

directly connected<br />

Switch with default<br />

TCP/IP address = 1.1.1.1

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

Saved successfully!

Ooh no, something went wrong!