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

Hyper-V 2012 R2 Server setup with DC

0
0

I search around but was unable to find someone asking the same question I am so here it goes.

I found that best practice for using Hyper-V server is to connect it to a physical DC so that if the server goes down you can still authenticate to remote manage it when you get it back online.  Since I am currently using XenServer and have had no requirement for a domain on the hypervisor it puzzles me as to why this would be a requirement.  I have seen hacks to get around this and run in a workgroup setup, but there always seems to be trouble with controller certain things in this way.

So since a physical server is recommended/required now I need to run two servers and two licenses of Server 2012.  And since physical servers can be fussier with recovery if hardware needs to be replaced, I would likely need to run two physical DC so I wouldn't have a single point of failure.  All just so I can run hyper-v on a domain.

Please correct me if I'm wrong, but this just doesn't make sense.  I understand you would want to do this in a larger environment, but in a small business setting with 20-30 users it seems overkill and not very practical.  What do you do in a situation where you want to virtualize SBS2011 or SBS2008?  Would I be better off running full blown 2012 with GUI then load hyperV?  Will that work correctly without a domain?  And if it does, will it take up a license?  Any clarification on this would be great.

Jason


Installing 2012 R2 Standard VMs on 2012 R2 Core Edition

0
0

Quick question:

We have a clean host running 2012 R2 Hyper-V Core. We have a 2012 R2 Standard license and since it includes two virtual instances we want to build two 2012 R2 VMs.

We didn't install 2012 R2 standard core with Hyper-V role because the 2012 R2 Hyper-V core seemed more canned and less maintenance is involved.

Is it easy to manually activate the licensing of the two VMs or would it be better to just rebuild the host with 2012 R2 standard core to take advantage of the automatic virtual machine activation?

We have several other 2012 and 2012 R2 Hyper-V Cores running, so management is not an issue.


Robert Ferara

Server 2012r2 - Trunk from virtual Switch to VM

0
0

Hello Everyone,

I have the following on a Ws2012r2 Hyper-V host
- Private Virtual Switch
- Ws2012r2 VM with a network adapter configured as Access with VLAN 10
- Ws2012r2 VM with a network adapter configured as Trunk with VLAN 10 and Native VLAN 2

I want the second VM to be able to take the trunk, split its VLANs and communicate with the first one through VLAN 10.

I've verified that using the second VM's NIC as access with VLAN 10, I can communicate (Which means the first VM is configured OK)
But I can't make the Trunk work.

Bellow is the NIC configuration:

In the Hyper-V host:

> Get-VMNetworkAdapterVlan -VMName "TestRouterGen1"
VMName         VMNetworkAdapterName Mode     VlanList
------                 --------------------         ----     --------
TestRouterGen1 Trunk Clientes              Trunk    2,10


I've also tried enabling the (NIC teaming) option in the adapter properties of the VM.

In the Guest VM:

I've created a NIC teaming with the Network Adapter, and then added a secondary interface to the team and specified to use VLAN 10.
But both show up as "Network cable unplugged"

Am I missing something here?
Any help would be greatly appreciated.

Thanks
Ed

VHD Size is Maximum Size Allowed Without Using All Space in OS

0
0

Hello - I have a Hyper-V VM whose maximum size allowed is 700GB. Currently, the VHD file size is 700GB yet the OS is only using ~400GB (300GB free). Shouldn't the VHD size be about 400GB instead of 700? Every other VM I have checked matches the size being used in the OS.

As I was typing this I think I answered my own question. This VM has a fixed size and all of the other VMs we have are dynamic. I assume this is why? It is a SQL server so I guess it is fixed for better performance. I didn't set this up

Can I safely shrink the VHD down a little bit? When trying to get replicas of this VM, it keeps crashing the VM due to space limitations. It is on its own Cluster Disk but it only has a few GB free which is why I believe it is failing. How much free disk space is needed where the VHD is located in order for replication to work?

This is our SQL server so I am a little cautious in what we do with it.

Thanks for your help,

Mike

5nine Manager for Hyper-V Free

0
0

