Small Fibre Channel Lab Experiences - Part 2

In this section some basic configurations such as VSANs, Zone and Zonesets will be configured.

VSANs
VSAN 1 is the management VSAN and is not intended to be used for production traffic. Very simple process to create a VSAN and add the interfaces to it:

vsan database
  vsan 10 name "TEST"
  vsan 10 interface fc1/1
  vsan 10 interface fc1/4

Disks are now on VSAN 10

MDS1# sh scsi-target disk
--------------------------------------------------------------------------------
VSAN    FCID        PWWN                      VENDOR    MODEL             REV
--------------------------------------------------------------------------------
10      0x77004d    22:00:00:18:62:07:ff:e1   SEAGATE   ST3300007FCE      FCA4
10      0x77004e    22:00:00:11:c6:31:f7:bd   SEAGATE   ST3300007FCE      FC20
10      0x770051    22:00:00:11:c6:f5:1a:f2   STON+WIR  ST3146707FC       7682

Zones and Zonesets
First lets see some details on how zoning is configured for VSAN 10:

MDS1# sh zone status vsan 10
VSAN: 10 default-zone: permit distribute: full Interop: default
    mode: basic merge-control: allow
    session: none
    hard-zoning: enabled broadcast: disabled
Default zone:
    qos: none broadcast: disabled ronly: disabled
Full Zoning Database :
    DB size: 4 bytes
    Zonesets:0  Zones:0 Aliases: 0
Active Zoning Database :
    Database Not Available

So I will create a zone and add the two 300GB FC disks to it:

MDS1(config)# zone name TEST-ZONE vsan 10
MDS1(config-zone)# member device-alias DISK-300GB-1
MDS1(config-zone)# member device-alias DISK-300GB-2

Then create a zoneset and add the zone to it:

MDS1(config)# zoneset name TEST-ZONESET vsan 10
MDS1(config-zoneset)# member TEST-ZONE

The final step is to activate the zoneset:

MDS1(config)# zoneset activate name TEST-ZONESET vsan 10
Zoneset activation initiated. check zone status

You can see from the following output that the two 300GB drives are in the new TEST-ZONE and the 174GB and the HBA are in the default zone.  When I rescan the HBA in vSphere, I only see the 174GB drive as expected.


I'll add the 174GB drive and HBA to the new zone, activate and rescan the HBA:

MDS1# sh zoneset active vsan 10
zoneset name TEST-ZONESET vsan 10
  zone name TEST-ZONE vsan 10
  * fcid 0x77004d [pwwn 22:00:00:18:62:07:ff:e1] [DISK-300GB-1]
  * fcid 0x77004e [pwwn 22:00:00:11:c6:31:f7:bd] [DISK-300GB-2]
  * fcid 0x770051 [pwwn 22:00:00:11:c6:f5:1a:f2] [DISK-174GB-1]
  * fcid 0x770100 [pwwn 10:00:00:00:c9:6e:b6:21] [HELLA-HBA]

Took quite awhile for the rescan to finish but all the disks show up again: