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

Boot failed when I try to install windows server 2003 32-bit as a hyper-v terminal on the windows server 2012 r2 from .iso file. Can any one install properly? and how?

$
0
0

I want to create a hyper-v terminal of windows server 2003 on the 2012 r2. I have a .iso file of windows server 2003 and I put it in the virtual dvd rom. But when I try to boot, the boot failed message appear. What is the reason? and can anyone install it properly? Thanks in advance.

Mosharrof

 

Draining the last 2012r2 node in a 3 node cluster when migrating to 2016 took the entire cluster offline due to disks going offline - any ideas?

$
0
0

I have a 3 node HP cluster with each node directly attached to a JBOD device. Each node shows 4 CSV's that are all healthy.

I upgraded 2 of them from 2012R2 by draining node, reinstalling 2016 and then adding them back to the cluster and everything worked fine.

Started the same process off today and all the disks went offline along with all the machines in the cluster apart from 2 still on the original host that failed to migrate.

Got everything back by unpausing and fail back of the machines and restarting all the failed migrations.

Needless to say, that was not my favourite part of the day.

Event details for the drives show events such as 

===============

Cluster Shared Volume 'Volume1' ('Cluster Virtual Disk (Volume 1)') has entered a paused state because of '(c000020c)'. All I/O will temporarily be queued until a path to the volume is reestablished.

Cluster resource 'Cluster Virtual Disk (Volume 1)' of type 'Physical Disk' in clustered role '1912d37e-0360-434e-9212-3083db0d23fb' failed. The error code was '0x2' ('The system cannot find the file specified.').

Based on the failure policies for the resource and role, the cluster service may try to bring the resource online on this node or move the group to another node of the cluster and then restart it.  Check the resource and group state using Failover Cluster Manager or the Get-ClusterResource Windows PowerShell cmdlet.

Cluster physical disk resource online failed.

Physical Disk resource name: Cluster Virtual Disk (Volume 1)
Device Number: 4294967295
Device Guid: {00000000-0000-0000-0000-000000000000}
Error Code: 3224895541
Additional reason: AttachSpaceFailure

Cluster resource 'Cluster Virtual Disk (Volume 1)' of type 'Physical Disk' in clustered role '1912d37e-0360-434e-9212-3083db0d23fb' failed. The error code was '0xc0380035' ('The pack does not have a quorum of healthy disks.').

Based on the failure policies for the resource and role, the cluster service may try to bring the resource online on this node or move the group to another node of the cluster and then restart it.  Check the resource and group state using Failover Cluster Manager or the Get-ClusterResource Windows PowerShell cmdlet.

=======================

The pools are owned by this last node.

After bringing the last node online, I saw that all the CSV's showed an operation status  of regenerating for a while before going back to healthy.

Anyone seen this behaviour before and have some pointers of anything that I might have missed in the process?


http://absoblogginlutely.net

Differencing Disks in Production Environment.

$
0
0

Hello,

one of my customers asks whether to use differencing disks in very complex environment: 2000 clients, 24/7 environment, several dozen VM's. Personally I don't have any experience regarding this scenario. I'd rather be safe than sorry, anyway if anyone uses differencing disks in such complex environment please share your experience.

Lalas

Live Migration splits traffic on the nics of the servers

$
0
0

Hi Community<o:p></o:p>

<o:p> </o:p>

We have multiple servers running Windows Server 2012 R2 Datacenter with Hyper-V Role installed, some Stand Alone and others in Failover Cluster.<o:p></o:p>

we are trying to live migrate a virtual machine and detect that the live migration takes forever, the troubleshooting report us that the traffic of the live migration is being send via the two network interfaces that we have in our servers.<o:p></o:p>

Our environment is the following, each server has 4 10Gb Physical NICs, we have 2 teams managed by SCVMM 2012R2, all interfaces are Trunk VLAN based.<o:p></o:p>

In the first team we create 2 team interfaces with different Vlans id (Management VLAN 100 10.0.0.0/24 and Migration VLAN 200 172.16.0.0/24) both interfaces has JumboPackets (MTU 9000) and we have perfect connectivity between the servers. <o:p></o:p>

The Hyper-v LiveMigration configuration is set to use the VLAN 200 (172.16.0.0/24) in each server. the active directory and DNS work only on the Management Network so the migration interfaces have unchecked the Register DNS checkbox, LMHosts and Netbios disabled.<o:p></o:p>

Here is the output of the NICs monitoring.<o:p></o:p>

and here is the Performance monitor Network Activity output<o:p></o:p>

