Help Needed: Transferring RAID Status from Windows Server to Hyper-V

fti-samadhan 0 Reputation points
2024-07-24T16:08:53.5566667+00:00

Getting RAID Status from Windows Host to Hyper-V: Seeking Guidance

We configured RAID on a Windows Server using a MegaRAID® controller. I am able to retrieve the RAID status and other details on the Windows host using the StorCLI tool.

User's imageimage (1)

However, I would like to extend this functionality to Hyper-V and retrieve RAID status from the Windows machine to Hyper-V.

Do you have suggestions on how this can be accomplished?

Thank you in advance for your help!

Best regards,

Samadhan

Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
12,732 questions
Hyper-V
Hyper-V
A Windows technology providing a hypervisor-based virtualization solution enabling customers to consolidate workloads onto a single server.
2,650 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Ian Xue (Shanghai Wicresoft Co., Ltd.) 34,686 Reputation points Microsoft Vendor
    2024-07-25T01:53:56.48+00:00

    Hi,

    As far as I know the storcli tool can only get information of the raid controllers on the local machine. To run storcli on the VM, try passing through the raid controller to the Hyper-V VM using DDA. However, you will no longer be able to access the raid controller and the raid volumes from the Hyper-V host.

    https://learn.microsoft.com/en-us/windows-server/virtualization/hyper-v/deploy/deploying-graphics-devices-using-dda

    Or you can run storcli remotely from the VM if your VM is connected to a Hyper-V internal or public switch so it can communicate to the Hyper-V host. The storcli tool can be invoked using the PowerShell cmdlet Invoke-Command like below.

    Invoke-Command -ComputerName "HyperVHostname" -ScriptBlock {C:\file\path\storcli.exe /c0 show all}
    

    https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.core/invoke-command?view=powershell-5.1

    You may need to run Enable-PSRemoting on both Hyper-V VM and host to configure the computers to receive remote commands before using Invoke-Command.

    https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.core/enable-psremoting?view=powershell-5.1

    Another option is other raid tools that can connect to remote computer like the MegaRAID Storage Manager. You can confirm this with Broadcom.

    Best Regards,

    Ian Xue


    If the Answer is helpful, please click "Accept Answer" and upvote it.

    1 person found this answer helpful.