11/21/2023 0 Comments Convert .vmd file![]() This will also ensure that all console messages are sent to the first serial port, which can assist Azure support with debugging issues. To do this modification, open /boot/grub/menu.lst in a text editor, and ensure that the default kernel includes the following parameters: console=ttyS0 earlyprintk=ttyS0 Modify the kernel boot line in your grub configuration to include additional kernel parameters for Azure. Enable the extras repository by running the following command: sudo subscription-manager repos -enable=rhel-6-server-extras-rpms The WALinuxAgent package, WALinuxAgent-, has been pushed to the Red Hat extras repository. Register your Red Hat subscription to enable the installation of packages from the RHEL repository by running the following command: sudo subscription-manager register -auto-attach -username=XXX -password=XXX SUBSYSTEM="net", DRIVERS="hv_pci", ACTION="add", ENV="1"Įnsure that the network service will start at boot time by running the following command: sudo chkconfig network on # so NetworkManager should just ignore any SRIOV interfaces. # This interface is transparentlybonded to the synthetic interface, # Accelerated Networking on Azure exposes a new SRIOV interface to the VM. This will prevents NetworkManager from assigning the same ip to it as the primary interface. ** When using Accelerated Networking (AN) the synthetic interface that is created must me configured to be unmanaged using a udev rule. These rules cause problems when you clone a virtual machine in Microsoft Azure or Hyper-V: sudo ln -s /dev/null /etc/udev/rules.d/les Move (or remove) the udev rules to avoid generating static rules for the Ethernet interface. ![]() Uninstall this package by running the following command: sudo rpm -e -nodeps NetworkManagerĬreate or edit the /etc/sysconfig/network file, and add the following text: NETWORKING=yesĬreate or edit the /etc/sysconfig/network-scripts/ifcfg-eth0 file, and add the following text: DEVICE=eth0 In RHEL 6, NetworkManager can interfere with the Azure Linux agent. In Hyper-V Manager, select the virtual machine.Ĭlick Connect to open a console window for the virtual machine. If customers must stay on Red Hat Enterprise Linux 6, it's recommended to add the Red Hat Enterprise Linux Extended Life Cycle Support (ELS) Add-On. As Red Hat Enterprise Linux 6 transitions out of the Full/Maintenance Phases, it is strongly recommended upgrading to Red Hat Enterprise Linux 7 or 8 or 9. The maintenance phase is followed by the Extended Life Phase. Starting on 30 November 2020, Red Hat Enterprise Linux 6 will reach end of maintenance phase. See also Linux Installation Notes for more information. More details can be found in the steps below. When converting from a raw disk to VHD you must ensure that the raw disk size is a multiple of 1MB before conversion. More information about this can be found in the following steps.Īll VHDs on Azure must have a virtual size aligned to 1MB. The Azure Linux Agent must be able to mount the UDF file system to read its configuration and provision the virtual machine, without this, provisioning will fail!ĭon't configure a swap partition on the operating system disk. At first boot on Azure, the UDF-formatted media that is attached to the guest passes the provisioning configuration to the Linux virtual machine. Kernel support for mounting Universal Disk Format (UDF) file systems is required. 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. However, in general it's recommended to use standard partitions on the OS disk rather than LVM. Logical Volume Manager (LVM) is supported and may be used on the OS disk or data disks in Azure virtual machines. The vfat kernel module must be enabled in the kernel. The maximum size that's allowed for the VHD is 1,023 GB. ![]() If you use VirtualBox, select Fixed size as opposed to the default dynamically allocated option when you create the disk.Īzure supports Gen1 (BIOS boot) & Gen2 (UEFI boot) Virtual machines. You can use Hyper-V Manager to convert the disk to VHD format, or you can use the convert-vhd cmdlet. For more details about how to use Hyper-V Manager to install an operating system image, see Install the Hyper-V Role and Configure a Virtual Machine.Īzure doesn't support the VHDX format. This section assumes that you've already obtained an ISO file from the Red Hat website and installed the RHEL image to a virtual hard disk (VHD). ![]() This section shows you how to prepare a RHEL 6, RHEL 7, or RHEL 8 virtual machine using Hyper-V Manager. Link to Redhat's Product Lifecycle Hyper-V Manager Uploaded images that are, at or beyond EOL will be supported on a reasonable business effort basis. Be aware of versions that are End Of Life (EOL) and no longer supported by Redhat. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |