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

Heartbeat Network inside Hyper-V Failover Cluster

$
0
0

Dear All,

            I need to build an SQL Server 2012 SP1 Two-node cluster inside Hyper-V Failover Cluster.  There is only one virtual switch in the Hyper-V Failover Cluster environment which is being used for communication to the outside world using VLAN Tagging.  Now, since SQL Server 2012 Failover Cluster would require a heartbeat network as well and although possible to assign VLAN tag to the heartbeat adapter and use that for hearbeat, but since there would not be any gateway on the heartbeat network, it would render the VLAN tagging useless, so is following plan good enough:

1.  Create an Internal Virtual Switch on all nodes of the cluster with the same name

2.  Link the heartbeat adapter of the virtual machines to the Internal Virtual Switch

Is it good enough? or is there any other better way?

Thanks in advance.   


How to Clone VMs in Hyper-V

$
0
0

 

I was playing around with Hyper-V but I didn't see an option to clone VMs.

 

Is there any way to clone VMs in Hyper-V

Making Changes to Parent VM does not Update Children

$
0
0

Hi guys,

I'm setting up Hyper-V on server 2012 R2. My intention is to have a parent VM, with many child VMs that my users log on to. Any changes to the parent VM should propagate to the children. The children are rolled back when the user logs off, except for whats saved in the User Profile DIsk.

I'm currently stuck - my parent VM has been updated (I installed a bunch of stuff) but my children have not changed at all. 

The steps I've taken to get to where I am:

-Installed Remote Desktop Services role, which means the server I'm using is an RD Connection Broker. The server is also an RD Virtualization Host. 

It is hosting a Virtual Desktop Collection (pool). While creating that pool I had to have a VM (created with Hyper-V manager) that was using a sysprep generalized Virtual Hard Disk. This harddisk had had basic things like Office already installed before I sysprepped it, and those basic things are the only things my child VMs have.

Once that pool was successfully created, my understanding was I could edit that sysprepped image and the changes would propagate to the child VMs. Am I totally wrong, or have I taken a wrong turn somewhere?

Thanks for your help,

Janika

Unable to create a VM from Disk2VHD image - 2008 R2

$
0
0

Hi,

I have created a VHD using Disk2VHD tool and it is unable to boot. I have attached the VHD to new virtual machine and VM is keep getting the start-up repair wizard. When the VM booted for first time it displays a error mentioning that C:\Windows is corrupted and need to run chkdsk. 

I have run chkdsk /f option and it has corrected few errors. but the issue remains as it is. Further, I have run following commands from command prompt when the VM is booted from Windows server 2008 R2 DVD.

bootrec/fixmbr

bootrec/fixboot

bootrec/scanos - total identified windows installations: 0

bootrec/rebuildbcd - total identified windows installations: 0

nothing worked for me and I tried using hyper-v 2.0 and 3.0 as well. same issue appear every time.

another thing I have noticed is that the physical servers doesn't show a "System Reserved" partition when creating the VHD image. So, the VHD has only the C: partition. 

Could anyone give me a solution for this...??

Regards,

Thisaru Perera.

2012 R2 hyper-V Server - How to use it

$
0
0

I have just installed Hyper-V Server 2012 R2.

I thought I could work my way through using this product, but I can't figure it out.

There is no GUI on the server, which is good, but for the life of me I can't firgure out how to remotely administer this thing.

I have followed instructions to install the Hyper-V management tools on Windows 7 and 8, but they will not connect.

I get a long laboriuos messages about permissions and HTTPS etc.

Can anyone who understands this system please point me to a guide that explains how to start and access a fresh copy of this product, Hyper-V Server 2012 R2.

I am not intending to connect to a domain at this point. I just want to install this stand alone Hyper-V sever and start setting VM's that I can access via RDP.

Template/WinRM issue

$
0
0

Hello all,


I have implemented IBM StorWize V3700 in my Hyper-V stack where I use VMM 2012 SP1 and since I have presented volumes to all of my hosts I lost ability to deploy VM templates, all jobs get stuck on 66% (infamous "Installing VM components"). VMM reports that WinRM is the problem, but I have tested it thoroughly on all host and it works. Another thing is that templates are working just fine on hosts without volumes presented from StorWize.

