Microsoft Virtualization Discussions
Any idea why this variable won't expand in my SnapManager for Hyper-V post-backup command? See the log excerpt below from the job:
Original post script arguments: C:\Scripts\replicate-Volumes.ps1
$VMSnapshot $SnapInfoName $SnapInfoSnapshot
See The Solution
$SnapInfoSnapshot - Specifies the SnapInfo Snapshot copy name created on the
storage system. SnapManager for Hyper-V makes a Snapshot copy of the SnapInfo
LUN at the end of the dataset backup.
<note>The $SnapInfoSnapshot variable is
supported for dedicated virtual machines only. </note>
Is this VM clustered?, then it's expected behavior, SMHV currently expand this variable only for dedicated nodes.
View solution in original post
That explains it, the hypervisors are clustered.
Why is that variable not applicable to clustered hypervisors/VMs?
$SnapInfoSnapshot won't be available for any clustered VMs, irrespective of the
the dataset configuration. This is because we take snapshot of SnapInfo LUN
only after the backup and post-script execution on each cluster nodes.
If we do supply this variable, it will be available only for dedicated VMs.
If you think is important to support, we will discuss internally and open a feature request.
Join our Discord Community