VMware Server 2008 R2 video freezes

After installing my test of Microsoft Windows Server 2008 R2 Entrerprise I noticed some lock ups causing me to power off the guest and restarting. Since this was to be a test, initially it wasn’t a problem, for long.

I tracked the problem to VMware’s knowledge base: http://kb.vmware.com/kb/1016770.

It directs you to install the drivers (update them) from:
C:\Program Files\Common Files\VMware\Drivers\wddm_video

You can also simply remove the VMware drivers and use the standard video drivers but this makes it very slow to navigate the screen.

VMWare, VLAN tagging and OpenWRT

I’m using VMWare for a Window Server 2008 R2 and Exchange 2010 test environment. I wanted to isolated the network it was running on to a VLAN.

There were a few things I needed to do:
Reference https://forum.openwrt.org/viewtopic.php?id=16934

OpenWRT configuration:

To setup the VLANs:

config switch eth0
option vlan0 '1 2 3 4 5*'
option vlan1 '0 5'
option vlan2 '1t 2t 3t 4t 5'

config interface lan2
# option type bridge
option ifname "eth0.2"
option proto static
option ipaddr x.x.x.x
option netmask

To configure internet access to the new VLAN and to allow one VLAN to talk to the other:

config_get LAN2 lan2 ifname
iptables -A FORWARD -i $LAN -o $LAN2 -j ACCEPT
iptables -A FORWARD -i $LAN2 -o $LAN -j ACCEPT
[ -z "$WAN" ] || iptables -A FORWARD -i $LAN2 -o $WAN -j ACCEPT

D-Link DGS-1224T:
Under \Configuration\802.1Q VLAN create a new VLAN and tag the applicable ports (in my case all of them)

VMWare ESXi 4.0:
Under the VMWare server node go to Configuration. Click on Networking and edit the Properties and add the required VM network defining the required VLAN.

Unable to install HP Officejet printer due to missing USB drivers

Can’t install HP USB/Network Printer from Virtual PC 2007 due to lack of a USB port. This should not be a limitation since the printer is network-accessible but the print driver setup program complains and won’t let you finish the install.

When the installer complains about lack of USB port, simply click on the “Cancel” button while holding down the Ctrl and Shift keys. This will “magically” bypass the USB port requirement and allow the installer to continue. Be sure to have the IP Address of your printer handy as you will need that in a subsequent step to connect to your printer.

This may not work on all HP Network-capable printers, but I can confirm that it works for the OfficeJet 6310 All-in-one.

I found this solution on the HP Website

How to clone a Virtual Machine on VMWare ESX 3i 3.5 Server

Enable SSH

  1. Logon to the console by pressing ALT+F1 and typing “unsupported” (Note: there is no prompt for this)
  2. Type vi /etc/inetd.conf and press Enter
  3. Scroll down until you find the line starting with “SSH” and press “x” to delete the “#” from the start of the line
  4. Press Escape twice then type “:wq!”
  5. Reboot the server by typing “Reboot” (Note: Ensure that all virtual machines have been shutdown!)

You can now connect via SSH to the VMWare server.

Cloaning a Virtual Machine

  1. Create a new Virtual Machine and name as required
  2. SSH in to the VMWare server
  3. Type cd "/vmfs/volumes/Data Disk", this will return the actual path to your data disk as a unique ID, e.g. “/vmfs/volumes/49959a05-ea152a4c-549c-000cf18dd31f”
  4. “cd” to the newly created virtual machine and remove the “vmdk” files by typing rm *.vmdk
  5. “cd” back to the virtual machine you wish to clone, e.g. cd /vmfs/volumes/49959a05-ea152a4c-549c-000cf18dd31f/SBS2003_R2
  6. Note the snapshot number, from top to bottom, from the snapshot manager list under VMWare Infrastructure Client.  Now bring up a list of all the vmdks in the current directory, ls -ail *-*.vmdk, you will see that the snapshots are labelled using incrementing numbers, note the correct number for the snapshot you wish to clone (Note: if you have deleted previous snapshots then there map be some numbers missing)
  7. The clone is performed by specificying the snapshot you wish to clone and the destination of the new virtual machine, e.g.
    vmkfstools -i SBS2003_R2-000003.vmdk ‘/vmfs/volumes/49959a05-ea152a4c-549c-000cf18dd31f/New VM/New VM.vmdk’

You can now load the new virtual machine via the VMWare Infrastructure Client.