Category Archives: Storage

BCFD – SAN Design Best Practices

This is a post in series of me studying for the BCFD – Brocade Certified Fabric Designer and it’s my comments on the document SAN Design Best Practices. Apparently this document is planned to be updated. The one I have is version 2.1. To find the latest go to My.brocade.com , documentation, Best Practices Guides. There’s also a “SAN Migration” guide there, but it’s from 2003 so irrelevant when it comes to anything specific, but ideas and reasons and methods might be valuable.

OK. I thought about doing something similar for this document as for the previous ones. But I just don’t feel like that, it’s basically just re-writing things in different wording so that it sticks in my brain. No instead I’ll post the questions that popped into my brain while reading it.

For a starter, I printed this .pdf. OK it’s not so environmentally friendly but it’s nice to have a break. One thing though, it took me a lot longer to read this than the course modules for BCFD. The SAN Design Best Practices is a first class pdf. At least in my opinion. I mean it’s general and specific. It needs to be general because there’s a lot of reasons behind designing things. Also, I don’t have any actual previous experience designing a SAN, so this is all new to me, and brings up a new side of Storage and Storage Networking that I just haven’t bothered much with before. Hopefully I have and will be learning a lot.

Links

This paper refers to a lot of documents.

The “Brocade Scalability Guidelines” is not updated with 16G products (Only goes to FOS 6.3.0).

Latency

Page 10 it says “hop count is not a concern if the total switching latency is less than the disk I/O timeout value”.

Every switch hop adds latency (frame needs to be put in ASIC, processed then sent on its way).

Switch latency is measured in microseconds.
Disk I/O – is that the same as multipathing timeout? So 60 seconds for MPIO default in Windows?

How are these latencies measured?

Redundancy Resiliency

Two fairly similar words. One indicates something has a replica or a duplicate to fall back on. The other indicates the strength, can it by itself handle a problem.

Core switches should be equal or higher perf compared to edge switches.
Highest performing switch should be the principal switch.
Redundant links should be placed on different blades/ASICs or at least different port groups.

EHT – edge hold time

New timeout value that can discard blocked frames earlier than the 500ms default (down to 100ms). An I/O retry will still happen for each dropped frame.

Is a new features in FOS 7(confirm) and it is ASIC dependent. Meaning ports in another port group are not affected by the EHT in another port group.

EHT applies to all F_Ports on a switch and all the E_ports that share ASIC with F_Ports.

Intended for initiators only.

ICL

Directors interconnected via ICL is not considered a hop in FICON, is it in Open Systems?
Are the links uni-directional?

ICL cables should all have the same length.
ISL can be a bit different, max 30m in difference.
Don’t have ISL and ICL to the same switch/domain.

Links

Hyper-Scale Fabrics: Scale-out Architecture with Brocade DCX 8510 Feature Brief.

Small Fabrics

Page 15: Brocade recommends core-edge as primary SAN design, or mesh for small fabrics (under 2000). !!! That’s pretty big..
On page 16 it says use full-mesh under 1500 ports.

Fan-In and Fan-Out and Oversubscription

Host ports to Target Ports

Device to ISL

Fan In : number of device ports that need to share a single port, be it target or ISL.

Consider: port queue depth, iops and throughput.

Example: If you have 4 devices with one 8G FC port each (32Gbps) and they are connecting over an ISL of 2x8G to another switch to a storage array that also have 2x8G then there is a 2:1 oversubscription, both on the ISL and on the target ports.

Bottleneck Detection

BD consumes switch memory, don’t monitor more than 100 ports on a 48k (no limit on DCX).

Start monitoring a small number of storage ports.

Fabric Watch

Thresholds and actions are generally different between initiators and targets. Thus place these on different switches.

FW Administrator’s Guide 7.0.0

Monitor Class 3 frame discards (C3TX_TO), they are an indicator of high-latency devices.

Fabric Watch Classes

This is a wide grouping of similar devices.
For example, temperature is a part of the class Environment.

Long Distance

Buffer Allocation

Number of credits: 6+ ((link speed Gb/s * Distance in km) / frame size in KB)

On 8510 4K buffers are available per ASIC to drive 16Gbps to 500km at 2KB frame size. With credit linking, buffers can be borrowed from a neighboring ASIC to extend distance.
Details about ‘credit linking’? Not many hits about this on google.

You can connect DWDMs in pass-thru mode where the switch is providing all the buffering.

FCIP

FCIP adds a small latency (35 micro seconds). This is without the underlying TCP/IP delays.

Use QoS to give FCIP traffic highest priority.
Use CAR (committed access rate) to limit other traffic.
Use ARL (adaptive rate limiting) and set the limit to the remaining bandwidth.

FCIP traffic believes it is the only one using the bandwidth it has available, other traffic will suffer if they if they are sharing.

Use rate limiting on the FCIP on the Brocade systems, don’t limit it on the IP network.

MLX

This is mentioned for when extending mainframe/FICON extension over FCIP.

MLX is a Brocade Router.

OC

OC1 =~ 52Mbps or without overhead ~50Mbps
OC12 = 12*52 or about 622Mbps
OC48 = 48*52 or about 2488Mbps

OC12 is recommended for Compression Mode 3 (GZIP/software only)
OC48 is recommended for Compression Mode 2 (SW with HW assist)

Neither of those are recommended for synchronous replications. Mode 0 is recommended and that is HW only compression.

Gaussian or Normal Distribution

http://en.wikipedia.org/wiki/Normal_distribution

Have fun.

Virtualization

There’s quite a bit about new Virtualization Engines in this paper. It basically means a device that has other disk arrays behind it, and then this device presents disks to servers. The danger is told to be that the engine can send a lot of small control frames, using up the buffer credits without using all the available bandwidth.

APM and Fabric Watch can apparently be used to monitor for excessive levels of SCSI reservations. How? – No specific details found but it is apparently threshold configurable in  fabric watch.

NPIV

Less domains equals to reduced:

  • inter-switch zone transfers
  • name server synchronizations
  • RSCN processing

Dynamic Fabric Provisioning (DFP)

Only on Brocade HBAs and 16G.

Dynamically provision switch-generated virtual WWN.

Can be user-generated as well.

WWN stays the same even after HBA replacement.

