10-09-2019 04:56 AM
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 ?
10-09-2019 05:21 AM
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
…….
10-09-2019 08:55 AM
10-09-2019 02:23 PM
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.
10-10-2019 07:16 AM
>>>>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 ?
10-10-2019 09:11 AM
10-11-2019 08:25 AM
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
10-11-2019 08:32 AM
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
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide