Archive

Posts Tagged ‘hyper-v’

Backup Hyper-V with Windows Server Backup 2012


Backup VM
Backuptarget = drive letter to backup destination (not folder)
VM Host name = identical with VM name in hyperv console

Commands:
wbadmin start backup -backuptarget:[drive letter] -hyperv:[VM name] -quiet

RESTORE VM to a new server
Backuptarget = UNC path to data location on old server
Recoverytarget = path on new server

Commands:
C:\>wbadmin get versions -backuptarget:\\[ip]\[share]
C:\>wbadmin get items -backuptarget:\\[ip]\[share] -version:[versionID]
C:\>wbadmin start recovery -itemtype:hyperv -items:[VM identifier] -backuptarget:\\[ip]\[share] -recoverytarget:[path] -alternatelocation -version:[versionID]

server 2012 hyper-v vSwitch performance is terrible with Broadcom network adapters


On servers running Windows Server 2012 with Broadcom Network adapters file access performance (read and write) within and between VM’s on Hyper-V are reported to be terrible by some administrators.

I’ve had this problem myself with my Dell servers runnin Broadcom network adapters and after a few hours I found a solution that actualy solves this problem.

disable ALL instances of TCP Offloading, and Recieve Side Scaling on the HOST’s LAN NIC and disable the Virtual Machine Queues property . These options are found here:
Device Manager tool, expand the “Network adapters” section, right-click on the adapter that supports the VMQ feature, and select “Properties.” In the properties window, select the Virtual Machine Queues property, set the value to Disabled”

More info can be found here:
http://fundamentallygeek.blogspot.com.br/2012/11/slow-network-access-within-virtual.html
here:
http://social.technet.microsoft.com/Forums/en-US/winserverhyperv/thread/ff9cfb50-649d-4e87-b87e-bddfb93e9883/
and here:
http://social.technet.microsoft.com/Forums/en-US/winserverhyperv/thread/38cfd7d5-2311-4357-902f-66f85887a12e/

VHD tool


VHD tool – A grate tool for creating, convert, extend and repair VHD files.

It can be downloaded from: http://archive.msdn.microsoft.com/vhdtool

Create: Creates a new fixed format VHD of size <Size>.
WARNING – this function is admin only and bypasses
file system security. The resulting VHD file will
contain data which currently exists on the physical disk.

Convert: Converts an existing RAW disk image file to a fixed-format VHD.
The existing file length, rounded up, will contain block data
A VHD footer is appended to the current end of file.

Extend: Extends an existing fixed format VHD to a larger size <Size>.
WARNING – this function is admin only and bypasses
file system security. The resulting VHD file will
contain data which currently exists on the physical disk.

Repair: Repairs a broken Hyper-V snapshot chain where an administrator
has expanded the size of the root VHD. The base VHD will be
returned to its original size. THIS MAY CAUSE DATA LOSS if the
contents of the base VHD were changed after expansion.

 

Tags: ,

how to remove hidden devices after p2v/v2v

September 7, 2011 Leave a comment

How to remove old NIC`s. CPU etc. after P2V or V2V.

1. set devmgr_show_nonpresent_device-1 devmgmt.msc
2. devmgmt.msc
3. in tis Special device manager window; on the menu click View then Show Hidden Devices

 

remove all the devices that you dont want to remove 🙂

%d bloggers like this: