Start a Conversation

This post is more than 5 years old

Solved!

Go to Solution

3865

July 3rd, 2012 19:00

Add RHEL to Cisco SAN Switch

Just a note.. all I have is the CLI (no Fabric Manager) on the Cisco MDS.

I'm adding a RHEL 5.8 box to the SAN.  HBA cards are configured in the server, wired up to the Cisco SAN Switch.  Now I'm stuck on this whole "zoning" thing so the server can see the DMX4.  On the switch:

show fcns database

VSAN 1:

--------------------------------------------------------------------------

FCID        TYPE  PWWN                    (VENDOR)        FC4-TYPE:FEATURE

--------------------------------------------------------------------------

0xe4000c    N     10:00:00:00:c9:96:14:93 (Emulex)        scsi-fcp:init

Total number of entries = 1

Thats the WWN of one of the HBA cards in the RHEL server.  So the switch sees the card.

I'm lost from here. 

This is the way everything else looks (done by our former SAN admin who went to official EMC training):

VSAN 10:

--------------------------------------------------------------------------

FCID        TYPE  PWWN                    (VENDOR)        FC4-TYPE:FEATURE

--------------------------------------------------------------------------

0xb70001    N     50:06:04:82:d5:31:ee:18 (EMC)           scsi-fcp:both 253

                  [Symm5528_FA9B0]

Total number of entries = 1

VSAN 101:

--------------------------------------------------------------------------

FCID        TYPE  PWWN                    (VENDOR)        FC4-TYPE:FEATURE

--------------------------------------------------------------------------

csf-sw1# show fcns database

VSAN 1:

--------------------------------------------------------------------------

FCID        TYPE  PWWN                    (VENDOR)        FC4-TYPE:FEATURE

--------------------------------------------------------------------------

0xe4000c    N     10:00:00:00:c9:96:14:93 (Emulex)        scsi-fcp:init

Total number of entries = 1

VSAN 10:

--------------------------------------------------------------------------

FCID        TYPE  PWWN                    (VENDOR)        FC4-TYPE:FEATURE

--------------------------------------------------------------------------

0xb70001    N     50:06:04:82:d5:31:ee:18 (EMC)           scsi-fcp:both 253

                  [Symm5528_FA9B0]

Total number of entries = 1

VSAN 101:

--------------------------------------------------------------------------

FCID        TYPE  PWWN                    (VENDOR)        FC4-TYPE:FEATURE

--------------------------------------------------------------------------

0x2b0001    N     50:06:01:61:41:e1:13:44 (Clariion)      scsi-fcp

                  [NS2_blade2_be1]

0x2b0002    N     50:06:04:82:d5:31:ee:08 (EMC)           scsi-fcp:both 253

                  [Symm5528_FA9a0]

0x2b0101    N     50:06:01:69:41:e1:13:44 (Clariion)      scsi-fcp

                  [NS2_blade3_be1]

Total number of entries = 3

VSAN 201:

--------------------------------------------------------------------------

FCID        TYPE  PWWN                    (VENDOR)        FC4-TYPE:FEATURE

--------------------------------------------------------------------------

0xb20000    N     50:06:0b:00:00:c9:a2:f2 (HP)            scsi-fcp:init fc-gs

                  [Bog_fcd1]

0xb20100    N     50:06:0b:00:00:11:11:20 (HP)            scsi-fcp fc-gs

                  [Tan_td2]

0xb20200    N     10:00:00:00:c9:8b:73:e2 (Emulex)        scsi-fcp:init

                  [CSF-Mail-Zimbra_sda]

0xb20201    N     10:00:00:00:c9:4c:1f:1a (Emulex)        scsi-fcp:init

                  [Rinse_fc0]

0xb20202    N     50:06:04:8a:d5:31:ee:17 (EMC)           scsi-fcp:both 253

                  [Symm5528_FA8d0]

0xb20203    N     50:06:04:8a:d5:31:ee:08 (EMC)           scsi-fcp:both 253

                  [Symm5528_FA9c0]

0xb20205    N     10:00:00:00:c9:60:0b:ed (Emulex)       

                  [Buttercup_fcs0]

0xb20206    N     50:06:04:8a:d5:31:ee:28 (EMC)           scsi-fcp:both 253

                  [Symm5528_FA9c1]

