Showing posts with label Hyperv. Show all posts
Showing posts with label Hyperv. Show all posts

Wednesday, February 29, 2012

Configuring a guest Windows 2008 R2 Cluster on virtual machines with virtual shared storage

This is a lab environment I created of a virtual windows cluster with iSCSI virtual shared disk.
The setup consists of 3 Windows 2008 R2 VMs
  1. Active Directory and Storage Server: DC 192.168.1.10
  2. Cluster First Node: Node1 192.168.1.11
  3. Cluster Second Node: Node2 192.168.1.12

Thursday, February 9, 2012

Manually merge Hyper-V Differencing Disks with Parent (Delete Snapshots)

If you have avhd differncing disks and you want to merge all data into a single vhd file but you do not see snapshots to delete in the Hyper-V console, follow these steps:

Monday, February 6, 2012

Shrink a VHD disk using VhdResizer

I have a Hyper-V virtual machine with a disk of size 127GB that I'm going to shrink to 70GB

Sunday, January 29, 2012

Configure a highly available virtual machine on a Hyper-V cluster

To make a virtual machine highly available on a hyper-v cluster:
  1. Create the machine on server as you normally do from Hyper-V Role in the Server Manager and store in the Cluster Shared Volume
  2. If the machine requires network access, make you sure the virtual network you attach it exists with the same name on all Hyper-V nodes
  3. From the Server Manager -> Features -> Failover Cluster Manager expand the cluster then from "Services and applications" click "Configure A Service or Application..." on  the Actions pane and follow the wizard as below

Finding and deleting non present devices in Windows Server

I moved a virtual machine to a another hyper-v server without exporting the machine, just moved the vhd used it in a new machine.
While trying to set the IP address I got this error:

The IP address you have entered for this network adapter is already assigned to another adapter (Microsoft Virtual Machine Bus Network Adapter) which is no longer present in the computer. If the same address is assigned to both adapters and they both become active, only one of them will use this address.
This may result in incorrect system configuration.

Monday, January 16, 2012

Permissions for exporting Hyper-V virtual machines to UNC paths

When you try to export a virtual machine to network share you might receive this error:

An error occured while attempting to export the virtual machine.

Faileld to copy file during export.

General access denied error (0x80070005)

Thursday, November 10, 2011

Delay boot for Hyper-V Guest Machine

I was trying to boot a Windows Server 2008 R2 Hyper-V machine into safe mode but it was booting too fast to catch my F8 keystroke.

From the machine settings -> Automatic Start Action you can specify boot delay as below

Monday, September 19, 2011

Increase disk space of a Hyper-V virtual machine

Your virtual machine is running out of space and you need to increase the available space in the same disk drive not add another one.

You can easily do that in a couple of steps: 1) expand the virtual hard disk itself. 2) grow the file system of your partition to utilize the new added space.