Fibre Channel (SAN)

Reply
RSC
New Member
Posts: 1
Registered: ‎10-14-2017

I need some help with configuring the fibre Channel switch with failover

I am newbie to the Fibre channel switch configuration, I need some help configuring the Brocade FC switch for failover. This is a brand new configuration. Please see my attached configuration, does it make sense? Did I miss any configuration? Thank you for all the help.

 

Here is my switch configuration:

 

FC switch 1:

 

RSC-FCSwitch1:admin> nsshow

{

Type Pid    COS     PortName                NodeName                 TTL(sec)

N    010000;      3;50:06:01:62:47:e0:38:17;50:06:01:60:c7:e0:38:17; na

    FC4s: FCP

    PortSymb: [24] "UNITY::::SPA24::FC::::::"

    NodeSymb: [22] "UNITY::::SPA::FC::::::"

    Fabric Port Name: 20:00:00:05:33:a4:20:f8

    Permanent Port Name: 50:06:01:62:47:e0:38:17

    Port Index: 0

    Share Area: No

    Device Shared in Other AD: No

    Redirect: No

    Partial: No

    LSAN: No

N    010100;      3;50:06:01:63:47:e0:38:17;50:06:01:60:c7:e0:38:17; na

    FC4s: FCP

    PortSymb: [24] "UNITY::::SPA25::FC::::::"

    NodeSymb: [22] "UNITY::::SPA::FC::::::"

    Fabric Port Name: 20:01:00:05:33:a4:20:f8

    Permanent Port Name: 50:06:01:63:47:e0:38:17

    Port Index: 1

    Share Area: No

    Device Shared in Other AD: No

    Redirect: No

    Partial: No

    LSAN: No

N    010200;      3;21:00:00:24:ff:8b:f1:7a;20:00:00:24:ff:8b:f1:7a; na

    FC4s: FCP

    NodeSymb: [33] "QLE2562 FW:v8.05.00 DVR:v2.1.63.0"

    Fabric Port Name: 20:02:00:05:33:a4:20:f8

    Permanent Port Name: 21:00:00:24:ff:8b:f1:7a

    Port Index: 2

    Share Area: No

    Device Shared in Other AD: No

    Redirect: No

    Partial: No

    LSAN: No

The Local Name Server has 3 entries }

RSC-FCSwitch1:admin>

Issued following command to create the  configuration:

 

RSC-FCSwitch1:admin> alicreate rsc_emc_Port4_SPA,50:06:01:62:47:e0:38:17

RSC-FCSwitch1:admin> alicreate rsc_emc_Port4_SPB,50:06:01:6A:47:e0:38:17

RSC-FCSwitch1:admin> alicreate rsc_vmhost5_Port1_SPA,21:00:00:24:ff:8b:f1:7a

RSC-FCSwitch1:admin> alicreate rsc_vmhost5_Port1_SPB,21:00:00:24:ff:8b:f1:7b

RSC-FCSwitch1:admin> alicreate rsc_emc_Port5_SPA,50:06:01:63:47:e0:38:17

RSC-FCSwitch1:admin> alicreate rsc_emc_Port5_SPB,50:06:01:6B:47:e0:38:17

RSC-FCSwitch1:admin> alicreate rsc_vmhost5_Port2_SPA,20:00:00:24:ff:8b:f1:7a

RSC-FCSwitch1:admin> alicreate rsc_vmhost5_Port2_SPB,20:00:00:24:ff:8b:f1:7b

RSC-FCSwitch1:admin> zonecreate rsc_emc_Unity_SPA,"rsc_emc_Port4_SPA;rsc_emc_Port5_SPA"

RSC-FCSwitch1:admin> zonecreate rsc_emc_Unity_SPB,"rsc_emc_Port4_SPB;rsc_emc_Port5_SPB"

RSC-FCSwitch1:admin> zonecreate  rsc_vmhost5_SPA,"rsc_vmhost5_Port1_SPA;rsc_vmhost5_Port2_SPA"

