You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/automation/troubleshoot/hybrid-runbook-worker.md
+17-17Lines changed: 17 additions & 17 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -42,7 +42,7 @@ The following are possible causes:
42
42
43
43
#### Resolution
44
44
45
-
Verify that the computer has outbound access to *.azure-automation.net on port 443.
45
+
Verify that the computer has outbound access to ***.azure-automation.net** on port 443.
46
46
47
47
Computers running the Hybrid Runbook Worker should meet the minimum hardware requirements before the worker is configured to host this feature. Runbooks and the background process they use might cause the system to be over-used and cause runbook job delays or timeouts.
48
48
@@ -88,7 +88,7 @@ The Hybrid Runbook Worker machine hasn't pinged Azure Automation for more than 3
88
88
89
89
#### Resolution
90
90
91
-
Start the worker machine and then rereregister it with Azure Automation. See [Install the runbook environment and connect to Azure Automation](../automation-windows-hrw-install#step-4---install-the-runbook-environment-and-connect-to-azure-automation).
91
+
Start the worker machine and then rereregister it with Azure Automation. See instructions for installing the runbook environment and connecting to Azure Automation in [Deploy a Windows Hybrid Runbook Worker](../automation-windows-hrw-install).
92
92
93
93
### <aname="no-cert-found"></a>Scenario: No certificate was found in the certificate store on Hybrid Runbook Worker
94
94
@@ -155,35 +155,35 @@ If the agent isn't running, it prevents the Linux Hybrid Runbook Worker from com
155
155
156
156
#### Resolution
157
157
158
-
Verify the agent is running by entering the following command:`ps -ef | grep python`. You should see output similar to the following, the python processes with **nxautomation** user account. If the Update Management or Azure Automation solutions aren't enabled, none of the following processes are running.
158
+
Verify the agent is running by entering the command `ps -ef | grep python`. You should see output similar to the following, the Python processes with **nxautomation** user account. If the Update Management or Azure Automation solution isn't enabled, none of the following processes are running.
The following list shows the processes that are started for a Linux Hybrid Runbook Worker. They're all located in the `/var/opt/microsoft/omsagent/state/automationworker/` directory.
166
+
The following list shows the processes that are started for a Linux Hybrid Runbook Worker. They're all located in the **/var/opt/microsoft/omsagent/state/automationworker/** directory.
167
167
168
168
***oms.conf** - The worker manager process. It's started directly from DSC.
169
169
170
-
***worker.conf** - The AutoRegistered Hybrid worker process. It's started by the worker manager. This process is used by Update Management and is transparent to the user. This process isn't present if the Update Management solution isn't enabled on the machine.
170
+
***worker.conf** - The Auto-Registered hybrid worker process. It's started by the worker manager. This process is used by Update Management and is transparent to the user. This process isn't present if the Update Management solution isn't enabled on the machine.
171
171
172
-
***diy/worker.conf** - The DIY hybrid worker process. The DIY hybrid worker process is used to execute user runbooks on the Hybrid Runbook Worker. It only differs from the Auto registered Hybrid worker process in the key detail that it uses a different configuration. This process isn't present if the Azure Automation solution is disabled and the DIY Linux Hybrid Worker isn't registered.
172
+
***diy/worker.conf** - The DIY hybrid worker process. The DIY hybrid worker process is used to execute user runbooks on the Hybrid Runbook Worker. It only differs from the Auto-Registered hybrid worker process in the key detail that it uses a different configuration. This process isn't present if the Azure Automation solution is disabled and the DIY Linux Hybrid Worker isn't registered.
173
173
174
174
If the agent isn't running, run the following command to start the service: `sudo /opt/microsoft/omsagent/bin/service_control restart`.
175
175
176
176
### <aname="class-does-not-exist"></a>Scenario: The specified class doesn't exist
177
177
178
-
If you see the error **The specified class does not exist..** in the `/var/opt/microsoft/omsconfig/omsconfig.log`, the Log Analytics agent for Linux needs to be updated. Run the following command to reinstall the agent:
178
+
If you see the error `The specified class does not exist..` in the **/var/opt/microsoft/omsconfig/omsconfig.log**, the Log Analytics agent for Linux needs to be updated. Run the following command to reinstall the agent:
179
179
180
180
```bash
181
181
wget https://raw.githubusercontent.com/Microsoft/OMS-Agent-for-Linux/master/installer/scripts/onboard_agent.sh && sh onboard_agent.sh -w <WorkspaceID> -s <WorkspaceKey>
182
182
```
183
183
184
184
## Windows
185
185
186
-
The Windows Hybrid Runbook Worker depends on the [Log Analytics agent for Windows](../../azure-monitor/platform/log-analytics-agent.md) to communicate with your Automation account to register the worker, receive runbook jobs, and report status. If registration of the worker fails, here are some possible causes for the error:
186
+
The Windows Hybrid Runbook Worker depends on the [Log Analytics agent for Windows](../../azure-monitor/platform/log-analytics-agent.md) to communicate with your Automation account to register the worker, receive runbook jobs, and report status. If registration of the worker fails, this section includes some possible reasons.
187
187
188
188
### <aname="mma-not-running"></a>Scenario: The Microsoft Monitoring Agent isn't running
189
189
@@ -193,27 +193,27 @@ The `healthservice` service isn't running on the Hybrid Runbook Worker machine.
193
193
194
194
#### Cause
195
195
196
-
If the Microsoft Monitoring Agent Microsoft service isn't running, this state prevents the Hybrid Runbook Worker from communicating with Azure Automation.
196
+
If the Microsoft Monitoring Agent service isn't running, the Hybrid Runbook Worker is prevented from communicating with Azure Automation.
197
197
198
198
#### Resolution
199
199
200
-
Verify the agent is running by entering the following command in PowerShell: `Get-Service healthservice`. If the service is stopped, enter the following command in PowerShell to start the service: `Start-Service healthservice`.
200
+
Verify that the agent is running by entering the following command in PowerShell: `Get-Service healthservice`. If the service is stopped, enter the following command in PowerShell to start the service: `Start-Service healthservice`.
201
201
202
202
### <aname="event-4502"></a>Scenario: Event 4502 in Operations Manager log
203
203
204
204
#### Issue
205
205
206
-
In the **Application and Services Logs\Operations Manager** event log, you see event 4502 and EventMessage that contains **Microsoft.EnterpriseManagement.HealthService.AzureAutomation.HybridAgent** with the following description:*The certificate presented by the service \<wsid\>.oms.opinsights.azure.com was not issued by a certificate authority used for Microsoft services. Please contact your network administrator to see if they are running a proxy that intercepts TLS/SSL communication.*
206
+
In the **Application and Services Logs\Operations Manager** event log, you see event 4502 and EventMessage that contains `Microsoft.EnterpriseManagement.HealthService.AzureAutomation.HybridAgent` with the following description:<br>`The certificate presented by the service \<wsid\>.oms.opinsights.azure.com was not issued by a certificate authority used for Microsoft services. Please contact your network administrator to see if they are running a proxy that intercepts TLS/SSL communication.`
207
207
208
208
#### Cause
209
209
210
-
This issue can be caused by your proxy or network firewall blocking communication to Microsoft Azure. Verify the computer has outbound access to *.azure-automation.net on ports 443.
210
+
This issue can be caused by your proxy or network firewall blocking communication to Microsoft Azure. Verify that the computer has outbound access to ***.azure-automation.net** on port 443.
211
211
212
212
#### Resolution
213
213
214
-
Logs are stored locally on each hybrid worker at C:\ProgramData\Microsoft\System Center\Orchestrator\7.2\SMA\Sandboxes. You can verify if there are any warning or error events in the **Application and Services Logs\Microsoft-SMA\Operations** and **Application and Services Logs\Operations Manager** event log that indicate a connectivity or other issue that affects onboarding of the role to Azure Automation or issue while under normal operations. For additional help troubleshooting issues with the Log Analytics agent, see [Troubleshoot issues with the Log Analytics Windows agent](../../azure-monitor/platform/agent-windows-troubleshoot.md).
214
+
Logs are stored locally on each hybrid worker at **C:\ProgramData\Microsoft\System Center\Orchestrator\7.2\SMA\Sandboxes**. You can verify if there are any warning or error events in the **Application and Services Logs\Microsoft-SMA\Operations** and **Application and Services Logs\Operations Manager** event logs. These logs indicate a connectivity or other type of issue that affects onboarding of the role to Azure Automation, or an issue encountered under normal operations. For additional help troubleshooting issues with the Log Analytics agent, see [Troubleshoot issues with the Log Analytics Windows agent](../../azure-monitor/platform/agent-windows-troubleshoot.md).
215
215
216
-
[Runbook output and messages](../automation-runbook-output-and-messages.md)are sent to Azure Automation from hybrid workers just like runbook jobs that run in the cloud. You can also enable the Verbose and Progress streams the same way you would for other runbooks.
216
+
Hybrid workers send [Runbook output and messages](../automation-runbook-output-and-messages.md) to Azure Automation in the same way that runbook jobs running in the cloud send output and messages. You can enable the Verbose and Progress streams just as you do for runbooks.
217
217
218
218
### <aname="corrupt-cache"></a>Scenario: Hybrid Runbook Worker not reporting
219
219
@@ -235,7 +235,7 @@ This issue can be caused by a corrupt cache on the Hybrid Runbook Worker.
235
235
236
236
#### Resolution
237
237
238
-
To resolve this issue, sign in to the Hybrid Runbook Worker and run the following script. This script stops the Microsoft Monitoring Agent, removes its cache, and restarts the service. This action forces the Hybrid Runbook Worker to redownload its configuration from Azure Automation.
238
+
To resolve this issue, sign in to the Hybrid Runbook Worker and run the following script. This script stops the Microsoft Monitoring Agent, removes its cache, and restarts the service. This action forces the Hybrid Runbook Worker to re-download its configuration from Azure Automation.
239
239
240
240
```powershell
241
241
Stop-Service -Name HealthService
@@ -261,14 +261,14 @@ This issue can be caused if the machine is already registered with a different A
261
261
262
262
#### Resolution
263
263
264
-
To resolve this issue, remove the following registry key and restart the `HealthService` and try the `Add-HybridRunbookWorker` cmdlet again:
264
+
To resolve this issue, remove the following registry key, restart the `HealthService`, and try the `Add-HybridRunbookWorker` cmdlet again.
If you didn't see your problem or are unable to solve your issue, visit one of the following channels for more support:
271
271
272
-
* Get answers from Azure experts through [Azure Forums](https://azure.microsoft.com/support/forums/)
272
+
* Get answers from Azure experts through [Azure Forums](https://azure.microsoft.com/support/forums/).
273
273
* Connect with [@AzureSupport](https://twitter.com/azuresupport) – the official Microsoft Azure account for improving customer experience by connecting the Azure community to the right resources: answers, support, and experts.
274
274
* If you need more help, you can file an Azure support incident. Go to the [Azure support site](https://azure.microsoft.com/support/options/) and select **Get Support**.
0 commit comments