Azure / Azure/Azure-Workload-Backup-Troubleshooting-Scripts

Connectivity Tests HTTP Proxy Output

Aperta
#15 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
PowerShell
Stelle
2
Fork
18
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

When running this script behind a HTTP proxy and with HTTP proxy settings properly configured, I still couldn't succeed on integrating my Azure Windows VM with Azure Backup Service, in order to perform Azure Backup for SQL Server.

As I can understand, the proxy settings need to be configured system-wide, i.e., not only to the logged user but also to the `NT Authority\System` and `NT Service\AzureWLBackupPluginSvc` users, used by the Azure Workload Backup Plugin.

On the `Get-ProxySettings.ps1`, there is a verification on the Windows Registry Key `ProxySettingsPerUser` on `HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\CurrentVersion\Internet Settings` in order to check if proxy configurations are assigned system-wide. According to the script, system-wide configurations (meaning, every user gets the same configs) are enabled when this Registry Key either not exists or is assigned with the `0` value.

`Logger "Are Proxy Settings common for all users: $(( $proxyPerUser.GetValue('ProxySettingsPerUser') -eq "0") -or ( $proxyPerUser.GetValue('ProxySettingsPerUser') -eq $null))"`

After a few tests, I've only managed to integrate my VM with Azure Backup by explicitly setting the Registry Key to 0, because it doesn't exist by default.

In a nutshell, my question is if the testing script should only confirm system-wide http proxy configurations with the registry key properly set to 0.

Thanks

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Direzione di ricerca

Inizia con Get-ProxySettings.ps1 ed esamina il controllo ProxySettingsPerUser nella chiave dei criteri del registro del proxy di Windows. Confronta la gestione attuale da parte dello script di un valore mancante con il requisito segnalato secondo cui le impostazioni proxy a livello di sistema devono essere impostate esplicitamente su 0. Il lavoro è completato quando l'output della connettività riflette accuratamente se è presente la configurazione di sistema richiesta.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
azure, powershell
Ambito
cloud, networking
Tipo di issue
Bug
Difficoltà
2/5
Tempo stimato
1-3 ore
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
45/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.