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/virtual-machines/linux/oracle-create-upload-vhd.md
+10-10Lines changed: 10 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -24,16 +24,16 @@ This article assumes that you have already installed an Oracle Linux operating s
24
24
* Oracle's UEK2 is not supported on Hyper-V and Azure as it does not include the required drivers.
25
25
* The VHDX format is not supported in Azure, only **fixed VHD**. You can convert the disk to VHD format using Hyper-V Manager or the convert-vhd cmdlet.
26
26
***Kernel support for mounting UDF file systems is required.** At first boot on Azure, the provisioning configuration is passed to the Linux VM via UDF-formatted media that is attached to the guest. The Azure Linux agent must be able to mount the UDF file system to read its configuration and provision the VM.
27
-
* When installing the Linux system, it is recommended that you use standard partitions rather than LVM (often the default for many installations). This standard partitions will avoid LVM name conflicts with cloned VMs, particularly if an OS disk ever needs to be attached to another VM for troubleshooting. [LVM](/previous-versions/azure/virtual-machines/linux/configure-lvm) or [RAID](/previous-versions/azure/virtual-machines/linux/configure-raid) may be used on data disks if preferred.
27
+
* When installing the Linux system, it is recommended that you use standard partitions rather than LVM (often the default for many installations). These standard partitions will avoid LVM name conflicts with cloned VMs, particularly if an OS disk ever needs to be attached to another VM for troubleshooting. [LVM](/previous-versions/azure/virtual-machines/linux/configure-lvm) or [RAID](/previous-versions/azure/virtual-machines/linux/configure-raid) may be used on data disks if preferred.
28
28
* Linux kernel versions earlier than 2.6.37 don't support NUMA on Hyper-V with larger VM sizes. This issue primarily impacts older distributions using the upstream Red Hat 2.6.32 kernel, and was fixed in Oracle Linux 6.6 and later
29
-
* Do not configure a swap partition on the OS disk. More information will be found below.
30
-
* All VHDs on Azure must have a virtual size aligned to 1MB. When converting from a raw disk to VHD, you must ensure that the raw disk size is a multiple of 1MB before conversion. See [Linux Installation Notes](create-upload-generic.md#general-linux-installation-notes) for more information.
29
+
* Do not configure a swap partition on the OS disk. More information is found below.
30
+
* All VHDs on Azure must have a virtual size aligned to 1 MB. When converting from a raw disk to VHD, you must ensure that the raw disk size is a multiple of 1MB before conversion. See [Linux Installation Notes](create-upload-generic.md#general-linux-installation-notes) for more information.
31
31
* Make sure that the `Addons` repository is enabled. Edit the file `/etc/yum.repos.d/public-yum-ol6.repo`(Oracle Linux 6) or `/etc/yum.repos.d/public-yum-ol7.repo`(Oracle Linux 7), and change the line `enabled=0` to `enabled=1` under **[ol6_addons]** or **[ol7_addons]** in this file.
32
32
33
33
## Oracle Linux 6.X
34
34
35
35
> [!IMPORTANT]
36
-
> Keep in consideration Oracle Linux 6.x is already EOL. Oracle Linux version 6.10 has available [ELS support](https://www.oracle.com/a/ocom/docs/linux/oracle-linux-extended-support-ds.pdf), which [will end on 07/2024](https://www.oracle.com/a/ocom/docs/elsp-lifetime-069338.pdf).
36
+
> Please note that Oracle Linux has reached its end of life and is [no longer supported by Oracle](https://www.oracle.com/a/ocom/docs/elsp-lifetime-069338.pdf). This means that no new updates or patches will be provided, and technical support may not be available. It is recommended that users migrate to a newer and supported version of Linux to ensure security and stability. We cannot be held responsible for any issues that may arise from continuing to use Oracle Linux after its end of life.
37
37
38
38
You must complete specific configuration steps in the operating system for the virtual machine to run in Azure.
39
39
@@ -86,23 +86,23 @@ You must complete specific configuration steps in the operating system for the v
86
86
sudo yum install python-pyasn1
87
87
```
88
88
89
-
9. Modify the kernel boot line in your grub configuration to include additional kernel parameters forAzure. To do this open "/boot/grub/menu.lst"in a text editor and ensure that the kernel includes the following parameters:
89
+
9. Modify the kernel boot line in your grub configuration to include more kernel parameters forAzure. To do this open "/boot/grub/menu.lst"in a text editor and ensure that the kernel includes the following parameters:
90
90
91
91
```config-grub
92
92
console=ttyS0 earlyprintk=ttyS0
93
93
```
94
94
95
-
This ensures all console messages are sent to the first serial port, which can assist Azure support with debugging issues.
95
+
This settings ensures all console messages are sent to the first serial port, which can assist Azure support with debugging issues.
96
96
97
97
In addition to the above, it is recommended to *remove* the following parameters:
98
98
99
99
```config-grub
100
100
rhgb quiet crashkernel=auto
101
101
```
102
102
103
-
Graphical and quiet boot are not useful in a cloud environment where we want all the logs to be sent to the serial port.
103
+
Graphical and quiet boot is not useful in a cloud environment where we want all the logs to be sent to the serial port.
104
104
105
-
The `crashkernel` option may be left configured if desired, but note that this parameter will reduce the amount of available memory in the VM by 128MB or more, which may be problematic on the smaller VM sizes.
105
+
The `crashkernel` option may be left configured if desired, but note that this parameter will reduce the amount of available memory in the VM by 128 MB or more, which may be problematic on the smaller VM sizes.
106
106
107
107
10. Ensure that the SSH server is installed and configured to start at boot time. This is usually the default.
108
108
11. Install the Azure Linux Agent by running the following command. The latest version is 2.0.15.
@@ -208,7 +208,7 @@ Preparing an Oracle Linux 7 virtual machine for Azure is similar to Oracle Linux
208
208
209
209
Graphical and quiet boot are not useful in a cloud environment where we want all the logs to be sent to the serial port.
210
210
211
-
The `crashkernel` option may be left configured if desired, but note that this parameter will reduce the amount of available memory in the VM by 128MB or more, which may be problematic on the smaller VM sizes.
211
+
The `crashkernel` option may be left configured if desired, but note that this parameter will reduce the amount of available memory in the VM by 128 MB or more, which may be problematic on the smaller VM sizes.
212
212
213
213
10. Once you are done editing "/etc/default/grub" per above, run the following command to rebuild the grub configuration:
214
214
@@ -276,7 +276,7 @@ Preparing an Oracle Linux 7 virtual machine for Azure is similar to Oracle Linux
276
276
277
277
15. Swap configuration. Do not create swap space on the operating system disk.
278
278
279
-
Previously, the Azure Linux Agent was used automatically configure swap space by using the local resource disk that is attached to the virtual machine after the virtual machine is provisioned on Azure. However this is now handled by cloud-init, you **must not** use the Linux Agent to format the resource disk create the swap file, modify the following parameters in`/etc/waagent.conf` appropriately:
279
+
Previously, the Azure Linux Agent was used automatically to configure swap space by using the local resource disk that is attached to the virtual machine after the virtual machine is provisioned on Azure. However this is now handled by cloud-init, you **must not** use the Linux Agent to format the resource disk create the swap file, modify the following parameters in`/etc/waagent.conf` appropriately:
280
280
281
281
```bash
282
282
sudo sed -i 's/ResourceDisk.Format=y/ResourceDisk.Format=n/g' /etc/waagent.conf
0 commit comments