Peter Kieser

Dreams are today's answers to tomorrow's questions.

VMware Server 2

without comments

I run a number of "production" quality VMware Server installations for development environments, I will explain my optimal configuration and how I go about setting it up.

Hardware

Motherboard ASUS M3A78 Pro
Processor AMD Phenom X4 9950
Memory modules 4x 2GB Kingston DDR2-800
SATA drives (for RAID) 4x 500GB WDC "Black" 7200RPM (LVM, /dev/sd[a-d])
USB drive (for /boot) 2GB Kingston DataTraveller USB key (/boot, /dev/sde)

Linux distribution

Ubuntu Linux 8.10 (Intrepid) using the AMD64 (64-bit) installation, Ubuntu provides a moderately up to date environment for our installation.

Software RAID (mdraid) configuraiton

mdadm –create /dev/md0 –level=raid10 –raid-devices=4 –chunk=256 /dev/sda /dev/sdb /dev/sdc /dev/sdd

LVM Configuration/File System

LV Name
Mount point File system Size Command
vg0/root / XFS 6GB mkfs.xfs /dev/mapper/vg0-root
vg0/swap - Swap 8GB mkswap /dev/mapper/vg0-swap
vg0/data /data XFS - mkfs.xfs -d su=256k,sw=2 -l su=256k -f /dev/mapper/vg0-data
/dev/sde /boot ext2 - mkfs.ext2 /dev/sde

/etc/sysctl.conf

vm.swappiness = 0
vm.dirty_background_ratio = 5
vm.dirty_ratio = 100

/etc/vmware/config

MemTrimRate = "0"
sched.mem.pshare.enable = "FALSE"
MemAllowAutoScaleDown = "FALSE"
mainMem.useNamedFile = "FALSE"

Share and Enjoy:
  • Print
  • Digg
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • Slashdot
  • Twitter

Written by Peter

February 27th, 2009 at 5:53 pm

Posted in Uncategorized