0xb20207    N     10:00:00:00:c9:6b:7c:33 (Emulex)        scsi-fcp:init

                  [Straw_vmhba0]

0xb20208    N     10:00:00:00:c9:69:fb:50 (Emulex)        scsi-fcp:init

                  [VMdmz_vmhba1]

0xb20209    N     10:00:00:00:c9:6d:58:a1 (Emulex)        scsi-fcp:init

                  [Ginger_vmhba1]

0xb2020d    N     50:06:04:8a:d5:31:ee:38 (EMC)           scsi-fcp:both 253

                  [Symm5528_FA9d1]

0xb2020f    N     10:00:00:00:c9:96:4f:10 (Emulex)        scsi-fcp:init

                  [CSF_ESX_1_vmhba3]

0xb20210    N     10:00:00:00:c9:9e:43:3c (Emulex)        ipfc scsi-fcp:init

                  [sp-sql-prod_Slot3]

0xb20211    N     50:01:43:80:03:ad:ba:32 (HP)            scsi-fcp:init

                  [gisimage_Slot2]

0xb20212    N     10:00:00:00:c9:9f:4b:be (Emulex)        ipfc scsi-fcp:init

                  [gisprod_Slot2]

0xb20400    N     21:01:00:1b:32:b3:7d:e2                 scsi-fcp:target

                  [csf_vtl_5b]

0xb20500    N     50:06:0b:00:00:c9:a3:00 (HP)            scsi-fcp:init fc-gs

                  [Trident_fcd2]

0xb20600    N     50:06:0b:00:00:5d:ee:74 (HP)            scsi-fcp:init fc-gs

                  [Poseidon_fcd1]

0xb20700    N     50:06:0b:00:00:c9:a2:f8 (HP)            scsi-fcp:init fc-gs

                  [Tartan_fcd1]

0xb20800    N     21:00:00:e0:8b:9a:75:e8 (Qlogic)        ipfc scsi-fcp:init

                  [Newbayou_qlc2]

0xb20900    N     21:00:00:e0:8b:9a:56:e7 (Qlogic)        ipfc scsi-fcp:init

                  [Newsewage_qlc2]

Total number of entries = 22

csf-sw1#

Basically, how do I get this server logged into the SAN?  I also need to name the pwwn like he did the others.  I would assume I would join the new pwwn to the 201 VSAN since thats where mostly everything is.  But I'm completely lost anyway, so I probably don't even know what I'm talking about.

2 Intern

 • 

20.4K Posts

July 3rd, 2012 21:00

cool, so let's go through the steps:

1) Create fcalias for each HBA

config t

fcalias name newserver vsan 201

member pwwn 10:00:00:00:c9:96:XX:XX

exit

end

2) Create zone

config t

zone name zone_newserver_dmx4 vsan 201

member fcalias newserver

member fcalias dmx4alias

exit

3) Add zone to active zone set

to view current zoneset name run this command: sh zoneset vsan 201 | grep "zoneset name"

config t

zoneset name vsan 201

member zone_newserver_dmx4

end

4) Active zoneset

config t

zoneset activate name vsan 201

sh zoneset active vsan 201

2 Intern

 • 

20.4K Posts

July 3rd, 2012 19:00

i want to see output from this command first:

symcfg list -sid -FA ALL

2 Intern

 • 

20.4K Posts

July 3rd, 2012 20:00

so this host is connected to DMX4 and you want the new host to be connected just like this one, if yes can you run this command on this host

symmask list hba

2 Intern

 • 

20.4K Posts

July 3rd, 2012 20:00

so looks like FA 9C:1 is connected to VSAN 201, so 8C:1 connected to VSAN ?

76 Posts

July 3rd, 2012 20:00

from a box that can see the SAN:

./symcfg list -fa all

