Quantcast
Channel: SAN Admin-Detailed about SAN,NAS,VMAX,VNX,Netapp Storage,HP Storage
Viewing all articles
Browse latest Browse all 126

Troubleshooting zones and zone sets - Cisco MDS switches | Configure the zones

$
0
0

Troubleshooting zones and zone sets

Troubleshooting_commands
Troubleshooting commands

Procedure

To issue commands with the internal keyword, you must have a network-admin group account.

Example for Full Zoning Analysis

Switch # show zone analysis vsan 1
Zoning database analysis vsan 1
Full zoning database
Last updated at: 15:57:10 IST Feb 20 2006
Last updated by: Local [ CLI ]
Num zonesets: 1
Num zones: 1
Num aliases: 0
Num attribute groups: 0
Formattted size: 36 bytes / 2048 Kb
Unassigned Zones: 1
zone name z1 vsan 1

Example for Active Zoning Database Analysis

Switch # show zone analysis active vsan 1
Zoning database analysis vsan 1
Active zoneset: zs1 [*]
Activated at: 08:03:35 UTC Nov 17 2005
Activated by: Local [ GS ]
Default zone policy: Deny
Number of devices zoned in vsan: 0/2 (Unzoned: 2)
Number of zone members resolved: 0/2 (Unresolved: 2)
Num zones: 1
Number of IVR zones: 0
Number of IPS zones: 0
Formattted size: 38 bytes / 2048 Kb

Example for Zone Set Analysis

Switch # show zone analysis zoneset zs1 vsan 1
Zoning database analysis vsan 1
Zoneset analysis: zs1
Num zonesets: 1
Num zones: 0
Num aliases: 0
Num attribute groups: 0
Formattted size: 20 bytes / 2048 Kb

Different Methods

Resolving Host Not Communicating with Storage Using the CLI

To verify that the host is not communicating with storage using the CLI, follow these steps:

·         Verify that the host and storage device are in the same VSAN.

·         Configure zoning, if necessary, by using the show zone status vsan-id command to determine if the default zone policy is set to deny.

Switch # show zone status vsan 1

VSAN: 1 default-zone: deny distribute: active only Interop: default
mode: basic merge-control: allow session: none
hard-zoning: enabled
Default zone:
qos: low broadcast: disabled ronly: disabled
Full Zoning Database :
Zonesets:0 Zones:0 Aliases: 0
Active Zoning Database:
Name: Database Not Available
Status:

The default zone policy of permit means all nodes can see all other nodes. Deny means all nodes are isolated when not explicitly placed in a zone.

·         Use the show zone member command for host and storage device to verify that they are both in the same zone.

·         Use the show zoneset active command to determine if the zone in Step 4 and the host and disk appear in the active zone set.

Switch # show zoneset active vsan 2

zoneset name ZoneSet3 vsan 2
zone name Zone5 vsan 2
pwwn 10:00:00:00:77:99:7a:1b
pwwn 21:21:21:21:21:21:21:21

·          If there is no active zone set, use the zonesetactivate command to activate the zone set.

Switch (config) # zoneset activate ZoneSet1 vsan 2


·         Verify that the host and storage can now communicate

Resolving Host and Storage Not in the Same Zone Using the CLI

To move the host and storage device into the same zone using the CLI, follow these steps:

·         Use the zone name zonename vsan-id command to create a zone in the VSAN if necessary, and add the host or storage into this zone.

Switch (config) # zone name NewZoneName vsan 2
Switch (config-zone) # member pwwn 22:35:00:0c:85:e9:d2:c2
Switch (config-zone) # member pwwn 10:00:00:00:c9:32:8b:a8

Note:   The pWWNs for zone members can be obtained from the device or by issuing the show flogi database vsan-id command.

·         Use the show zone command to verify that host and storage are now in the same zone.

Switch # show zone

zone name NewZoneName vsan 2
pwwn 22:35:00:0c:85:e9:d2:c2
pwwn 10:00:00:00:c9:32:8b:a8

zone name Zone2 vsan 4
pwwn 10:00:00:e0:02:21:df:ef
pwwn 20:00:00:e0:69:a1:b9:fc

zone name zone-cc vsan 5
pwwn 50:06:0e:80:03:50:5c:01
pwwn 20:00:00:e0:69:41:a0:12
pwwn 20:00:00:e0:69:41:98:93

·          Use the show zoneset active command to verify that you have an active zone set. If you do not have an active zone set, use the zoneset activate command to activate the zone set.

·          Use the show zoneset active command to verify that the zone in Step 2 is in the active zone set. If it is not, use the zoneset name command to enter the zone set configuration submode, and use the member command to add the zone to the active zone set.

Switch (config) # zoneset name zoneset1 vsan 2
Switch (config-zoneset) # member NewZoneName

·         Use the zoneset activate command to activate the zone set.

Switch (config) # zoneset activate ZoneSet1 vsan 2


·         Verify that the host and storage can now communicate.

Resolving Zone is Not in Active Zone Set Using the CLI

To add a zone to the active zone set using the CLI, follow these steps:

·         Use the show zoneset active command to verify that you have an active zone set. If you do not have an active zone set, use the zoneset activate command to activate the zone set.

·         Use the show zoneset active command to verify that the zone in Step 1 is not in the active zone set.

·         Use the zoneset name command to enter the zone set configuration submode, and use the member command to add the zone to the active zone set.

Switch (config) # zoneset name zoneset1 vsan 2
Switch (config-zoneset) # member NewZoneName

·         Use the zoneset activate command to activate the zone set.

Switch (config) # zoneset activate ZoneSet1 vsan 2


·         Verify that the host and storage can now communicate.




Viewing all articles
Browse latest Browse all 126

Trending Articles