In practice this means you can zone, QoS even before the HBA is online and before you know what the WWN is of the new device.

Brocade Certification – BCFD – Fabric Designer – Preparation

BCFD exam is going into Beta testing in January as well!

This post will be updated as I move along through the different objectives / documents.

// Update 2012-01-15: Added the Knowledge Assessment Test.
// Update 2012-01-28: Went through each .pdf and updated some in here.

The link to the Brocade page where it tells you how to register and where to get the material: http://community.brocade.com/docs/DOC-2379

# Note: This link no longer works

When are these available?
On Thursday 12/01/2012 at 0728 EET it was not available.
On Thursay 12/01/2012 at 0803 EET it was available.

So, that would indicate that the time Pearson follows is GMT-6 or Central Time.

On top of that the only available dates for me was 23rd and 24th of January :(
Time to study!
// update, that was changed, it was a mistake so now I get some more time to study :)

Exam Study Resources (page numbers are document page numbers, NOT the PDF page)

As I see it, the importance of each document could be arranged like this:

  1. CFD 200 Modules 3-7
  2. SAN Design Best Practices
  3. FOS Administrator’s Guide
  4. The rest.

With 1/2 sharing the top spot. I haven’t gone through the modules yet but I presume they all complement each other.
The reason for them sharing the top spot is because for this Beta Exam, the CFD200 material is for 8Gbps (and it has quite a lot of details about the M-series McData switches, which the 16Gbps BCFD did not include).

There is also a Knowledge Assessment on my.brocade.com ‘education’ page.
It’s called “CFD 201 8 Gbit/sec BCFD Knowledge Assessment”. Again, this is for 8G so beware that some stuff may not be up to date if you are doing the Beta for BCFD 16G. But, the actual type of questions is something that is useful. It mentions EFCM or Fabric Manager some times (this is the previous names of DCFM or what’s now called Brocade Network Advisor).

There is a nutshell guide for BCFD, but this is from November 2008 making it possibly even more outdated than the CFD200 material. But, because most of the topics are still valid it would still work as a refresher, but you can’t use it for anything specific.

I am doubtful that the M-series will be included in the BCFD 16G exam but as it’s still in the objectives for the 8G it’s probably wise to not skip that part completely. For that 1.5 years (half 2009 and 2010) when I did SAN support I only had one call about a McData switch.

Exam Study Resources with my comments:

CFD 200 BCFD Design Course Modules 3-7

  • Obviously these are the most important. I’ll go through these at a later stage.

Brocade DCX 8510 Backbone Family Datasheet

(GA-DS-1564-01)

  • Lots of details about the system specs.

SAN Design Best Practices

(GA-BP-329-02-02)

  • Pages 2,5-16,19-26,31,32-36,40-45,51-53,55,58-62,66,67,72

Fabric OS Administrators Guide v7.0

(53-1002148-03)

  • Pages 37,43,66-70,102,142,151,153,157,196,199,241,273-286,301,314,315,320,372,383,395-398,402-406,414,417,425,429,437,438-443,449,454-461,464,503,504
  • topics
    • 256-area addressing
    • WWN-based PID assignment
    • enabling/disabling a port and port decommissioning
    • gateway links, ICL,
    • RADIUS/LDAP authentication
    • fddcfg / DCC/SCC policies
    • device authentication
    • ipfilter
    • firmwaredownload
    • advanced zoning (regular, broadcast, frame redirection, lsan, qos, ti)
    • traffic isolation zoning (and VF considerations for TI zones)
    • bottleneck detection
    • in-flight encryption and compression (technologies, enabling/disabling)
    • licensing (enable 10GbE, 7800, QoS, FCIP Extension, FICON acceleration, etc, etc, etc)
    • advanced performance monitoring (top talker, frame monitor, end-to-end)
    • adaptive networking (ingress rate limiting)
    • QoS prioritization (SID/DID or CS_CTL – class specific control)
    • trunking (ISL, ICL, EX_Port, F_Port)
    • Long Distance (buffer credit allocation, max distance, credit recovery)
    • FC-FC Routing (support platforms)
    • interopability (FOS vs M-EOS)

Fabric OS Command Reference v7.0

(53-1002147-01)

  • Pages  302,695,716,721,957,
  • commands
    • fcrconfigure  /  fcredgeshow
    • portcfgspeed
    • portdportest
    • portfencing
      • Why is the test for “Invalid Word Transmission” called ITW?
      • Ah, on portThConfig it is called “Invalid Transmission Word”.
    • supportshow

Fabric OS FCIP Administrators Guide v7.0

(53-1002155-01)

  • Pages 1,6
  • topics
    • FCIP platforms and supported features
      • 7800, FX8-24 and FR4-18i
      • FCIP Trunking
      • Adaptive Rate Limiting
      • 10GbE
      • 8G FC Ports
      • Compression (LZ and Deflate)
      • Acceleration (FCIP Fastwrite, OSTP)
      • QoS
      • VLAN Tagging
      • FICON
      • IPSEC
      • VEX
      • IPv6
      • Jumo Frames
    • 7800 switch hardware overview
    • FX8-24 has support for all features above, except: Jumbo frames (only FR4-18i supports those), IPv6 addresses for FCIP tunnels or IPsec, or 3rd WAN optimization hardware (the other do support this pre FOS 7)

 

Monitoring and Diagnostic Testing in Today’s High Speed High Density Networks

  • Pages 2-4
  • topics
    • powerpoint presentation of four pages in total
    • fc cable lengths
    • measuring loss
    • embedded diagnostics (bottleneck detection, fabric watch, frame monitoring, port fencing)
      • fmmonitor is a CLI that you can use to set up frame monitoring, for example SCSI reservations and aborts.

Brocade Network Advisor SAN User Manual

(53-1002355-01)

  • Pages 12,164,186,255,596,770,794,796
  • topics
    • “Connectivity Map Toolbar” & “Product List”
    • Call Home Feature
    • Copying and Deleting Views
    • SAN Device Configuration (configuration repository management)
    • LSAN Zoning
    • Performance Overview
    • Bottleneck detection

Why dB Loss Matters for Building Reliable Stable Networks

GA-TN-048-01

  • Pages 2,3
  • topics
    • total 8 pages
    • link lengths and link loss budgets

Brocade 6505 Hardware Reference

(53-1002449-01)

  • Pages 13,15
  • topics
    • ISL trunking
    • switchstatuspoolicy
    • fos native and AG modes

Brocade Access Gateway Administrator’s Guide

(53-1002156-01)

  • Pages xiv,72,
  • topics
    • supported hardware and software (which switches and FOS)
    • enabling NPIV on M-EOS and Cisco switches
      • CISCO: config t; npiv enable
      • MEOS:
    • new features -F_Port static mapping, APM, B6510, Target Aggregation, Direct target attachment, N_Port monitoring

“You can run the agshow command to display Access Gateway information registered with the fabric. When an Access Gateway is exclusively connected to non-Fabric-OS-based switches, it will not show up in the agshow output on other Brocade switches in the fabric.”

CEE Admin Guide 53 1002163-02

  • Page xviii
  • topics
    • Supported Hardware: Standalone switch B8000 and the blade FCOE10-24
    • IGMP configuring (IGMP is used in multicast, ethernet)
    • Replacing the B8000
      • configdownload
      • and copy running config and stuff! Looks very similar to the Cisco CLI.

Brocade Adaptors Admin Guide

(53-1002143-01)

  • Pages 3,13,
  • topics
    • AnyIO technology on the 1860 Fabric Adapter, just change the SFP and set the mode with bcu port –mode or bcu adapter –mode.
      • HBA or FC mode (FC)
      • Ethernet or NIC mode (GbE)
      • CNA mode (FCoE)
    • Adapter Support (OS + description of adapters)

The New Data Center 1st Edition

ISBN: 978-1-4507-0195-2

  • Pages 65,66,78
  • topics
    • Fabric Based Disaster Recovery (64-67)
      • An overview of some of the extension technologies and reasons behind them.
    • Network Security (77) + Power, Space and Cooling Efficiency (78)
      • Network Security is not FC related.

BCFP 16G Beta – I passed!

In a moment of frustration/impatience I posted on ‘Brocade Certified’ that it was still 3 weeks until the results are posted. Good boss of training Joe Cannata replied that I could e-mail him and get the results before. I did, and I passed! Most excellent and kind of them to do that! So nice to not have to wait the extra three weeks until it’s entered/updated in the Pearson Vue system. What kind of name is that anyway? Pearson Vue? Latin? Turns out no.

VUE stands for: Virtual University Enterprises
Pearson is just from somebody’s name.

Maybe there’s another meaning behind the name Pearson (besides son of pear).

Back to the subject, how nice was it to find out that I passed? The first few days / week after the exam I was really aching to find out. Then I pretty quickly forgot about it. It wasn’t until maybe a month and a half later that I thought, cmooon why is this so slow! All in all it feels pretty awesome to have the certificate! It took a pretty heavy amount of studying. I think maybe now I got the courage to go for the designer one as well!

BCFP 16G : Post-Exam

OK, did the exam. Took 2.5 hours.

It felt like I was plowing through them pretty fast but after some 80-questions the speed dropped significantly and I started to have trouble focusing. Short unfocus/try to think about something else , stand up a bit helped. This test wasn’t as nerve-wrecking for me as the BCFA – maybe it had something to do with that I didn’t pay for this one.. (smålänningen i mig).

I realized last night that I hadn’t listened to the BCFP nutshell guide (the one with audio) so I quickly went through that and I believe it helped a bit, even though it’s for FOS 6.3 and 8G FC stuff. If you do this exam when it goes live, definitely do listen to the nutshell, maybe several times and don’t forget to click the ‘notes’ button on the slides, there’s more info there. It’s kind of a very sped up/condensed version of the whole material, but there’s some things that aren’t even mentioned that you’ll only find in the material. But it is free. It’s nice to have somebody read it out loud, maybe they phrase it a little different than you do (in the head) that is just what’s needed for you to understand it.

Also there are the simulations/labs in the material when you buy that’s really valuable.
For the BCFA they had virtual class rooms for this nutshell – looks like they might have changed this now and recorded it. One avenue less to ask questions.

Now the waiting begins. Two months until I get to know the results. Yikes!

Gotta find something else to occupy myself with now.. hmm..

Archiving? Buddhism? Apparently BCFD (fabric designer) is beta-tested in Dec/Jan. This would be the next logical step for me. Why not huh? =) Anybody has any ideas? Right now I just feel like getting myself into the next Malaz book by Ian C. Esslemont – Stormwielder, supposedly about Greymane!

