HPE EVA Storage
1822978 Members
3982 Online
109645 Solutions
New Discussion юеВ

Re: Removing Hard Port Zoning on Brocade FC Switch

 
SOLVED
Go to solution
Tom Callahan_1
Advisor

Removing Hard Port Zoning on Brocade FC Switch

I am trying to zone a machine on our SAN, but cannot get the zoning to work correctly. I believe it is due to the hardware port that is being used was previously used and configured as a Hard Port zone.

How can i remove the hard zoning on the port, and set it back to a "Not Zoned" enforcement configuration?

Below is the output of portZoneshow; I am referring to port 12.

Local Zoning Port-level information:

PORT: 0 enforcement: Not Zoned defaultSoftZone: 0 defaultHardZone: 0
PORT: 1 enforcement: Not Zoned defaultSoftZone: 0 defaultHardZone: 0
PORT: 2 enforcement: HARD WWN defaultSoftZone: 0 defaultHardZone: 0
PORT: 3 enforcement: HARD WWN defaultSoftZone: 0 defaultHardZone: 0
PORT: 4 enforcement: HARD WWN defaultSoftZone: 0 defaultHardZone: 0
PORT: 5 enforcement: HARD WWN defaultSoftZone: 0 defaultHardZone: 0
PORT: 6 enforcement: HARD WWN defaultSoftZone: 0 defaultHardZone: 0
PORT: 7 enforcement: HARD WWN defaultSoftZone: 0 defaultHardZone: 0
PORT: 8 enforcement: E-Port defaultSoftZone: 0 defaultHardZone: 0
PORT: 9 enforcement: HARD WWN defaultSoftZone: 0 defaultHardZone: 0
PORT: 10 enforcement: HARD WWN defaultSoftZone: 0 defaultHardZone: 0
PORT: 11 enforcement: HARD WWN defaultSoftZone: 0 defaultHardZone: 0
PORT: 12 enforcement: HARD PORT defaultSoftZone: 0 defaultHardZone: 1
PORT: 13 enforcement: HARD WWN defaultSoftZone: 0 defaultHardZone: 0
PORT: 14 enforcement: E-Port defaultSoftZone: 0 defaultHardZone: 0
PORT: 15 enforcement: Not Zoned defaultSoftZone: 0 defaultHardZone: 0

It is also showing that port 12 has a defaulthardZone of 1. How do I reset all that and clear it out?

Thanks,
Tom Callahan
11 REPLIES 11
Uwe Zessin
Honored Contributor
Solution

Re: Removing Hard Port Zoning on Brocade FC Switch

It's been some time I've tried to get rid of the whole zoning configuration, but I'd go this way:

> cfgDisable
> cfgClear
> cfgSave

Watch out as that means that any port can talk to any other one in the fabric.
.
Tom Callahan_1
Advisor

Re: Removing Hard Port Zoning on Brocade FC Switch

I would love to try that... but it's a production switch :)

Doing those commands would whack the entire zoning, therefore dropping the servers connecting.

We have several Linux and UNIX machines that are headless and receive storage solely from the SAN.

Any other way to change the above?

Thanks,
Tom Callahan
Uwe Zessin
Honored Contributor

Re: Removing Hard Port Zoning on Brocade FC Switch

Oh, sorry. Obviously I have misunderstood you.


It sounds like you have a zone member with a domain:port pair in your configuration. Can you capture the current setup with:

> cfgShow

and post it here as a .TXT attachment? I'm sure somebody of us can help you identify it.
.
Steven Clementi
Honored Contributor

Re: Removing Hard Port Zoning on Brocade FC Switch

Tom:

I think if you just change the zoning, these values will change along with it.

Just remove any reference to port 12 from your zoning config. Save and Enable. Check with portzoneshow and see if it has changed.

If it has, next try zoning it the way you want it. save/enable.

Steven
Steven Clementi
HP Master ASE, Storage, Servers, and Clustering
MCSE (NT 4.0, W2K, W2K3)
VCP (ESX2, Vi3, vSphere4, vSphere5, vSphere 6.x)
RHCE
NPP3 (Nutanix Platform Professional)
Tom Callahan_1
Advisor

Re: Removing Hard Port Zoning on Brocade FC Switch

I have tried zoning it, but every time I do that entry does not change.

We use the web-based zoning agents, and have tried every type of zoning possible. My main concern is that once zoning is completed, I can show the WWID's configuration, and it shows the zones I have set up, but it is not marking them as "effective". I have verified that I am enabling the config once done as well....

Below is the output of cfgShow:
Defined configuration:
cfg: tab_config_1
tab_bernstein_tape_zone; tab_bernstein_zone;
tab_bud_tape_zone; tab_bud_zone; tab_capone_tape_zone;
tab_capone_zone; tab_dev9ias_tape_zone; tab_dev9ias_zone;
tab_devdb_tape_zone; tab_devdb_zone; tab_devecom_tape_zone;
tab_devecom_zone; tab_devhttp_tape_zone; tab_devhttp_zone;
tab_ecom_tape_zone; tab_ecom_zone; tab_oesdev_tape_zone;
tab_oesdev_zone; tab_oraprod1_tape_zone; tab_oraprod1_zone;
tab_sanapp_zone; tab_tahoe_tape_zone; tab_tahoe_zone;
tab_wmsa_tape_zone; tab_wmsa_zone; tab_wmsdev_tape_zone;
tab_wmsdev_zone; tab_citius_tape_zone; tab_citius_zone;
red1_tape_z1; red1_tape_z2; red1_z1; red1_z2; red2_tape_z2;
red2_z2; blue1_tape_z1; blue1_tape_z2; blue1_z1; blue1_z2;
blue2_tape_z1; blue2_tape_z2; blue2_z1; blue2_z2;
yellow1_tape_z1; yellow1_tape_z2; yellow1_z1; yellow1_z2;
yellow2_tape_z1; yellow2_tape_z2; yellow2_z1; yellow2_z2
zone: blue1_tape_z1
blue1_1; msl_5026
zone: blue1_tape_z2
blue1_2; msl_5026
zone: blue1_z1

Tom Callahan_1
Advisor

Re: Removing Hard Port Zoning on Brocade FC Switch

Sorry...this is the COMPLETE cfgshow results...
Tom Callahan_1
Advisor

Re: Removing Hard Port Zoning on Brocade FC Switch

The WWID involved is 21:00:00:e0:8b:14:e7:0a

Thanks,
Tom Callahan
Steven Clementi
Honored Contributor

Re: Removing Hard Port Zoning on Brocade FC Switch

Tom:

have you tried unzoning it? Make sure it is not part of any zone or alias and save/enable.

Then see where you are at.


Steven
Steven Clementi
HP Master ASE, Storage, Servers, and Clustering
MCSE (NT 4.0, W2K, W2K3)
VCP (ESX2, Vi3, vSphere4, vSphere5, vSphere 6.x)
RHCE
NPP3 (Nutanix Platform Professional)
Tom Callahan_1
Advisor

Re: Removing Hard Port Zoning on Brocade FC Switch

It is currently not present in ANY zoning.
Tom Callahan_1
Advisor

Re: Removing Hard Port Zoning on Brocade FC Switch

This was user error :(

I was enabling the changes to the Switch, but not adding the zones to the active config....

Thanks for everyone's help anyways!!!

Tom Callahan
Ajithraj
Occasional Advisor

Re: Removing Hard Port Zoning on Brocade FC Switch

I have a encountered a similar issue, where some of the switch ports to which, Server HBA is connected is in "Hard Port" status when i issue the command "portzoneshow". I want to change it to "hard wwn". How to do it.

Due to this issue, the multipath devices ( indiividual paths device names ( Major No: Minor No) in node 1 and node2 ( in Oracle RAC Cluster) is not same causing the node2 to panic a whenever one of the storage controller is rebooted.

 

Please let me know the command to change the enforcement. Basically i have created a Zone for each Server HBA port ( and added 4 Storage HBA port to that zone).