RSC-FCSwitch1:admin> zonecreate  rsc_vmhost5_SPB,"rsc_vmhost5_Port1_SPB;rsc_vmhost5_Port2_SPB"

RSC-FCSwitch1:admin> cfgcreate "Revision1_cfg","rsc_emc_Unity_SPA;rsc_emc_Unity_SPB"

RSC-FCSwitch1:admin> cfgadd "Revision1_cfg","rsc_vmhost5_SPA;rsc_vmhost5_SPB"

RSC-FCSwitch1:admin>  cfgenable Revision1_cfg

You are about to enable a new zoning configuration.

This action will replace the old zoning configuration with the

current configuration selected. If the update includes changes

to one or more traffic isolation zones, the update may result in

localized disruption to traffic on ports associated with

the traffic isolation zone changes.

Do you want to enable 'Revision1_cfg' configuration  (yes, y, no, n): [no] yes

zone config "Revision1_cfg" is in effect

Updating flash ...

RSC-FCSwitch1:admin>

 

RSC-FCSwitch1:admin> cfgshow

Defined configuration:

cfg:   Revision1_cfg

                rsc_emc_Unity_SPA; rsc_emc_Unity_SPB; rsc_vmhost5_SPA;

                rsc_vmhost5_SPB

zone:  rsc_emc_Unity_SPA

                rsc_emc_Port4_SPA; rsc_emc_Port5_SPA

zone:  rsc_emc_Unity_SPB

                rsc_emc_Port4_SPB; rsc_emc_Port5_SPB

zone:  rsc_vmhost5_SPA

                rsc_vmhost5_Port1_SPA; rsc_vmhost5_Port2_SPA

zone:  rsc_vmhost5_SPB

                rsc_vmhost5_Port1_SPB; rsc_vmhost5_Port2_SPB

alias: rsc_emc_Port4_SPA

                50:06:01:62:47:e0:38:17

alias: rsc_emc_Port4_SPB

                50:06:01:6a:47:e0:38:17

alias: rsc_emc_Port5_SPA

                50:06:01:63:47:e0:38:17

alias: rsc_emc_Port5_SPB

                50:06:01:6b:47:e0:38:17

alias: rsc_vmhost5_Port1_SPA

                21:00:00:24:ff:8b:f1:7a

alias: rsc_vmhost5_Port1_SPB

                21:00:00:24:ff:8b:f1:7b

alias: rsc_vmhost5_Port2_SPA

                20:00:00:24:ff:8b:f1:7a

alias: rsc_vmhost5_Port2_SPB

                20:00:00:24:ff:8b:f1:7b

 

Effective configuration:

cfg:   Revision1_cfg

zone:  rsc_emc_Unity_SPA

                50:06:01:62:47:e0:38:17

                50:06:01:63:47:e0:38:17

zone:  rsc_emc_Unity_SPB

                50:06:01:6a:47:e0:38:17

                50:06:01:6b:47:e0:38:17

zone:  rsc_vmhost5_SPA

                21:00:00:24:ff:8b:f1:7a

                20:00:00:24:ff:8b:f1:7a

zone:  rsc_vmhost5_SPB

                21:00:00:24:ff:8b:f1:7b

                20:00:00:24:ff:8b:f1:7b

 

RSC-FCSwitch1:admin>

 

Switch 2 Configuration

 

RSC-FCSwitch2:admin> nsshow

