--- Sjoerd Hooft's InFormation Technology ---

User Tools

Site Tools


This shows you the differences between two versions of the page.

Link to this comparison view

redhatvmware [2014/04/30 14:30] (current)
sjoerd created
Line 1: Line 1:
 += Red Hat Tips on VMware Guest =
 +This page will provide a few tips on installing, configuring and maintaining Red Hat Enterprise Linux guest on vSphere. These settings are for now especially for Red Hat Enterprise Linux 6.5 on vSphere 5.1 GA, but I foresee an upgrade to vSphere 5.5 in the near future. The storage platform is Fiber Channel. ​
 +There are a few steps that are part of installing vSphere guests. You create a Virtual Machine and configure the required hardware. Then the OS installation takes place, after which the Red Hat configuration can take place. Also, there are a few considerations that can be taken account that can also apply to Red Hat installations on physical hardware. ​
 += Considerations =
 +* Only 64 bits RHEL supports 'Hot Add Memory'​ and  'Hot Add vCPU' operations. ​
 +* Be aware that RHEL 6 will use the MAC address and UUID of a NIC in de config files. If a MAC address changes of an adapter the interface cannot be brought back online. MORE INFORMATION AND SOLUTION NEEDED!!!
 +* Make sure the disk alignment is [[redhatalignment|aligned]]. Use fdisk with {{{-cu}}} flags to make sure this is also the case for [[redhatsimplepartitioning|new partitions]].
 += Creation =
 +* Create the VM with a LSI Logic SCSI adapter. Do NOT use a buslogic SCSI since the drive is not added. IN case you expect high IO loads, a VMware PVSCSI adapter is also supported. ​
 +** PVSCSI Information:​ http://​​kb/​1010398 ​
 +** BUSlogic information:​ http://​​GOSIG/​RHEL_6.html ​
 += RHEL Installation =
 +* Use a minimal installation to prevent unnecessary packages to be available. This will keep a small footprint and will prevent unnecessary patching. ​
 += RHEL Configuration =
 +* VMware prefers to disable or set SELinux to permissive mode while working with VMware Tools. If the SELinux policy package is 3.7.19-55 or higher this should no longer be a problem. When in doubt, keep to Permissive Mode
 +** SELinux on VMware Guests: http://​​kb/​1033693 ​
 +** SELinux on Red Hat: [[redhatselinux]]
 +* Use a NTP server
 +** Add {{{tinker panic 0}}} to the top of the ntp configuration file {{{/​etc/​ntp.conf }}} to prevent the NTP daemon to stop due to big time lapses caused by suspending VMs
 +**If a NTP servers is used, do not use time synchronization between ESXi and the the guest
 +*** See http://​​kb/​1006427 for more information
 +*** tools.syncTime = "​FALSE"​ in the configuration file ( .vmx file)
 +*** Deselect Time synchronization between the virtual machine and the host operating system in the VMware Tools toolbox GUI of the guest operating system
 +* Use the  '​noop'​ I/O scheduler ('​elevator=noop'​ kernel parameter) since vSphere also does IO optimalization/​queueing,​ so there'​s no need to also do this on the guest level
 +* Use the relatime option (preferred over the noatime) option
 +** "​relative atime only updates the atime if the previous atime is older than the mtime or ctime. Like noatime, but useful for applications like mutt that need to know when a file has been read since it was last modified."​
 +** http://​​questions/​47466/​drawbacks-of-mounting-a-filesystem-with-noatime/​47487
 +* Since kernel 2.6.32-358.6.2.el6.x86_64 cloning and snapshots may hang:
 +** https://​​site/​solutions/​372013 ​
 +** Install VMware tools without installing VMware FileSystem Sync Driver (vmsync) function.
 +**  Edit the /​etc/​vmware-tools/​tools.conf file and add the following lines in this file:
 +nableSyncDriver = false
 +{{tag>​notes linux redhat vmware}}
redhatvmware.txt ยท Last modified: 2014/04/30 14:30 by sjoerd