BCFP – How to prepare for the exam

Until now I’ve been just reading the material, when there’s something unclear in the material I’ve looked it up in command reference guides, release notes, user guides or otherwise on the Intertubes.

This doesn’t really prepare you for the format the exam is in. I mean the exam is in questions and the answers are multiple-choice one. Unless you actively do it while reading this doesn’t put your brain in – answer-questions-mode(tm).

What I’ve done is make flash cards with the question on one side and the answer on the other side. You can put whatever you want of course, but for example ‘ what is the command to enable fcr ‘ or if you want something more theoretical how about ‘ what are the advantages with fcip compared to dark fibre extension’ ? Or the negatives? I have no idea what the questions were when I did the BCFA (I was just so happy I passed) but I hope this will prepare me somewhat for what might come.

BCFP – good threads in the brocade forum

How to set up two FCIP tunnels between two B7500: http://community.brocade.com/message/15261

Connecting two sites via FCR: http://community.brocade.com/message/16828#16828

Set up FCIP between two B7800: http://community.brocade.com/message/14216#14216

Why is there an IP in ipaddrshow on FC interfaces: http://community.brocade.com/message/3978#3978

 

 

 

 

BCFP – more studying

OK, so now you’ve been studying for a while? Read the material once or twice, made notes. Have you read more details about a command in the command reference guide, or more details about a technique in the FCIP Admin Guide or the FOS guide? Or how do you do your studying?

Now would be a good time to head over to the page where you see the requirements/objectives of the exam.

Write them down and think about each. Could you for example ‘Demonstrate knowledge of how to manage FCIP/FC distributed external solutions’ ? No? Why not? What parts about it do you not understand, are there any foggy parts, etc. If you can explain this to somebody, that’s a great achievement (now you just have to find somebody who doesn’t get glazed eyes but listening to you talk about fibre channel).
Maybe if you imagine a presentation (like in school) and you have to tell somebody about this specific feature. What would you go over?

