Adding ESX host to Cisco (vSAN) Fiber Channel Switches (MDS 9000)

SAN zone create for Cisco MDS series switch using the CLI commands

We have two new ESXi host that need storage mapping to our Dell Compellent SAN. Each ESXi host is dual port 8Gb HBAs. We have two separate fabric zones (vSAN 20 and vSAN 21). This way in a HA fail-over only one switch needs to be powered on because each ESXi host is mapped to both fabric zones.

 

Step 1.
switch# sh flogi database

  --------------------------------------------------------------------------------
INTERFACE        VSAN    FCID           PORT NAME               NODE NAME
--------------------------------------------------------------------------------
fc1/1            1     0xde0000  50:00:d3:10:00:b0:fd:05 50:00:d3:10:00:b0:fd:00
fc1/1            1     0xde0002  50:00:d3:10:00:b0:fd:21 50:00:d3:10:00:b0:fd:01
fc1/4            1     0xde0100  50:00:d3:10:00:b0:fd:12 50:00:d3:10:00:b0:fd:00
fc1/4            1     0xde0101  50:00:d3:10:00:b0:fd:23 50:00:d3:10:00:b0:fd:02
fc1/5            1     0xde0900  21:00:00:24:ff:24:8a:f7 20:00:00:24:ff:24:8a:f7
fc1/6            1     0xde0800  21:00:00:24:ff:2d:7f:0f 20:00:00:24:ff:2d:7f:0f
fc1/7            1     0xde0500  21:00:00:24:ff:2c:f9:a3 20:00:00:24:ff:2c:f9:a3
fc1/8            1     0xde0400  21:00:00:24:ff:2d:81:9f 20:00:00:24:ff:2d:81:9f
fc1/9            1     0xde0600  21:00:00:24:ff:33:6d:f6 20:00:00:24:ff:33:6d:f6

Step 2. Create the FC-Alias For Zone

switch# conf t

switch(config)# fcalias name SUN_HBA1 vsan 1
switch(config)# fcalias name SUN_HBA1 vsan 1
member pwwn 50:00:d3:10:00:b0:fd:22

switch(config)# fcalias name Win_HBA1 vsan 1
member pwwn 50:00:d3:10:00:b0:fd:24

switch(config)# end

switch# sh fcalias
fcalias name SUN_HBA1 vsan 1
 pwwn 50:00:d3:10:00:b0:fd:22

fcalias name Win_HBA1 vsan 1
 pwwn 50:00:d3:10:00:b0:fd:24

Step 3. Create the zones

switch# conf t

switch(config)# zone name WIN_HBA1_VNX_SPA vsan 1
member fcalias WIN_HBA1
member fcalias VNX_SPA

switch(config)# zone name SUN_HBA1_VNX_SPA vsan 1

member fcalias SUN_HBA1
member fcalias VNX_SPA
switch(config)# end
switch# sh fcalias

Step 4. Create the zoneset

switch# conf t

switch(config)# zoneset name Cloud_zone vsan 1
member WIN_HBA1_VNX_SPA
member SUN_HBA1_VNX_SPA
switch(config)# end

Step 5. Activate the zoneset

switch# conf t
switch(config)# zoneset activate name Cloud_zone vsan 1

Step 6. Save the configuration

switch(config)# copy running-config startup-config

switch(config)# end

Step 7. Validate the zone configuration and show the active zone

switch# show zoneset 

switch# show zoneset active

Follow Us On
Twitter
fb-art Postwaves

Advertisement

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s