Saturday, December 25, 2010

SAN zoning example

Simple way to zoning
----------------------
For server Host1 , storage EMC and tape Tape for Dual  new fabric .

Name server zoning

Fabric-1
----
>alicreate"Host1_HBA1", "wwn of Host1 HBA1"
>alicreate"Host1_HBA3", "wwn of Host1 HBA3"
>alicreate"EMC_CNTLA", "wwn of EMC cntl A"
>alicreate"Tape_TAPE1", "wwn of Tape tape1"
>zonecreate"Host1_EMC", "Host1_HBA1; EMC_CNTLA"
>zonecreate "Host1_TAPE", "Host1_HBA3; Tape_TAPE1"
>cfgcreate "CFG1","Host1_EMC; Host1_TAPE"(if you are creating brand new Fabric)or
>cfgadd "CFG1","Host1_EMC; Host1_TAPE"( if you have already created config file)
>cfgsave
>cfgenable "CFG1"
Fabric-2
------
>alicreate"Host1_HBA2", "wwn of Host1 HBA2"
>alicreate"Host1_HBA4", "wwn of Host1 HBA4"
>alicreate"EMC_CNTLB", "wwn of EMC cntl B"
>alicreate"Tape_TAPE2", "wwn of Tape tape2"
>zonecreate"Host1_EMC", "Host1_HBA2; EMC_CNTLB"
>zonecreate "Host1_TAPE", "Host1_HBA4; Tape_TAPE2"
>cfgcreate "CFG2","Host1_EMC; Host1_TAPE"(if you are creating brand new Fabric)or
>cfgadd "CFG2","Host1_EMC; Host1_TAPE"( if you have already created config file)
>cfgsave
>cfgenable "CFG2"
------------------------------------------------------------------------------------

Portbased zoning:
Fabric-1
----
>zonecreate"Host1_EMC", "5,1; 5,2"( 5 is the domain ID of the SW, 1 is the port no of HBA, 2 is the port no of storage contl)
>zonecreate "Host1_TAPE", "5,1; 5,3"( 5 is the domain ID of the SW, 1 is the port no of HBA, 2 is the port no of tape)
>cfgcreate "CFG1","Host1_EMC; Host1_TAPE"(if you are creating brand new Fabric)or
>cfgadd "CFG1","Host1_EMC; Host1_TAPE"( if you have already created config file)
>cfgsave
>cfgenable "CFG1"
Fabric-2
------
>zonecreate"Host1_EMC", "6,1; 6,2"( 6 is the domain ID of the SW, 1 is the port no of HBA, 2 is the port no of storage contl)
>zonecreate "Host1_TAPE", "6,1; 6,3"( 6 is the domain ID of the SW, 1 is the port no of HBA, 2 is the port no of tape)
>cfgcreate "CFG2","Host1_EMC; Host1_TAPE"(if you are creating brand new Fabric)or
>cfgadd "CFG2","Host1_EMC; Host1_TAPE"( if you have already created config file)
>cfgsave
>cfgenable "CFG2"
------------------------------------------------------------------------------------
Best Practice:
Always use single initiator to single target zone , in case of tape drives
never make single initiator to more than 5 target zones.

To add a new HBA's wwn  if Host1_HBA1 is bad:

>aliadd "Host1_HBA1", "wwn of the new HBA"
>aliremove "Host1_HBA1", "wwn of the old HBA"
>cfgsave
>cfgenbale "CFG1"

To add/remove a member from the zone

>zoneadd "zone name", " member alias"
>zoneremove "zone name", " member alias"
>cfgsave
>cfgenable "CFG1"

To delete "Host1_TAPE" zone from Fab-1

>zonedelete "Host1_TAPE"
>cfgremove "CFG1", "Host1_TAPE"
>cfgsave
>cfgenable "CFG1"

8 comments:

  1. thanks for ur great job,,, i have question .

    What do you mean by " Always use single initiator to single target zone " in best practice part ??

    Thanks in advance

    ReplyDelete
  2. when you refer to the above zoning config ,,, assume that i create one lun, to which HBA that i must represent the lun with redundancy ????

    ReplyDelete
  3. Hi There,
    Thank you for sharing knowledgeable blog with us i hope that you will post many more blog with us :)
    We are providing the best IT consulting services with shutdown unix command, brocade zoning commands, types of zoning in san, cisco zoning commands.
    in whole world as like shutdown unix command, brocade zoning commands, types of zoning in san, cisco zoning commands, vmax3 provisioning steps, snapvx, san zoning, unix flavors, timefinder snapvx, san storage explained, storage provisioning steps, emc snapvx, san zoning, symsg commands, how to backup brocade switch config, snapvx step by step, vmax snapvx, san zoning steps, gatekeeper device, zoning explained, emc vmax3, vsan vs zoning, dell emc vmax3, difference between vmax and vmax3, thin provisioning explained, data sovereignty requirements
    Click below for more information
    https://sajidiqubal.com/

    ReplyDelete
  4. Hi There,
    Thank you for sharing knowledgeable blog with us i hope that you will post many more blog with us :
    The most comprehensive guide on choosing the best blogging platform we have the good detailed comparison guide on all major blogging sites in whole USA like as shutdown unix command, brocade zoning commands, types of zoning in san, cisco zoning commands, vmax3 provisioning steps, snapvx, san zoning, unix flavors, timefinder snapvx, san storage explained, storage provisioning steps, emc snapvx, san zoning, symsg commands, how to backup brocade switch config, snapvx step by step, vmax snapvx, san zoning steps, gatekeeper device, zoning explained, emc vmax3, vsan vs zoning, dell emc vmax3, difference between vmax and vmax3, thin provisioning explained, data sovereignty requirements.
    Click here for more information:- types of zoning in san

    ReplyDelete
  5. Hi There,
    Thank you for sharing knowledgeable blog with us I hope that you will post many more blog with us :
    The most comprehensive guide on choosing the best blogging platform. We have the good detailed comparison guide on all major blogging sites.Click here for Read more

    ReplyDelete
  6. Hi There,
    Thank you for sharing knowledgeable blog with us i hope that you will post many more blog with us :)
    We provides best services online As Like shutdown unix command, brocade zoning commands, types of zoning in san, cisco zoning commands, vmax3 provisioning steps, snapvx,

    Contact Us:-
    Email:- contact@sajidiqubal.com

    READ MORE....

    ReplyDelete
  7. Hi There,
    Thank you so much for the post you do and also I like your post,we have a well-detailed comparison guide on all major blogging sites and the most comprehensive guide on choosing the best blogging platform, here you can see VMware vSAN 6.6 Technical Overview.
    Click here for Read more

    ReplyDelete
  8. Hi there,
    Thank you so much for the post you do and also I like your post, here we describe the technique that ought to be followed to configure San zoning over a brocade swap utilizing the CLI.
    Click here for READ MORE......

    ReplyDelete