Two weeks left for me now. Just hit me today that it’s 4 hours long and 180+ questions (so about 1min 20seconds per question). My brain is not going to function very well after the test. Gotta stock up on carbs, don’t drink before.

BCFP – 16G Studying

Another studying tip!

Head over to the forum/community at Brocade. Do it. After you read this post :p

For example in the BCFP there will be questions about NPIV, so it makes sense to read the forum for threads regarding NPIV. Right? I mean there’s bound to be troubleshooting, and getting some ‘real’ experience troubleshooting SAN is quite hard to get, especially with stuff like FCIP/FCR.

Example link: http://community.brocade.com/message/18897#18897

You don’t need an account. If you register you don’t get access to much anyway.

Here is one as an example. But there are lots of posts there and there’s a ton to learn. I usually just troll/help out on HP’s Enterprise Server/Storage forum but I think I’ll start reading on this as well.

BCFP Studying on

A bit quiet here.
I’m quite busy at work and also studying for the BCFP.
Currently wrapping up the end of ‘going through the material and putting what I find interesting in a document so that I can print it and re-read it and make notes etc’.

One thing I found was a Top Talker feature called ‘EE Monitors’.
As far as I could tell this was the same as Top Talker in ‘port mode’ in opposed to ‘Top Talkers’ which was ‘Top Talker’ in fabric mode.

Brocade Embedded SAN switches are called B54xx like 5424 etc.

Some terminology:

Ingress Port – Traffic Entering a switch port (rx)
Egress Port – Traffic Exiting a switch port (tx)

SAN Primer – Introduction to Data Storage

You may have heard about this storage or SAN stuff, but what is it? Is it complicated and cool? Yes. Now it doesn’t have to be complicated, but it sure can be sometimes.
This post is just a brief primer/introduction to storage and what it entails. In case maybe you got a job interview or just would like to know a little bit more about it.

I’ll update this post as I go, last update 2012-07-13 – added some books and free pdfs and links.

What is a SAN?

‘Storage Area Network’ – or storage network.
Generally it doesn’t have to be a ‘network’ it could just be direct connected equipment or peer 2 peer. But what it always entails is a shared storage, most often disk or tape.

What is in a SAN?
When it comes to disk storage on fibre channel there’s a few standard components: FC HBA in the server, SFP and cables, SAN-switch, SFP and cables, FC port in the disk array controller and then there’s something behind the controller that connects disks.

You can connect the FC HBA directly to the disk array.

What is storage?
It’s somewhere where you can store data. Most common today would be: hard drives, flash drives (ssd), magnetic media (tape) and optical media (dvd/blueray/cd).  In a computer you cannot fit hundred of hard drives, but sometimes there is an application that requires lots and lots of data (maybe for example CAD drawings, video editing). This is when a SAN comes in, with only the help of for example a fibre channel card you can give a server access to lots of storage.

How do you do it?
If you want to give a server disk space from a fibre channel SAN this is what you do:

  1. Fullfil the hardware requirements (so fibre channel HBA+drivers and multipath software, SAN-switch, disk array and sfps + cables)
  2. On the SAN-switch create a zone with the disk array’s and the FC HBA’s domain id, port id or port wwn. It’s possible to do it without zones, but they are good for fault isolation.
  3. On the disk array you should now see the server/host, create a disk and map/present it to the host.
  4. On the host you most likely need to do a rescan/reinitialize of the fc-bus.
  5. After the server sees the LUN it will have a new hard disk available, you can use your normal partitioning/format/filesystem tools to create some usable space.

Can I use the same disk on two servers?
This is a pretty common question, the answer is sometimes and the sometimes depends on which file system you are using. It needs to support that more than one host can access it at the same time. NTFS does not support this and if you try it anyway you’ll corrupt the file system. For Windows you need to look into CSV – clustered shared volumes or other networked file systems like NFS/CIFS.

What is the difference between fibre channel and iscsi?

FC is sending SCSI commands over fibre channel, it’s not always fibre or optical cables.
While iSCSI is sending SCSI commands over TCP/IP.
FC is a whole network technology while iSCSI is running on top of a network technology -> TCP/IP.

Some literature:

Both the IBM and the HP one are quite lengthy. The HP one has a lot of HP specific guides, best practices and supported configurations. The FC 101 by Brocade actually goes quite deep into the theory of the FC protocol.

BCFP – FCIP – Fibre Channel over TCP/IP

Still studying for Brocade’s BCFP Exam.
This post is to try to put light on some of the terms/technologies you’ll be surrounded by when learning about FCIP.

Guides you should see are the “Fabric OS FCIP Administrator’s Guide” and you should probably start with the material for BCFP – part 4 (theory) and 5 (administration).

Basically the FC frames will be encapsulated in packets over TCP/IP, making the TCP/IP part  invisible/irrelevant to the SAN fabric and the FC frames invisible/irrelevant to the TCP/IP. Except of course for the FC routers that bridge the networks. It is possible to run FCR over FCIP as well via the VEX ports (virtual EX_port). Extension. This means that it’s using TCP flow control, no BB credits.

Terminology

Tunnel (VE_port) – are seen as VE_ports in the fabric.

Circuits (GbE ports) are inside a tunnel (VE_port)
Is a logical connection between two IP addresses.

Metric 0 – active (you can have several links at metric 0)
Metric 1 – standby

FCIP tunnels support max two hops.

Multi-Gigabit Circuits

On the FX8-24:

2x 10GbE
1x 10Gbe and 10x 1GbE
10x 1GbE
Not,  all ports at the same time.

FCIP Trunking

Basically adding more circuits to a tunnel, not recommended to set up several tunnels (limited anyway) but because ISL trunking is not supported on VE_ports.

FICON timeout: 1s
FC timeout: 4s
Consider altering these depending on your setup/latencies.

Virtual Fabric considerations

Define several logical switches inside a physical.
You can with FOS 7.0.0 have a VE_port (the GbE ports) defined in the base/default switch and then share it with other logical switches, giving you the possibility to extend/route the fabrics over a shared trunk while they are still isolated. You cannot mix dedicated (in an LS) and a shared (in default) in the same FCIP tunnel.

