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/machine-learning/data-science-virtual-machine/ubuntu-upgrade.md
+17-19Lines changed: 17 additions & 19 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -35,12 +35,10 @@ You have two migration options:
35
35
36
36
In the Azure portal, use the search bar to find the **Snapshots** functionality.
37
37
38
-
:::image type="content" source="media/ubuntu_upgrade/azure-portal-search-bar.png" alt-text="Screenshot showing Azure portal and search bar, with **Snapshots** highlighted":::
38
+
:::image type="content" source="media/ubuntu_upgrade/azure-portal-search-bar.png" alt-text="Screenshot showing Azure portal and search bar, with **Snapshots** highlighted.":::
39
39
40
40
1. Select **Add**, to take you to the **Create snapshot** page. Select the subscription and resource group of your virtual machine. For **Region**, select the same region in which the target storage exists. Select the DSVM storage disk and other backup options. **Standard HDD** is an appropriate storage type for this backup scenario.
1. After you fill in the details and the validations pass, select **Review + create** to validate and create the snapshot. When the snapshot successfully completes, a message appears to tell you that the deployment is complete.
45
43
46
44
## In-place migration
@@ -66,7 +64,7 @@ After your VM upgrades and reboots, try to access it again via SSH. The IP addre
66
64
67
65
If you receive the error **REMOTE HOST IDENTIFICATION HAS CHANGED**, you must regenerate your SSH credentials.
@@ -86,34 +84,34 @@ You can upgrade the operating system parts of the filesystem, and leave the user
86
84
87
85
### Migration at a glance
88
86
89
-
1. Create a snapshot of your existing VM as described [previously](#snapshot-your-vm-in-case-you-need-to-roll-back)
90
-
1. Create a disk from that snapshot
91
-
1. Create a new Ubuntu DSVM
92
-
1. Recreate user account(s) on the new virtual machine
93
-
1. Mount the disk of the snapshotted VM as a data disk on your new DSVM
94
-
1. Manually copy the relevant data
87
+
1. Create a snapshot of your existing VM as described [previously](#snapshot-your-vm-in-case-you-need-to-roll-back).
88
+
1. Create a disk from that snapshot.
89
+
1. Create a new Ubuntu DSVM.
90
+
1. Recreate user account(s) on the new virtual machine.
91
+
1. Mount the disk of the snapshotted VM as a data disk on your new DSVM.
92
+
1. Manually copy the relevant data.
95
93
96
94
### Create a disk from your VM snapshot
97
95
98
96
Create a VM snapshot as described previously, if you haven't already done so.
99
97
100
98
1. In the Azure portal, search for **Disks** and select **Add**. This opens the **Disk** page
101
99
102
-
:::image type="content" source="media/ubuntu_upgrade/portal-disks-search.png" alt-text="Screenshot of Azure portal showing search for Disks page and the Add button" lightbox="media/ubuntu_upgrade/portal-disks-search.png":::
100
+
:::image type="content" source="media/ubuntu_upgrade/portal-disks-search.png" alt-text="Screenshot of Azure portal showing search for Disks page and the Add button." lightbox="media/ubuntu_upgrade/portal-disks-search.png":::
103
101
104
102
2. Set the **Subscription**, **Resource group**, and **Region** to the values of your VM snapshot. Choose a **Name** for the disk to be created
105
103
106
104
3. Select **Source type** as **Snapshot** and select the VM snapshot as the **Source snapshot**. Review and create the disk
107
105
108
-
:::image type="content" source="media/ubuntu_upgrade/disk-create-options.png" alt-text="Screenshot of disk creation dialog showing the available options" lightbox="media/ubuntu_upgrade/disk-create-options.png":::
106
+
:::image type="content" source="media/ubuntu_upgrade/disk-create-options.png" alt-text="Screenshot of disk creation dialog showing the available options." lightbox="media/ubuntu_upgrade/disk-create-options.png":::
109
107
110
108
### Create a new Ubuntu Data Science Virtual Machine
111
109
112
110
Create a new Ubuntu Data Science Virtual Machine with the [Azure portal](https://portal.azure.com) or an [ARM template](./dsvm-tutorial-resource-manager.md).
113
111
114
-
### Recreate user account(s) on your new Data Science Virtual Machine
112
+
### Re-create user account(s) on your new Data Science Virtual Machine
115
113
116
-
Since you'll only copy data from your old computer, you must recreate the user accounts and software environments that you want to use on the new machine.
114
+
Since you'll only copy data from your old computer, you must re-create the user accounts and software environments that you want to use on the new machine.
117
115
118
116
Linux has enough flexibility to allow you to customize directories and paths on your new installation, to mirror your old machine. In general, however, it's easier to use the preferred layout of modern Ubuntu, and modify your user environment and scripts to adapt.
119
117
@@ -124,7 +122,7 @@ For more information, visit [Quickstart: Set up the Data Science Virtual Machine
124
122
1. In the Azure portal, verify that your Data Science Virtual Machine is running
125
123
1. In the Azure portal, go to the page of your DSVM. Choose the **Disks** blade on the left rail. Choose **Attach existing disks**
126
124
1. In the **Disk name** dropdown, select the disk that you created from your old VM's snapshot
127
-
:::image type="content" source="media/ubuntu_upgrade/attach-data-disk.png" alt-text="Screenshot of DSVM options page showing disk attachment options" lightbox="media/ubuntu_upgrade/attach-data-disk.png":::
125
+
:::image type="content" source="media/ubuntu_upgrade/attach-data-disk.png" alt-text="Screenshot of DSVM options page showing disk attachment options." lightbox="media/ubuntu_upgrade/attach-data-disk.png":::
128
126
1. Select **Save** to update your virtual machine.
129
127
130
128
> [!Important]
@@ -141,7 +139,7 @@ For more information, visit [Quickstart: Set up the Data Science Virtual Machine
141
139
142
140
The results should resemble the next image. In the image, disk `sda1` is mounted at the root and `sdb2` is the `/mnt` scratch disk. The data disk created from the snapshot of your old VM is identified as `sdc1`, but isn't yet available, as evidenced by the lack of a mount location. Your results might have different identifiers, but you should see a similar pattern.
143
141
144
-
:::image type="content" source="media/ubuntu_upgrade/lsblk-results.png" alt-text="Screenshot of lsblk output, showing unmounted data drive" lightbox="media/ubuntu_upgrade/lsblk-results.png":::
142
+
:::image type="content" source="media/ubuntu_upgrade/lsblk-results.png" alt-text="Screenshot of lsblk output, showing unmounted data drive." lightbox="media/ubuntu_upgrade/lsblk-results.png":::
145
143
146
144
1. To access the data drive, create a location for it and mount it. Replace `/dev/sdc1` with the appropriate value that `lsblk` returns:
147
145
@@ -163,11 +161,11 @@ cat /etc/os-release
163
161
164
162
The terminal should show that you're running Ubuntu 20.04.
165
163
166
-
:::image type="content" source="media/ubuntu_upgrade/ssh-os-release.png" alt-text="Screenshot of an Ubuntu terminal showing OS version data" lightbox="media/ubuntu_upgrade/ssh-os-release.png":::
164
+
:::image type="content" source="media/ubuntu_upgrade/ssh-os-release.png" alt-text="Screenshot of an Ubuntu terminal showing OS version data." lightbox="media/ubuntu_upgrade/ssh-os-release.png":::
167
165
168
166
The Azure portal also shows the version change.
169
167
170
-
:::image type="content" source="media/ubuntu_upgrade/portal-showing-os-version.png" alt-text="Screenshot of the Azure portal showing DSVM properties, including OS version" lightbox="media/ubuntu_upgrade/portal-showing-os-version.png":::
168
+
:::image type="content" source="media/ubuntu_upgrade/portal-showing-os-version.png" alt-text="Screenshot of the Azure portal showing DSVM properties, including OS version." lightbox="media/ubuntu_upgrade/portal-showing-os-version.png":::
0 commit comments