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/how-to-manage-vm-pool.md
+21-2Lines changed: 21 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -42,17 +42,29 @@ You can select the **Stop all** button to stop all of the VMs.
42
42
43
43
Individual VMs can be stopped by clicking the state toggle. The toggle will read **Stopping** as the VM shuts down, and then **Stopped** once the VM has shutdown. You can also select multiple VMs using the checks to the left of the **Name** column. Once the VMs are checked, select the **Stop** button at the top of the screen.
44
44
45
+
## Reset VMs (deprecated)
46
+
47
+
To reset one or more VMs, select them in the list, and then select **Reset** on the toolbar.
48
+
49
+
:::image type="content" source="./media/how-to-set-virtual-machine-passwords/reset-vm-button.png" alt-text="Screenshot of virtual machine pool. Reset button is highlighted.":::
50
+
51
+
On the **Reset virtual machine(s)** dialog box, select **Reset**.
52
+
53
+
:::image type="content" source="./media/how-to-set-virtual-machine-passwords/reset-vms-dialog.png" alt-text="Screenshot of reset virtual machine confirmation dialog.":::
54
+
45
55
## Redeploy VMs
46
56
57
+
In the [January 2022 Update (preview)](lab-services-whats-new.md), redeploying VMs replaces the previous reset VM behavior.
58
+
47
59
If students are facing difficulties accessing their VM, redeploying the VM may provide a resolution for the issue. Redeploying, unlike resetting, doesn't cause the data on the OS to be lost. When you [redeploy a VM](/troubleshoot/azure/virtual-machines/redeploy-to-new-node-windows), Azure Lab Services will shut down the VM, move it to a new host, and restart it. You can think of it as a refresh of the underlying VM for the student’s machine. The student doesn’t need to re-register to the lab or do any other action. Any data you saved in the OS disk (usually C: drive) of the VM will still be available after the redeploy operation. Anything saved on the temporary disk (usually D: drive) will be lost.
48
60
49
61
Both lab owners and lab users can Redeploy a VM.
50
62
51
63
## Connect to VMs
52
64
53
-
Instructors can connect to a student VM as long as it's turned on. Verify the student is *not* connected to the VM first. By connecting to the VM, you can access local files on the VM and help students troubleshoot issues.
65
+
Instructors can connect to a student VM as long as it's turned on. Verify the student *isn't* connected to the VM first. By connecting to the VM, you can access local files on the VM and help students troubleshoot issues.
54
66
55
-
To connect to the student VM, hover the mouse on the VM in the list and select the **Connect** button. For further instructions based on the operating system you're using, see [Connect to the VM](tutorial-connect-lab-virtual-machine.md).
67
+
To connect to the student VM, hover the mouse on the VM in the list and select the **Connect** button. For further instructions based on the operating system you're using, see [Connect to a lab VM](connect-virtual-machine.md).
56
68
57
69
## Set lab capacity
58
70
@@ -62,6 +74,13 @@ To change the lab capacity (number of VMs in the lab), select **Lab capacity** o
62
74
63
75
If using [Teams](how-to-manage-vm-pool-within-teams.md) or [Canvas](how-to-manage-vm-pool-within-canvas.md) integration, lab capacity will automatically be updated when Azure Lab Services syncs the user list.
64
76
77
+
## Export list of virtual machines to a CSV file
78
+
79
+
1. Switch to the **Virtual machine pool** tab.
80
+
2. Select **...** (ellipsis) on the toolbar and then select **Export CSV**.
81
+
82
+
:::image type="content" source="./media/how-to-manage-vm-pool/virtual-machines-export-csv.png" alt-text="Screenshot of virtual machine pool page in Azure Lab Services. The Export CSV menu item is highlighted.":::
Copy file name to clipboardExpand all lines: articles/lab-services/how-to-set-virtual-machine-passwords.md
+5-82Lines changed: 5 additions & 82 deletions
Original file line number
Diff line number
Diff line change
@@ -5,75 +5,19 @@ ms.topic: how-to
5
5
ms.date: 06/26/2020
6
6
---
7
7
8
-
# Set up and manage virtual machine pool
8
+
# Set or reset virtual machine passwords
9
9
10
-
This article shows you how to do the following tasks:
10
+
A lab owner (educator) sets the password for VMs at the time of creating the lab or after creating the lab on the **Template** page.
11
11
12
-
- Increase the number of virtual machines (VMs) in the lab
13
-
- Start all VMs or selected VMs
14
-
- Reset VMs
15
-
16
-
## Update the lab capacity
17
-
18
-
To increase or decrease the lab capacity (number of virtual machines in a lab), do the following steps:
19
-
20
-
1. On the **Virtual machine pool** page, select **Lab capacity: <number> machines**.
21
-
2. Enter the new **number of VMs** you want in the lab. This number must be greater than or equal to the number of users registered in the lab.
22
-
3. Then, select **Save**.
23
-
24
-