Symmetrix ID: xxxxxxxxxxx28 (Local)

           S Y M M E T R I X    F I B R E   D I R E C T O R S

    Dir    Port  WWN               VCM      Volume Set   Pnt to Pnt

                                   Enabled  Addressing           

    FA-8A   0    50060482D531EE07  No       No           Yes

    FA-8A   1    50060482D531EE27  Yes      No           Yes

    FA-9A   0    50060482D531EE08  No       No           Yes

    FA-9A   1    50060482D531EE28  Yes      No           Yes

    FA-8B   0    50060482D531EE17  Yes      No           Yes

    FA-8B   1    50060482D531EE37  No       No           Yes

    FA-9B   0    50060482D531EE18  Yes      No           Yes

    FA-9B   1    50060482D531EE38  No       No           Yes

    FA-8C   0    5006048AD531EE07  Yes      No           Yes

    FA-8C   1    5006048AD531EE27  Yes      No           Yes

    FA-9C   0    5006048AD531EE08  Yes      No           Yes

    FA-9C   1    5006048AD531EE28  Yes      No           Yes

    FA-8D   0    5006048AD531EE17  Yes      No           Yes

    FA-8D   1    5006048AD531EE37  Yes      No           Yes

    FA-9D   0    5006048AD531EE18  Yes      No           Yes

    FA-9D   1    5006048AD531EE38  Yes      No           Yes

76 Posts

July 3rd, 2012 20:00

$./symmask list hba

Identifier        Type   Adapter           Physical Device Path      Dir:P

----------------  -----  ----------------  ------------------------  -----

10000000c95ef8b9  Fibre  05-08             /dev/rhdisk2              08C:1

10000000c9600bed  Fibre  00-08             /dev/rhdisk3              09C:1

Yes, this host is connected to the same DMX-4 that I want to add the new RHEL host to.

76 Posts

July 3rd, 2012 21:00

8C:1 is actually connected to the 2nd switch:

sw2# show fcns database

VSAN 1:

--------------------------------------------------------------------------

FCID        TYPE  PWWN                    (VENDOR)        FC4-TYPE:FEATURE

--------------------------------------------------------------------------

0x3c000b    N     10:00:00:00:c9:96:14:92 (Emulex)        scsi-fcp:init  <=== the 2nd HBA in the new RHEL server

Total number of entries = 1

VSAN 10:

--------------------------------------------------------------------------

FCID        TYPE  PWWN                    (VENDOR)        FC4-TYPE:FEATURE

--------------------------------------------------------------------------

0x410001    N     50:06:04:82:d5:31:ee:17 (EMC)           scsi-fcp:both 253

                  [Symm5528_FAB0]

Total number of entries = 1

VSAN 102:

--------------------------------------------------------------------------

FCID        TYPE  PWWN                    (VENDOR)        FC4-TYPE:FEATURE

--------------------------------------------------------------------------

0x7e0001    N     50:06:01:60:41:e1:13:44 (Clariion)      scsi-fcp

                  [NS2_blade2_be0]

0x7e0002    N     50:06:04:82:d5:31:ee:07 (EMC)           scsi-fcp:both 253

                  [Symm5528_FA8a0]

0x7e0101    N     50:06:01:68:41:e1:13:44 (Clariion)      scsi-fcp

                  [NS2_blade3_be0]

Total number of entries = 3

VSAN 202:

--------------------------------------------------------------------------

FCID        TYPE  PWWN                    (VENDOR)        FC4-TYPE:FEATURE

--------------------------------------------------------------------------

0x4a0000    N     10:00:00:00:c9:6b:7e:91 (Emulex)        scsi-fcp:init

                  [Straw_vmhba1]

0x4a0001    N     10:00:00:00:c9:69:b0:e5 (Emulex)        scsi-fcp:init

                  [VMdmz_vmhba2]

0x4a0002    N     50:06:04:8a:d5:31:ee:37 (EMC)           scsi-fcp:both 253

                  [Symm5528_FA8d1]

0x4a0004    N     50:06:04:8a:d5:31:ee:27 (EMC)           scsi-fcp:both 253

                  [Symm5528_FA8c1]

0x4a0005    N     10:00:00:00:c9:49:46:8c (Emulex)        scsi-fcp:init

                  [Rinse_fc1]

0x4a0006    N     10:00:00:00:c9:5e:f8:b9 (Emulex)        <=================

                  [Buttercup_fcs1]

0x4a0007    N     50:06:04:8a:d5:31:ee:18 (EMC)           scsi-fcp:both 253

                  [Symm5528_FA9d0]

0x4a0008    N     50:06:04:8a:d5:31:ee:07 (EMC)           scsi-fcp:both 253

                  [Symm5528_FA8c0]

0x4a0009    N     10:00:00:00:c9:6d:57:ae (Emulex)        scsi-fcp:init

                  [Ginger_vmhba0]

