ONTAP Discussions

Getting info (hostname) from hosts with LUNs mapped

jessango
1,211 Views

Is there any way to get information on the hosts' hostname currently mapping LUNs from the NetApp CLI, Active IQ Unified Manager, or OnCommand System Manager? I mean in a similar way as we get the information from NFS clients.

 

I guess if this information is not available from CLI it wouldn't be available from any API either. 

 

We have found that with the Linux Unified Host Utilities installed on each host, we can get information on the mapped LUNS, but we have so many hosts (that we do not manage) with mapped LUNs that it would be a challenging task to complete.

 

Thanks in advance.

 

1 ACCEPTED SOLUTION

TMACMD
1,186 Views

If you have luns mapped you certainly have igroups defined. 

i typically create a single igroup for each host. ISCSI will typically have Single IQN and fiber channel will typically have two WWPNs. 

If I need multiple hosts accessing the same same lun then I create an igroup that contains “child-igroups”

igroup create -igroup all_host -os vmware -protocol fcp -child host1,host2,host3

 

 then you would be able to easily identify everything

View solution in original post

1 REPLY 1

TMACMD
1,187 Views

If you have luns mapped you certainly have igroups defined. 

i typically create a single igroup for each host. ISCSI will typically have Single IQN and fiber channel will typically have two WWPNs. 

If I need multiple hosts accessing the same same lun then I create an igroup that contains “child-igroups”

igroup create -igroup all_host -os vmware -protocol fcp -child host1,host2,host3

 

 then you would be able to easily identify everything

Public