QoS

Not enforced if there is no contention (there is free bandwidth)

VC0 (or F_frames – fabric frames) – always first.
QoS_High: >50% : : 6
QoS_Medium: >30% : 3
QoS_low: >20% : 1

DSCP (6 bits of priorities – 64 )
L2CoS (3 bits of priorities- 8 )
Priority is set in the TOS – in the header.

Compression

(four different ones, hardware, software, mix, auto)

10GbE

“lossless” failover only in FOS 7.0.0. (brocade chipset did not share ports)
You cannot use both 10GbE and get 20GbE. You can have them active/standby or use both A/A and get 5Gbps on each.
Disabling port != failover testing.  Can/will cause disruptions.

Crossport

Crossports are addresses and routes that belong to the other 10GbE (XGE) port’s DP or VE group.

The crossport for xge0 is xge1 and for xge1, the crossport is xge0. To use crossports, the port must be configured in 10 Gbps mode.

The crossport is the non-local XGE port for a VE_Port group. In other words, for
VE ports 12 through 21, xge1 is the local XGE port and xge0 is the crossport. For VE ports 22
through 31, xge0 is the local XGE port and xge1 is the crossport.

SACK

(selective acknoledgement – prevent that each lost packet requires an ack, bundles up several lost packets into one, default is ON)

Adaptive Rate Limiting

Configure minimum and maximum rates on an FCIP circuit.
Let’s say you have one FCIP router with two circuits going to two independent IP-routers, these two share a link to another site. The idea is that then you can use ARL to configure minimum half of the shared link on each of the circuits from the FCIP router to the IP router, and a max of the whole one. So if one goes down, you’re not stuck with half and you’re not oversubscribing. There, easy to explain in words :d


Hardware

FX8-24

2 x 10GbE ports, 12 x 1GbE and 12 x FC8
Link to hardware page on Brocade.

7800

6 x 1GbE ports, 16 x FC8
Link to hardware page on Brocade.

Steps

  1. What settings are you going to have on the ports/links/tunnels?
  2. Configure hw ports (media type, mode etc)
  3. Disable VE_ports (Virtual FC E_ports) with the tunnel (portdisable)
  4. Create ip intf for each phy Ethernet port that’s going to be used (portcfg ipif)
  5. Config IP route for each port to specify an IP Gateway (not required; portcfg iproute)
  6. Verify IP network between the two IP interfaces that will form the tunnel. (portcmd –ping slot/port)
  7. Create an FCIP tunnel (circuit 0; portcfg fciptunnel; portcfg fcipcircuit)
  8. Config FCIP Features (SACK, compression, etc)
  9. Verify config, enable VE_ports, verify that it’s working
  10. Add more circuits to the tunnel(s).

BCFP – Fibre Channel Routing – FCR – FC-FC Routing

FCR; Fibre Channel Routing; FC-FC Routing; etc; etc.

This has many names. FC-FC Routing service provides FCR (fibre channel routing).
Basically what it does is that it lets you zone devices in two separate fabrics without merging them.
These two separate fabrics are called ‘edge fabrics’ in Brocade lingo, they are otherwise known as SAN islands.
The edge fabric is connected to a backbone fabric (an FC router or at least an EX_Port).

Integrated Routing – is a licensed feature that lets you run FCR on a port that is in a normal port in a normal switch or port blade (so not in a dedicated router switch or router blade).

There’s a few things required to set up FCR:

  1. Verify that you have the proper setup (required licenses/hardware)
  2. Assign backbone FIDs (switchdisable; fosConfig –disable fcr; fcrconfigure; fosconfig –enable; switchenable)
  3. Configure FCIP tunnel (not required but: portcfg fciptunnel 8/ge0 create 2 1.1.1.1 1.1.2.1 0 -v 100 -p 3 -P 7 . Remote IP first, tunnel ID, vlan, Classes for layer2 control and data traffic)
  4. Configure IFLs – inter fabric links – links between edge and backbone fabrics (portcfgvexport, portcfgexport 7 -a 1 -f 30 . port 7, enable, fabric id 30)
  5. Modify cost on the EX_ports (not required; portdisable; portcfgexport 7 -a 1; fcrrouterportcost 7 10000; for default, set it to 0; fcrRouteShow also shows cost)
  6. Connect cables (if you do it before and they are configured as E_port you may get segmentation).
  7. Configure trunking on EX_ports (not required but if you have more than one link, please do, same commands as for E_port trunking)
  8. Configure LSAN zones (same as normal zoning; zonecreate “lsan_zone_fabric”, “wwn; wwn2; wwn3”; cfgadd “zone_cfg”, “lsan_zone_fabric”; cfgenable “zone_cfg”). Use lsanzoneshow -s. Shows imported/exist/configured/initializing.
    fcrphydevshow, fcrproxydevshow are also useful.
  9. Confirm that it’s working (fcrfabricshow, switchshow, portcfgshow, portexport 7, portshow 7)
So what you have to do is: assign FIDs, configure IFLs and LSAN zones. 

A little theory

Phantom domains.

Front domains -> always there

Translate domains (also xlate domains…).  -> only there when devices are online and zoned

The FC router has a pool of wwns and proxy ids that it assigns to devices.
Basically a host that wants to communicate with a target in another fabric communicates with a proxy WWN in its own fabric (so the FC router is like a middle man that passes frames back n forth).

A little more information

When a PLOGI, PDISC, ADISC frame arrives at the FC router, SID and DID are checked. If they are zoned in both SID and DID edge fabrics (islands), the frame is forwarded to DID. If not, only PLOGI is dropped; edge fabrics’ zoning enforcement takes care of the rest.
I found this document on EMC’s webpage (it’s from 2007 so a bit outdated and it has EMC’s names of the Brocade products) but it explains the concept pretty nicely.
Also, this post is for me to study for the BCFP, I find that I learn better when I write things down with a keyboard ;)
There may be mistakes in here but that’s just how it is, I tried to keep it as factual as possible and used several sources.
There will most likely be more of these posts coming up.

BCFP – Brocade Certified Fabric Professional 16G Beta Exam

More studying. Only a month and a half to go.

