Quantcast
Channel: Hyper-V forum
Viewing all 19461 articles
Browse latest View live

VSS Writer Error

$
0
0

I'm using a server with a C: and D: where my C: is the Operating System drive with Hyper V Core 2008 R2 SP1 and the D: is keeping all the VM's. I try to run a VSS Writer script but getting the error message that say "VSS Writer is excluded from backup, because it requires volume D:\ which is not in the Shadow copy set.

How can I include that my D:\  get in the Shadow copy set? When I run this script when all the VM's are on the C:\ it is working fine. The writer is available when testing.

The script is below :

set context persistent 
set metadata C:\backup.cab 
set verbose on 
begin backup 
     add volume C: alias SysVolume 
     #The GUID of the Hyper-V Writer 
     writer verify {66841cd4-6ded-4f4b-8f17-fd23f8ddc3de} 
     create 
     EXPOSE %SysVolume% Y: 
EXEC HyperVBackup.cmd 
     delete shadows exposed Y:
end backup

VMs sharing same DVD Drive letter fails to start on Live or Quick Migration

$
0
0

I have come across a problem whereby I have 2 servers configured as a failover cluster with Hyper-V (Windows Server 2012). I have 2 VM's , one on each server. If I have both VM's accessing their own DVD drive ('D') all is well until I test a failover scenario. It seems as though on a failover the new VM tries to also access the DVD drive and cannot and fails to startup. The only way to get it back online is to modify the settings of the VM that was already on the server and remove the DVD drive from the VM and then you can start the failed over VM. I hope this makes sense. Is this normal for a failover?

Thanks

Simon

iSCSI Dell MD3200 w/ 2 Connections per Dell R710 How many VM's?

$
0
0

Im setting up the following for a client

1 Dell R710

2 Dell 2950's

1 Dell MD3200 w/ 12 7200rpm Disks in RAID 10 and dual iSCSI Modules

1 iSCSI Dedicated Dell 5448 GB 48 Port Network Switch

I plan to cluster all 3 servers and install Hyper-V Clustered on Clustered Storage to a single LUN on the MD3200 (not including Witness LUN)

I would prefer the customer change the models to SAS but that might not be a possibility

I would like to know realistically how many VM's we can run on each server with 2 iSCSI connections to the MD3200 setup in Dynamic Least Queue Depth in MPIO (or suggest a better mode)

Each iSCSI connection will connect to a separate RAID Module on the MD3200 

I know you would like to know what the virtual machines will be doing but lets just assume for now they will be a mix of standard servers, Exchange, AD, DNS, DHCP, SQL etc... just picture a nice mixture of about 30 Virtual Machines with varying disk load, nothing too heavy.

I have 4 MD3200 at my full time day job and 2 are used in 2 node SQL clusters, 1 is used for 2 Linux Nodes running Oracle and the 4th is used in a Clustered VMWare configuration. The difference is all of ours are SAS and we use all 15k drives instead of 7.2k like my current client has. Our ESXi Cluster has 3 servers and 30+ Virtual Machines and barely breaks a sweat, once I add the 4th server I plan to load anoter 20+ VM's and see no issues in the foreseeable future. It also helps that all of our SQL traffic is piped out to two SQL clusters with their own MD3200's so nothing running on our cluster has heavy disk usage.

Now my current client on the other hand will be using iSCSI and Gigabit connections which in my experience can only handle a few virtual machines per GB connection, maybe 5 depending on what they will be doing. I think 10 VM's per server running over 2 iSCSI connections will be pushing it and thats an incredible waste for the R710 which I know I can run all 30 of our virtual machines on one of our R710's with 196GB of ram and the current top of line Xeons. I dont recall what is in my clients R710 but memory can be added and as long as it has dual quads it can easily run 20 virtual machines. 

Well that's all of it. Let me know what you guys think about the iSCSI connections, any real world similar setups and experiences would be very much appreciated.

Windows 8 and Hyper-V Server 2008R2

$
0
0
I suspect this question may have been asked in the past but I was wondering if can provide any way for our Windows 8 clients to access virtual environments hosted within Hyper-V Server 2008R2?

Dedicated Management Port on Hyper-V 2012 with the same subnet in a cluster?

$
0
0


If setting up nics for hyper-v 2012 in a cluster I understand the following best practices should be adhered to:-

