Skip to content

Commit ce01d65

Browse files
authored
Merge pull request #48431 from szarkos/szark-20180807
Minor updates to Red Hat documentation
2 parents aa90b6f + d6616b0 commit ce01d65

File tree

1 file changed

+6
-11
lines changed

1 file changed

+6
-11
lines changed

articles/virtual-machines/linux/redhat-create-upload-vhd.md

Lines changed: 6 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ ms.workload: infrastructure-services
1414
ms.tgt_pltfrm: vm-linux
1515
ms.devlang: na
1616
ms.topic: article
17-
ms.date: 05/04/2018
17+
ms.date: 08/07/2018
1818
ms.author: szark
1919

2020
---
@@ -33,7 +33,6 @@ This section assumes that you have already obtained an ISO file from the Red Hat
3333
* The maximum size that's allowed for the VHD is 1,023 GB.
3434
* When you install the Linux operating system, we recommend that you use standard partitions rather than Logical Volume Manager (LVM), which is often the default for many installations. This practice will avoid LVM name conflicts with cloned virtual machines, particularly if you ever need to attach an operating system disk to another identical virtual machine for troubleshooting. [LVM](configure-lvm.md?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json) or [RAID](configure-raid.md?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json) may be used on data disks.
3535
* Kernel support for mounting Universal Disk Format (UDF) file systems is required. At first boot on Azure, the UDF-formatted media that is attached to the guest passes the provisioning configuration to the Linux virtual machine. The Azure Linux Agent must be able to mount the UDF file system to read its configuration and provision the virtual machine.
36-
* Versions of the Linux kernel that are earlier than 2.6.37 do not support non-uniform memory access (NUMA) on Hyper-V with larger virtual machine sizes. This issue primarily impacts older distributions that use the upstream Red Hat 2.6.32 kernel and was fixed in RHEL 6.6 (kernel-2.6.32-504). Systems that run custom kernels that are older than 2.6.37 or RHEL-based kernels that are older than 2.6.32-504 must set the `numa=off` boot parameter on the kernel command line in grub.conf. For more information, see Red Hat [KB 436883](https://access.redhat.com/solutions/436883).
3736
* Do not configure a swap partition on the operating system disk. The Linux Agent can be configured to create a swap file on the temporary resource disk. More information about this can be found in the following steps.
3837
* 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. More details can be found in the steps below. See also [Linux Installation Notes](create-upload-generic.md#general-linux-installation-notes) for more information.
3938

@@ -92,8 +91,6 @@ This section assumes that you have already obtained an ISO file from the Red Hat
9291

9392
Graphical and quiet boot are not useful in a cloud environment where we want all the logs to be sent to the serial port. You can leave the `crashkernel` option configured if desired. Note that this parameter reduces the amount of available memory in the virtual machine by 128 MB or more. This configuration might be problematic on smaller virtual machine sizes.
9493

95-
>[!Important]
96-
RHEL 6.5 and earlier must also set the `numa=off` kernel parameter. See Red Hat [KB 436883](https://access.redhat.com/solutions/436883).
9794

9895
1. Ensure that the secure shell (SSH) server is installed and configured to start at boot time, which is usually the default. Modify /etc/ssh/sshd_config to include the following line:
9996

@@ -280,14 +277,12 @@ This section assumes that you have already obtained an ISO file from the Red Hat
280277

281278
Graphical and quiet boot are not useful in a cloud environment where we want all the logs to be sent to the serial port. You can leave the `crashkernel` option configured if desired. Note that this parameter reduces the amount of available memory in the virtual machine by 128 MB or more, which might be problematic on smaller virtual machine sizes.
282279

283-
>[!Important]
284-
RHEL 6.5 and earlier must also set the `numa=off` kernel parameter. See Red Hat [KB 436883](https://access.redhat.com/solutions/436883).
285280

286281
1. Add Hyper-V modules to initramfs:
287282

288283
Edit `/etc/dracut.conf`, and add the following content:
289284

290-
add_drivers+="hv_vmbus hv_netvsc hv_storvsc"
285+
add_drivers+=" hv_vmbus hv_netvsc hv_storvsc "
291286

292287
Rebuild initramfs:
293288

@@ -432,7 +427,7 @@ This section assumes that you have already obtained an ISO file from the Red Hat
432427

433428
Edit `/etc/dracut.conf` and add content:
434429

435-
add_drivers+="hv_vmbus hv_netvsc hv_storvsc"
430+
add_drivers+=" hv_vmbus hv_netvsc hv_storvsc "
436431

437432
Rebuild initramfs:
438433

@@ -576,7 +571,7 @@ This section assumes that you have already installed a RHEL virtual machine in V
576571

577572
Edit `/etc/dracut.conf`, and add the following content:
578573

579-
add_drivers+="hv_vmbus hv_netvsc hv_storvsc"
574+
add_drivers+=" hv_vmbus hv_netvsc hv_storvsc "
580575

581576
Rebuild initramfs:
582577

@@ -686,7 +681,7 @@ This section assumes that you have already installed a RHEL virtual machine in V
686681

687682
Edit `/etc/dracut.conf`, add content:
688683

689-
add_drivers+="hv_vmbus hv_netvsc hv_storvsc"
684+
add_drivers+=" hv_vmbus hv_netvsc hv_storvsc "
690685

691686
Rebuild initramfs:
692687

@@ -910,7 +905,7 @@ To resolve this issue, add Hyper-V modules to initramfs and rebuild it:
910905

911906
Edit `/etc/dracut.conf`, and add the following content:
912907

913-
add_drivers+="hv_vmbus hv_netvsc hv_storvsc"
908+
add_drivers+=" hv_vmbus hv_netvsc hv_storvsc "
914909

915910
Rebuild initramfs:
916911

0 commit comments

Comments
 (0)