vCenter

 View Only
  • 1.  How to get storage controller details of hosts in a cluster

    Posted May 22, 2024 10:21 AM

    Hi,

    I am looking for a script to get result for below details.

    We use network adapters to reach storage devices, Each host has vmnic4 and vmnic8 connected to pysically network and reachs storage devices.

    Each host has vmhba64 and vmhba65 adapters as "NVMe over TCP Storage Adapter" and adding Controller with discovered storage ip addresses. I need a script to get result for a cluster, all hosts vmhba adapters and ip address details of NVME disk devices on their controllers.



  • 2.  RE: How to get storage controller details of hosts in a cluster

    Broadcom Employee
    Posted May 25, 2024 10:33 AM

    The easiest way to "figure" this out is by looking at Code Capture, which will provide a number of outputs including PowerCLI code, which you can then adapt based on your use case. See https://williamlam.com/2023/11/vsphere-code-capture-is-your-chatgpt-for-vsphere-automation.html for more details



    ------------------------------
    ----
    William Lam
    https://williamlam.com/
    ------------------------------