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

Importing a virtual machine

$
0
0

Hello

I have been trying to import a VM into my hyperV but when I select the folder where the file.vhd is it keeps telling me there are no .vhd files in the folder. Am I doing something wrong or is there a problem with hyperV?

Thanks for the help.

Jelle


How to measure load on the host if running resource-intensive VMs?

$
0
0

Dear all,

I am facing a strange thing: one of my VMs report constantly 80-100% CPU usage in Task Manager inside the VM. The VM is definitely supposed to be under high load, so it is expected to be @80-90% CPU. Additionally, Hyper-V manager reports also a CPU utilization number quite high (definitely higher than 1-2%), however the host Task Manager reports only 1-2% CPU utilization in the same time. Both the host and quests are Windows Server 2008 R2 SP1, host is Quad-core Intel Xeon, VM has 2 assigned VCPUs.

My question: how does the CPU utilization in host machine is reported if a guest is using high CPU? Is that even possible to measure the VM resource usage (disk load, CPU load) directly in the host, using generic tools instead of the Hyper-V console? I would expect the Virtual Machine Worker Process responsible for that particular VM would show high CPU in the host task manager.

Is there any whitepaper I should read that focuses directly on this topic?




Enabling Replication Failed

$
0
0

Hi,

I know that this topic have been raised a couple of times, but please bear with me and kindly assist to help me identify the problem in this scenario.

  • Primary Site - One Hyper-V Server in Workgroup
  • Secondary Site (DR Site) - One Hyper-V Server joined to a local domain.
  • Both server are behind NAT - Both router have provided forwarding to the Hyper-V Host
  • Firewall have been configured to allow port 80.
  • Unable to do on port 443 as I have Virtual Machine on the Hyper-V host running ADFS which already utilize the port 443. 
  • Only 1 public IP available on each site.

Any idea what's is wrong? Thanks! 


Regards,
Milton Goh
MCSE, MCSA, MCITP, MCTS, MCP
Blog: blog.nerdytwo.com
Twitter: @miltongoh

Some Knowledge on RPC failures that I hope may help!

$
0
0

Hi All,

Banged my head against the wall with this problem for a good 8 hours and hope to prevent the same pain for other community members.

My setup is a 2012 2 node Hyper-V cluster running on ProLiant DL385s.

The symptom was that after a nice clean cluster build I could not connect to a VM hosted on the remote node from the local Hyper-V node. Remote RDP was fine etc.

Trying to do such a standard admin action resulted in a black remote session screen with it flicking between running and reconnecting. This action also completely stuffed RPC between the 2 cluster hosts, full stop. Only a reboot would recover it. Once rebooted you could do practically anything bar remote to a VM hosted by the other cluster node!!

 I switched off TCP/UDP connection offload on the management NIC (NC382i DP), no luck with that.

I then switched off Large Send Offload IPv4/IPv6 and bang, it all started working as normal.

I dont see this setting referred to often in posts, and it may be an odditity with this specific NIC BUT please give it a go before throwing in the towel if up against this.

Hope this helps someone out!

Thanks

Paul

Hyper-V VM's on a host with multiple NIC's - need help getting it right

$
0
0

Hi All. I'm somewhat new to VMs, so bear with me.

I've got a Server 2008R2 host with 4 NICs. Each NIC is setup with it's own static IP address on my LAN. One NIC is setup with the default gateway value on my LAN (this is the primary NIC for the host server). I've read that with multiple NIC's, it's important that only one has the gateway address. The OS even prompts you about it if you put the gateway address in for more than one NIC.

