Skip to content

Commit d1e4764

Browse files
authored
Merge pull request #184318 from SGSneha/06Jan-HRW-systemandagentproxy
added example for proxy section
2 parents aa8ce34 + 1a76731 commit d1e4764

File tree

2 files changed

+31
-0
lines changed

2 files changed

+31
-0
lines changed

articles/automation/automation-windows-hrw-install.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@ To install and configure a Windows user Hybrid Runbook Worker, you can use one o
8080

8181
* Use a provided PowerShell script to completely [automate](#automated-deployment) the process of configuring one or more Windows machines. This is the recommended method for machines in your datacenter or another cloud environment.
8282
* Manually import the Automation solution, install the Log Analytics agent for Windows, and configure the worker role on the machine.
83+
* Agent-based hybrid worker uses MMA proxy setting. You have to pass the proxy setting while installing the log analytics extension(MMA) and this setting will be stored under MMA configuration(registry) on VM.
8384

8485
## Automated deployment
8586

articles/automation/extension-based-hybrid-runbook-worker-install.md

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,36 @@ After you successfully deploy a runbook worker, review [Run runbooks on a Hybrid
6161

6262
If you use a proxy server for communication between Azure Automation and machines running the extension-base Hybrid Runbook Worker, ensure that the appropriate resources are accessible. The timeout for requests from the Hybrid Runbook Worker and Automation services is 30 seconds. After three attempts, a request fails.
6363

64+
> [!NOTE]
65+
> You can set up the proxy settings either by PowerShell cmdlets or API.
66+
67+
**Proxy server settings**
68+
# [Windows](#tab/windows)
69+
70+
```azurepowershell
71+
$settings = @{
72+
"AutomationAccountURL" = "<registrationurl>/<subscription-id>";
73+
"ProxySettings" = @{
74+
"ProxyServer" = "<ipaddress>:<port>";
75+
"UserName"="test";
76+
}
77+
};
78+
$protectedsettings = @{
79+
"ProxyPassword" = "password";
80+
};
81+
```
82+
83+
# [Linux](#tab/linux)
84+
```
85+
$protectedsettings = @{
86+
"Proxy_URL"="http://username:password@<IP Address>"
87+
};
88+
$settings = @{
89+
"AutomationAccountURL" = "<registration-url>/<subscription-id>";
90+
};
91+
```
92+
---
93+
6494
### Firewall use
6595

6696
If you use a firewall to restrict access to the Internet, you must configure the firewall to permit access. The following port and URLs are required for the Hybrid Runbook Worker, and for [Automation State Configuration](./automation-dsc-overview.md) to communicate with Azure Automation.

0 commit comments

Comments
 (0)