Currently repeating/re-reading BCFA stuff and mostly focusing on the new stuff. Expect to do this this whole week but gradually weave in more BCFP stuff.

An idea – I don’t think I need to re-hearse the BCFA that much. The objectives between the two exams are very different and there’s no overlap as far as I can tell. Focusing more on the BCFP now but it was nice anyway to do a short repeat of the BCFA stuff, get back in the game.

The Material

I’ve been going through what’s recommended (the material) and these are the useful pages:
Please note that the second item in each list is the actual page number in the document.
I also took the liberty of adding pages before/after in case they were adding context to the page. It’s not like I’m going to try to remember the pages by heart. And quite often the pages referenced by Brocade were just one page in the middle of a chapter.

For example page 63 in FOS Admin Guide 7 is either about setting ipaddr or routing/FC NAT. I think it’s the FC NAT. Page 77 is either for adressing/WWN based PID assignment or lossless DLS. Page 80 is port numbering schemes for various blades or Forward Error Correction. 99 is verifying syslog/audit log or introduction to RADIUS/LDAP. 117-118 is lossless DLS or overview of IP protocols.
Page 3 in the troubleshooting guide is to the document history or one of the pages with list of common symptoms. Also Page 1 in FCIP Admin Guide is probably not the one they meant :)

There’s some really weird ones in the admin guide. For example page 582 does not exist in FOS admin or 132 is empty in FCIP Admin guide , in both real page counters and the numbers on the pages in the book.

Also some starting/ending points/pages are a little strange, why cut it off there and not the whole chapter/section?

From the Brocade Certified group on facebook I saw that these pages numbers were used to writing a/questions on the exam. Guess this explains why some of the pages are odd, maybe they were written down at a previous version of the document or they just don’t want to document everything :) In the same group they claim that the page they used is the one on the actual page, not the one in for example adobe reader. This means the numbers under Real are the ones pointing to the right pages.

Anyway, with the details from http://community.brocade.com/docs/DOC-2041 here we go:

Updated the numbers on FOS Admin guide (2011-08-18)

  • Fabric OS Administrators Guide v7.0 (53-1002148-02)
    • Pages 63,77,80,99,100,117,118,128,133,137,200,272-281,287-302,372,382,395,404-412,413,418,422-433,435-438,447-481,582
    • Real Pages: 102-103, 120, 139, 168, 173-174, 177, 240, (271-303), 311-343, 410, 412, 422, 435, 444-453, 458-478, 487-521,
  • Fabric OS Command Reference Guide v7.0 (53-1002147-01)
    • Pages 239,244-246,283-290,380-383,609,610,637,653,661-663,701-710,714-717,824,885,930,953-956,1028,1029,1083
    • Real Pages: 273, 278-280, 316-324, 643, 644, 671, 687, 695-697, 735-744, 748-751, 857-858, 918-920, 964, 987-990, 1061-1063
  • Fabric OS Troubleshooting Guide v7.0 (51-1002150-02)
    • Pages 3,22,31,38,92,
    • Real Pages: 23, 43-44, 51-52, 112
  • Brocade 1860 Datasheet (GA-DS-1566-00)
  • Brocade SAN Health Family Data Sheet (GA-DS-870-03)
  • Fabric OS v7.0 Release Notes
    • Pages 11,12
    • Real Pages: 11, 12
  • Brocade Network Advisor SAN User Manual 11.1.x (53-1002167-01)
    • Pages xxxviii,xxxix,47-52,148,202,230-233,647,648,782,911
    • Real Pages: 38-39, 91-96, 192, 246, 274-277, 691-692, 826, 955
  • Brocade Network Advisor Installation Guide 11.1.x (53-1002320-01)
    • Page 9
    • Real Page: 9
  • Fabric OS FCIP Administrator’s Guide (53-1002155-01)
    • Pages 1,6,29-37,54,111-113,132
    • Real Pages: 15, 20-21, 43-52, 68, 125-127
  • Access Gateway Administrator’s Guide (53-1002156-01)
    • Pages 11,22,52,53,67-69,
    • Real Pages: 31, 42, 72-73, 87-89
  • Brocade Adapters Administrator’s Guide (53-1001923-01)
    • Page 35
    • Real Page: 57
  • Pre-release CFP 300 Course (unedited material)
    • Modules 2-8

BCFA – Brocade Certified Fabric Administrator 16G Beta

I am currently going for the BCFP – fabric professional – exam, but I did the BCFA 6 months ago so I’ll re-read the material and of course there’s the new stuff with FOS 7, new hardware, 16g, new ASIC that I should probably learn as well.

Some new stuff

‘fabric name’ is a new feature. But this is also more usable in VF – which is not part of BCFA. Firmware upgrades are the same (phew).
DCFM is now called Network Advisor and it also has IP/routing and MPLS functionality now.
Of course the 16G blades (with the first 8 ports capable of handling 10GB FC) and the FC10-6 blades.
D_port diagnostics (set a port to this before joining it to a trunk, or use it to measure distance on a long distance link, is accurate up to 5m).
IDLE/ARB fill words are no longer necessary to configure (except on 8G platforms and not on Condor3).
Condor3 is the new ASIC for the 16G blades.
New/larger/longer/better ICL between the new directors that use QSFP instead of the crap max 2m copper cable.

Kindle

One thing that’s great about the kindle is that you can put the Brocade material on it (even in PDF) – just change viewing mode to landscape/horizontal and it will look great. Two pages per slide. I still have material from my old so that one works. But the material that is given for free now has 0 access rights so it does not work on the Kindle.

The way I write my personal notes is: write them off from the brocade material in my own words.

  1. I do this on google docs.
  2. I then download it into .doc and then
  3. e-mail it as an attachment to youraccount@free.kindle.com.
  4. Then next time you hook up your kindle to wifi it will download the documents, converted to .azw.

What’s important here is to not use lists, as the conversion from a google doc saved as word and then e-mailed to youraccount@free.kindle.com does not like lists, it only takes the first level in the list.

I instead used headers, lost of them.

This is also nice because you can put a TOC which is clickable on the kindle.

Also pictures work in this conversation.

P6000 – EVA – Command View Simulator

https://h20392.www2.hp.com/portal/swdepot/displayProductInfo.do?productNumber=P6000EVASimulator

