Notes on VMWare

by admin on June 8, 2010

    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 +<> /dev/VolGroup00/LogVol00 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 }

Growth of the sinister Indian Maoist

by admin on March 5, 2010

The single menace of the growth in ultra leftist ideology in the Indian sub-continent bears an eerie resemblance to the growth and fall of the erstwhile Khmer Rouge in Cambodia. India, one of the most heterogenous and free countries of the world may not be the ideal hotbed for establishing a single minded ultra radical leftist state, nevertheless the callousness and lack of governance resulting from the disparate ideals, politics, demography, ethinicity and education makes it a prime candidate for “survival of the fittest” albeit in the context of communities. “Higher”er the social “stress”, more prone is the community to radicalism and in my home country stressed societies are not a rarity. The peasantry ignored, mindless capitalism and a single minded insane race for money has perverted the social psyche of the walled urbanity that the cities have started denying the existence of the “real” India, my country of poor people, is now a country of the once promised. The Maoists are living in a strange paradox, opposing development on the one hand but drawing oxygen from the development dissatisfaction of the local people. They plan to overthrow the goverment by 2060 and god save us all from the aftermath. Reminds me of Ghosh‘s chilling depiction of the Khmer Rouge in perhaps one of the greatest political documentaries penned in this new century. I for once do not want to be a Dith Pran in my beloved country.

{ 0 comments }

twit wave

by adminOctober 24, 2009 Uncategorized

[wave id="googlewave.com!w+PW5iyhfsI"]

0 comments Read the full article →

Call of the drums

by adminSeptember 11, 2009 Uncategorized

Beautiful animation by Rajesh Chakraborty.. It is Puja time…

0 comments Read the full article →

feedly, tweetdeck and other friends

by adminSeptember 11, 2009 Uncategorized

I really like feedly, a firefox plugin which is a nice wrap on the staid google reader interface. Feedly borrows some nice ideas from stumbleupon and tries to build a recommendation engine for google reader fanatics. It also provides the karma of ones tweets, tracks (quite effectively) ‘clicks’ on one’s shared tweets from various clients. [...]

1 comment Read the full article →