Posts Tagged ‘CISCO’

Introduction:

This Document explains new zone creation for Server to Storage ports on CISCO MDS SAN Switches.

Assumptions:

This document assumes you have a detailed knowledge of SAN Infrastructure and knowledge of

CISCO NX-OS commands. This document is for SAN Infrastructure administrators use only.

Server HBA1 wwn: aa:aa:aa:aa:aa:aa:aa:aa

Storage FA-1 port wwn: bb:bb:bb:bb:bb:bb:bb:bb

Active VAN:  VSAN 10 (here we want to update configuration of VSAN 10 on MDS switch)

Active zoneset name: ZS_MDS_VSAN10

 

Zoning Steps:

1. Login to Primary SAN Switch and take configuration backup.

    copy running-config tftp://yourftpserver/mdsbackup.txt

Optionally we can also run supportsave command before the activity to save the switch logs.

    show tech-support 

2. Create FC alias name for Server HBA wwn and Storage Port wwn.

To create alias for Server HBA

    fcalias name SERVER_HBA1 vsan 10

Add server wwn as member of FC alias

     member pwwn aa:aa:aa:aa:aa:aa:aa:aa

To create alias for Storage FA ports

     fcalias name STORAGE_FA1 vsan 10

Add storage wwn as member of FC alias

     member pwwn bb:bb:bb:bb:bb:bb:bb:bb

3.Create server to storage port zone on SAN switch and add server/storage port alias in zone.

To create zone

    zone name ZONE_SERVER01_STORAGE_FA1 vsan 10

    To add server alias as member in newly created zone

    member fcalias SERVER_HBA1

    To add storage alias as member in newly created zone

    member fcalias STORAGE_FA1

4.Check existing active configuration name for required VSAN

   show zoneset active

   Assume existing active switch configuration name is ZS_MDS_VSAN10

5. Add newly created zone in to exiting Active zoneset configuration of SAN Switch.

    zoneset name ZS_MDS_VSAN10 vsan 10

    member ZONE_SERVER01_STORAGE_FA1

6. Update and Save the zoneset configuration by below command

    zoneset activate name ZS_MDS_VSAN10 vsan 10

7. Check difference between existing configuration and new configuration with below command to confirm that you are adding only required zones.

   show zone pending-diff

   If difference reflected in above command is correct then commit the changes with below command.

   zone commit vsan 10

8. Save the configuration to NVRAM .

    copy running to startup