Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 9b2afd3

Browse files
committedFeb 6, 2022
Combined duplicate articles about vm pools
1 parent 60e7c8c commit 9b2afd3

File tree

6 files changed

+32
-90
lines changed

6 files changed

+32
-90
lines changed
 

‎articles/lab-services/TOC.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -107,8 +107,6 @@
107107
href: how-to-configure-auto-shutdown-lab-plans.md
108108
- name: Add a lab creator
109109
href: add-lab-creator.md
110-
- name: Manage VM pool
111-
href: how-to-manage-vm-pool.md
112110
- name: Connect to a virtual network
113111
href: how-to-connect-vnet-injection.md
114112
- name: Create a lab with a shared resource
@@ -141,11 +139,13 @@
141139
items:
142140
- name: Create and manage labs
143141
href: how-to-manage-labs.md
144-
- name: Use dashboard
142+
- name: Use lab dashboard
145143
href: use-dashboard.md
146-
- name: Set up, customize, and publish templates
144+
- name: Customize and publish templates
147145
href: how-to-create-manage-template.md
148-
- name: Set up and manage virtual machine pool
146+
- name: Manage VM pool
147+
href: how-to-manage-vm-pool.md
148+
- name: Set and reset passwords
149149
href: how-to-set-virtual-machine-passwords.md
150150
- name: Add and manage lab users
151151
href: how-to-configure-student-usage.md
@@ -165,7 +165,7 @@
165165
href: how-to-enable-nested-virtualization-template-vm-ui.md
166166
- name: Enable nested virtualization on a template VM using a script
167167
href: how-to-enable-nested-virtualization-template-vm-using-script.md
168-
- name: Set up a lab with GPUs
168+
- name: Create a lab with GPUs
169169
href: how-to-setup-lab-gpu.md
170170
- name: Prepare a Windows template VM
171171
href: how-to-prepare-windows-template.md

‎articles/lab-services/how-to-manage-vm-pool.md

Lines changed: 21 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,17 +42,29 @@ You can select the **Stop all** button to stop all of the VMs.
4242

4343
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.
4444

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+
4555
## Redeploy VMs
4656

57+
In the [January 2022 Update (preview)](lab-services-whats-new.md), redeploying VMs replaces the previous reset VM behavior.
58+
4759
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.
4860

4961
Both lab owners and lab users can Redeploy a VM.
5062

5163
## Connect to VMs
5264

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.
5466

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

5769
## Set lab capacity
5870

@@ -62,6 +74,13 @@ To change the lab capacity (number of VMs in the lab), select **Lab capacity** o
6274

6375
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.
6476

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.":::
83+
6584
## Next steps
6685

6786
See the following articles:

‎articles/lab-services/how-to-set-virtual-machine-passwords.md

Lines changed: 5 additions & 82 deletions
Original file line numberDiff line numberDiff line change
@@ -5,75 +5,19 @@ ms.topic: how-to
55
ms.date: 06/26/2020
66
---
77

8-
# Set up and manage virtual machine pool
8+
# Set or reset virtual machine passwords
99

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.
1111

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-
![Screenshot that shows the "Lab capacity" window with the "Maximum machines in lab" and "Save" button selected.](./media/how-to-set-virtual-machine-passwords/number-of-vms-in-lab.png)
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-
![VM being created](./media/how-to-set-virtual-machine-passwords/vm-being-created.png)
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-
![Start all button](./media/how-to-set-virtual-machine-passwords/start-all-vms-button.png)
37-
3. After all the VMs are started, you can stop all VMs by selecting the **Stop all** button on the toolbar.
38-
39-
![Stop all button](./media/how-to-set-virtual-machine-passwords/stop-all-vms-button.png)
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.
46-
47-
![Start selected VMs](./media/how-to-set-virtual-machine-passwords/start-selected-vms.png)
48-
49-
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.
57-
58-
![Reset selected VMs](./media/how-to-set-virtual-machine-passwords/reset-vm-button.png)
59-
60-
On the **Reset virtual machine(s)** dialog box, select **Reset**.
61-
62-
![Reset VM dialog box](./media/how-to-set-virtual-machine-passwords/reset-vms-dialog.png)
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
6913

7014
A lab owner (educator) can set a password for VMs in the lab on the **Virtual machine credentials** page of the lab creation wizard.
7115

7216
:::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.":::
7317

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.
7519

76-
### Reset password later
20+
## Reset password later
7721

7822
1. On the **Template** page of the lab, select **Start template** on the toolbar.
7923
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
8428
> [!NOTE]
8529
> Reset password option is not available for labs created without a template using the [January 2022 Updates (preview)](lab-services-whats-new.md).
8630
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-
![Connect to student VM button](./media/how-to-set-virtual-machine-passwords/connect-student-vm.png)
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-
![Export list of virtual machines](./media/how-to-export-users-virtual-machines-csv/virtual-machines-export-csv.png)
107-
10831
## Next steps
10932

11033
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).
Loading
Loading
Loading

0 commit comments

Comments
 (0)
Please sign in to comment.