25
-
4. If you increased the capacity, you can see the VM or VMs being created. If you don't see the new VM in the list, refresh the page.
26
-
27
-

28
-
29
-
## Start VMs
30
-
31
-
### Start or stop all VMs
32
-
33
-
1. Switch to the **Virtual machine pool** page.
34
-
2. Select **Start all** from the toolbar.
35
-
36
-

37
-
3. After all the VMs are started, you can stop all VMs by selecting the **Stop all** button on the toolbar.
38
-
39
-

40
-
41
-
### Start selected VMs
42
-
43
-
There are two ways to start selected VMs (one or more). First way is to select the VM or VMs in the list, and then select **Start** on the toolbar.
44
-
45
-
The second way is to select one or more VMs in the list, and toggle the button in the **State** column.
Similarly, you can stop one or more VMs by toggling the button in the **State** column or selecting **Stop** on the toolbar.
50
-
51
-
> [!NOTE]
52
-
> When an educator turns on a student VM, quota for the student isn't affected. Quota for a user specifies the number of lab hours available to the user outside of the scheduled class time. For more information on quotas, see [Set quotas for users](how-to-configure-student-usage.md?#set-quotas-for-users).
53
-
54
-
## Reset VMs
55
-
56
-
To reset one or more VMs, select them in the list, and then select **Reset** on the toolbar.
On the **Reset virtual machine(s)** dialog box, select **Reset**.
61
-
62
-

63
-
64
-
## Set password for VMs
65
-
66
-
A lab owner (educator) can set/reset the password for VMs at the time of creating the lab (lab creation wizard) or after creating the lab on the **Template** page.
67
-
68
-
### Set password at the time of lab creation
12
+
## Set password at the time of lab creation
69
13
70
14
A lab owner (educator) can set a password for VMs in the lab on the **Virtual machine credentials** page of the lab creation wizard.
71
15
72
16
:::image type="content" source="./media/how-to-set-virtual-machine-passwords/virtual-machine-credentials.png" alt-text="Screenshot of windows the enter credentials for template VM.":::
73
17
74
-
By enabling/disabling the **Use same password for all virtual machines** option on this page, an educator can choose to use same password for all VMs in the lab or allow students to set passwords for their VMs. By default, this setting is enabled for all Windows and Linux operating system images except Ubuntu. When this setting is disabled, students will be prompted to set a password when they try to connect to the VM for the first time.
18
+
By enabling the **Use same password for all virtual machines** option on this page, an educator chooses to use the same password for all VMs in the lab. Disabling the **Use same password for all virtual machines** option makes the students set a password for their VMs before logging in for the first time. By default, labs use the same password for all VMs. (Ubuntu doesn't support use the same password.
75
19
76
-
###Reset password later
20
+
## Reset password later
77
21
78
22
1. On the **Template** page of the lab, select **Start template** on the toolbar.
79
23
1. Once the template machine has fully started, select **Reset password** on the toolbar.
@@ -84,27 +28,6 @@ By enabling/disabling the **Use same password for all virtual machines** option
84
28
> [!NOTE]
85
29
> Reset password option is not available for labs created without a template using the [January 2022 Updates (preview)](lab-services-whats-new.md).
86
30
87
-
## Connect to student VMs
88
-
89
-
The lab creator (educator) can connect to a student VM if the following conditions are met:
90
-
91
-
- The **Use same password for all virtual machines** option was selected when creating the lab
92
-
- The VM is running
93
-
94
-
To connect to the student VM, hover the mouse on the VM in the list and select the computer button.
95
-
96
-

97
-
98
-
> [!NOTE]
99
-
> When the educator starts the VM and connects to it, the student quota is unaffected.
100
-
101
-
## Export list of virtual machines to a CSV file
102
-
103
-
1. Switch to the **Virtual machine pool** tab.
104
-
2. Select **...** (ellipsis) on the toolbar and then select **Export CSV**.
105
-
106
-

107
-
108
31
## Next steps
109
32
110
33
To learn about other student usage options you (as a lab owner) can configure, see the following article: [Configure student usage](how-to-configure-student-usage.md).
0 commit comments