Microsoft Virtualization Discussions

$SnapInfoSnapshot variable won't expand in SMHV post action

hugh_kelley
3,632 Views

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

Arguments: C:\Scripts\replicate-Volumes.ps1

ReplicatingServers_bma-vpc-01_BMA-VHOST-01_09-23-2012_23.28.47_backup 09-23-2012_23.28.47

$SnapInfoSnapshot


1 ACCEPTED SOLUTION

vkarinta
3,632 Views

$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.

Thanks,

Vineeth

View solution in original post

3 REPLIES 3

vkarinta
3,633 Views

$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.

Thanks,

Vineeth

hugh_kelley
3,632 Views

That explains it, the hypervisors are clustered.

Why is that variable not applicable to clustered hypervisors/VMs?

vkarinta
3,632 Views

$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.

Thanks,

Vineeth

Public