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/lab-services/troubleshoot-access-lab-vm.md
+30-8Lines changed: 30 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,7 +12,7 @@ ms.date: 12/05/2022
12
12
13
13
# Troubleshoot accessing lab VMs in Azure Lab Services
14
14
15
-
In this article, you learn about the different approaches for troubleshooting lab VMs. Understand how each approach affects your lab environment and user data on the lab VM. There can be different reasons why you're unable to connect to a lab VM in Azure Lab Services, or why you're stuck to complete a course. For example, the underlying VM is experiencing issues, your organization's firewall settings have changed, or a software change in the lab VM operating system.
15
+
In this article, you learn about the different approaches for troubleshooting lab VMs. Understand how each approach affects your lab environment and user data on the lab VM. There can be different reasons why you're unable to access to a lab VM in Azure Lab Services, or why you're stuck to complete a course. For example, the underlying VM is experiencing issues, your organization's firewall settings changed, or a software change in the lab VM operating system.
16
16
17
17
## Prerequisites
18
18
@@ -24,25 +24,47 @@ In this article, you learn about the different approaches for troubleshooting la
24
24
25
25
To use and access a lab VM, you connect to it by using Remote Desktop (RDP) or Secure Shell (SSH). You may experience difficulties to access your lab VM:
26
26
27
-
- You're unable to connect to the lab VM from your computer by using RDP or SSH. There might be a problem with the underlying VM, or a network or firewall configuration might prevent you from connecting.
27
+
- You're unable to start the lab VM
28
28
29
-
- You're unable to login to the lab VM.
29
+
- You're unable to connect to the lab VM from your computer by using RDP or SSH
30
30
31
-
- After connecting to the lab VM, the VM is not working correctly.
31
+
- You're unable to log in to the lab VM
32
+
33
+
- After connecting to the lab VM, the VM isn't working correctly
32
34
33
35
## Troubleshooting steps
34
36
37
+
### Unable to start lab VM
38
+
When our service is unable to maintain connection with a lab VM, a warning appears next to the lab VM name.
39
+
40
+
:::image type="content" source="./media/troubleshoot-access-lab-vm/lab-vm-alert.png" alt-text="Screenshot that shows an alert next the lab VM name.":::
41
+
42
+
If you see a lab VM alert next to its name, then hover over it to read the error message. This message might state that _"Our cloud virtual machine has become non-responsive and will be stopped automatically to avoid overbilling."_
43
+
44
+
:::image type="content" source="./media/troubleshoot-access-lab-vm/lab-vm-alert-hover.png" alt-text="Screenshot that shows an alert message when the cursor hovers over an alert next to the lab VM name.":::
45
+
46
+
Scenarios might include:
47
+
48
+
|Scenario|Cause|Resolution|
49
+
|-|-|-|
50
+
|Shutdown lab at OS level |Ending a lab VM session through OS level shutdown |Lab users may start the lab VM at any time without affecting lab connectivity |
51
+
|Network configuration |• Installing a firewall that has outbound rule blocking 443 port <br> • Changing DNS setting, custom DNS solution, can't find our DNS endpoint <br> • Changing DHCP settings or IP address in the VM |Learn more about [supported networking scenarios and topologies for advanced networking](./concept-lab-services-supported-networking-scenarios.md) and review [troubleshooting lab VM connection](./troubleshoot-connect-lab-vm.md)|
52
+
|OS disk full |• Limited disk space prevents the lab VM from starting <br> • A nested virtualization template with a full host disk prevents the lab from publishing|Ensure at least 1 GB of space is available on the primary disk |
53
+
|Lab Services Agent |Disabling the Lab Services agent on the lab VM in any form, including: <br> • Changing system files or folders under C:\WindowsAzure <br> • Modifying services by either starting or stopping the Azure agent |• Check if the idle agent service started, which should be set as a 'Manual' startup task for the VM Agent service to start <br> • If the LabServicesIdleAgent service isn't already running, run a Windows startup task to start it <br> • Students should avoid making changes to any files/folders under C:\WindowsAzure |
54
+
55
+
If you have questions or need help, review the [Advanced troubleshooting](#advanced-troubleshooting) section.
56
+
35
57
### Unable to connect to the lab VM with Remote Desktop (RDP) or Secure Shell (SSH)
36
58
37
-
1.[Redeploy your lab VM](./how-to-reset-and-redeploy-vm.md#redeploy-a-lab-vm) to another infrastructure node, while maintaining the user data.
59
+
1.[Redeploy your lab VM](./how-to-reset-and-redeploy-vm.md#redeploy-a-lab-vm) to another infrastructure node, while maintaining the user data
38
60
39
61
This approach might help resolve issues with the underlying virtual machine. Learn more about [redeploying versus reimaging a lab VM](#redeploy-versus-reimage-a-lab-vm) and how they affect your user data.
40
62
41
-
1.[Verify your organization's firewall settings for your lab](./how-to-configure-firewall-settings.md) with the educator and IT admin.
63
+
1.[Verify your organization's firewall settings for your lab](./how-to-configure-firewall-settings.md) with the educator and IT admin
42
64
43
65
A change in the organization's firewall or network settings might prevent your computer to connect to the lab VM.
44
66
45
-
1. If you still can't connect to the lab VM, [reimage the lab VM](./how-to-reset-and-redeploy-vm.md#reimage-a-lab-vm).
67
+
1. If you still can't connect to the lab VM, [reimage the lab VM](./how-to-reset-and-redeploy-vm.md#reimage-a-lab-vm)
46
68
47
69
> [!IMPORTANT]
48
70
> Reimaging a lab VM deletes the user data in the VM. Make sure to [store the user data outside the lab VM](#store-user-data-outside-the-lab-vm).
@@ -55,7 +77,7 @@ When you create a new lab from an exported lab VM image, perform the following s
55
77
56
78
1. After the lab creation finishes, you can [reset the password](./how-to-set-virtual-machine-passwords.md).
57
79
58
-
### After logging in, the lab VM is not working correctly
80
+
### After logging in, the lab VM isn't working correctly
59
81
60
82
The lab VM might be malfunctioning as a result of installing a software component, or making a change to the operating system configuration.
0 commit comments