Archive

Archive for the ‘VMware’ Category

Change VMware fusion network settings

April 3rd, 2009 No comments

After a long day restoring my mac from backups I finally started up my virtual machines only to find out my network settings are configured wrong , I use static ip’s on my vm’s so the easy way was to just get my old settings back , here’s how:

Stop all your vm’s , exit fusion and follow the process

1. remove current settings :

cd /Library/Application\ Support/VMware\ Fusion/
sudo rm locations

2. rebuild config ( script does not need your answers ) :

sudo ./vmware-config-net.pl
sudo ./boot.sh –restart

3. change your ip in the locations file :

sudo vi locations
change this line ( for hostonly address )
answer VNET_8_HOSTONLY_HOSTADDR 192.168.119.1

4. apply settings

sudo ./vmware-config-net.pl
sudo ./boot.sh –restart

5. verify

ifconfig -a

Kerenl tunables for VMware Host

January 6th, 2009 No comments

add to sysctl.conf

vm.swappiness = 0
vm.overcommit_memory = 1
vm.dirty_background_ratio = 5
vm.dirty_ratio = 10
vm.dirty_expire_centisecs = 1000
dev.rtc.max-user-freq = 1024