this is a strange issue and we don’t have any idea of what could be happening here.<o:p></o:p>

<o:p> </o:p>

we'll appreciate all the help that you could provide us.

Excuse myEnglish, its not my native language.

Best Regards.

Julian Galeano

Cloud Architect Leader.




migrating vms from standalone to new hv cluster

$
0
0

hello we have a bunch of VMs on standalone 2012 R2 Hyper-v with local storage.

i would like to migrate the VMs to a new 2 host cluster (2016) with iSCSI shared storage

can i add all the hv hosts to hv manager and just move them? what network will be used?

EventID 106 vswitch error logged

$
0
0

Since applying Jan19 updates recently we have been having crashing issues with one of the nodes in 2016 H-V cluster


Available processor sets of the underlying physical NICs belonging to the LBFO team on switch Friendly Name: Internal 10GB Logic Switch are not configured correctly. Reason: The processor sets overlap when LBFO is configured with sum-queue mode


This seems to be related to overlapping CPU cores in the vswitch team although this error has only recently started after patching the servers recently.

Output from Get-NetAdapterRss|fl:

Name                                            : NIC2
InterfaceDescription                            : QLogic BCM57800 10 Gigabit Ethernet (NDIS VBD Client) #2
Enabled                                         : True
NumberOfReceiveQueues                           : 4
Profile                                         : NUMAStatic
BaseProcessor: [Group:Number]                   : :0
MaxProcessor: [Group:Number]                    : :
MaxProcessors                                   : 16
RssProcessorArray: [Group:Number/NUMA Distance] :
IndirectionTable: [Group:Number]                :

Name                                            : vEthernet (Internal 10GB Logic Switch)
InterfaceDescription                            : Hyper-V Virtual Ethernet Adapter
Enabled                                         : False
NumberOfReceiveQueues                           :
Profile                                         :
BaseProcessor: [Group:Number]                   : :
MaxProcessor: [Group:Number]                    : :
MaxProcessors                                   :
RssProcessorArray: [Group:Number/NUMA Distance] :
IndirectionTable: [Group:Number]                :

Name                                            : NIC4
InterfaceDescription                            : QLogic BCM57800 Gigabit Ethernet (NDIS VBD Client) #2
Enabled                                         : True
NumberOfReceiveQueues                           : 4
Profile                                         : NUMAStatic
BaseProcessor: [Group:Number]                   : :0
MaxProcessor: [Group:Number]                    : :
MaxProcessors                                   : 16
RssProcessorArray: [Group:Number/NUMA Distance] :
IndirectionTable: [Group:Number]                :

Name                                            : DMZ 1GB Logic Switch
InterfaceDescription                            : Microsoft Network Adapter Multiplexor Driver #2
Enabled                                         : True
NumberOfReceiveQueues                           : 0
Profile                                         : NUMAStatic
BaseProcessor: [Group:Number]                   : 0:0
MaxProcessor: [Group:Number]                    : 0:38
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
                                                  0:32/0  0:34/0  0:36/0  0:38/0
IndirectionTable: [Group:Number]                :

Name                                            : NIC1
InterfaceDescription                            : QLogic BCM57800 10 Gigabit Ethernet (NDIS VBD Client)
Enabled                                         : True
NumberOfReceiveQueues                           : 4
Profile                                         : NUMAStatic
BaseProcessor: [Group:Number]                   : :0
MaxProcessor: [Group:Number]                    : :
MaxProcessors                                   : 16
RssProcessorArray: [Group:Number/NUMA Distance] :
IndirectionTable: [Group:Number]                :

Name                                            : Internal 10GB Logic Switch
InterfaceDescription                            : Microsoft Network Adapter Multiplexor Driver #3
Enabled                                         : True
NumberOfReceiveQueues                           : 0
Profile                                         : NUMAStatic
BaseProcessor: [Group:Number]                   : 0:0
MaxProcessor: [Group:Number]                    : 0:38
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
                                                  0:32/0  0:34/0  0:36/0  0:38/0
IndirectionTable: [Group:Number]                :

Name                                            : SLOT 1 Port 4
InterfaceDescription                            : Broadcom NetXtreme Gigabit Ethernet #4
Enabled                                         : True
NumberOfReceiveQueues                           : 4
Profile                                         :
BaseProcessor: [Group:Number]                   : :0
MaxProcessor: [Group:Number]                    : :
MaxProcessors                                   : 16
RssProcessorArray: [Group:Number/NUMA Distance] :
IndirectionTable: [Group:Number]                :

