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