I have a VM created for my print server functions. I created an "external" virtual network connection for it and tied it to the MAIN NIC for the host. I selected "allow mgmt OS to share this NIC" (I think because that's the only way I was able to get it functioning back when I set it up). The host server created the virtual adapter and things seem to function ok. However, as I understand it, the host and VM are both using the same NIC for all network traffic (which is obvious since its the only NIC plugged in when I set it up).

What I am trying to do:

- setup a second VM on this box
- tie each VM to it's OWN dedicated NIC and leave the host's NIC dedicated for just the host

What I've done:

-I created the second VM, setup the OS, etc.
-set up the static IPs and networking on all 4 NICs in the host and plugged them into the network
-created a new "external" virtual network connection and tied it to one of the other NICs in the host.

at first, I didn't chose to allow host OS to share that NIC, but the VM wouldn't get network/internet access. Then I tried selecting the "allow host OS" box. When i did that, the host created a new network connection to link to like it did when stood up the first VM. Unfortuantely, the new VM still will not connect to the network. In the host network connections panel, the new local area connection (the one the host created to support the VM) it says "unidentified network" instead of my domain name like the other virtual NIC the host created). 

Obviously, I've got something screwed up somewhere. Help? Thanks in advance!

Hyper-v Iscsi vs SMB 3.0

$
0
0

Hi

What would be the best to do.

I will have a Cluster set up with 2012 servers running Hyper-v with a SAn in the back where i will have the Option to use either ISCSI and/or SMB 3.0 to store my virtual machines. Anyone have any preferences in regards to what to use?

Speed, accessabillity, security, backup.

Kind regards

Tore

Windows 2012 Hyper-V Live migration Failed with An existing connection was forcibly closed by the remote host error.

$
0
0

I have a domain-registered clustered Windows 2012 Hyper-V server group with three servers.  They have a hardware based iSCSI connect to a shared LUNS.  After working perfectly for over six months, the Live migration suddenly stopped working yesterday with the following error:

Live migration of 'Virtual Machine VSVR-xxx' failed.
Virtual machine migration operation for 'VSVR-xxx' failed at migration source 'SVR-xx'. (Virtual machine ID xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx)
Planned virtual machine creation failed for virtual machine 'VSVR-FTP': An existing connection was forcibly closed by the remote host. (0x80072746). (Virtual Machine ID xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx).
Failed to receive data for a Virtual Machine migration: An existing connection was forcibly closed by the remote host. (0x80072746).

The Quick Migration still works.  I have no idea what went wrong or what changed.  The servers and the cluster still seam to be registered with the domain controller.  Sense this is classified as a development server we don't take backups.  I would like to try to fix it before I go to the time to completely rebuild the cluster.

Does anyone have an idea what went wrong and how to fix the live migration?

Regards

Network Requirements & Real World Consolidation Ratios

$
0
0

Hi All,

Looking at creating a small 2~3 host Hyper-V environment for development which will be colo hosted and just wanting to check that the only requirement of the physical network for live migration/shared nothing functionality is that my VLAN is trunked (802.1q) between all the switches my hosts are physically connected to?

Also, I'm currently running MAPT across our fleet and would just like to get some feedback on real world consolidation ratios being achieved with Hyper-V. The hardware in our Hyper-V hosts will be as follows;

  • Single Intel Xeon E5-2620
  • 128GB 1600Mhz ECC DDR3
  • Intel 840 Pro based SSD (100k IOPS read & write)

Most of the VM's running in this environment will be low~medium web traffic with a a few Database Servers here and there. Any feedback on how many VM's (ball park figures) we should be able to achieve here? Currently it is being slated for up to 100 VM's per host, and I am wondering if this is overshooting it a bit.


VM's going into a saved state

$
0
0
2 specific 2003 VMs running on Core Server 2008 R2 are periodically going to saved mode without an obvious cause in Event Viewer (no resource or backup activity noted in the Event Log). Any ideas of what it could be?

NO backups are occurring when it happens, frequency is about once a week.  No discernible pattern as to time.

Hyperv SCSI Timeout

$
0
0

Hi,

Our HyperV platform uses pass through disks stored on an ISCSI SAN. Due to a hardware issue the SAN has rebooted a couple of times which means that HyperV lost access to the disk for around 2 minutes.