Name                                            : SLOT 1 Port 3
InterfaceDescription                            : Broadcom NetXtreme Gigabit Ethernet
Enabled                                         : True
NumberOfReceiveQueues                           : 4
Profile                                         : NUMAStatic
BaseProcessor: [Group:Number]                   : 0:0
MaxProcessor: [Group:Number]                    : 0:38
MaxProcessors                                   : 16
RssProcessorArray: [Group:Number/NUMA Distance] : 0:20/0  0:22/0  0:24/0  0:26/0  0:28/0  0:30/0  0:32/0  0:34/0
                                                  0:36/0  0:38/0  0:0/32767  0:2/32767  0:4/32767  0:6/32767
                                                  0:8/32767  0:10/32767
                                                  0:12/32767  0:14/32767  0:16/32767  0:18/32767
IndirectionTable: [Group:Number]                :

Name                                            : SLOT 1 Port 2
InterfaceDescription                            : Broadcom NetXtreme Gigabit Ethernet #3
Enabled                                         : True
NumberOfReceiveQueues                           : 4
Profile                                         :
BaseProcessor: [Group:Number]                   : :0
MaxProcessor: [Group:Number]                    : :
MaxProcessors                                   : 16
RssProcessorArray: [Group:Number/NUMA Distance] :
IndirectionTable: [Group:Number]                :

Name                                            : SLOT 1 Port 1
InterfaceDescription                            : Broadcom NetXtreme Gigabit Ethernet #2
Enabled                                         : True
NumberOfReceiveQueues                           : 4
Profile                                         : NUMAStatic
BaseProcessor: [Group:Number]                   : 0:0
MaxProcessor: [Group:Number]                    : 0:38
MaxProcessors                                   : 16
RssProcessorArray: [Group:Number/NUMA Distance] : 0:20/0  0:22/0  0:24/0  0:26/0  0:28/0  0:30/0  0:32/0  0:34/0
                                                  0:36/0  0:38/0  0:0/32767  0:2/32767  0:4/32767  0:6/32767
                                                  0:8/32767  0:10/32767
                                                  0:12/32767  0:14/32767  0:16/32767  0:18/32767
IndirectionTable: [Group:Number]                :

Name                                            : NIC3
InterfaceDescription                            : QLogic BCM57800 Gigabit Ethernet (NDIS VBD Client)
Enabled                                         : True
NumberOfReceiveQueues                           : 4
Profile                                         : NUMAStatic
BaseProcessor: [Group:Number]                   : :0
MaxProcessor: [Group:Number]                    : :
MaxProcessors                                   : 16
RssProcessorArray: [Group:Number/NUMA Distance] :
IndirectionTable: [Group:Number]                :

COuld someone pls confirm if the correct action would be: (NIC1 and 2 are the team members of the 'Internal 10GB Logic Switch')

Set-NetAdapterRss -name NIC1 -BaseProcessorNumber 0 -MaxProcessorNumber 7

Set-NetAdapterRss -name NIC2 -BaseProcessorNumber 8 -MaxProcessorNumber 16

thanks





Hyper-V Server 2012 R2 - Best Practice for Backup/Replication

$
0
0

Hi Guys,

i'm looking for some advice please.

We have 2 x host servers (A+B).

Both hosts have 6.54TB of total size.

Host B only has 1 live SQL Server VM which is not replicated but is receiving 2 VM Replicas.

SQL Server VM has a total size of 2.13TB of VHDX

Total disk cost of all VMs on HOST B leaves this host with around 1.71TB free.

Windows Server Backup runs from 6PM to 3AM and is running a full backup each time.

I believe that during this time the differencing disks are using up all the free space which is putting my running VM in to a saved state and does not recover automatically.

On top of this I am unable to have replication for the SQL VM because of the similar symptoms caused by WSB. The differencing disks werent clearing out.

Is there something I can do to get WSB to do incremental backups of these VHDXs files or is this expected to have to back up the full VHDX each time on a SQL VM?

Do you think I should replicate to Host A and back up host A instead?

Or, do I need to increase my disk capacity?

I must add that Host A running the two live VMs is having no issues with backup or replication. My issue is the SQL VM only.

thanks!

Hyper-V 2019 - Guest VM's shutdown unexpectedly

$
0
0

Hi,

Since upgrading my Hyper-V servers to Windows Server 2019, including KB4471332 from last night, my guest VM's do not power down on restart of the 2019 host.

I can confirm integration components are as up to date as possible, and each guest is configured to shutdown when the host restarts.