Command View EVA is HP’s web based management tool for their EVA/P6000 products.
It’s been looking the same for quite some time except the quite old ones. It’s simple to use compared to other management softwares but sure it has its limitations too. It’s not based on JAVA anyway :)

Install.

Run the install file, this extracted the files but then it said something about it not being correctly installed. I then went to the folder and started the install manually. This completed after a while. After this:

To run it in Windows 7 x64:

Go to start menu -> accessories -> right-click on Command Prompt -> choose “run as Administrator”.

In there type:
cd C:\Program Files (x86)\Hewlett-Packard\HP P6000 EVA Simulator\evasim

Then hit:
setup_cv_env.bat
wait for it to complete

Then hit:
start_bundle.bat

Which will start the simulation services and open a web browser (IE for me even if Firefox is default). It looks like it works fine in Firefox 7 too – just surf to . There is no password required when logging in manually.

IE9 will complain about certificate, say that you agree and then you’re in!

Use

Well, this is where you learn how to do the things in Command View.

For example, create a vdisk, create a replication group, try out continuous access (data replication) and business copy (snapshots, clones). It’s really like the real deal except that probably the error logs aren’t there and you can’t really present any disks to a host. But you can do everything simulated anyway :)

The firmware in the simulator is 10000090 (or CD1528lesl-10000090 ) on HSV300. A pre-release of the XCS firmware? Also the 6100/8100 EVAs in the simulator is on 6.220 – why not on 6.240?

Also do try the SSSU it is installed here C:\Program Files (x86)\Hewlett-Packard\HP P6000 EVA Simulator\evasim\cveva and it works. So you can try scripting, try out scripts before you actually run them in your production system and stuff like that.

Even cvutil is installed. In the same directory as SSSU, just hit ‘cvutil paths’ for example to see the paths your machine has to the EVAs.

To shut down the simulator you can type ‘exit’ in the command windows that are opened by the software. Or just hit CTRL+C or the X in the window :)

BCFP 16g Exam Studying

Right now I’m reading through the BCFA material and writing what I find useful in a google docs document – later I will take this and send to my Kindle – for some of that memorization :)

Think it’s a good idea to refresh some of the BCFA stuff before tackling the BCFP material, it was about 6 months ago since I took the BCFA and there are of course the new 16G hardware that was available then.

If you’re new to all this – do check out the FC 101 training by Brocade,  it is pretty awesome and I think I’ll listen/read it once or probably more before the exam. It’s good to refresh the fundamentals.

BCFP 16G Beta Exam Material

After the announcement of the available material Fabric OS 7.0.0a has been released.

On the page http://community.brocade.com/docs/DOC-2041 only the first revision of the 7.0 release notes is available.

The BCFA 16G beta course material is also available, probably a good idea to read up on both and do a little rehearsing.

The old attachments are these:

  • 1860_FabricAdapter_DS.pdf (942.3 K)
  • FOS_TrblShoot_v700-02.pdf (1.8 MB)
  • FOS_CmdRef_v700.pdf (4.6 MB)
  • FOS_AdminGd_v700-02.pdf (7.2 MB)
  • FOS_FCIP_AdminGd_v700.pdf (2.8 MB)
  • NetworkAdvisor_SAN_InstallGd_v1110.pdf (450.3 K)
  • NetworkAdvisor_SAN_Manual_v1110.pdf (9.5 MB)
  • v7.0.0_releasenotes_v1.0.pdf (1.5 MB)
  • SH_Family_DS_03.pdf (157.7 K)
  • Brocade_Adapters_v2.3.0.0_Admin_Guide.pdf (1.5 MB)
  • AccessGateway_AdminGd_v700.pdf (919.0 K)

With my notes:

  • 1860_FabricAdapter_DS.pdf (this is just a brochure/data sheet of that product)
  • FOS_TrblShoot_v700-02.pdf (trbl and diag guide, 3 June 2011, 138p)
  • FOS_CmdRef_v700.pdf (cmd reference manual- 29 April 2011, 1132p)
  • FOS_AdminGd_v700-02.pdf (3 June 2011, 580p)
  • FOS_FCIP_AdminGd_v700.pdf (29 April 2011, 136p)
  • NetworkAdvisor_SAN_InstallGd_v1110.pdf (13 May 2011, 47p)
  • NetworkAdvisor_SAN_Manual_v1110.pdf (13 May 2011, 1301p)
  • v7.0.0_releasenotes_v1.0.pdf (29 April 2011, 125p)
  • SH_Family_DS_03.pdf (SAN Health Family, brochure/data sheet)
  • Brocade_Adapters_v2.3.0.0_Admin_Guide.pdf (27 October 2010, 292p)
  • AccessGateway_AdminGd_v700.pdf (29 April 2011, 102p)

The newer versions are not available if you have a registered account on my.brocade.com without any product registered to it. I’ve e-mailed Brocade asking for more access. In the meantime some are available on for example HP.com – but the Brocade release notes are not available there. And the HP Release notes for 7.0.0a have the HP names of the products.
On HP’s site you can go to the manuals for the 8/40 to get some more documents.

Actually it looks like the documents available are quite up to date. I guess the Admin Guides etc don’t update that often anyway. There is however a document in the manuals link above that explains that there have been some changes to some of the Brocade Documents. This might be worth checking out.

The conclusion of this little exercise is that the material available is currently good enough (for me).

Reading encrypted/password protected pdf on Linux

Brocade Logo

The problematic PDF

The CFP300 material on http://community.brocade.com/docs/DOC-2041 is encrypted so that it cannot be printed/re-edited without a password.

If you try to open this with evince (default .pdf viewer in Gnome) it will ask for a password.
pdftotext (comes with the software suite poppler) says:

Error: Weird encryption info
Error: Incorrect password

It’s only the material starting with M0* that has this issue, this has also been seen with other documents. Maybe this is because they were created with a too new version of Adobe Acrobat that evince/pdftotext doesn’t support.
The rest of the material are going to be public and they are user/admin guides anyway. But the M0* files are from the actual course material for the 16G so this is why.

The solution on RHEL6 x64: install FoxitReader. Download the .rpm – then hit ‘rpm -Uvh FoxitReader-1.1-0.fc9.i386.rpm’ and it will be installed. To start it just hit ‘FoxitReader’.

