Skip to content

Commit be6d381

Browse files
committed
edit pass: troubleshoot-hybrid-runbook-worker-and-onboarding
1 parent ca17369 commit be6d381

File tree

2 files changed

+13
-13
lines changed

2 files changed

+13
-13
lines changed

articles/automation/troubleshoot/hybrid-runbook-worker.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ The Hybrid Runbook Worker receives event 15011, indicating that a query result i
6767

6868
#### Cause
6969

70-
The Hybrid Runbook Worker hasn't been configured correctly for the automated deployment solution. This solution contains a part that connects the VM to the Log Analytics workspace. The PowerShell script looks for the workspace in the subscription with the supplied name. In this case, the Log Analytics workspace is in a different subscription. The script can't find the workspace and tries to create one, but the name is already taken. Thus the deployment fails.
70+
The Hybrid Runbook Worker hasn't been configured correctly for the automated deployment solution. This solution contains a part that connects the VM to the Log Analytics workspace. The PowerShell script looks for the workspace in the subscription with the supplied name. In this case, the Log Analytics workspace is in a different subscription. The script can't find the workspace and tries to create one, but the name is already taken. As a result, the deployment fails.
7171

7272
#### Resolution
7373

@@ -89,7 +89,7 @@ The Hybrid Runbook Worker machine hasn't pinged Azure Automation for more than 3
8989

9090
#### Resolution
9191

92-
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.md).
92+
Start the worker machine, and then rereregister it with Azure Automation. For instructions on how to install the runbook environment and connect to Azure Automation, see [Deploy a Windows Hybrid Runbook Worker](../automation-windows-hrw-install.md).
9393

9494
### <a name="no-cert-found"></a>Scenario: No certificate was found in the certificate store on the Hybrid Runbook Worker
9595

@@ -133,7 +133,7 @@ The following issues are possible causes:
133133
#### Resolution
134134

135135
##### Mistyped workspace ID or key
136-
To verify if the agent's workspace ID or workspace key has been mistyped, see [Adding or removing a workspace – Windows agent](../../azure-monitor/platform/agent-manage.md#windows-agent) for the Windows agent or [Adding or removing a workspace – Linux agent](../../azure-monitor/platform/agent-manage.md#linux-agent) for the Linux agent. Make sure to select the full string from the Azure portal, and copy and paste it carefully.
136+
To verify if the agent's workspace ID or workspace key was mistyped, see [Adding or removing a workspace – Windows agent](../../azure-monitor/platform/agent-manage.md#windows-agent) for the Windows agent or [Adding or removing a workspace – Linux agent](../../azure-monitor/platform/agent-manage.md#linux-agent) for the Linux agent. Make sure to select the full string from the Azure portal, and copy and paste it carefully.
137137

138138
##### Configuration not downloaded
139139

@@ -165,7 +165,7 @@ nxautom+ 8593 1 0 14:45 ? 00:00:02 python /opt/microsoft/omsconfi
165165
nxautom+ 8595 1 0 14:45 ? 00:00:02 python /opt/microsoft/omsconfig/modules/nxOMSAutomationWorker/DSCResources/MSFT_nxOMSAutomationWorkerResource/automationworker/worker/hybridworker.py /var/opt/microsoft/omsagent/<workspaceId>/state/automationworker/diy/worker.conf managed rworkspace:<workspaceId> rversion:<Linux hybrid worker version>
166166
```
167167

168-
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.
168+
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.
169169

170170
* **oms.conf**: The worker manager process. It's started directly from DSC.
171171
* **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.
@@ -211,7 +211,7 @@ This issue can be caused by your proxy or network firewall blocking communicatio
211211

212212
#### Resolution
213213

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).
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).
215215

216216
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.
217217

@@ -229,7 +229,7 @@ The connection to Active Directory Federation Services (AD FS) on the server can
229229

230230
#### Resolution
231231

232-
You can resolve the issue for the Orchestrator sandbox by migrating your script to use the Azure Active Directory modules instead of the MSOnline module for PowerShell cmdlets. See [Migrating from Orchestrator to Azure Automation (Beta)](https://docs.microsoft.com/azure/automation/automation-orchestrator-migration).
232+
You can resolve the issue for the Orchestrator sandbox by migrating your script to use the Azure Active Directory modules instead of the MSOnline module for PowerShell cmdlets. For more information, see [Migrating from Orchestrator to Azure Automation (Beta)](https://docs.microsoft.com/azure/automation/automation-orchestrator-migration).
233233

234234
​If you want to continue to use the MSOnline module cmdlets, change your script to use [Invoke-Command](https://docs.microsoft.com/powershell/module/microsoft.powershell.core/invoke-command?view=powershell-7). Specify values for the `ComputerName` and `Credential` parameters.
235235

@@ -250,7 +250,7 @@ This code change starts an entirely new PowerShell session under the context of
250250

251251
Your Hybrid Runbook Worker machine is running, but you don't see heartbeat data for the machine in the workspace.
252252

253-
The following example query shows the machines in a workspace and their last heartbeat.
253+
The following example query shows the machines in a workspace and their last heartbeat:
254254

255255
```loganalytics
256256
// Last heartbeat of each computer
@@ -278,7 +278,7 @@ Start-Service -Name HealthService
278278

279279
#### Issue
280280

281-
You receive the following message when you try to add a Hybrid Runbook Worker by using the `Add-HybridRunbookWorker` cmdlet.
281+
You receive the following message when you try to add a Hybrid Runbook Worker by using the `Add-HybridRunbookWorker` cmdlet:
282282

283283
```error
284284
Machine is already registered

articles/automation/troubleshoot/onboarding.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ There's currently no workaround for this issue.
4949

5050
#### Issue
5151

52-
You receive one of the following messages when you attempt to onboard a VM to a solution.
52+
You receive one of the following messages when you attempt to onboard a VM to a solution:
5353

5454
```error
5555
The solution cannot be enabled due to missing permissions for the virtual machine or deployments
@@ -71,15 +71,15 @@ Ensure that you have correct [permissions needed to onboard machines](../automat
7171

7272
#### Issue
7373

74-
You receive the following message when you attempt to onboard a VM to a solution.
74+
You receive the following message when you attempt to onboard a VM to a solution:
7575

7676
```error
7777
Failed to configure automation account for diagnostic logging
7878
```
7979

8080
#### Cause
8181

82-
This error can be caused if the pricing tier doesn't match the subscription's billing model. See [Monitoring usage and estimated costs in Azure Monitor](https://aka.ms/PricingTierWarning).
82+
This error can be caused if the pricing tier doesn't match the subscription's billing model. For more information, see [Monitoring usage and estimated costs in Azure Monitor](https://aka.ms/PricingTierWarning).
8383

8484
#### Resolution
8585

@@ -124,7 +124,7 @@ Check the notifications in the upper-right corner of the Azure portal, or go to
124124

125125
#### Issue
126126

127-
You receive the following error message when you try to unlink a workspace.
127+
You receive the following error message when you try to unlink a workspace:
128128

129129
```error
130130
The link cannot be updated or deleted because it is linked to Update Management and/or ChangeTracking Solutions.
@@ -145,7 +145,7 @@ Remove the following solutions from your workspace if you're using them:
145145
After you remove the solutions, you can unlink your workspace. It's important to clean up any existing artifacts from these solutions from your workspace and your Automation account:
146146

147147
* For Update Management, remove **Update Deployments (Schedules)** from your Automation account.
148-
* For Start/Stop VMs during off-hours, remove any locks on solution components in your Automation account under **Settings** > **Locks**. See [Remove the Start/Stop VMs during off-hours solution](../automation-solution-vm-management.md#remove-the-solution).
148+
* For Start/Stop VMs during off-hours, remove any locks on solution components in your Automation account under **Settings** > **Locks**. For more information, see [Remove the Start/Stop VMs during off-hours solution](../automation-solution-vm-management.md#remove-the-solution).
149149

150150
## <a name="mma-extension-failures"></a>Log Analytics for Windows extension failures
151151

0 commit comments

Comments
 (0)