Kind regards,

Alex Somby

Windows Server 2012/2012R2 NIC Teaming Mode

$
0
0

Hi,

Question 1:

In Windows Server 2012 the following teaming mode was recommended for Hyper-V NIC teams:

Teaming mode: Switch Independent
Load balancing mode: Hyper-V Port
All Adapers Active

In a session at TechEd 2014 it was stated that Dynamic is the new recommendation for Windows Server 2012 R2. However, a Microsoft PFE stated a few weeks ago that he would still recommend Hyper-V Port for Windows Server 2012 R2. What is your opinions around this?

Question 2:

We have a Hyper-V Failover Cluster which isn`t migrated to 2012 R2 yet, it`s running 2012. In this cluster we use Switch Independent/Hyper-V Port for the team. We also use converged networking, having 2 physical adapters bound to the NIC team, as well as 3 virtual adapters in the management OS for management, CSV and Live Migration. Recently one of the team NICs failed, and this incident also caused the cluster membership on the affected node to go offline even though the other team NIC was connected. Is this expected behaviour? Would the behaviour be different if 2012 R2 with Dynamic mode was being used?

VMM and Windows storage pool

$
0
0

Folks 

we have some HVs that are connected to 3 JOBDs , MPIO is in place . all good . 
created one big storage pool with preferred resiliency option and storage tiers (SSD+HDD).

Goal is to make a HyperV clustered environment . 

in a nutchell , we will created 4 Virtual disks ( 1 on each HV ) and then created CSVs out of them and add to MS cluster. 
problem is that VMM doesn't see CSVs that are created . 

how can we  introduce our storage pool ( created on windows 2012 R2 servers ) to VMM ? currently it seems 
it only sees physical JBOD disks on each HV host , not the storage pool . 


Hyper-V LBFO Teaming VMQ RSS-settings

$
0
0

Hi,

We are running a six host Hyper-V Cluster on 2012 R2 Core machines. Since the environment was set up we have been receiving the following error:

Source: Hyper-V-VmSwitch

Event ID: 106

