Archive for the ‘Virtualization’ Category

Expand LVM guest filesystem VMware

Wednesday, December 30th, 2009

First, increase the size of the virtual disk (VMDK) by 10GB for example vmware-vdiskmanager -x 10GB /path/machineName.vmdk (vCenter users can increase disk sizes easier via the Settings dialog of the VM) # fdisk /dev/sda n Command action e extended p primary ...

VMware guest clock runs ahead or behind

Wednesday, October 1st, 2008

In our case occured on VMware server running on a dual Xeon Windows 2003 server (x64) with an i386 CentOS 5 guest. Changes on guest; In /etc/grub.conf add "clock=pit nosmp noapic nolapic" to kernel line; kernel /vmlinuz.... clock=pit nosmp noapic nolapic Changes on host; Edit VMX file of guest and add (or ...

Extend VMware disk size

Monday, June 30th, 2008

Use following command to extend the virtual disk of your vmware guest. vmware-vdiskmanager options path_to_vm Example: vmware-vdiskmanager -x 80Gb "/var/lib/vmware/Virtual Machines/Connexeon/testserver.vmdk" Using log file /tmp/vmware-root/vdiskmanager.log The old geometry C/H/S of the disk is: 5221/255/63 The ...

Install VMWare on Linux 64 bit full procedure

Tuesday, January 22nd, 2008

These are instructions for RHEL based x64 Linux (CentOS 5 x64 in my case). Make sure you update to the latest available kernel; yum update kernel Make sure you have installed all requirements (is really needed if you have a minimal install); yum update glibc yum install gcc xinetd kernel-devel libXtst-devel libXrender-devel rpm -qa kernel Remove ...

Install VMWare on Linux 64 bit problem dependencies

Tuesday, December 11th, 2007

Installing VMWare on a 64 bit Linux seems to be a little bit tricky (CentOS 5 64 bit in my case). You get some error messages about missing dependencies, but it seems like you can ignore it, until it asks for your serial. error while loading shared libraries: libXtst.so.6: cannot open shared ...

Map second NIC in VMWare

Saturday, June 16th, 2007

To map a second NIC in VMWare on a Linux host OS change to following in /etc/vmware/locations; answer VNET_2_INTERFACE eth1 Change eth1 to whatever is the fysical interface of your second NIC. Add a second NIC on your guest OS using the VMWare Server Console and map it as Custom to /dev/vmnet2.

Manually start VMWare guest OS on Linux host

Saturday, June 16th, 2007

vmrun start "/var/virtual_machines/ZETA-BETA/Other Linux 2.6.x kernel.vmx" http://www.vmware.com/support/ws55/doc/ws_learning_cli_vmrun.html