Each guest gets the "Why did I shutdown unexpectedly message".

The even viewer yields the following all within 30 seconds of restarting the host:

Shut down physical computer. Stopping/saving all virtual machines...

'ADFS' failed to perform the 'Shutting Down' operation. The virtual machine is currently performing the following operation: 'Shutting Down'. (Virtual machine ID 0CFDF648-EE9D-4141-9EBD-9A6D911C3442)
'ADFS' failed to shut down. (Virtual machine ID 0CFDF648-EE9D-4141-9EBD-9A6D911C3442)

The Update Orchestrator Service service terminated with the following error:
This operation returned because the timeout period expired.

Failed to restore configuration for port 59229EE2-C880-4BF2-9849-89A21EC17772 (Friendly Name: ) on switch 300C0E17-E123-4182-BE62-AAD1860BE841 (Friendly Name: ), status = Object Name not found..

Everything is configured as it was on the 2016 Hyper-V host.

The message ADFS failed to shut down because it is shutting down seems terribly odd to me.  Of course its shutting down, just need the host to wait. (Yes the registry is set to 120 as the default time for the host....)

Fairly simple to recreate....just spin up a 2019 server, install Hyper-V role, throw in a VM and test.

Any help would be appreciated, but my money is on it being another bug.


Operation Failed

$
0
0

Hi,

I am trying to move a windows 7 VM from Win 2012 Std R2 to Win 2012 Std but it is showing Operation failed. Is it due to the dissimilar versions of windows 2012? How to move a VM in the scenario? Can I just copy the VHDs to the other server and create a new VM with it?

Thanks.


How to get GuestOS ip details from hyper-v

$
0
0

HI all,

       How to get all the guestos details hosted in Hyper-V. I need Hostname,Host ip,Allocated ram and harddisk space.Which are the classes it help me to get these details??Please help me.Thanks in advance.

First Time Hyper V errors

$
0
0
Let me just start this out by saying thanks in advance. I am a noob to hyper V. So i went to create a vm and it keeps poping out this error and i have no idea how to fix it.

Server 2016 - RemoteApp to RDS with RemoteFX not working

$
0
0

Hello,

I have :

1 Physical server with Server 2016 with the hyper-V role.

2 VM's, 1 RDSH (2016) and 1 RDSH(2016 with remoteFX

I set up a Remote Desktop deployment.

In the physical server is a Quadro GPU present. On 1 server I added a Remotefx 3d videocard with 1 GB memory.

Now the problem:

When the remotefx 3d videocard is present i can RDP to the server without a problem. But the remoteApps I publish just don't work, it start the mstsc.exe client and start connecting and just stops.

When I remove the remotefx video adapter from the VM and boot again then the remoteApps do work.

I searched through eventviewer for a cause but couldn't find anything. I searched through Microsoft docs if this setup is supported, the only thing I found was that a server with remotefx only supports 1 concurrent user. But found numerous forums that say that remoteApp should be supported combined with remotefx.

I'm thinking I just missing something crucial.

Hyper-V Server 2019 - RDP not working

$
0
0

Hi,

So I am testing with Hyper-V Server 2019, which I deployed to three brand new HP Proliant gen10 machines. I'll test on them for a while before putting them in production. Installation was a breeze, as with Hyper-V 2016. However, I can't seem to enable RDP on Hyper-V Server 2019. When I enable through the menu, it says it's done so, but alas, netstat -a reveals there isn't even a process listenening on port 3389.

I checked the registry, HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Terminal Server is correct. The required services are running. Firewall is completely disabled through netsh for testing. Remote administration is working fine, RDP is not listening at all.

Anyone else ran into this?


an error occurred while trying to retrieve a list of virtual switches

$
0
0

Hello all

Trying to install Hyper V machines to win server 2012

ANd i activated the Hyper V role and assigned the network card of the server to be used a virtual card for the virtual machines.

BUt when i add the machines i get the not connected option for the machines.

And when accessing the switch manager i get the error 

an error occurred while trying to retrieve a list of virtual switches.

http://prntscr.com/lr0ndm

Please help, stuck on this for a week now. Tried almost all the tricks found on the net.

Extreamly Slow disk inside VM, Host disk speed is fine.

$
0
0

tl;dr: VM virtual disks stored on physical hosts disks are extreamly slow when tested from inside the VM. Test from the host they appear fine. 180 MiB/s vs 0.11 MiB/s

I have two identical physical Dell PE R640 servers, With internal storage. Internal Storage is PERC H740P