5nine Manager with Hyper-V Free version has been discontinued and is not available for download :-(

can someone share a downloaded version ?


Live Migration Failed while Quick Migration is Ok...!

0
0

Dear All,

We are continuously receiving event error Event ID 1155 & 21502 in event viewer, quick migration is working perfectly but Live Migration for those VM who has Virtual Fiber Switch setup is being failed.

Platform : Windows 2012 Data center

Storage : Dell PV MD 3600f

Hba : Brocade dual Port on both Host Machine

Host Machine : Host1 & Host2

Switch : Brocade 300

-------------------------------------------------------------

Event ID : 1155

The pending move for the role 'Win_2012' did not complete.

---------------------------------------------------------------

Event ID : 21502

Live migration of 'Virtual Machine Win_2012' failed.

Virtual machine migration operation for 'Win_2012' failed at migration destination 'Host2'. (Virtual machine ID 80301667-7C11-4C61-8E32-0D79C4066F3C)

'Win_2012' Synthetic FibreChannel Port: Failed to finish reserving resources with Error 'Unspecified error' (0x80004005). (Virtual machine ID 80301667-7C11-4C61-8E32-0D79C4066F3C)

'Win_2012' Synthetic FibreChannel Port: Failed to finish reserving resources with Error 'Unspecified error' (0x80004005). (Virtual machine ID 80301667-7C11-4C61-8E32-0D79C4066F3C)

Quick solution is awaited with the experts on the above to setup Microsoft Virtualization.

Thanks in Advance

Rashid Kamal.


Rashid Kamal, MCP, MCSA, MCTS (Exchange), MCTS (Server Virtualization), JNCIA, JNCIS (If you find it useful, mark this 'As Answer', so that it can be helpful to other community members reading the thread)

2008 r2 hyper-v guest partial connectivity after host is restarted.

0
0

Last week we were scheduled for a Major power failure and had to power down our Host Hyper V Windows 2008R2 servers for the first time.

We manually shutdown all guest vm's then powered down each of the host.

Now when we powered up the host and the the guest, we noticed the following problems.

SQL server could not send mail using sql mail, and users could not communicate with client server applications, where the server-side was on the guest.

After various of hours of troubleshooting, we decided to remove each of the guest's and re-add them again; basically deleting the guest from the hyper-v management window, and recreating it using the same virtual hard drives, and this fixed the problem.

Out of curiousity we tried the shut down process again, and encountered the same problem, applied the delete add fix again and it fixed it.

My question is do you know what the cause is? do we have to do this anytime we have to power-down the host? (this will in no way be often, but with murphy's law in place, who knows?)

A little background although I don't believe it's relevant, the vms were created using the disk2vhd tool a couple of years ago and have run fine with no problems until this shutdown of the host.

why is copying between host and hyper-v vm so slow - Win 2012 R2?

0
0

Hello,

I have a poweredge T610 with a 1GB Cache controller in RAID 50 with 6 fast drives.  I have the cache policy turned on.   If I copy a VHD file on the host from the same volume to the same volume on the host, it copies with an average speed of 700MB/s (starting out around 800 and finishing around 500 keeping at around 750 most of the way).

If I try to copy from the host to a share on a VM (fixed drive 500 GB on the partition - hosted on the same volume that the I got 750MB/s copying from host to the same host) - I get about 75MB/s.     If I try to copy from the VM to the host I also get about 75MB/s average.    If I turn off the windows firewall (I'm not using any other software firewall on the server) I get about 105MB/s on average.       I have the nics on the host and VM in a trunk and I got about the same speed when the Nics were set up as single nics so that didn't change performance much.    I tried turning off IPv4 large send offload - no difference.  I tried just about every single option in the hyperv nic settings - no significant difference.

The host server and the VM are on the same subnet, on the same switch.    It is after hours and there is no backup or any user activity on the network.   I've tried Broadcom and intel server nics with the latest firmware and drivers.

Is there some trick to getting better performance/throughput on the VMs?



Intel I350 SR-IOV Suddenly Stopped Working While Hyper-V Still Not Reporting as Network as Degraded

0
0

After working for almost a year without issues, SR-IOV functionality suddenly quit working. The NIC is an Intel I350-T4 and the OS is Windows Server 2012 R2.

Looking at the event logs in the parent, here's an example of the message indicating failure:

Log Name:      Microsoft-Windows-Hyper-V-SynthNic-Admin
Source:        Microsoft-Windows-Hyper-V-SynthNic
Date:          3/21/2014 2:12:18 PM
Event ID:      12585
Task Category: None
Level:         Warning
Keywords:      
User:          NT VIRTUAL MACHINE\5AEE01AC-A4BC-4C66-B83A-54F9A0FF87C7
Computer:      [removed from public post]
Description:
'ADDS01' Network Adapter (5aee01ac-a4bc-4c66-b83a-54f9a0ff87c7--ac9784d3-e52c-4334-ac68-465a9a853454) failed to allocate a virtual function: The request is not supported. (0x80070032): IOV networking might be incompatible with other configured networking features. (Virtual Machine ID 5AEE01AC-A4BC-4C66-B83A-54F9A0FF87C7)

Looking in one of the affected Windows VMs, the following log entry is reported:

<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
  <System>
    <Provider Name="v1q" />
    <EventID Qualifiers="40964">27</EventID>
    <Level>3</Level>
    <Task>0</Task>
    <Keywords>0x80000000000000</Keywords>
    <TimeCreated SystemTime="2014-03-21T18:12:23.582053900Z" />
    <EventRecordID>203556</EventRecordID>
    <Channel>System</Channel>
    <Computer>[removed from public post]</Computer>
    <Security />
  </System>
  <EventData>
    <Data>
    </Data>
    <Data>Intel(R) I350 Virtual Function</Data>
    <Binary>0000040002003000000000001B0004A00000000000000000000000000000000000000000000000001B0004A0</Binary>
  </EventData>
</Event>

I've looked at John Howard's detailed, "Everything you wanted to know about SR-IOV in Hyper-V" series and followed the steps in part 8 (http://blogs.technet.com/b/jhoward/archive/2012/03/21/everything-you-wanted-to-know-about-sr-iov-in-hyper-v-part-8.aspx) to see if that would lead me to the resolution. Unfortunately, most of the error conditions that he mentions are paired with a 'Degraded' status and status messages with suggested reasons.

Unfortunately, the network connections in my case are listed as 'OK', and so I'm not sure where to go next to find out what changed and why SR-IOV is enabled on the NIC, virtual switch, and virtual NIC... and yet still not functional and not reporting as degraded.

Any help would be greatly appreciated.

Thanks!
Paul

VM exhibiting 100% disk busy time, large disk queue lengths

0
0

Hi everyone,

We have a .VHD workload residing on a logical 2 x 136Gb RAID1 mirror pair of disks.

The .VHD file is 130Gb (with 70Gb of free space)

The Virtual Machine is running Windows 2008 R2 SP1, 4 cores and 8Gb of RAM and is exhibiting 100% disk busy time and disk queue lengths of anywhere between 14 and 44

I'm assuming this is because there is virtually no disk space on the logical drive. Ops Mgr 2012 R2 reports high memory pages/sec

So we backed up the .VHD workload, broke the RAID1 Mirror and inserted 2 x 300Gb  as a RAID1 mirror and restore the .VHD / VM

The Logical disk has 50% free disk space, however the VM is still exhibiting 100% disk busy time and the above disk queue lengths.

It is running on a Windows Server 2008 R2 SP1 HP Proliant Server running the Hyper-V role under Server Core

Any ideas most appreciated.

keyboard layout messed up

0
0

I'm unable to use the shift key with numbers and the backspace key also doesn't work when viewing my hyper-v vm.  the shift key works intermittently but not always, when trying to capitalise alpha characters.  it's very strange, because it doesn't do this when viewing the host machine.

the host machine is viewed via a remote client (tight vnc).  during this remote session, I launch hyper-v and view the vm through the in-built viewer in hyper-v.  it's only here that I have problems with the keyboard layout.  I've checked to see if sticky keys is enabled, but isn't as far as I can tell.

there are no problems with the physical keyboard as it works for the physical machine and when connecting by remote to the host machine via tight vnc.

How to manage a Hyper-V 2012R2 Host from Windows 7?

0
0

AFAIK This is the official Hyper-V Manager for Windows 7: http://www.microsoft.com/en-us/download/details.aspx?id=7887 it explicitly lists Hyper-V versions up to 2008R2, there is no mention of 2012 or 2012R2, and from trying to connect to my new Hyper-V 2012R2 I can confirm that it doesn't want to work.

From reading the docs on Hyper-V 2012/2012R2 remote management I've come to the conclusion that its only possible with Windows 8+ or Server 2012+ , but it cannot be used to manage Hyper-V 2008/2008R2...

Someone please tell me that this is just one big mistake on my part and that the product owner for Hyper-V at Microsoft is not this stupid...

How to connect to Hyper-V VM from WAN

0
0

Hello everybody!

I am beginer. I have a dedicate server with Windows Server 2008 R2 En 64bit, and i installed hyper-v with two VM. I created a virtual switch network and the VM can access internet. Now, i want to remote desktop to VM from my PC. In LAN, i typed IP of VM, that's OK. So if i want to remote from anywhere to VM through internet, how do type IP??

/* So sorry because my English is not good*/

General Access Denied Error 0x80070005 creating .VHDX in a SHARED FOLDER

0
0

I have 2 windows 2012 servers (WIn2012 Standard File Server / Shared Folder  and Win2012 Standard + Hyper-V)

The shared folder have users, admins, system, everyone full control permissions for shared + NTFS permissions (i added also the HYPER-V$ computer account)

I´ve tried PROCMON to see the error in detail, filtered out useless things and aded keyword VHD to ctach the write attempt.. nothing, no itens captured...

But when i try to create the .VHDX file, i got the error message

"Failed To Create Virtual Hard Disk" and "General Access Denied Error 0x80070005 creating .VHDX " error

I´m trying to create using the new disk wizard and typing \\server\sharedfolder as destination for the VHDX file

Any ideas?

Network shares accessible over Hyper-V external virtual switch

0
0

After finding out how to share files and folders between the host and guest operating systems (both Windows Server 2012 R2) through virtual switches, and reading some tutorials online on how to do this, I had created two virtual switches for my guest OS.  One is an external switch (vNET) using my Ethernet connection and the other is an internal switch (vLAN) that has no internet connection and I planned to use to be able to file share between the guest and host OSes.  These have been configured inHyper-V's Virtual Switch Manager, and specifically in the VM's settings too.

However, I've realised that even when vLAN is disabled, vNET is still able to access the network shares, meaning these are publicly visible.

Is there a way I can make network shares only accessible when vLAN is enabled?  I want the internal switch to only be responsible for internal network traffic that shouldn't be visible externally. 


How to properly move a VM to another physical server

0
0

Hi folks,

I have two Dell R-170 servers both running Server 2008 R2 and Hyper -V, each with two VM's installed and running.  One of the physical servers is beginning to run low on disk space.  I would like to move one of my VM's (about a 200Gb .vhd) from one server to another, so I will havce 3 VM's on one server and only one on the other at least temporarily.  Likely I will move a smaller one from the one machine to the other later on to balance them out.

Anyway, the VM I want to move is a SBS 2008 server, which is running Exchange and is the DC for the domain.  Any special considerations based upon that information?

I want to make sure I do the right steps to properly move that VM from one physical server to the other and have it come back online smoothly.  Can someone point me to the proper steps to take?  Here is what I think they are, but I'm not 100% sure.

Shutdown the VM on the current physical server.

Copy the VM's .vhd file to either an external drive or network copy to the new physical server.

Create the VM in Hyper-V on the new server, get the network configured  (Can you copy the settings from the old host?)

Boot the VM on the new server and it should work now?

Tell the VM on the old server to not restart except manually, then after verifying all is working well on the new host, delete the VM and the .vhd file to recapture disk space.

Can someone point me in the right direction to do this properly.  Since it's my DC and my Exchange server I really want to do this right the first time.

Thanks!

Can't import a VM

0
0

Hello!

There's a test PC (Server 2012R2)  with two network cards (Nic1=Realtek, Nic2 = Dlink). Some days ago I created a VM on this PC and created a couple of checkpoints for the VM. Today I formatted the PC's disk C, tried importing this VM and failed:

If i choose the Realtek virtual adapter from the list the error persists:

So I don't understand

1) Why Hyper-V "can't find" the switch that's available for selection

2) Is a vm (or a snapshot of the vm) bound to a specific virtual adapter and can't be used with any other one? (If so I would be suprised...I re-attached replica VMs to other virtual switches many times without any problems...

Thank you in advance,

Michael

Hyper-V VSS writer ecnouter errors during taking VSS snapshot on Windows 2012 R2

0
0

When taking VSS snapshot with Hyper-V VSS writer on Windows 2012 R2, there are frequently some warning/error logs in Windows Event log. This will make the Hyper-V VSS writer goes to a bad state and in BCD, the BACKUP_METADATA is also missing for the problematic VM.

The logs in Windows Event log are as below:

In Windows Log->Application, there will be logs as:

A VSS writer has rejected an event with error 0x800423f4, The writer experienced a non-transient error.  If the backup process is retried,

the error is likely to reoccur.

. Changes that the writer made to the writer components while handling the event will not be available to the requester. Check the event log for related events from the application hosting the VSS writer.

Operation:

   PrepareForSnapshot Event

Context:

   Execution Context: Writer

   Writer Class Id: {66841cd4-6ded-4f4b-8f17-fd23f8ddc3de}

   Writer Name: Microsoft Hyper-V VSS Writer

   Writer Instance ID: {fec29c4d-410b-4854-96b4-9637f3a24fdc}

   Command Line: C:\Windows\system32\vmms.exe

   Process ID: 2024

In Hyper-V-VMMS there are logs as:

Could not create backup checkpoint for virtual machine '********': Overlapped I/O operation is in progress. (0x800703E5). (Virtual machine ID 2AD8D389-65AE-45F7-89F8-FDF2F08CE3C2)

In Hyper-V-Worker there are logs as:

'******'has encountered a fatal error.  The guest operating system reported that it failed with the following error codes: ErrorCode0: 0x7A, ErrorCode1: 0x10EC78, ErrorCode2: 0xC000000E, ErrorCode3: 0x1BA09BE0, ErrorCode4: 0x21D8F000.  If the problem persists, contact Product Support for the guest operating system.  (Virtual machine ID 2AD8D389-65AE-45F7-89F8-FDF2F08CE3C2)

'******' has encountered a fatal error.  The guest operating system reported that it failed with the following error codes: ErrorCode0: 0xEF, ErrorCode1: 0x11F2780, ErrorCode2: 0x0, ErrorCode3: 0x0, ErrorCode4: 0x0.  If the problem persists, contact Product Support for the guest operating system.  (Virtual machine ID 16A22441-2ECB-474A-8998-ECA6102DE5AC)

'******'has encountered a fatal error.  The guest operating system reported that it failed with the following error codes: ErrorCode0: 0x7A, ErrorCode1: 0x119AEF8, ErrorCode2: 0xC000000E, ErrorCode3: 0x154C9860, ErrorCode4: 0x335DF592.  If the problem persists, contact Product Support for the guest operating system.  (Virtual machine ID A0CD6CF9-529F-4465-AD32-7A7D60069768)

The problematic VMs are with Windows OS, Windows 2008R2, Windows 2012 R2 and Windows 8.1.

My question is:

What is the cause of this problem? The event logs are not understandable at all.

How should I fix this problem?

Can't perform online backup since Hyper-V Upgrade to 2012 R2

0
0

Hey there,

we've been using the DPM 2012 R2 with our three Hyper-V 2012 servers since last November. A few days ago we upgraded all Hyper-V Hosts to 2012 R2 using a clean installation. We put all VMs in Saved State, reinstalled Windows and imported them.
To perform online backups we upgraded Integration Services to 6.3.9600.16384 on each VM and added a SCSI-Controller.

In DPM, we removed all protection members from the protection groups and added them again, after everything was updated.

Out of our about 60 VMs who are backed up online, there are a few that I can only backup offline for various reasons, but with one VM I can't figure out why.

The VM is our Lync 2010 edge server, Windows Server 2008 R2, Integration Services up-to-date, SCSI-Controller installed, current Windows Updates installed, no dynamic disks.

I added the VM to backup to look for errors and on the Hyper-V host I got 18 events saying "The Data Exchange integration service is either not enabled, not running or not initialized".
I verified, the Integration Services are up-to-date, the "Backup (volume checkpoint)" checkbox in VM settings is ticked and the Data Exchange service inside the VM is running. There are also no errors in the guest's event log.

Any ideas?

Hyper-V Replica Application-Consistent

0
0

Hi,

my Scenario:

Primary site - Hyper-V Cluster Windows Server 2012 R2

Replica site - Hyper-V Host Windows Server 2012 R2, same IP subnet

several VMs with SQL 2012 SP1 and SQL 2005/2008, SQL on same VHDs and on different VHDs (Set-VMReplication -VMName <vm-name> -EnableWriteOrderPreservationAcrossDisks 1)

VM Integration Services: 6.3.9600.16384

doing Application Consistent Recovery Points on the SQL-VMs which seems to running well...BUT if you look at the Application-Log inside the SQL-VMs I get following errror every time a Application Consistent Recovery Point is running:

SQLVDI: Loc=SignalAbort. Desc=Client initiates abort. ErrorCode=(0). Process=2644. Thread=7212. Client. Instance=. VD=Global\{3346955E-6377-4992-BA65-5DB64EFA8399}1_SQLVDIMemoryName_0

BACKUP failed to complete the command BACKUP DATABASE model. Check the backup application log for detailed messages.

BackupVirtualDeviceFile::SendFileInfoBegin:  failure on backup device '{3346955E-6377-4992-BA65-5DB64EFA8399}1'. Operating system error 995(error not found).

Same error on all my SQL-VMs.

VSS Backup (within the host) of my SQL-VMs with Windows Server Backup works as expected without any Errors.

So I believe this is an Hyper-V Replica issue not an SQL issue!

I did the same tests on a completely different Hyper-V Replica Environment without Hyper-V Cluster --> same errors

any ideas....

Thanks for any replies...christian

Viewing all 19461 articles
Browse latest View live




Latest Images