Discussions specific to the Microsoft Hyper-V hypervisor
Post Reply
nmdange
Expert
Posts: 473
Liked: 116 times
Joined: Aug 20, 2015 9:30 pm
Contact:

PowerShell Direct

Post by nmdange » Apr 13, 2018 5:45 pm

I have a few SQL VMs behind a firewall. I can see the following in the backup log:
4/13/2018 2:07:15 AM :: Failed to inject guest runtime using guest interaction proxy, failing over to PowerShell Direct

There's not much in the documentation about this functionality. Is there any reason why I would not want to use PowerShell Direct? Do I lose any functionality vs. placing a guest interaction proxy in the same subnet?

If there's no issue with PowerShell Direct, is there any way I can tell Veeam to use that first? I can't see anything related to PowerShell Direct in the backup job settings. It would be nice to tell Veeam not to try to use a proxy that I know won't work.

veremin
Product Manager
Posts: 17005
Liked: 1455 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Contact:

Re: PowerShell Direct

Post by veremin » Apr 16, 2018 2:34 pm

If I'm not mistaken, PowerShell Direct should be utilized, only when there is no network connection to backed up VM.

You won't lose anything, if you stick with network mode.

Check this article for more information.

Thanks.

nmdange
Expert
Posts: 473
Liked: 116 times
Joined: Aug 20, 2015 9:30 pm
Contact:

Re: PowerShell Direct

Post by nmdange » Apr 16, 2018 4:27 pm

Right I'm just wondering if I can tell Veeam to use PowerShell Direct first so it doesn't try to connect and fail.

veremin
Product Manager
Posts: 17005
Liked: 1455 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Contact:

Re: PowerShell Direct

Post by veremin » Apr 16, 2018 4:52 pm

Add the following regkey and set it to 1:

Code: Select all

HvVssPowerShellDirectPriorityOverNetwork: <DWORD>
Thanks.

nmdange
Expert
Posts: 473
Liked: 116 times
Joined: Aug 20, 2015 9:30 pm
Contact:

Re: PowerShell Direct

Post by nmdange » Apr 16, 2018 5:38 pm

I assume that is set on the Veeam server (what reg key path?) and then would apply to all VMs?

veremin
Product Manager
Posts: 17005
Liked: 1455 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Contact:

Re: PowerShell Direct

Post by veremin » Apr 17, 2018 11:21 am

By default, all VB&R specific registry keys should be added in HKLM\SOFTWARE\VeeaM\Veeam Backup and Replication, unless otherwise is stated.

Correct, the order will be inversed for all VMs.

Thanks.

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests