Install VMWare ESX Server

Install ESX Server on SATA Array

  1. Install on IDE disk (SATA with IDE emulation often fails)
  2. Add PCI device entry:
    
    $ echo "device,0x1000,0x0409,scsi,LSI Logic MegaRAID SATA,megaraid2.o" >
      /etc/vmware/vmware-devices.map.local
    
  3. Regenerate initrd
    
    $ esxcfg-book -p
    
  4. Reboot with IDE disk installed, enter service console mode and copy contents of IDE disk to SATA array (appears as SCSI)
    
    $ dd if=/dev/hda of=/dev/sda bs=1M count=32768
    
  5. Reconfigure GRUB boot loader to use SATA array /boot/grub/device.map, change
    (hd0)  /dev/hda

    to

    (hd0)  /dev/sda
  6. Power off system, unplug IDE disk, power on
  7. Resize extended partition to use entire LUN

Add new VMFS Volume to LUN containing ESX Service Console

  1. Add partition to contain VMFS volume
    
    $ fdisk /dev/sda
    
    • New partition (n, sda6)
    • Type is fb (not recognized by fdisk)
    • In expert mode (x), change starting block (b) to a number evenly divisible by 8
    • Save partition table (w)
  2. Create VMFS volume on new partition
    
    $ vmkfstools --createfs vmfs3 --setfsname vmstor00 vmhba0:0:0:6
    

Extend a VMDK virtual disk to 350GB

As root,

  1. Within ESX console, extend VMDK
    
    $ vmkfstools --extendvirtualdisk 350G /vmfs/volumes/vmstor01/vmAudio/vmAudio_1.vmdk
    
  2. Extend LVM2 volume within guest VM
    
    $ sudo pvresize /dev/sdb
    $ sudo lvextend --size 349.87G /dev/VolGroup01/LogVol00
    $ sudo /usr/sbin/ext2online -v /audio
    

0 Responses to “Install VMWare ESX Server”


  1. No Comments

Leave a Reply