Description: Available processor sets of the underlying physical NICs belonging to the LBFO team on switch [GUID] (Friendly Name: VMNet Logical Switch are not configured correctly. Reason: The processor sets overlap when LBFO is configured with sum-queue mode. 

The error pertains to the LBFO-team for our VM-Networks that was created automatically by SCVMM after joining the two NIC:s into a logical switch. After reading the MS documentation on Server 2012 teaming - http://www.microsoft.com/en-us/download/confirmation.aspx?id=30160) - I came to the following conclusion:

The team is SwitchIndependent, Active-Active with HyperVPort as LBA. Our hosts have 32 logical cores therefore i ran the following commands:

Set-NetAdapterRss -name VMNet01 -BaseProcessorNumber 2 -MaxProcessorNumber 16 (Leaving out CPU core 0 and 1 for system processing as per recommendations)

Set-NetAdapterRss -name VMNet02 -BaseProcessorNumber 17 -MaxProcessorNumber 31

(I did not run any commands on the Logical Switch itself)

Which would give each NIC 15 cores each to use for VMQ. After that configuration was made and I rebooted the server i receive a different error upon boot:

Source: Hyper-V-VmSwitch

Event ID: 15

Description: Failed to restore configuration for port Properties (Friendly Name: ) on switch [GUID] (Friendly Name: ), status = Object Name not found.

Where [GUID] is the GUID of the Hyper-V-switch and the Friendly name of that Switch is blank (instead of saying VMNetLogical Switch) as before. I have tried removing the switch and adding it again (destroying and recreating the team). But the issue persists.

Any ideas on how to fix this? Might this just be a "cosmetic flaw" or is it something I should get in order before putting this host back in to our production environment?




This is what i get when i run Get-NetadapterRSS on the NIC:s and the switch

Name  : VMnet Logical Switch
InterfaceDescription: Microsoft Network Adapter Multiplexor Driver
Enabled: True
NumberOfReceiveQueues: 0
Profile: NUMAStatic
BaseProcessor: [Group:Number]  : 0:0
MaxProcessor: [Group:Number]  : 0:30
MaxProcessors  : 4
RssProcessorArray: [Group:Number/NUMA Distance] :

  0:0/0  0:2/0  0:4/0  0:6/0
                                                  0:8/0  0:10/0  0:12/0  0:14/0
                                                  0:16/0  0:18/0  0:20/0
                                                  0:22/0  0:24/0  0:26/0
                                                  0:28/0  0:30/0
IndirectionTable: [Group:Number] :

Name : VMNet01
InterfaceDescription: HP FlexFabric 10Gb 2-port 534FLB Adapter  #106
Enabled: True
NumberOfReceiveQueues: 8
Profile :
BaseProcessor: [Group:Number] : :2
MaxProcessor: [Group:Number]: :16
MaxProcessors  : 16
RssProcessorArray: [Group:Number/NUMA Distance] :
IndirectionTable: [Group:Number]:

Name  : VMNet02
InterfaceDescription: HP FlexFabric 10Gb 2-port 534FLB Adapter  #107
Enabled : True
NumberOfReceiveQueues : 8
Profile:
BaseProcessor: [Group:Number] : :17
MaxProcessor: [Group:Number] : :31
MaxProcessors : 16
RssProcessorArray: [Group:Number/NUMA Distance] :
IndirectionTable: [Group:Number] :





Logon Attempt Failed

$
0
0

Hi all,

I am taking the Windows 8 MCSA and as such would like to setup Winodws 8.1 in a lab environment for study/practice.  I have Windows Server 2012 R2 Standard installed on a Server and would like to run Windows 8.1 Enterprise in Hyper-V for the purpose of quick rebuilding. I have installed both OSs successfully however if I attempt to RDP into the VM from my desktop running 8.1 Pro I get the message "Logon attempt failed". Google tells me I need to allow RDP through Windows Firewall but this has not worked and I have even tried disabling Windows Firewall both on the Windows 8.1 VM and Win Server 2012. Curiously, I can RDP into the VM from Windows Server 2012.

Any advice would be appreciated.

Connect specific Virtual network port with Specific physical network card.

$
0
0

We have a Hyper-V core installation hosting a number of  Windows 2008 R2 VM's.
There are 6 physical network cards installed in the physical server.

On one of the VM servers we run a website that clients need access to.

We have one of the physical network cards connected to the DMZ port of our router with IP's configured to connect.

My question is how do I specify in Hyper-V manager which physical network card the VM network card that the webservice connects to should use?

Storage Spaces and Storwize V3700

$
0
0

Hi

Does anyone has experience with Microsoft storage spaces and SAS attached IBM Storwize v3700?

V3700 disks can be configured as single member RAID 0, and IBM says "system supports RAID 0 arrays with one member, which is similar to traditional JBOD"

Many thanks in advance

Rafa

Activating VM with Server 2012 R2 Standard

$
0
0

Hi all

I have a new test server with Server 2012 R2 Standard, problem is when I try and use get a VM of Server 2012 R2 Standard up and running it say that the VM is not activated and asks for a key. The keys that work for the Datacenter version do not work for the Standard edition.

Any thought on this?

Thanks again

Tim Jardim

XP/SP3 & Hyper-V RC1 - cannot upgrade integration services

$
0
0

 

I have two XP / SP3 vitrual machines, and on each one, after I dismiss the "found new hardware" wizard, and try to install the Integration Services, I receive the "A previous installation og Hyper-V integration services has been detected"

 

I click OK to "upgrade or repair", and I get the following error message:

 

"An error has occured: Fatal error during installation."

 

My event viewer doesn't seem to have any relevant information.

 

Ideas?

 

Karl

How to repair a corrupt VHDX or extract data from it?

$
0
0

I have a virtualized Exchange 2013 server on Windows Server 2012 R2 with 2 virtual disks (C: OS drive and D: Exchange database and log files). After a power failure, the virtual server will not start because the second VHDX drive (the one with the databases and log files) is corrupt and unreadable. If I remove the second VHDX, it will start successfully but the Exchange DB's are on the corrupt VHDX.

Nothing worked from other posts and some of the stuff will not work for the VHDX that people are posting for VHD's. I have tried mounting it on a host machine but it errors out saying it is corrupt and unreadable. I have tried to convert it to a VHD but it does not work because it is corrupt and unreadable. 

Anyone have any other ideas? I thought the whole idea of the VHDX was to prevent this from happening?!?


Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.



How to load OS in hyper-V VM

$
0
0

I am new to Hyper-V. The Host OS is Server 2012R2 Data Center. I have created 2 VMs with load OS later option. The VM configuration has a Virtual hard disk and the physical host CD/DVD device. I am attempting to load server 2102R2 into each VM to host Exchange and SharePoint. I have the 2012R2 ISO in the cd drive at start of VM but I get a cannot find an OS when it rotates through the CD & disks

How do I get the VM to recognize the ISO in the CD drive so I can load the OS?

The host server is an Intel MB with VM set in the BIOS

Thanks


John Lenz

Windows 2008 r2 guests blue screen on Windows 2012 R2 Hyper-V Cluster with e5 2670-v2 processors

$
0
0

Hello all,

We have a new hyper-v infrastructure deployed in two brand new Dell R720 Servers with 384GB of Memory and dual Intel e5 2670-v2 processors. This infrastructure is replacing an existing hyper-v 2008 R2 and all the guests are being migrated to this new cluster. The issue we are seeing is our 2008 r2 guests blue screening ocasionally with 0x0000001a,0x0000004e or 0x00000050 bugchecks.

All this guests are configured with dynamic memory and with the integration components up to date. These same guests were running with no problems in the hyper-v 2008r2 cluster.

When searching i found this article from vmware that pretty much describes what we are facing:

http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=2073791

Are you aware of the same problem with this kindd of hardware on windows 2012 r2 hyper-v?

Thanks!

 


Nuno Carvalho

Hyper-V causing intermittent network issues on Host?

$
0
0

I have a strange issue, I am not entirely sure Hyper-V is causing it, but it certainly seems that way.

Scenario

Host: Windows 8.1
Network Adapter: Intel Dual Band AC-7260 (Wifi)

Network Adapters (relevant ones are highlighted yellow)

Issue

When I continuously ping my wifi router (on the host machine), it intermittently drops.  See the screen shot below.

This issue also manifests itself within the Virtual Machines as the machine constantly getting a DHCP IP address and then losing it.  This happens continuously every few minutes.

Currently, I can resolve the issues by disabling Wifi on the host and then re-enabling it.  I sometimes have to do that 2/3 times for it to stop dropping out.  But it does fix the issue.

What have I tried?

I have been in contact with Dell (laptop is an XPS 15 2013) and Intel support.  They have replaced the motherboard and now they want to replace the WiFi card.  Personally I don't think it will help.

Why do I think it is HyperV related?

If I run the host machine with the VMs powered down, I do not get any issues.  However, as soon as I start any Hyper-V VMs, the issue will usually start pretty quickly.

What it isn't.

This is not related to wifi signal or anything like that.  

  • The wifi router is 2 meters from my laptop.  
  • Other devices in the house do not exhibit this behaviour
  • The behaviour is consistent across all networks (office, home, coffee shop etc)

Thanks for any help.



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?

Failed to register service principal name for Hyper-V Event 14050

$
0
0
Hi,

we have a domain with several Hyper-V hosts, clustered & standalone. All works fine. Now i have installed additonal Hyper-V host, which generates every 2 min. the event 14050:

Failed to register the service principal name 'Hyper-V Replica Service'.

Failed to register the service principal name 'Microsoft Virtual System Migration Service'.

Failed to register the service principal name 'Microsoft Virtual Console Service'.

No problem, take google and fix the problem.. no way..

The beavior is very strange, the errors also come up if the SPN's where manually added to the computer account.

Only one google hit after hours of searching says one guy has disabled the firewall and it works.

Now this is what i have done.. no change.. events coming up. So i stop the firewall service and it works!! The SPN's are successfuly registered! After the service is restarted, no more event 14050 coming up. After reboot same shit, events coming up again until the firewall servive is fully stopped and after successfully registering restarted.

But why?? Firewall rules are correctly implemented.

In summary:

Standart; does not register SPN

Firewall disabled; does not register SPN

Firewall service stopped; does register SPN successfuly

Anyone got a hint? Any help will be appreciate!!

Regards
Viewing all 19461 articles
Browse latest View live




Latest Images