WinXP Guest on Linux Host Blowz

#/etc/vmware/config
prefvmx.useRecommendedLockedMemSize = "TRUE"
prefvmx.minVmMemPct = "100"

#guest ".vmx" file:
sched.mem.pshare.enable = "FALSE"
mainMem.useNamedFile = "FALSE"
MemTrimRate = "0"
MemAllowAutoScaleDown = "FALSE"

Then turn of the page file. Size memory requirements appropriately (1GB for most winblowz tasks…)

Time Sync between host and guest

vmware-guestd --cmd "vmx.set_option synctime 0 1"

Installing Workstation 7 on Win7 64bit

Do this when the installation fails with “MSI Fails” or some other stupid thing that VMWare should well have freakin tested.

run setup like this

VMware-*-203739.exe /z "action"="install"

VMWare Server 2 Stuff

The below all run from vmware-vimsh

# Find out what VM's are available, and VM.Id
[/]$ vmsvc/getallvms

# Power commands
[/]$ vmsvc/power.on VM.Id
[/]$ vmsvc/power.off VM.Id
[/]$ vmsvc/power.reset VM.Id
[/]$ vmsvc/power.reboot VM.Id
[/]$ vmsvc/power.suspend VM.Id
[/]$ vmsvc/power.shutdown VM.Id
[/]$ vmsvc/power.hibernate VM.Id

# Snapshot commands
[/]$ vmsvc/snapshot.create VM.Id [snapshotName] [snapshotDescription] [includeMemory] [quiesced]
[/$] vmsvc/snapshot.revert VM.Id suppressPowerOff [snapshotLevel] [snapshotIndex]
[/$] vmsvc/snapshot.remove VM.Id [removeChildren] [snapshotLevel] [snapshotIndex]
[/$] vmsvc/snapshot.removeall  VM.Id
[/$] vmsvc/snapshot.get  VM.Id

#Add a vm from the shell
[/]$ solo/registervm VMXFile

# Remove a vm
vmsvc/unregister  VM.Id
Print/export
QR Code
QR Code sysadmin:vmware:misc_shit (generated for current page)