Anyway I think it’s nice of Brocade to pre-release the course material for those doing the beta-test. If you want the real material the cheapest is 650$ and then you get the material, narration of the pdfs (usually good quality, not just reading off the presentations) and a few quite good lab exercises.

The Studying

Just threading along here with the material, slowly but steady.
I’m starting with the NPIV / Access Gateway stuff. It’s a bit more complicated than just a switch that isn’t its own domain, it’s also mapping the virtual WWN to the N_ports (a switch in AG mode has N_ports that connect to F_ports in another switch). Usually N_ports are on hosts’ and targets’ ports and the switches’ has the F_ports.

P6000 Firmware & Command View

The P6000 firmware XCS 10000000 is out, or has been for a while now.
You can find it on http://software.hp.com or the link above.

The Command View 9.4 release notes are here.

Extra nice stuff (besides the obvious ones like new hw support):

  • HDD upgrades via management module / ABM
  • Disk Drive Remote Power cycling (apparently works after 09500000?)
  • Thin Provisioning (requires extra license but with the P6300/6500 it comes with the normal CV license)
  • Online migrations (change vraid lvl or disk group without impacting i/o – cool)
  • Manage it over FCoE (so via an MPX200 for example)
  • EVA3000/5000 events not propogated to Windows Event Log – I knew it!
  • SSSU 9.4 – took away the 10s delay when executing commands.

And release notes for the XCS 10M is here.

More hw stuff ;)

  • For HSV300 and above
  • P6300 is HSV340 and P650 is HSV360
  • M6612 is LFF (3.5″ disks) and M6625 is SFF (2.5″ disks)
  • So are they smaller than the EVA8400?
  • Both P6300 and P6500 have a management module (ABM)
  • Events that indicate back-end cabling is incorrect -> NICE
  • Some more SPOF fixes

It’s confusing to read the release notes as it says P6000 everywhere but it refers to all EVAs. Also the older generations like EVA3000/5000 are called P6000!

I also wonder why the P6300/P6500 is named HSV340 and HSV360.
So they’re not better than the EVA6400?

This would put them on or slightly above the EVA6400/HSV400 series level:

“Up to 10 M6612 or M6625 are supported with the P6300 EVA
up to 20 M6612 or up to 18 M6625 are supported with the P6500 EVA”

In terms of sizing it would make more sense to call them HSV420 and HSV440 or something like that :)

On this page it says active/active on the redundancy options, but it doesn’t say this on the x400. Does this mean it’s no longer asymmetrical A/A like it was on the previous EVAs?

Latest FOS ( Fabric OS ) Firmware on HP’s Brocade SAN switches

How to find the latest firmware for an HP Brocade SAN switch:

How to find out which Brocade Firmware is the latest and which is the last supported one?

  1. On HP SPOCK: http://h20272.www2.hp.com/ (this required an HP Passport, they are free to create).
  2. Go to Switches, then click on B-series connectivity stream.

The B-series conenctivity stream document gets updated often and it has the recommended (usually latest) and the supported Fabric OS releases for each switch type.

How to find the last supported firmware for an HP Brocade SAN switch:

Usually the EOL of a firmware is announced when a new one is released.
See this customer notice of 6.4.1b:
http://h20000.www2.hp.com/bizsupport/TechSupport/Document.jsp?objectID=c02766238

HP P6000 – EVA – Thin Privisioning and Dynamic Lun Migration – XCS 10.000.000

http://h30499.www3.hp.com/t5/Storage-Area-Networks-SAN/XCS-10-000-00/m-p/4789795

2011-07-12: Updated with new link to new HP ITRC forum.

Also it looks like VAAI is not implemented in this firmware.

Some more news!

With Google Translate:
“Under the new EVA was also the XCS software updated and is now more stable and effi ¤ competitive. IT IS now available for r the EVA4000/6000/8000 EVA4100/6100/8100 and the version of XCS tion 6240 and for r the EVA 4400/6400/8400 and EVA XCS version of the P6000 10.000.00 to availability, with new features such as thin Provisioning “and” Dynamic LUN migration “for r coming EVA x400 systems.
In addition, the new EVA Command View v.9.4, which for r all generations of EVA systems can be used.”

The newsletter was in German – it mentions Thin Provisioning and Dynamic LUN Migration (a blog post about Tiering). Especially interesting I find that the x400 will also get this 10.000.00 firmware – which kind of makes sense as it’s already on 09.534.000 (one more number?).
I take this to mean that the architecture inside the P6000 Controllers are the same as in the EVA x400 -series (PowerPC etc.).

Sounds like a great move, as long as the new firmware is as stable as they claim.
EVA x400 was for most of the time not stable until the 09534000 firmware was released, unless you were lucky/did not have that many disk shelves.

It will probably be called XCS 10000000 , not 10.000.00 as written in the newsletter above.

HP’s Brocade firmwares compatible with other switches?

After a question in my SAN switch firmware upgrade article I made a comparison of two downloads of 6.3.1b (one via IBM and one from HP) – the only differences were a file called ancillary and one called EULA.pdf. I used examdiff to find the differences.

All the sub-directories were the same, only the above two files were added in the HP one.
I believe quite strongly that you can use the HP firmwares to upgrade Brocade switches that are branded by other vendors.

At least IBM and normal Brocade ones.

As they are using the very same Brocade firmware that Brocade themself use, it might be hard for the vendors to change the switch that much.

It would be interesting to investigate if other vendors add something to make theirs not, but I have no way of acquiring such a firmware.

The EULA looks like a normal HP standard end user license agreement form. The HP ancillary.txt file contains this:

“This ancillary.txt file provides information as to how to obtain the open source or other third party licenses in this distribution. To obtain such licenses, run the following CLI command at the prompt, “opensource”.
This ancillary.txt file also provides the instructions for customers who require a copy of the
machine-readable GPL Source Code by written request.  Upon your written request, HP will provide to You, for a fee covering the cost of distribution, a complete machine-readable copy of the GPL Source Code. Your written request for GPL Source Code can be sent via email to FC_Infrastructure_OpenSourceRequest@hp.com. In the request, include product name, version number, your name, and your shipping address. “