Install ESX Server on SATA Array
- Install on IDE disk (SATA with IDE emulation often fails)
- Add PCI device entry:
$ echo "device,0x1000,0x0409,scsi,LSI Logic MegaRAID SATA,megaraid2.o" > /etc/vmware/vmware-devices.map.local - Regenerate initrd
$ esxcfg-book -p - 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 - Reconfigure GRUB boot loader to use SATA array
/boot/grub/device.map, change(hd0) /dev/hdato
(hd0) /dev/sda - Power off system, unplug IDE disk, power on
- Resize extended partition to use entire LUN
Add new VMFS Volume to LUN containing ESX Service Console
- 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)
- Create VMFS volume on new partition
$ vmkfstools --createfs vmfs3 --setfsname vmstor00 vmhba0:0:0:6
Extend a VMDK virtual disk to 350GB
As root,
- Within ESX console, extend VMDK
$ vmkfstools --extendvirtualdisk 350G /vmfs/volumes/vmstor01/vmAudio/vmAudio_1.vmdk - 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”