cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
201
Views
0
Helpful
7
Replies
Advocate

Enhanced versus basic device-alias

I need a quick sanity check, as I have no server / storage at hand to verify:

 

I populated the device-alias db, and then used the alias in the zoning

 

Enhanced device alias

 

MDS-A-1(config-zone)# zone name vulcano_adapter0_zone vsan 100

MDS-A-1(config-zone)#    member device-alias svc1p30

MDS-A-1(config-zone)#    member device-alias svc2p30

MDS-A-1(config-zone)#    member device-alias svc3p30

MDS-A-1(config-zone)#    member device-alias svc4p30

MDS-A-1(config-zone)#    member device-alias vulcano_adapter0

 

 

Basic device alias

 

zone name vulcano_adapter0_zone vsan 100

    pwwn 50:05:07:68:01:30:65:17 [svc1p30]

    pwwn 50:05:07:68:01:30:64:cc [svc2p30]

    pwwn 50:05:07:68:01:30:4a:19 [svc3p30]

    pwwn 50:05:07:68:01:30:4a:11 [svc4p30]

    pwwn 10:00:00:00:c9:b0:f5:c7 [vulcano_adapter0]

 

Looks ok to me; however, I am not sure, if with enhanced the translation is done at run time or not ?

7 REPLIES 7
Advocate

Re: Enhanced versus basic device-alias

What is also strange, that both commands are providing identical output ?

 

Another caveat: one device-alias is missing, which appears in the zoning configuration => no error !

 

show zoneset active vsan 100

zoneset name fabric-a vsan 100

  zone name clesx03_zone vsan 100

    device-alias svc1p20

    device-alias svc1p30

    device-alias svc2p20

    device-alias svc2p30

    device-alias svc3p20

    device-alias svc3p30

    device-alias svc4p20

    device-alias svc4p30

    device-alias svs00464_adapter0

    device-alias svs00465_adapter0

    device-alias svs00466_adapter0

    device-alias svs00467_adapter0

    device-alias v7000q_1_adapter0

…….

 

MDS-A-1(config)# show zoneset vsan 100

zoneset name fabric-a vsan 100

  zone name clesx03_zone vsan 100

    device-alias svc1p20

    device-alias svc1p30

    device-alias svc2p20

    device-alias svc2p30

    device-alias svc3p20

    device-alias svc3p30

    device-alias svc4p20

    device-alias svc4p30

    device-alias svs00464_adapter0

    device-alias svs00465_adapter0

    device-alias svs00466_adapter0

    device-alias svs00467_adapter0

    device-alias v7000q_1_adapter0

…….

 

Contributor

Re: Enhanced versus basic device-alias

Walter,

I don't have enhanced device aliases enabled, using basic. What output could I give you from my switch to assist with your question?
@dynamoxxx
Advocate

Re: Enhanced versus basic device-alias

Thanks!

I use pwwn zoning; enhanced device-alias, because a change of the pwwn will automatically update the zoning; in basic mode, I assume you have to do zoneset activation.

The problem I have is that I prepare the setup/configuration, without any server/storage and therefore flogi/fcns database is empty. 

Advocate

Re: Enhanced versus basic device-alias

>>>>I don't have enhanced device aliases enabled, using basic

Hi ! Would be interested to know, how you handle the situation, if a HBA must be replaced, therefore new pwwn, and the alias appears in dozens of zones. Isn't this a nightmare; for exactly this reason I would like to use enhanced device-alias.

Would also be interested to know, how Brocade is managing this ?

Highlighted
Contributor

Re: Enhanced versus basic device-alias

Walter,

We use smartzoning so if we have to replace an HBA (it's been a couple of years since we use UCS and simply move server profile to new blade), there is only one zone that I need to update.

We don't have Brocade in our environment.
@dynamoxxx
Beginner

Re: Enhanced versus basic device-alias

With Brocare you can delete and recreate the alias and reapply the config - the wwn in the zone will change accordingly:

alidelete host_p0

alicreate host_p0 aa:aa:aa:aa:aa:aa:aa:aa

cfgsave

cfgenable cfg_name

 

Beginner

Re: Enhanced versus basic device-alias

In fact, I had to do this very thing this morning when we had an HBA replaced:

kaslsan03:admin> alishow KASWBKP01_P1
alias: KASWBKP01_P1
21:00:00:e0:8b:1b:cf:f2;
kaslsan03:admin> switchshow
switchName: kaslsan03
switchType: 34.0
switchState: Online
switchMode: Native
switchRole: Principal
switchDomain: 1
switchId: fffc01
switchWwn: 10:00:00:05:1e:35:c0:12
zoning: ON (KAS_BKP1_A)
switchBeacon: OFF

Area Port Media Speed State
==============================
0 0 id N4 No_Light
1 1 id N4 No_Light
2 2 id N4 No_Light
3 3 id N4 No_Light
4 4 -- N4 No_Module
5 5 id N4 Online F-Port 50:01:43:80:21:e1:b2:bc     <--- new HBA
6 6 -- N4 No_Module
7 7 id N4 No_Light
8 8 id N4 No_Light
9 9 id N4 No_Light
10 10 id N4 No_Light
11 11 id N4 No_Light
12 12 id N4 Online F-Port 21:00:00:1b:32:8f:3e:40
13 13 id N4 Online F-Port 50:05:07:63:0f:75:17:01
14 14 id N4 Online F-Port 50:05:07:63:0f:75:17:02
15 15 id N4 Online F-Port 50:05:07:63:0f:75:17:03
kaslsan03:admin> alidelete KASWBKP01_P1
kaslsan03:admin> alicreate KASWBKP01_P1,50:01:43:80:21:e1:b2:bc
kaslsan03:admin> cfgsave
You are about to save the Defined zoning configuration. This
action will only save the changes on Defined configuration.
Any changes made on the Effective configuration will not
take effect until it is re-enabled.
Do you want to save Defined zoning configuration only? (yes, y, no, n): [no] y
Updating flash ...
kaslsan03:admin> cfgenable KAS_BKP1_A
You are about to enable a new zoning configuration.
This action will replace the old zoning configuration with the
current configuration selected.
Do you want to enable 'KAS_BKP1_A' configuration (yes, y, no, n): [no] y
zone config "KAS_BKP1_A" is in effect
Updating flash ...
kaslsan03:admin> zoneshow

.

.

zone: KASWBKP01_IBMLib
50:01:43:80:21:e1:b2:bc     <-- wwn replaced
50:05:07:63:0f:75:17:01
50:05:07:63:0f:35:17:01
50:05:07:63:0f:75:17:02
50:05:07:63:0f:35:17:02
50:05:07:63:0f:75:17:03
50:05:07:63:0f:35:17:03

CreatePlease to create content
Content for Community-Ad
August's Community Spotlight Awards