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/azure-arc/resource-bridge/troubleshoot-resource-bridge.md
+15-8Lines changed: 15 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,25 +13,32 @@ This article provides information on troubleshooting and resolving issues that c
13
13
14
14
### Logs collection
15
15
16
-
For issues encountered with Arc resource bridge, collect logs for further investigation using the Azure CLI [`az arcappliance logs`](/cli/azure/arcappliance/logs) command. This command needs to be run from the same management machine that was used to run commands to deploy the Arc resource bridge. If there's a problem collecting logs, most likely the management machine is unable to reach the Appliance VM, and the network administrator needs to allow communication between the management machine to the Appliance VM. You can collect the Arc resource bridge logs by passing either the appliance VM IP or the kubeconfig in the logs command.
16
+
For issues encountered with Arc resource bridge, collect logs for further investigation using the Azure CLI [`az arcappliance logs`](/cli/azure/arcappliance/logs) command. This command needs to be run from the same management machine that was used to run commands to deploy the Arc resource bridge. If you are using a different machine to collect logs, you will need to run the `az arcappliance get-credentials` command first before collecting logs.
17
17
18
-
An example to collect Arc resource bridge logs on VMware using the appliance VM IP address:
18
+
If there's a problem collecting logs, most likely the management machine is unable to reach the Appliance VM, and the network administrator needs to allow SSH communication between the management machine to the Appliance VM on TCP port 22.
19
+
20
+
You can collect the Arc resource bridge logs by passing either the appliance VM IP or the kubeconfig in the logs command.
21
+
22
+
To collect Arc resource bridge logs on VMware using the appliance VM IP address:
az arcappliance logs vmware --ip <appliance VM IP> --username <vSphere username> --password <vSphere password> --address <vCenter address> --out-dir <path to output directory>
22
26
```
23
27
24
-
An example to collect Arc resource bridge logs for Azure Stack HCI using the appliance VM IP address:
28
+
To collect Arc resource bridge logs for Azure Stack HCI using the appliance VM IP address:
25
29
26
30
```azurecli
27
-
az arcappliance logs hci --ip 192.168.02 --cloudagent 192.168.05 --loginconfigfile c:\clusterstorage\moc\workingdir\kvatoken.tok
31
+
az arcappliance logs hci --ip <appliance VM IP> --cloudagent <cloud agent service IP/FQDN> --loginconfigfile <file path of kvatoken.tok>
28
32
```
29
33
30
-
If you are unsure of your appliance VM IP, there is also the option to use the kubeconfig. You can retrieve the kubeconfig by running the [get-credentials command](/cli/azure/arcappliance) then run the logs command.
34
+
If you are unsure of your appliance VM IP, there is also the option to use the kubeconfig. You can retrieve the kubeconfig by running the [get-credentials command](/cli/azure/arcappliance) then run the logs command.
35
+
36
+
To retrieve the kubeconfig and log key then collect logs for Arc-enabled VMware from a different machine than the one used to deploy Arc resource bridge for Arc-enabled VMware:
31
37
32
38
```azurecli
33
-
az arcappliance get-credentials --resource-group my-rg-01 --name arb-name --credentials-dir c:\user\arbcreds
0 commit comments