During this time the VMs crashed and needed to be rebooted.

What timeout settings can be adjusted to ensure that VM's just freeze during a temporary loss of access to the SAN and not crash. Do these settings need to be adjusted on Host or Guest or both?

Also if I introduce Clustering and in particular CSVs (Clustered Shared Volumes) into the picture, does that complicate things. Can CSVs handle temporary loss of access to the SAN

Looking forward to here about anybodies experiences in tweaking SCSI timeouts.

Thanks

 

Daniel

 

 

 

Windows Server 2012 - Can occasionally not access second virtual hard drive inside a VM

$
0
0

I run Windows Server 2012 RTM Hyper-V and I can occasionally not access the second virtual hard drive (dynamically expanding VHDX) attached to the VM through the virtual SCSI controller. I can however access the first hard drive that is connected with the virtual IDE controller.

I get the following warning in the event log under “Administrative Events” every 30 seconds when this happens:

  • Log Name: System
  • Source: Storvsc
  • ID: Storvsc
  • Message: “Reset to device, \Device\RaidPort0, was issued.”

I get this error once or twice a week and it has caused serious problems since one of the virtual servers that have this problem is a fileserver and the second hard drive contains all the data.

The only quick solution to the problem that I have found is to force the virtual machine to stop using the “Turn Off” feature since a normal shut down does not work (stops at shutting down the event log or similar) and then start the virtual machine again.

You can also wait for about 30 minutes or longer until the disk for some reason becomes accessible again by itself.

My research into this problem shows that:

  • Only 2 of the 10 VMs running Windows Server 2012 RTM that I have, have this problem.
  • Both these VMs have a second virtual hard drive (dynamically expanding VHDX) that cannot be accessed for 30 minutes or longer.
  • Check Disk of the virtual hard drive shows no errors.
  • The second hard drive is attached to the virtual SCSI controller.
  • I can find no problems at all with the physical storage on the (not related) 4 hosts that I have. The problem exists only in the VMs.

I have now attached the second virtual hard drive to the virtual IDE controller to see if this permanently fixes this problem (i.e. does not happen for at least a week).

Is there something wrong with the virtual SCSI controller or the virtual SCSI device driver that comes with Windows Server 2012 RTM? Does anyone else have this problem?

Converting a VMware VM (.vmdk) with multiple snapshots to a Hyper-V VM (.vhd) while maintaining the snapshots.

$
0
0


Is this possible, if so could someone point me in the right direction. 

Hyper-V 3.0 - VM Becomes Unresponsive via Hyper-V VM Connection console, But Works via RDP - How to Determine the Hotfix

$
0
0

Hello!

I am troubleshooting the issue when the VMs are unresponsive via Hyper-V VM Connection console, but works via the RDP console. Updates seem to help and after them both types of connection work, but we need to determine which specific update helps it. What would be the way to determine which hotfix/update does the trick. The reason of such selectivity is simple. There are a lot of VMs with the fresh-built parent disk without any updates so we need a quick and small-size fix for them.

Environment:
Hyper-V Host: Windows Server 2012
Guests: Windows 2008 R2, Windows Server 2012, Windows 7 SP1, Windows 8

Thank you very much in advance!

HyperV Config Quesion

$
0
0

My manager wants me to have a Physical Server running Exchange2010 and also host a guest VM to perform RDS functions. I know this is not a good idea. 

Does anyone know of a KB or some Official document that is not a good thing or not supported?

Snapshot gives unknown error

$
0
0

Hello,

I'm not sure that this is the right forum to ask this, but here goes:

I have a Hyper-V machine that when I attempt to create a snapshot, it gives me this error:

Encountered an error while trying to take a snapshot

The snapshot appears in my list:

Snapshot

But, the name that I gave it (ddd) does not appear.

Any ideas what might be causing this?