{

Type Pid    COS     PortName                NodeName                 TTL(sec)

N    010000;      3;50:06:01:6a:47:e0:38:17;50:06:01:60:c7:e0:38:17; na

    FC4s: FCP

    PortSymb: [24] "UNITY::::SPB24::FC::::::"

    NodeSymb: [22] "UNITY::::SPB::FC::::::"

    Fabric Port Name: 20:00:50:eb:1a:11:13:e1

    Permanent Port Name: 50:06:01:6a:47:e0:38:17

    Port Index: 0

    Share Area: No

    Device Shared in Other AD: No

    Redirect: No

    Partial: No

    LSAN: No

N    010100;      3;50:06:01:6b:47:e0:38:17;50:06:01:60:c7:e0:38:17; na

    FC4s: FCP

    PortSymb: [24] "UNITY::::SPB25::FC::::::"

    NodeSymb: [22] "UNITY::::SPB::FC::::::"

    Fabric Port Name: 20:01:50:eb:1a:11:13:e1

    Permanent Port Name: 50:06:01:6b:47:e0:38:17

    Port Index: 1

    Share Area: No

    Device Shared in Other AD: No

    Redirect: No

    Partial: No

    LSAN: No

N    010200;      3;21:00:00:24:ff:8b:f1:7b;20:00:00:24:ff:8b:f1:7b; na

    FC4s: FCP

    NodeSymb: [33] "QLE2562 FW:v8.05.00 DVR:v2.1.63.0"

    Fabric Port Name: 20:02:50:eb:1a:11:13:e1

    Permanent Port Name: 21:00:00:24:ff:8b:f1:7b

    Port Index: 2

    Share Area: No

    Device Shared in Other AD: No

    Redirect: No

    Partial: No

    LSAN: No

The Local Name Server has 3 entries }

 

RSC-FCSwitch2:admin>

 

Issued following command to create the  configuration on Switch2

 

 

RSC-FCSwitch2:admin>

 

RSC-FCSwitch2:admin> alicreate rsc_emc_Port4_SPA,50:06:01:62:47:e0:38:17

RSC-FCSwitch2:admin> alicreate rsc_emc_Port4_SPB,50:06:01:6A:47:e0:38:17

RSC-FCSwitch2:admin> alicreate rsc_vmhost5_Port1_SPA,21:00:00:24:ff:8b:f1:7a

RSC-FCSwitch2:admin> alicreate rsc_vmhost5_Port1_SPB,21:00:00:24:ff:8b:f1:7b

RSC-FCSwitch2:admin> alicreate rsc_emc_Port5_SPA,50:06:01:63:47:e0:38:17

RSC-FCSwitch2:admin> alicreate rsc_emc_Port5_SPB,50:06:01:6B:47:e0:38:17

RSC-FCSwitch2:admin> alicreate rsc_vmhost5_Port2_SPA,20:00:00:24:ff:8b:f1:7a

RSC-FCSwitch2:admin> alicreate rsc_vmhost5_Port2_SPB,20:00:00:24:ff:8b:f1:7b

RSC-FCSwitch2:admin> zonecreate rsc_emc_Unity_SPA,"rsc_emc_Port4_SPA;rsc_emc_Port5_SPA"

RSC-FCSwitch2:admin> zonecreate rsc_emc_Unity_SPB,"rsc_emc_Port4_SPB;rsc_emc_Port5_SPB"

RSC-FCSwitch2:admin> zonecreate  rsc_vmhost5_SPA,"rsc_vmhost5_Port1_SPA;rsc_vmhost5_Port2_SPA"

RSC-FCSwitch2:admin> zonecreate  rsc_vmhost5_SPB,"rsc_vmhost5_Port1_SPB;rsc_vmhost5_Port2_SPB"

RSC-FCSwitch2:admin> cfgcreate "Revision1_cfg","rsc_emc_Unity_SPA;rsc_emc_Unity_SPB"

RSC-FCSwitch2:admin> cfgadd "Revision1_cfg","rsc_vmhost5_SPA;rsc_vmhost5_SPB"

RSC-FCSwitch2:admin> cfgenable Revision1_cfg

You are about to enable a new zoning configuration.

This action will replace the old zoning configuration with the

current configuration selected. If the update includes changes

to one or more traffic isolation zones, the update may result in

localized disruption to traffic on ports associated with

the traffic isolation zone changes.

Do you want to enable 'Revision1_cfg' configuration  (yes, y, no, n): [no] yes

zone config "Revision1_cfg" is in effect

Updating flash ...

RSC-FCSwitch2:admin>

 

 

