Date: 30/11/2010
Product & Version: NVBU 8.5.2
OS Version: Windows 2008
Module & Version: Hyper-V plugin
Application version: Hyper-V
Symptoms 1:
Backup fail and when browsing the plugin, the plugin does not expand beyond localhost and no virtual machines are shown.
- On the HyperV server, in powershell trying to run the GetVM.ps1, you get the following error:
PS C:\Program Files (x86)\Quest Software\NetVault Backup\scripts\HyperV> .\GetVmFileList.ps1
Unable to load file C: \ Program Files (x86) \ Quest Software \ NetVault Backup \ scripts \ HyperV \ GetVmFileList.p
s1, for the execution of scripts is disabled on this system. For more information, see "get-help about_sign
Eng.
At line: 1 char: 20
+. \ GetVmFileList.ps1 <<<<
+ CategoryInfo: NotSpecified: (:) [] PSSecurityException
+ FullyQualifiedErrorId: RuntimeException
PS C: \ Program Files (x86) \ Quest Software \ NetVault Backup \ scripts \ HyperV>. \ GetVms.ps1
Unable to load file C: \ Program Files (x86) \ Quest Software \ NetVault Backup \ scripts \ HyperV \ GetVms.ps1 because
the execution of scripts is disabled on this system. For more information, see "get-help about_signing.
At line: 1 char: 13
+. \ GetVms.ps1 <<<<
+ CategoryInfo: NotSpecified: (:) [] PSSecurityException
+ FullyQualifiedErrorId: RuntimeException
Symptoms 2 :
Customer reports they are unable to see virtual machine in HyperV Host.. Error message shown: Unable to parse output of \scripts\HyperV\Getclusterhosts.ps1
To run a script in powershell the ExecutionPolicy needed to be changed since it was set to Restricted and needed to be :RemoteSigned
You may need to also make sure you are in "powershell" instead of "powershell (x86))"
1) checking the policy first to make sure that it is the issue:
PS C:\Program Files (x86)\Quest Software\NetVault Backup\scripts\HyperV> Get-ExecutionPolicy
Restricted
(make sure you are using the correct path. If you have an older install, the path may be "BakBone Software" instead of "Quest Software")
2) setting the policy correctly:
PS C:\Program Files (x86)\Quest Software\NetVault Backup\scripts\HyperV> Set-ExecutionPolicy -Scope LocalMachine RemoteSigned
Change in strategy execution
The implementation strategy can protect you against scripts that you consider unreliable. By changing the
implementation strategy may expose you to security risks described in the help section
about_Execution_Policies. Would you change the implementation strategy?
[Y] Yes [N] No [S] Suspend [?] Help (the default is "Y"): y
After the modification, the plugin will be able to see the VMs.
Resolution 2
Please perform the following step below.
Enabling communication between Host in clustered environment. After installing and configuring a NetVault Backup Virtual Client, you must ensure that the Virtual Client can manage all Hosts included in a cluster and that each Host can access any other Host included in the cluster.
1) From a command prompt on the first Host included in the cluster, type:
cd \util
The default installation directory is C:\Program Files (x86)\Quest software\NetVault Backup\util or the
corresponding directory under C:\Program Files.
2) For each Host that was added to the Virtual Client, type:
nvclientaccess -client -password
where is the name of the next Host that was added to the Virtual Client and is the same one that you specified when you added the client to the NetVault Backup Server.
For example, if you have two Hosts, run nvclientaccess -client password
on Host1 with as Host2.
3) Repeat these steps for every Host included in the cluster
SFDC solution number: 109815
English version available ID
Version française disponible ID 5967