VMware Cloud Community
JedB
Contributor
Contributor
Jump to solution

Query FC SAN Multipath Script for ESXi 6.0

Hi!

I'm searching for a script to get the following information from the vCenter FatClient via CLI:

#1.png

This is from Host -> Configuration -> Storage Adapter -> View: Path.

I need this for all (both) HBAs of this host.

Is there a CLI, command or script to get these information?

0 Kudos
1 Solution

Accepted Solutions
JedB
Contributor
Contributor
Jump to solution

I've found another way to get the path information.

There is a great tool called RVTools (https://www.robware.net/rvtools/).

It gave me the needed path information within a minute.

View solution in original post

0 Kudos
4 Replies
Wonlliv
Enthusiast
Enthusiast
Jump to solution

Hi,

I found this script using google:

Get HBA WWN for Hosts using Powercli | NutzandBolts - An IT Systems Engineer Experiences

www.hyper-converged.com
0 Kudos
JedB
Contributor
Contributor
Jump to solution

Hi Wonlliv,

Thank you for the reply.

I've found this script, too, but it only gives me the WWNs of the HBAs.

What I need ist the path information for every LUN.

The aim is to have a quick overview over my storage if there is a path missing or not up.

0 Kudos
Wonlliv
Enthusiast
Enthusiast
Jump to solution

Hi again 🙂

what about these two scripts.

They both report the status of all HBAs and convert the output to a csv?

https://learn-powershell.net/2011/12/29/use-powercli-to-report-storage-paths-in-your-esxi-environmen...

Checking for “Dead” paths on HBAs with PowerCLI | jfrmilner's Tech Blog

Maybe you can edit the lines so you'll see only the information you want to extract?

Could be a good starting point?

Best regards! 🙂

www.hyper-converged.com
0 Kudos
JedB
Contributor
Contributor
Jump to solution

I've found another way to get the path information.

There is a great tool called RVTools (https://www.robware.net/rvtools/).

It gave me the needed path information within a minute.

0 Kudos