0x4a000d    N     10:00:00:00:c9:8b:77:58 (Emulex)        scsi-fcp:init

                  [CSF-Mail-Zimbra_sdb]

0x4a000f    N     10:00:00:00:c9:96:50:40 (Emulex)        scsi-fcp:init

                  [CSF_ESX_1_vmhba1]

0x4a0010    N     10:00:00:00:c9:9e:a5:3c (Emulex)        ipfc scsi-fcp:init

                  [sp-sql-prod_Slot2]

0x4a0011    N     50:01:43:80:03:ad:ba:84 (HP)            scsi-fcp:init

                  [gisimage_Slot3]

0x4a0012    N     10:00:00:00:c9:9f:47:2c (Emulex)        ipfc scsi-fcp:init

                  [gisprod_Slot3]

0x4a0100    N     50:06:0b:00:00:38:84:be (HP)            scsi-fcp:init fc-gs

                  [Poseidon_fcd0]

0x4a0200    N     21:01:00:1b:32:b3:09:e2                 scsi-fcp:target

                  [csf_vtl_6b]

0x4a0300    N     50:06:0b:00:00:c9:a2:f6 (HP)            scsi-fcp:init fc-gs

                  [Bog_fcd0]

0x4a0400    N     50:06:0b:00:00:c9:9a:86 (HP)            scsi-fcp:init fc-gs

                  [Tan_fcd0]

0x4a0500    N     50:06:0b:00:00:c9:a3:06 (HP)            scsi-fcp:init fc-gs

                  [Trident_fcd3]

0x4a0600    N     50:06:0b:00:00:c9:a2:e0 (HP)            scsi-fcp:init fc-gs

                  [Tartan_fcd0]

0x4a0800    N     21:00:00:e0:8b:9a:c6:e6 (Qlogic)        ipfc scsi-fcp:init

                  [Newbayou_qlc1]

0x4a0900    N     21:00:00:e0:8b:9a:a3:e8 (Qlogic)        ipfc scsi-fcp:init

                  [Newsewage_qlc1]

Total number of entries = 22

2 Intern

 • 

20.4K Posts

July 3rd, 2012 21:00

cool ..are you using fcalias or device aliases ?

run "sh fcalias vsan 201"

76 Posts

July 3rd, 2012 21:00

The one I used to issue the ./symmask command earlier?  yeah..

on sw1:

fcalias name Buttercup_fcs0 vsan 201

  pwwn 10:00:00:00:c9:60:0b:ed [Buttercup_fcs0]

on sw2:

fcalias name Buttercup_fcs1 vsan 202

  pwwn 10:00:00:00:c9:5e:f8:b9 [Buttercup_fcs1]

2 Intern

 • 

20.4K Posts

July 3rd, 2012 21:00

ok, so first thing you need to do is to move these servers ports into VSAN 201 and VSAN 202. Do you know how to do that ?

76 Posts

July 3rd, 2012 21:00

sw2# config t

Enter configuration commands, one per line.  End with CNTL/Z.

sw2(config)# vsan database

sw2(config-vsan-db)# vsan 202 interface fc1/9

Traffic on fc1/9 may be impacted. Do you want to continue? (y/n) y

sw2(config-vsan-db)# exit

sw2(config)#

Already did the same for 201 on the other switch. 

2 Intern

 • 

20.4K Posts

July 3rd, 2012 21:00

do you see the name of your current working host ?

76 Posts

July 3rd, 2012 21:00

fcalias..

sw1# sh fcalias vsan 201

fcalias name Aluminum_vmhba1 vsan 201

  pwwn 10:00:00:00:c9:6d:59:6e [Aluminum_vmhba1]

2 Intern

 • 

20.4K Posts

July 3rd, 2012 22:00

run "sh fcalias vsan 201"

you should see an alias for that FA, hopefully your admin assigned meaningful names.

2 Intern

 • 

20.4K Posts

July 3rd, 2012 22:00

where did you get thsi WWN from ?..should'n't it start with 10 ?

zone name zone_CSF_TAN_dmx4 vsan 201

  * fcid 0xb20206 [pwwn 50:06:04:8a:d5:31:ee:28] [Symm5528_FA9c1]

    pwwn 20:00:00:00:c9:96:14:93   (one I just added)

No Events found!

Top