- Bruce


Bruce


Bruce


Hyper-V 3.0 - Virtual VS Logical CPU Ratio in Windows 2012 Hyper-V

$
0
0

Hi there!

Would you be so kind to help me finding the solution for the following problem:

Hyper-V host (Windows Server 2012 Datacenter Edition) has the CPU with the following configuration:

1 CPU
4 Cores
8 Logical Processors

I need to run 3 VMs on that Hyper-V host. And I have the following questions:

  1. Can each VM have 8 virtual processors?
  2. Can I use amount in the virtual processor field in order to adjust the relative weight for the desired VM, i.e. HighEndVM will have 8 vCPUs, MidRangeVM will have 4 vCPUs and LowEndVM will have 1 vCPU?

Thank you very much for your help in advance!

Windows Server 2012 Standard Hyper-V Host: Domain controller does not start, c00002e2 error occurs on Windows Server 2008 R2 SP1 Virtual Machine

$
0
0

Hi everyone,

We have been deploying out 2012 Host Hyper-V servers and have started battling some periods of power outages that seem to link the cause of our 2008 R2 Domain Controller Virtual Machines to come back up with the following error (no save states or snapshots):

"Domain controller does not start, c00002e2 error occurs"

All previous hosts that have 2008 R2 as the Hyper-V host have had no problem coming back up on similar outages in which our UPS blink protectors could not handle.

We are using the VHDX format on 2012 and of course VHD on 2008 R2.

To add, we also have SCCM Virtual Machines on these same hosts, and which did not seem to be effected on the same outages. Only the virtual domain controllers seem to be affected.

Has anyone else run into similar situations as we have been stuck rebuilding Domain Controllers really often since this change over and are thinking of reverting back all hosts to Server 2008 R2.


Hard path limit of 8 in VM with Hyper-v virtual fibre channel?

$
0
0

Hello,

I am seeing a strange situation where I cannot exceed 8 paths in a vfc guest and wanted to see if anyone else has seen this.

I have server 2012 parent with Hyper-v and connecting to a storage controllers which have 16 target ports. 8 nodes, 2 ports each.

I have a brocade dual fabric and connect a single initiator to 8 targets in a zone on each fabric. 

After enabling the zones I see on the parent 16 virtual ports in my qlogic qconvergedconsole on the Parent server. 8 on each HBA port. I go to my guest and I do not see a lun. I reboot the guest and check for a lun nothing.

After rebooting the server 2012, I check the vm and a lun is seen with 8 only paths. I check the parent and now I only see 4 virtual target ports per HBA.

I tried the same scenario with 4 node controllers and 4 target ports. Same behavior. 16 targets show up in HBA, after reboot of parent server only 8 ports.

Does Hyper-v have a hidden limit of only 8 paths and reduce the number of exposed virtual ports in the parent server?

Has anyone tried more than 8 paths and it work?

Thanks in advance.


Snapshot on Exchange 2010 server

$
0
0

Hello,

I am running Exchange 2010 in a virtual environment.

An associate of mine took a shapshot of this server using Hyper V back in February. He is no longer working for us. Is it safe to delete this snapshot and power down the server even though there is only 25GB left on the hard disc?

Ive seen were a merge could chew up lost of GBs in no time and then the merge will never complete.

Use windows server backup to restore to Hyper-V

$
0
0

I have a physical windows server 2008 R2 and got identical physical server which i want to run hyper-v. I 've already tested how to take a snapshot(disk2vhd tool) of physical AD and run that on hyper-v environment. But i would like to minimize the downtime in case of failure to bring the backup online. At the moment we do incremental backup of existing physical server AD (system state and profile data partition) to a network folder. In that folder i could see some .vhd files and xml files.

So what would we the best option for backup process? Is it possible to use the existing backup process and start a hyper-v server 2008 quickly?

Viewing all 19461 articles
Browse latest View live


Latest Images