- Please note that memory allocation cannot be greater than 3072 MB for 32 bit images.
- Please remember to request for a static IP.
- For static IP, hostname and nslookup to work, please edit the /etc/resolv.conf, /etc/sysconfig/network-scripts/ifcfg-ethx, /etc/hosts and /etc/sysconfig/network properly and request to add the correct entries in the local DNS
- For expanding the filesystem use
fdisk /dev/sda then
+ ‘n’ for new partition
+ ‘p’ for primary partition
+ ’3′ for the 3rd partition assuming there are already 2 partitions existing (use all default values for first and last cylinder)
+ ‘t’ for partition type
+ ’3′ on the newly created 3rd partition assuming there are already 2 partitions existing
+ ’8e’ for Hex code for changing the system type of partition 3 to 8e (Linux LVM) assuming ur using Linux (CentOS, Fedora, Ubuntu etc..)
+ ‘w’ for writing the new partition and syncing disks.
reboot
pvcreate /dev/sda3 for creating the new physical volume using the new partition info.
vgextend VolGroup00 /dev/sda3 for adding the physical volume to the logical volume
vgdisplay for obtaining the new Free PE Size
lvextend -L +< for extending the Logical Volume to use up the free PE Size
resize2fs /dev/VolGroup00/LogVol00 for extending the filesystem.
df -h to view the new filesystem
Making VMware Server 2.x work with centos
CentOS has a bug 000384 (external link) where CentOS 5.4 glibc causes crash of VMWare vmware-hostd process in VMWare 2.0.0 and 2.0.1
The workaround is to get glibc 2.5-34 for both i386 and x86-64(if 64 bit) along with glibc-common-2.5-34 from 5.3 Centos vault x86-64 (external link) or from the 32 bit 5.3 vault (if only 32 bit) and use
rpm -i glibc-2.5-34* --force --nodeps
If required remove VMware-server and install it again
rpm -e VMware-server
rpm -i VMware-server*
Exclude glibc from CentOS-5.4 in the yum.conf file if you are upgrading a 5.4 machine
Making 64 bit VMs work on 64bit OS
One needs to turn on VT or Virtualization (provided it is supported) in the BIOS of the 64bit host machine. Using a 64bit VM is advantageous besides other architectural considerations in the fact that onecan allocate more than 3072 GB of memory and the VM can take advantage of the Hosts’s multiple processors.
Snapshots and VMware
In the VMware server one cannot increase the capacity of a SCSI disk for an image with snapshots. One needs to manage the snapshots locally using VMworkstation
{ 0 comments }

