VMware vSphere

 View Only
  • 1.  iscsi naa format

    Posted Jun 13, 2012 06:24 AM

    Hi

        I want to modify the iscsi name as naa format. Basic format is below:

    naa.'16digit'

    naa.'128digit'

    I want to know how to create 16digit and 128 digit values ?

    Thanks in Advance.

    Venkat




  • 2.  RE: iscsi naa format

    Posted Jun 13, 2012 08:16 AM

    I do not think you could change the naa or T10 names from ESXi. From my understanding those unique id:s are generated and handled at the SAN side.



  • 3.  RE: iscsi naa format

    Posted Jun 13, 2012 10:19 AM

    Can you please elaborate ? Where and how to use naa format ?



  • 4.  RE: iscsi naa format

    Posted Jun 13, 2012 10:38 AM

    venkatesh710 wrote:

    Can you please elaborate ? Where and how to use naa format ?

    You typically do not need to "use" naa. It is just a unique ID that the SAN assigns on each LUN. This makes it possible for the ESXi host to always recognize it.



  • 5.  RE: iscsi naa format

    Posted Jun 13, 2012 10:56 AM

    Thanks rickardnobel

    ..

    But .i need to do test below scenario:

    1. Creating the LUN from array .

    2. Changing VMware iscsi initiator name in naa format.

    3. Login to LUN using dynamic discovery.

    4. Check if my LUN is mapped or not. I am expecting the LUN should be mapped on ESXi.



  • 6.  RE: iscsi naa format

    Posted Jun 13, 2012 11:25 AM

    venkatesh710 wrote:

    But .i need to do test below scenario:

    1. Creating the LUN from array .

    2. Changing VMware iscsi initiator name in naa format.

    3. Login to LUN using dynamic discovery.

    4. Check if my LUN is mapped or not. I am expecting the LUN should be mapped on ESXi.

    Are you really sure you need to change the initiator name to naa format? I am not sure it is possible in any way. The initiator should typically have a IQN name that might be used on the SAN to give access to certain LUNs.



  • 7.  RE: iscsi naa format

    Posted Jun 15, 2012 06:13 AM

    Yes i need to change host iscsi adapter name in naa format.



  • 8.  RE: iscsi naa format

    Posted Jun 17, 2012 01:03 PM

    Venkatesh M wrote:

    Thanks rickardnobel

    ..

    But .i need to do test below scenario:

    1. Creating the LUN from array .

    2. Changing VMware iscsi initiator name in naa format.

    3. Login to LUN using dynamic discovery.

    4. Check if my LUN is mapped or not. I am expecting the LUN should be mapped on ESXi.

    Misunderstanding due to the terms.  The NAA ID will be a unique identifer for each lun, not your initiator.

    What it appears that you're trying to do based upon the above steps is to do is change the WWN for the iSCSI Initiator.  There are two ways

    via VI Client

    -Under the host view go to the configuration tab

    -Storage adapters

    -right click on your iSCSI initiator (probably vmhba33)

    -on the general tab, click "configure" and change the iSCSI name

    Via CLI

    vim-cmd hostsvc/storage/iscsi_set_name vmhba33 iqn.1998-01.com.vmware:localhost-7e041ebc



  • 9.  RE: iscsi naa format

    Posted Jun 18, 2012 01:23 PM

    Thanks, But i need to know how to generate naa format .

    Venkatesh



  • 10.  RE: iscsi naa format

    Posted Jun 18, 2012 03:50 PM

    The point is that you can't - the NAA ID for a LUN is generated by the arrya itself, and not something you get to set.