1x Hearbeat
1x CSV
1x Live Migration
1x Dedicated Management Port (set via the check box in the virtual switch manager?)
1x Dedicated NIC for VM Traffic

The internal production LAN runs on 10.0.1.x and 10.0.2.x, the gateway is 10.0.1.254.

Now if I configure a virtual switch for the LAN using address 10.0.1.10, a new virtual switch is created with the "Allow management operating system to share this network adapter" setting set.

If I then configure the dedicated nic for management on either 10.0.1.11 or 10.0.2.12 with the gateway of 10.0.1.254 I get the a multi-home problem - i don't want a virtual switch for the dedicated management port  but if I don't create a virtual switch how can I ensure the dedicated nic for management isn't used by hyper-v and how can I avoid the multi-home issue as there will always be two network adapters on the same sub-net or with the same gateway?

How to capture the packages of the VMs from another VM

$
0
0

VM1: test-winxp-6 (monitored VM whose traffic needs to be captured and analysed)
VM2: test-winxp-NM (monitoring VM on which Microsoft Network Monitor has already been installed)

VM1 and VM2 are in a same virtual network (Virtual Network - External to physical NIC #2) and have the same VLAN ID (VLAN305). I already enabled the promiscuous mode (P-Mode) in Microsoft Network Monitor on VM2. But VM2 was still not able to monitor the traffics or capture the packages which are from VM1 except broadcast. I noticed there is a description Microsoft Virtual Switch in theNotes filed in the Virtual Network Manager. Does this mean Hyper-V virtual network only supports "switch port" instead of "hub port"? Is there a solution to enable the "hub port" or is there a workaround to capture the VM1's packages? Thanks!

Resource leak in Hyper-V 2012

$
0
0

Background:  I'm using an HP ProLian DL380 G5 as a Windows Server 2012 Hyper-V host (Datacenter edition - fully patched as of 11/28/2012).  This machine is used to run regression tests which (using automation) revert VMs, start them, run some tests and then stops them.

After running hundreds of tests, the tests start to fail despite the fact that the same failing tests run successfully if run in isolation (prior to the test run).  Investigating found that the host was failing several calls.  Using Task Manager (showing the handle counts for each process), I found that the SYSTEM process was consuming over 100,000 handles despite having only ~1,000 after reboot and the same number of tasks/VMs running in comparison to after reboot.  Reboot clears the handle count to around 1,000.  Running the test suite again, results in a consistent leak.

Using Handles.exe (http://technet.microsoft.com/en-us/sysinternals/bb545027), I found that the extra handles were primarily Key handles.  Additionally, I found that the handles were allocated when my automation process invoked the "ApplyVirtualSystemSnapshot" method on "Msvm_VirtualSystemManagementService" but never released.  Having isolated to that method, I tried to do the same operation using the Hyper-V Manager console on the host.  The same handles were leaked.

Problem Reproduction:

  • On a Hyper-V host which is not actively changing...
  • Start Task Manager, select Details tab.
  • Add Handle Count to displayed columns.
  • Have a VM with a tree structure for the snapshots.  e.g.:
  •    Base Snapshot
  •       Test 1
  •       Test 2
  • Using Hyper-V Manager, revert a non-running VM to a snapshot (e.g. Test 1 in the above example).
  • Handle count increases by 9 for each revert.  Repeating the operation will increase the count another 9 handles.

I have also seen that the other Hyper-V operations within my suite (start and stop VM) at the high level also cause a 9 handle leak, I have not gone through the debugging steps to confirm them by factoring out the VM handle usage, but a revert, start, stop sequence will result in a 27 registry Key handle leak.  I am reasonably confident that the same leak exists within those operations.

Summary:

This is a significant problem for me in that I cannot run my test suite to completion successfully.  This is holding up our Server 2012 development effort.  (Moving these VMs to a 2008 R2 box is not a viable option.)

Thank you for your time,

Edmund Harfmann

resize fixed VHD

$
0
0
 
Hi,
 
I do use fixed vhd files but like to resize them. What is the best way to do this ?

Hyper-v 3.0 replicated server - specify location of replicated VHD drives?

$
0
0

Hi all,

I have two identical servers with lots of quick storage (direct attached storage, however, not a SAN, NAS etc.), both with Server 2012/hyper-v 3.0 installed. I'm hosting an SQL server VM on server A (source) and I want the replication to to go to server B (target).

However, on server B, I'd like to be able to define the volumes where the replicated VHDs reside. The virtual server will be a SQL server, so there's a data partition, log file partition, etc. which I'd like to have mapped identically on server B. No one volume has the capacity to store the equivalent data of the combined data set of server A.

Is this possible at all?

Thanks in advance.

VM running on 2 hyper-v servers

$
0
0

is there a way for me to run a VM in 2 cluster? I jus want to have a way that if a cluster is powered off by accident, the VM still runs on second hyper-v.

this is not move the vm before power down... is turn the power down on cluster 1 for example and still have the vm running in cluster 2.

thank you


Adelino Araujo

server 2012 hyper-v vSwitch performance is terrible

$
0
0

Running an HP DL380 G5 single quad core with 8GB of ram.

OS is on RAID-1 146GB 10k rpm SAS

VM's boot from EqualLogic SAN on 24 900GB 10k rpm SAS via iSCSI at 1Gb/sec (as a test lab)

Host OS is Server 2012 with hyper-v role (all updates)

Client VM's are all server 2012

I have been running bandwidth tests between VM's on the same node and have noticed that no matter what I do I cannot get the vSwitch to push more than about 2.0Gb/sec between VM's. I am using iperf as a test to generate bandwidth.

I have tried between 2 VM's, I have tried 3 VM's pushing to 1 VM, I have tried 2 to 2, but no matter how I structure the tests the overall aggregate bandwidth between all the VM's never exceeds ~2Gb/sec over the vSwitch.

Suppoesdly the vSwitch is a virtual 10Gb/sec adapter so I'm wondering why I can only push 20% of that traffic. I'm using iperf because it doesn't require disk I/O to test bandwidth because I want to eliminate the client OS or the SAN as the bottleneck.

Can anyone provide help on getting more performance out of the vSwitch?

Multi-Monitor and VPN Support

$
0
0

All,

I was trying to move my Virtual Environment from Oracle Virtual Box to Hyper-V.  I have run into a stumbling box that I can't seem to get past.  One of my main uses of Virtual Environment is to use it to remote into my Work PC.  I work from home, so this VM I run quite a bit.  To connect to work I use Cisco AnyConnect.  I do want to use multiple monitors(4) to do my work and my current graphics card does not support grouping monitors into a single one(I'm looking at upgrading sometime).

So, here is my challenge, when I use connect, I'm able to connect to my work VPN.  But I have that  tiny Hyper-V window.

When I use Remote Desktop I can make the screen the size I want.  However, I can't connect to my VPN.  The error message is something about it can't connect from a remote desktop.  I have tried setting up two External Switches so that it has 2 connections two my PC.  However, when Cisco AnyConnect takes over, pinging both IPs become unresponsive.

So, how can I use multiple monitors with Hyper-V and get around this limitation?  

For now, I have had to uninstall hyper-v as installing it causes Oracle Virtualbox to not work at all. I am able to get this to work fine with Virtualbox running a Windows 7 environment.  

My OS is Windows 8 Professional



Driver installations with Hyper-V 2008 R2

$
0
0

A few of our servers are custom built using the Asus P8B-X motherboards.

The ones I have a problem with are Chipset and VGA. 

I got the drivers from the ASUS web site, but they are all .exe installers. If I try to use 7-zip, it shows a few hundred files and a bunch of .inf ones. Not sure which to pick?

At least with the RAID controller, I had to pick it during the installation so that driver is already installed.

If the VGA is not really a big deal, I can avoid it, but I know the chipset would be an important one to have.

As for networking, we have onboard Intel gigabit ports and a PCI-E dual Intel gigabit card - 4 ports total on each system. Would like to setup teaming with 2 ports to use with the few VM's we'll have running.

Thanks in advance for the help.


mouse not captured in server 2012 Hyper-V, Installed VM of Server 2008

$
0
0

Hi,

I recently installed Hyper-V role on Windows Server 2012. 

Server I3, 8GB ram, 500 gb Hd, On board Realtech 1 gb NIC card.

using Microsoft VHD of Windows Server 2008, I installed New Virtual Machine.

Initially I was able to type using exiting Keyboard and Mouse, but VM NIC card could not communicate with Host. After searching internet, I got info to installWindows Server 2008 SP2 on VM. Which I did. 

Now I am unable to use Mouse, on VM it says "Mouse Input not Captured". I did Action - Insert Integration Service Setup disk more than 3 time, Rebooted VM and Host, but problem now i can use Mouse and NIC card. 

Pl. Help. I tried a lot even uninstalling/ reinstalling Hyper-V Server Role. 

Samir

Hyper-V on Windows 8 - Network Connection Issues

$
0
0

Hi,

I have some VM images running on my Windows 8 laptop, I previously had these images running with Oracle VirtualBox (the drives are VHDs) and the internal network connected fine (VM images could talk to one another).

Now that I have moved the images into Hyper-V for Windows 8 and created a new network adapter, no server can talk to one another.

The Images/VHDs I have running are; Active Directory, Sharepoint and Lync.  I had created an internal network using 192.168.xxx.xxx addresses for all the machines.

Here is/are my question(s);

  • What is the proper way to configure a Hyper-V Network to allow the images to talk to one another?
  • What is the proper way to allow these images to communicate externally with the internet?  I have 1 NIC on my laptop and when HV took over the connection I could no longer access the internet from the host of my laptop.

Thanks - Greg.


Running File Server as Hyper-V Guest: Shadow Copy Shared Files Plus Quick Migration?

$
0
0
Since an additional VHD volume cannot be used as storage for shadow copy files, how can we store the shadow copies of the shared files  to physical disk drives and still do quick migration when the Hyper-V host is rebooted for updates without breaking the connection to the physical disk?

"The remote session was disconnected because there were network problems during the licensing protocol" After Installing RemoteFX

$
0
0

Whenever I attempt to connect to my virtual machine after installing RemoteFX, I get the following error: "The remote session was disconnected because there were network problems during the licensing protocol."

I am running Server 2012 on the following hardware, with Windows 7 Ultimate as the VM.

Server Specs

  • i7-2600k
  • NVIDIA 560TI
  • 8GB RAM
  • 400GB HDD

Any help would be greatly appreciated.

Windows 2008 Cluster

$
0
0

Dear Team,

Right now we have one single node were the web application has been live means production.now they want this single node to be join

in another windows 2008 node in cluster?

Pls share the reference guide or Snapshot for this.

Thanks

Sajjad..

about setting Ip address using wmi(Hyper-v 2008)

$
0
0

Now I using WMI create vm automatic.{by wmi}

And than I wanna setting the VM OS static ip address(like win2003)

can't i do that???anyone help me ??

I see GWMI can't control the vm by remote.

but at the begining,the vm haded been created.No IP..SO...

Can I build a DCHP Service.So the vm get a dynamic IP. and then using GWMI to change the ip??

Waiting on line~~(Sorry for my poor eng.)

Physical to Virtual - IP Address Conflict

$
0
0

Hi, I have a physical 2003 R2 server that I am attempting to virtualise onto a 2008 R2 Hyper-V host. The host has its own dedicated NIC (172.16.0.17), a 2nd NIC dedicated to another 2003 guest VM (running fine with 172.16.0.9 on an virtual switch connected to an "External" network) and a 3rd NIC dedicated to the new guest VM (which will be 172.16.0.8 on another virtual switch connected to an "External" network).

I have used ShadowProtect to back up the physical server (VSS snapshot process) then restore into the new guest VM. I have succesfully used this process several times before. When you bring up the guest for the first time (after switching off the old physical server) you do it in Safe Mode with Networking so you can unhide then uninstall the old physical NIC and therefore release the IP address (172.16.0.8). You can then reboot and set the IP address of the guest's new LAN connection (with the VM Bus Network Adaptor) to the old physical server's address.

As soon as I do this I get an IP address conflict. The Event Log gives the MAC address of the old physical server's NIC but it has been switched off by this point! I am positive there is no other device on the network with this address. If I change the guest VM's address to something else the message goes away. A ping of 172.16.0.8 produces no reply (no reply on other servers as well). There is no entry in the ARP table for 172.16.0.8. If I show hidden devices in Device Manager the old physical NIC is not there. Devcon only shows the VM Bus Network Adaptor and there are no additonal adaptors in the usual registry locations.

Curiously if I change the virtual switch to "Private Virtual Machine Network" mode then set the VM guest's IP to 172.16.0.8 there is no conflict message. This implies that the address is in use somewhere on the network but I am sure it isn't.

Any ideas? Thanks,

Guy Ellingham

Viewing all 19461 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>