This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
sc9134b(config)# show fcns database VSAN 1: -------------------------------------------------------------------------- FCID TYPE PWWN (VENDOR) FC4-TYPE:FEATURE -------------------------------------------------------------------------- 0x7e0000 N 50:05:07:68:01:10:40:03 (IBM) scsi-fcp:both 0x7e0100 N 50:05:07:68:01:40:40:03 (IBM) scsi-fcp:both 0x7e0200 N 50:05:07:68:01:10:40:2d (IBM) scsi-fcp:both 0x7e0300 N 50:05:07:68:01:40:40:2d (IBM) scsi-fcp:both 0x7e0400 N 50:05:07:68:01:10:40:df (IBM) scsi-fcp:both 0x7e0500 N 50:05:07:68:01:40:40:df (IBM) scsi-fcp:both 0x7e0600 N 50:05:07:68:01:10:40:24 (IBM) scsi-fcp:both 0x7e0700 N 50:05:07:68:01:40:40:24 (IBM) scsi-fcp:both 0x7e0900 N 21:00:00:e0:8b:08:37:3d (Qlogic) scsi-fcp:init 0x7e0c00 N 21:00:00:e0:8b:0f:64:47 (Qlogic) scsi-fcp:init 0x7e2300 N 20:05:00:a0:b8:29:9f:7b (SymBios) scsi-fcp:both 0x7e2500 N 20:25:00:a0:b8:32:54:d2 (SymBios) scsi-fcp:both 0x7e2600 N 20:14:00:a0:b8:32:54:d2 (SymBios) scsi-fcp:both 0x7e2700 N 20:04:00:a0:b8:29:9f:7b (SymBios) scsi-fcp:both 0x7e2f00 N 50:05:07:63:03:10:40:6b (IBM) scsi-fcp fcsb2-ch-cu 0x7e3000 N 50:05:07:63:03:03:c0:6b (IBM) scsi-fcp fcsb2-ch-cu
In the above listing, the two devices in blue are registered as ‘init’ . For this fabric, converting to Smart
Zoning means that after the changes are activated, if those two devices are in the same zone they would
no longer be able to login to each other. The next listing shows some IBM SAN Volume Controller ports
ithat are incorrectly listed as ‘target’. If this fabric were converted, these SVC ports would not be able
to see each other or any target ports that might be their back-end storage. This could cause issues for
the SVC cluster both talking to other nodes in the cluster and talking to back-end storage. If the storage
ports are also listed as targets in the name server, the Smart Zoning conversion would prevent these SVC
nodes from talking to the storage.
Partial Name Server listing with SVC ports incorrectly listed
FCID TYPE PWWN (VENDOR) FC4-TYPE:FEATURE --------------------------------------------------------------------------
0x1fb686 N 50:05:07:68:01:10:65:a3 (IBM) scsi-fcp:target 0x1fb693 N 50:05:07:68:01:40:64:88 (IBM) scsi-fcp:target 0x1fb6b6 N 50:05:07:68:01:40:65:a3 (IBM) scsi-fcp:target 0x1ffa84 N 50:05:07:68:01:10:a8:b9 (IBM) scsi-fcp:target
The following table lists the commands to convert to Smart Zoning. The conversion can be done at the
VSAN, Zoneset or Zone level. After the command is run, the zoneset the change is made in must be
reactivated to apply the changes and generate the new ACL entries.
Commands To Convert To Smart Zoning
Convert a VSAN to Smart Zoning – this will convert all zones and zonesets in this VSAN, then activate a zoneset called Zoneset2 to apply the changes sc9134b(config)# conf t sc9134b(config)# zone convert smart-zoning vsan 1 sc9134b(config)# zoneset activate name Zoneset2 Convert a Zoneset called Zoneset2 to Smart Zoning then activate that zoneset. This will only convert this Zoneset to Smart Zoning. Other zonesets in this VSAN will be unchanged sc9134b(config)# conf t sc9134b(config)# zone convert smart-zoning zoneset name Zoneset2 vsan 1 sc9134b(config)# zoneset activate name Zoneset2 Convert a Zone to Smart Zoning, then activate the zoneset. This will only convert this zone to Smart Zoning. Other zones in this zoneset will be unchanged sc9134b(config)# conf t sc9134b(config)# zone convert smart-zoning zone name Host1_SVC vsan 1 sc9134b(config)# zoneset activate name Zoneset2
Manually Configuring Smart Zoning
Smart Zoning can be configured manually on individual zone members. This may not be practical as
changing devices manually only affects the zone the devices are changed in. Changes would have to be
made in each zone that device is a member of. The following table lists how to configure a device
manually. In this example we will be specifying the device by WWPN and configuring it for device type
of init. Other valid types are target or both. The device can also be specified by FCID (NPort ID), device-
We can verify the changes made by the automatic conversion by examining the ACL table. As an
example we will use the device with WWPN 21:00:00:e0:8b:08:37:3d to verify that the ACL listing is
correct. The ACL is listed by FCID, so we can either examine the active zoneset or the fcns database to
get the FCID for the WWPN we are interested in. In this case, the FCID is 0x7e0900. The command
`sc9134b# show zone internal rscn acl-table current vsan 1` will give us the full ACL listing for VSAN 1.
Since we know what device we are interested in, we can modify the command slightly to search for a
specific FCID. The pipe symbol and ‘in’ keyword tells the switch to search for FCID 7e0900 in the ACL
listing. The example is in the following table:
sc9134b# show zone internal rscn acl-table current vsan 1 | in 7e0900 fc1/1 0x7e0700 0x7e0900 rw no fc1/3 0x7e0600 0x7e0900 rw no fc1/7 0x7e0c00 0x7e0900 rw no fc1/8 0x7e0300 0x7e0900 rw no fc1/9 0x7e0100 0x7e0900 rw no fc1/11 0x7e0000 0x7e0900 rw no fc1/14 0x7e0200 0x7e0900 rw no fc1/15 0x7e0900 0x7e0000 rw no fc1/15 0x7e0900 0x7e0100 rw no fc1/15 0x7e0900 0x7e0200 rw no fc1/15 0x7e0900 0x7e0300 rw no fc1/15 0x7e0900 0x7e0400 rw no fc1/15 0x7e0900 0x7e0500 rw no fc1/15 0x7e0900 0x7e0600 rw no fc1/15 0x7e0900 0x7e0700 rw no fc1/15 0x7e0900 0x7e0c00 rw no fc1/17 0x7e0500 0x7e0900 rw no
fc1/19 0x7e0400 0x7e0900 rw no
Our initiator has been highlighted in blue. If you examine the table, you will see that FCID 0x7e0C00 is
not listed. Cross-checking that FCID against the show zoneset active output shows this is the other
initiator in the same zone. Since that FCID is not listed in this ACL listing, we can see that Smart Zoning
is working as it should. The two initiators can be in the same zone but will not be able to talk to each
other.
Configure individual zone members (takes effect on per-zone basis – this would need to be set
in each zone): first set context then configure zone member, this example uses pwwn, refer to
table above for other options:
1. conf t
2. zoneset name <zoneset name> zone name <zone name>