Reply to Message

View discussion in a popup

Replying to:
tdewanjee
Contributor
Contributor

I have couple of MSCS VM running on a cluster due to which I am having slow boot time and rescan issue on the host and plan to change the rdm lun to Perennially Reserved. Can we run this script on the cluster level for all the MSCS VM at once and does it need a downtime or we can change the value on LUN with the script without any downtime.

While testing the script I am getting below error

Get-VM : 9/11/2017 8:40:30 AM    Get-VM        Exception has been thrown by

the target of an invocation.

At C:\Users\0070tsa\Desktop\RDM_Pr.ps1:1 char:32

+ $rdmHD = get-cluster "LABVC" | Get-VM | Get-HardDisk -DiskType

RawPhysical,RawVi ...

+                                ~~~~~~

    + CategoryInfo          : NotSpecified: (:) [Get-VM], VimException

    + FullyQualifiedErrorId : Core_BaseCmdlet_UnknownError,VMware.VimAutomatio

   n.ViCore.Cmdlets.Commands.GetVM

Thanks !

Reply
0 Kudos