Both Servers have 3 Virtual disks: 
Disk 1, SSD-SATA Raid 10 , 8 x 1787GB SSD disks (mounted to the host as E:\)
Disk 2, HDD-SAS Raid-5, 4 x 1862GB SAS HDD (mounted to the host as G:\)
Disk 3, OS raid-1 SSD 111 GB (mounted to the host as c:\)

These Servers have been installed with windows server 2016 Standard and Hyper-V. 2 Virtual Machines on each physical server, The virtual machines are all also 2016 standard.

The virtual machines have 4 virtual disk drives, all VHDX's are fixed in size

C:\ stored on the HDD volume G:\ of the host
D:\ stored on the SSD volume E:\ of the host
E:\ stored on the SSD volume E:\ on the host
G:\ stored on the HDD volume G:\ of the host

All servers have been updated to the latest microsoft patches, the firmware, drivers, Bios, Storage controlers and Lifecycle controlers have been updated to the latest versions as reccomended by Dell product support. Im currently working with Dell product support on this issue

When we first Setup these servers everything worked as expected disk access from the VM's was normal. At some point before Christmas, both VM's on one of the hosts dropped their disk perfromance from super fast to super slow, the other two vm's on the other physical server remained super fast. 

We have been troubleshooting since then when all of a sudden the remaining two VM's dropped disk speed yesterday from supper fast to super slow. 

Whats the difference, here are the numbers from diskspd.exe, I used the same optoins in all tests
diskspd.exe -d15 -o4 -t4 -b8k -r -L -w50 -c1G testdiskspd.dat

https://pastebin.com/gKQvKTTG

Above is the SSD Storage of one of the two hosts benchmarked with diskspd.exe right now: some exerpts from that file:

Total IO = ~371 MiB/s
Read IO = ~180 MiB/s
Write IO = ~180 MiB/s

Total IO = ~47565.65 I/O per s
Read IO = ~23757.19 I/O per s
Write IO = ~23808.46 I/O per s

Now im going to perform the same test on one of the VM Guests, Neither of these VM's are currently performing any operations on the disk other than having been booted up. This test is performed from the VM, on its d:\ disk which is stored on the above disk

https://pastebin.com/QE7r2XNg

The same details as above

Total IO = ~0.21 MiB/s
Read IO = ~0.11 MiB/s
Write IO = ~0.10 MiB/s

Total IO = ~27.06 I/O per s
Read IO = ~13.93 I/O per s
Write IO = ~13.13 I/O per s

These results are consistent across both disks in the VM and on both Virtual machines hosted. Whats crazy is I did this test on one of the virtual Guests last week and its performace was almost identical to that of the host, and when this set up was first created, the performace of all the VMs was almost exactly that of the host. and now its almost at a standstil. 

Im at a loss of where to go from here, Its not something ive seen before so any help woudl be appriciated. thanks


vhdx to vhds - what happens to deduplication & shadow copies?

$
0
0

I utilize Shadow Copies (for quick file restore) on dedicated volume & Dedup on 2012 R2 servers.

If I convert existing shared disks (vhdx to vhds) I assume all Shadow Copies will be gone.

And Dedup?

Thanks

Seb

Convert-vhd = unusable VHD Set

$
0
0

Running my testing of conversion from shared vhdx (part of cluster) to vhd set (on Server 2019)

Each time the conversion finished fine, but end product is unusable set (it is not access from within 2012 R2 OS (VM)

If I do attach only renamed .avhdx , it shows perfectly fine, so anybody having any idea what is wrong with the SET?

If I create brand new set, it works fine, it is only converted lot that does not

Seb



Anybody knowsa how to create vhds (260Kb) file only?

$
0
0

Anybody knows the structure of this file? And wants to share?

Seb

Sound - Long Overdue

$
0
0
Will we ever get sound through a Hyper-V VM?  VMWare has this functionality, why doesn't Hyper-V.  Seems a bit ridiculous in this day and age, no?

Problem finding Hyper-V Service

$
0
0
We have a windows 2012 R2 server that was running Hyper-V.  This morning we found that they VM's weren't running.  Upon further investigation when RDP'ing into the host we receive the following error:

Hyper-V encountered an error trying to access an object on computer localhost because the object was not found.  The object might have been deleted or you might not have permission to perform the task.  Verify that the Virtual Machine Management service on the computer is running. . . .

We don't see the service in the list.  Any suggestions?  URGENT please
Viewing all 19461 articles
Browse latest View live


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