Got it

VMware - How Do I Query the Mapping Between Host Disks and LUNs When the UltraPath Software Is Not Installed?

175 0 0 0 0

When the UltraPath is not installed on a host, perform the following operations to query the mapping between host disks and LUNs.


Querying the Mapping Between Host Disks and LUNs (AIX)


Step 1      On the storage system, obtain the WWN of the LUN mapped to the host.

1.         Log in to the command-line interface (CLI) of the storage system as a super administrator.

2.         Run show initiator initiator_type=? [ wwn=? | iscsi_iqn_name=? ] to show the host corresponding to the WWN or iSCSI IQN.

admin:/>show initiator initiator_type=FC wwn=XXXXXXXXXXXXXX   
WWN               : XXXXXXXXXXXXXX 
Running Status    : Online 
Free              : Yes 
Alias             : suse2_01 
Host ID           : 2 
Multipath Type    : Default

The value of Host ID is the ID of a host corresponding to the WWN.

3.         Run show host lun host_id=? to view all LUNs mapped to the host.

host_id=? represents the ID of a host.

admin:/>show host lun host_id=2     
LUN ID  LUN Name         
------  ------------     
34      lun_0000     
35      lun_0001     
36      lun_0002

The value of LUN ID is the ID of a LUN mapped to the host in the storage system.

4.         Run the show lun general lun_id=? command to view the WWN of the LUN mapped to the host.



Step 2      On the host, run the esxcli storage core device list command to query the WWN of a LUN corresponding to the disk.

Step 3      Check whether the WWN of the LUN mapped to the host and that of the host disk are the same. If they are, the LUN is just the one corresponding to the host disk.




Comment

You need to log in to comment to the post Login | Register
Comment

Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
  • Politically sensitive content
  • Content concerning pornography, gambling, and drug abuse
  • Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " User Agreement."

My Followers

Login and enjoy all the member benefits

Login

Block
Are you sure to block this user?
Users on your blacklist cannot comment on your post,cannot mention you, cannot send you private messages.
Reminder
Please bind your phone number to obtain invitation bonus.