RSC-FCSwitch2:admin> cfgshow

Defined configuration:

cfg:   Revision1_cfg

                rsc_emc_Unity_SPA; rsc_emc_Unity_SPB; rsc_vmhost5_SPA;

                rsc_vmhost5_SPB

zone:  rsc_emc_Unity_SPA

                rsc_emc_Port4_SPA; rsc_emc_Port5_SPA

zone:  rsc_emc_Unity_SPB

                rsc_emc_Port4_SPB; rsc_emc_Port5_SPB

zone:  rsc_vmhost5_SPA

                rsc_vmhost5_Port1_SPA; rsc_vmhost5_Port2_SPA

zone:  rsc_vmhost5_SPB

                rsc_vmhost5_Port1_SPB; rsc_vmhost5_Port2_SPB

alias: rsc_emc_Port4_SPA

                50:06:01:62:47:e0:38:17

alias: rsc_emc_Port4_SPB

                50:06:01:6a:47:e0:38:17

alias: rsc_emc_Port5_SPA

                50:06:01:63:47:e0:38:17

alias: rsc_emc_Port5_SPB

                50:06:01:6b:47:e0:38:17

alias: rsc_vmhost5_Port1_SPA

                21:00:00:24:ff:8b:f1:7a

alias: rsc_vmhost5_Port1_SPB

                21:00:00:24:ff:8b:f1:7b

alias: rsc_vmhost5_Port2_SPA

                20:00:00:24:ff:8b:f1:7a

alias: rsc_vmhost5_Port2_SPB

                20:00:00:24:ff:8b:f1:7b

 

Effective configuration:

cfg:   Revision1_cfg

zone:  rsc_emc_Unity_SPA

                50:06:01:62:47:e0:38:17

                50:06:01:63:47:e0:38:17

zone:  rsc_emc_Unity_SPB

                50:06:01:6a:47:e0:38:17

                50:06:01:6b:47:e0:38:17

zone:  rsc_vmhost5_SPA

                21:00:00:24:ff:8b:f1:7a

                20:00:00:24:ff:8b:f1:7a

zone:  rsc_vmhost5_SPB

                21:00:00:24:ff:8b:f1:7b

                20:00:00:24:ff:8b:f1:7b

 

RSC-FCSwitch2:admin>

Brocade Moderator
Posts: 414
Registered: ‎03-29-2011

Re: I need some help with configuring the fibre Channel switch with failover

Hi,

 

I will use fabric 1 as an example. I would create the following zone for HBA to storage (one zon for each storage port)

 

zonecreate "rsc_P4_vmhosts5_SPA","rsc_vmhost5_Port1_SPA;rsc_emc_Port4_SPA"

zonecreate "rsc_P5_vmhosts5_SPA","rsc_vmhost5_Port1_SPA;rsc_emc_Port5_SPA"

 

I do not know if the two storage ports need to talk to each other, if yes, then you need the followingf zone, too

 

zonecreate  rsc_emc_Unity_SPA,"rsc_emc_Port4_SPA;rsc_emc_Port5_SPA"

 

And then create  the configuration

 

cfgcreate "Revision2_cfg","rsc_P4_vmhosts5_SPA;rsc_P6_vmhosts5_SPA; rsc_emc_Unity_SPA"

cfgenable "Reivion2_cfg"

cfgsave

 

I would also add defzone with noaccess

 

defzone --noaccess

cfgsave

 

 

 

 




If this provided you with a solution to this issue, please mark it with the button at the bottom "Accept as solution".


Any and all information provided by me is not reviewed, approved or endorsed by Brocade and is provided solely as a convenience for Brocade customers. All systems and all networks are different and unique. If you have a service affecting network problem, please open a TAC service request for service through Brocade, or through your OEM equipment provider. If this provided you with a solution to this issue, please mark it with the button at the bottom "Accept as solution"

Join the Community

Get quick and easy access to valuable resource designed to help you manage your Brocade Network.

vADC is now Pulse Secure
Download FREE NVMe eBook