SHIFT

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

User Tools

Site Tools


Sidebar

Sponsor:

Would you like to sponsor this site?
Or buy me a beer?:


Recently Changed Pages:

View All Pages
View All Q Pages


View All Tags


Sign up for Q to post comments.





WIKI Disclaimer: As with most other things on the Internet, the content on this wiki is not supported. It was contributed by me and is published “as is”. It has worked for me, and might work for you.
Also note that any view or statement expressed anywhere on this site are strictly mine and not the opinions or views of my employer.


Terms And Conditions for Q users


Pages with comments

PageDateDiscussionTags
2019/06/22 10:36 1 Comment
2019/03/15 16:02 1 Comment
2019/03/15 16:02 1 Comment
2019/03/15 16:02 3 Comments
2017/04/20 15:28 1 Comment
2017/04/20 15:23 1 Comment
2017/04/19 14:44 1 Comment
2017/04/17 20:10 1 Comment
2017/04/17 20:07 1 Comment
2017/04/17 19:58 1 Comment
2017/04/17 19:52 1 Comment

View All Comments

redhatvmware

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 aligned. Use fdisk with -cu flags to make sure this is also the case for new partitions.

Creation

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
  • 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.vmware.com/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
  • Since kernel 2.6.32-358.6.2.el6.x86_64 cloning and snapshots may hang:
[vmbackup]
nableSyncDriver = false
You could leave a comment if you were logged in.
redhatvmware.txt · Last modified: 2014/04/30 14:30 by sjoerd