Skip to content

Commit 00d1526

Browse files
Added troubleshooting info
1 parent 2303e65 commit 00d1526

File tree

1 file changed

+15
-2
lines changed

1 file changed

+15
-2
lines changed

articles/virtual-machines/extensions/vmaccess-linux.md

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -296,10 +296,23 @@ Update-AzVmss `
296296

297297
## Troubleshoot and support
298298

299-
Get data about the state of extension deployments from the Azure portal and by using the Azure CLI. To see the deployment state of extensions for a given VM, run the following command by using the Azure CLI.
299+
The VMAccess extension logs exist locally on the VM and are most informative when it comes to troubleshooting.
300300

301-
```azurecli
301+
| Location | Description |
302+
| ---- | ---- |
303+
| /var/log/waagent.log | Shows when an update to the extension occurred. This contains logs from the Linux Agent, and we can check it to ensure the extension ran. |
304+
| /var/log/azure/Microsoft.OSTCExtensions.VMAccessForLinux/* | The VMAccess Extension produces logs which can be found here. Here you will see a `CommandExecution.log` where you can find each command executed along with its result. There is also an `extension.log` file which contains individual logs for each execution. |
305+
| /var/lib/waagent/Microsoft.OSTCExtensions-VMAccessForLinux-\<most recent version\>/config/* | The configuration and binaries for VMAccess VM Extension. |
306+
|||
307+
308+
You can also retrieve the execution state of the VMAccess Extension, along with other extensions on a given VM, by running the following command:
309+
310+
```azurecli-interactive
302311
az vm extension list --resource-group myResourceGroup --vm-name myVM -o table
303312
```
304313

305314
For more help, you can contact the Azure experts at [Azure Community Support](https://azure.microsoft.com/support/forums/). Alternatively, you can file an Azure support incident. Go to [Azure support](https://azure.microsoft.com/support/options/) and select **Get support**. For more information about Azure Support, read the [Azure support plans FAQ](https://azure.microsoft.com/support/faq/).
315+
316+
## Next steps
317+
318+
To see the code, current versions, and more documentation, see [VMAccess Linux - GitHub](https://github.com/Azure/azure-linux-extensions/tree/master/VMAccess).

0 commit comments

Comments
 (0)