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

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!


I have a hyper-V CentOS(7.7.1810) guest, but not able to see that in full screen

$
0
0

Hi,

I have a hyper-V CentOS(7.7.1810) guest, but not able to see that in full screen. What am i missing ? 

Integration Services For Debian

$
0
0

Hi,

I installed Debian on Windows Server 2012 R2 Hyper-v. I could not find suitable integration service for Debian. 

I tried "Linux Integration Services v4.2 for Hyper-V" but it does not support Debian.

Hyper V manager missing VM after SAN volume move

$
0
0

Hi,

Have a 2012r2 Hyper V cluster and 2 Nimble SAN array.

What i did:

1. Shutdown VM
2. Offline the CSV volume
3. Did a Nimble handover of the volume belong to the VM. Worked fine.
4. Attached the iSCSI drive again from Nimble NCM manager on all Hyper V servers
5. Verified i can see the volume and files and the volume has the same volume number in CSV
6. VM machine showed up fine in Failover CLuster manager
7. VM machine is now missing in Hyper V Manager
8. Had to import the VM machine config files and vDisk
9. VM machine boot up fine.

Question: Why are the VM missing from Hyper V manager when the CSV has been offline?

Regards
Robert

How to customize the Hard Disk size while creating an Ubuntu VM using Quick Create

$
0
0

Team,

I am trying to create an ubuntu VM using the quick create option and I would like to have the Hard Disk to be 80 Gig instead of the default. Also I would like to customize that at create time. How could I do that?

Thanks and Cheers,

Sreeram

The RemoteFX Manager process stopped working, vm hangs on boot.

$
0
0

Hi

I prefer to use DDA for GPU Virtualisation, in once case we have to switch to vGPU based on software requirements. For this client we've the following server infrastructure:

O/S: Windows Server 2016 Standard, Hyper-V installed
Server: Supermicro Super Server 1019GP-TT
CPU: Intel Xeon 4114, 10 core, 2.2GHz
GPU: Nvidia Quado P4000, 8GB

Client OS: Windows 10 Enterprise

We now have enabled remotefx in hyper-v settings and added a vgpu to the client. As soon as we now want to start the vm, it hangs in boot screen and the following error occurs in event log:

The RemoteFX Manager process stopped working and has been restarted. VM computer: {VM Name}. VM ID: {VM ID}.
Event ID: 32615, logged by HYPER-V-VMMS

Is there any advice, how we can resolve this issue? We have already rebooted the hyper-v host multiple times, the os is also up to date, newest nvidia drivers are installed and got displayed correctly in hyper-v backend - Client System is also installed freshly from iso.

Best Regards
Raphael

VM Losing Access to physical drives while running

$
0
0
I have a hyper-v based vm that I use as a media server. It is connected to 5 physical hard drives that it serves data from. After it is left running for some time the OS on the VM (Ubuntu server 18.04.1 LTS) starts giving IO Errors on all the drives. When I check in hyper-v settings all of the physical hard drives show up as drive not found. shutting down the vm and re-selecting each of the drives from the drop down fixes the problem temporarily. This has been happening with increased frequency with the VM sometimes lasting less than a few hours before the problem arises.

Very slow Hyper-V Snapshot merge?

$
0
0

I use latest Veeam Backup and Replication to create replication task between my 2 Hyper-V Host, the first Host is production (live) and second host is a failover replica (offline). Actually Veeam is only "scripting" the built-in feature out of my Windows Server 2012 R2 Hyper-V to create backup and snapshots between my two hosts. Everything is working fine except for one thing.

When Veeam launch the task to merge the oldest VM snapshot (I keep 3x snapshots) on the Replica Host, the "merging" process is taking A WHILE to complete. I NEVER FAIL, but it take A WHILE, like 2+ hours!

I can't identify why the "merge" is taking so long. My replica Hyper-V Host is a VERY high performance HP Proliant Server, with a lot of RAM, lot of CPU, lot of everything. The storage for the server is a very fast QNAP Entreprise NAS, connected to the server using iSCSI. If I run read and write benchmark to my QNAP NAS, it's very fast. Since the NAS is connected with Gigabit ethernet for the moment (don't have 10 Gbps on my switches, but the QNAP have 10 Gpbs), I have a super stable 110 MB/s in both read and write, which is so far, excellent!

The "affected" VM of the slow merge is my main file server VM, who have obviously large VHDX volumes. The main VHDX volume is 6.5 TB but snapshots are only around 100-125 GB but the "merging" process is taking more or less 2 HOURS to complete. The VHDX volume are pre-allocated if this matters (as in the best practice in Hyper-V for production drive).

BY THE WAY, I already opened a service ticket with Veeam and they have answered that the Hyper-V snapshot merging is a Microsoft feature that is only initiated by Veeam, so that they can't determine why the process is taking so long because it's on the Hyper-V Host side.

So if my storage and my server is fast, why did it take that long to merge the Hyper-V Snapshot???



Hyper-v Storage Spaces Direct cluster node servers running other software like Docker Swarm

$
0
0

Hello,

I am running Hyper-V in a Storage Spaces Direct cluster with 4 nodes, being managed by System Center VMM.  I am running multiple VM's both windows and Linux on top of this cluster.

Question is, if its supported and/or recommended by Microsoft to also run other software on the cluster servers directly, when this cluster is being used for Hyper-V.  In particular the question is to run a Docker Swarm setup on this same cluster, directly on the node servers.  I do realize I can run VM Linux machines and run Docker on-top of the VM's, but that is not the question.

Thank you for any response.


Robert

Failed to register storage provider in VMM with error ID: 26263

$
0
0

Hi,

Registration of storage provider “Storage Provider FQDN” failed for user “Run As Account used for that operation” failed 
from “SCVMM Management Server” with error code WsManMIInvokeFailed.

1. Microsoft ISCSI target on windows 2016 (one Virtual Machine)

2. SCVMM installed on windows 2016 (one virtual machine)

Both system are able to communicate but unable to add received error messeage

Registration of storage provider “Storage Provider FQDN.

could you please suggest me


Unable to delete checkpoint

$
0
0

I have a VM running Windows Server 2008 R2 previously hosted on a Windows Server 2012 R2 Hyper-V host. Eventually exported prior then imported after the host was upgraded to Windows Server 2016.

Unfortunately, we can no longer delete any checkpoint of the VM with the error message, "The operation failed because the file was not found."

There are event logs recorded by "Microsoft-Windows-Hyper-V-VMMS-Admin" in Event Viewer and here are the Event IDs: 14026, 20924, 20864, 14320, 15070, which basically looking for a differencing disk.

Running the following command indicate that there are a few VM Snapshots with missing ParentCheckpointName of and ParentCheckpointId.

"Get-VMSnapshot -VMName TEST-VM | format-table name, ParentCheckpointName, id, ParentCheckpointId"

I tried creating the missing AVHDX file using the filename indicated by the event logs and used VHD Inspect to make sure parent AVHDX file exists but when I try to delete the checkpoint, Hyper-V Manager looks for another AVHDX file and the first one created is deleted automatically.

Can you please help.

2019 Hyper-V virtual switch error

$
0
0

I have a clean install on an HP ML350 G10 server of Windows 2019 standard now that it was re-released.

The HP SPP worked fine to get all drivers loaded since 2019 isn't supported yet for the intelligent provisioning process.

Server activated, all four network card work fine.  No bangs in device manager, all devices have drivers loaded and are recognized.

I've added the Hyper-V role, that goes fine. 

Then trying to add an adapter to the hyper-v switch, it fails.  Ultimately the error is that it can't find a file.  This is trying to get the adapter installed via the GUI.  So I dropped to powershell, tried to create it there, same error.  Tried every network card, same error. 

Removed Hyper-V role, re-added it, same error.

Removed Hyper-V role, then when I added it, tried to add the interface to the network switch during the GUI install of the Hyper-V role.  It didn't give an error, but when the install was done and system rebooted, there was nothing for the hyper-v switch.  And trying manually via GUI or powershell still does the same thing.

I'm not allowing the management operating system to share the adapter, although I tried with letting that happen and the result is the same.

Some of the things I've seen for older OS's like 2012 and 2016 said to remove the "Hyper-v Extensible Virtual Switch" from the bindings on the cards first then try again, but that won't uninstall.  I get an error 0x80071779

I've removed and reinstalled the drivers, and a few different versions of the drivers, including the ones it finds automatically when I just went to the network card properties and told it to find drivers to update as well as the current and previous versions on HP's website for this adapter.

Anyone else see this?  It always comes back to "Error applying virtual switch properties changes. Failed while adding virtual ethernet switch connections."  The details show the GUID of the adapter, with the final text, "The system cannot find the file specified." and an error code of 0x80070002

Another post mentioned they solved something similar on an earlier windows build by disabling internet connection sharing - that's already disabled.

Another post mentioned antivirus causing this in a previous Windows server build - but this is a clean windows install, no antivirus is installed here.

One of the joys of playing with a new server build right at release...

Just in case it WAS something that was corrupted from the original install, I nuked it, reinstalled clean from scratch, and the problem persists.

I wish I had another spare server I could test this with to see if it's a bug with Windows, or simply some incompatibility with HP.  But since other people have had this issue since 2012, I'm guessing there's just something I will have to wait to get updated with by MS or by HP.

I made the mistake of posting the question on spiceworks and got people "instructing" about everything EXCEPT the actual problem.  It's a bit like posting on an auto forum about a brake issue, and people "answer" complaining about the color of your car...

Since I have a business continuity device on this network I have no qualms about deploying 2019 this early for a Hyper-V role, as I can spin up any of its guests within minutes if something happens, so no complaining that "you shouldn't use 2019 in production until after the first service pack," or other such.  Let's please try to stick with the actual technical issue.  I prefer to NOT have to deploy a 3+ year old OS on a brand new server now if I don't have to.

Thanks for any guesses... 

John


John

hyper-v cluster 2016, event id 25, Hyper-V-VmSwitch

$
0
0

I have a cluster, 2 nodes. There are repeating events id 25, every few second:

The MAC address 00-15-5D-AE-25-19 has moved from port 53A6AB28-EBD3-4F72-B690-69406077B8A7 (Friendly Name: vSwitchFN_External) to port 6D5ABBEF-0A8E-4F5D-8CC2-0871846CEF82 (Friendly Name: BCK).

The MAC address 00-15-5D-AE-25-18 has moved from port 53A6AB28-EBD3-4F72-B690-69406077B8A7 (Friendly Name: vSwitchFN_External) to port 9A8780F9-D931-4F85-B087-397A2F718C01 (Friendly Name: HB).

The MAC address 00-15-5D-AE-25-18 has moved from port 9A8780F9-D931-4F85-B087-397A2F718C01 (Friendly Name: HB) to port 53A6AB28-EBD3-4F72-B690-69406077B8A7 (Friendly Name: vSwitchFN_External).

The MAC address 00-15-5D-AE-25-19 has moved from port 6D5ABBEF-0A8E-4F5D-8CC2-0871846CEF82 (Friendly Name: BCK) to port 53A6AB28-EBD3-4F72-B690-69406077B8A7 (Friendly Name: vSwitchFN_External).

Config:

No NLB (MAC spoofing) on VMs.

PS C:\Users\pero>  Get-NetLbfoTeam


Name                   : mgmt
Members                : {M2, M1}
TeamNics               : mgmt-624
TeamingMode            : Lacp
LoadBalancingAlgorithm : Dynamic
LacpTimer              : Fast
Status                 : Up

Name                   : vm
Members                : {K2L1, K1L1}
TeamNics               : vm
TeamingMode            : Lacp
LoadBalancingAlgorithm : Dynamic
LacpTimer              : Fast
Status                 : Up


PS C:\Users\pero> Get-VMNetworkAdapter -ManagementOS

Name          IsManagementOs VMName SwitchName MacAddress   Status IPAddresses
----          -------------- ------ ---------- ----------   ------ -----------
BCK           True                  vSwitchFN  00155DAE2519 {Ok}
HB            True                  vSwitchFN  00155DAE2518 {Ok}
SETswitchSMB2 True                  SETswitch  00155DAE250C {Ok}
SETswitchSMB1 True                  SETswitch  48DF371EFC2D {Ok}
LM            True                  SETswitch  00155DAE250D {Ok}

PS C:\Users\pero> Get-VMSwitch

Name      SwitchType NetAdapterInterfaceDescription
----      ---------- ------------------------------
vSwitchFN External   Microsoft Network Adapter Multiplexor Driver #2
SETswitch External   Teamed-Interface


PS C:\Users\pero> Get-VMNetworkAdapterVlan -ManagementOS

VMName VMNetworkAdapterName Mode   VlanList
------ -------------------- ----   --------
       SETswitchSMB1        Access 1980
       LM                   Access 1981
       HB                   Access 1044
       BCK                  Access 887
       SETswitchSMB2        Access 1979


PS C:\Users\pero> Get-NetAdapter

Name                      InterfaceDescription                    ifIndex Status       MacAddress             LinkSpeed
----                      --------------------                    ------- ------       ----------             ---------
mgmt-624                  Microsoft Network Adapter Multiplexo...       6 Up           F4-03-43-5C-75-91         2 Gbps
K1L2                      HPE Ethernet 10Gb 2-port 561T Adapter        32 Up           48-DF-37-1F-0F-09        10 Gbps
K1L1                      HPE Ethernet 10Gb 2-port 561T Adap...#4      30 Up           48-DF-37-1F-0F-08        10 Gbps
SMB2                      Hyper-V Virtual Ethernet Adapter #5          35 Up           00-15-5D-AE-25-0C        20 Gbps
SMB1                      Hyper-V Virtual Ethernet Adapter #4          11 Up           48-DF-37-1E-FC-2D        20 Gbps
LM1                       Hyper-V Virtual Ethernet Adapter #3          16 Up           00-15-5D-AE-25-0D        20 Gbps
BCK1                      Hyper-V Virtual Ethernet Adapter #2          27 Up           00-15-5D-AE-25-19        10 Gbps
HB1                       Hyper-V Virtual Ethernet Adapter             19 Up           00-15-5D-AE-25-18        10 Gbps
M2                        Broadcom NetXtreme Gigabit Ethernet #3       20 Up           F4-03-43-5C-75-91         1 Gbps
M1                        Broadcom NetXtreme Gigabit Ethernet          24 Up           F4-03-43-5C-75-90         1 Gbps
vm                        Microsoft Network Adapter Multiple...#2      17 Up           48-DF-37-1E-FC-2C        20 Gbps
K2L2                      HPE Ethernet 10Gb 2-port 561T Adap...#2      15 Up           48-DF-37-1E-FC-2D        10 Gbps
K2L1                      HPE Ethernet 10Gb 2-port 561T Adap...#3      18 Up           48-DF-37-1E-FC-2C        10 Gbps

The events intensively fill the log and sometimes network connectivity for these virtual adapters (BCK, HB) is temporary lost.

What is problem?

Windows Server 2019 Datacenter boot loops after enabling Hyper-V

$
0
0

I took my Windows Server 2016 Datacenter test server in my home lab (Dell R710 with two X5650s and 32GB of RAM) and installed Server 2019 Datacenter on it to try out the new features that are centered around VMs (Hyper-V) and data deduplication. The OS install went fine, but after enabling Hyper-V in Server Manager, the system goes through its normal reboot that occurs during Hyper-V enablement, then it proceeds to boot loop. Windows Server 2019 install media's boot repair does not fix the issue, and I cannot get in via Safe Mode. Any advice would be greatly appreciated.

Slowness on hyper-v host

$
0
0

HI All.

On some Hyper-V nodes, we have observed significant performance slowness compared to other nodes running in the same cluster. The performance is most noticeable . we mo moved the VMs the reside on this host to another host it works fine and fast

any help plz 


IT Helpdesk


Create a Linux VM

$
0
0

Hi,

Is it possible to create or import a Linux VM into windows 2008 r2 Hyper-V server?

Cannot start X on freebsd; issues a Bus error

$
0
0

I installed a clean version of FreeBSD 11.4 and installed the binaries for xorg and configured xorg.conf to use: Driver "vesa". When I use "startx" the X process issues a Bus error w/ the Backtrace eventually going to:

...

/usr/local/bin/X (OsInit+0x37a) [0x5aa90a]

....

Can someone provide the proper configuration or information for hyper-v and freebsd to start the X window system.

Thanks


Windows Server 2012 - Network Category

$
0
0

After a recent patch and reboot, one of my two physical Hyper-V servers (identical hardware and should be identical configuration) swapped its network connection from a Private network to the Domain network.

This has also caused RDP to stop working from inside the network and a backup service to lose connectivity to other network (non-domain) devices. I haven't rebooted the server (Private network category) yet but I assume once I do it'll alter itself to the domain network. In the past, I've had a problem where the network connection switched to Public from Private (which was easy enough to fix) but never to the Domain.

My first attempt to resolve the problem was what I had done previously, which was set the network connection to Private, but since it was Domain I received:

Set-NetConnectionProfile : Unable to set the NetworkCategory due to one of the following possible reasons: not running
PowerShell elevated; the NetworkCategory cannot be changed from 'DomainAuthenticated'; user initiated changes to Networ
kCategory are being prevented due to the Group Policy setting 'Network List Manager Policies'.

My first Hyper-V server hosts the domain controller, the second Hyper-V server (the one with problems) hosts the secondary domain controller.

I'd like to identify two things:

1. Why one of the two servers (or perhaps both after I reboot the first one) suddenly switched to a Domain network connection from Private and how in general I can prevent problems with this (whether it is going from Private to Public or Private to Domain) after patches/reboots.

2. Why I cannot RDP or my backup service to work on the Domain network connection when the firewall rules should permit it. I've confirmed the server is running the Domain firewall profile and that the inbound rules open up the appropriate ports, but when I do attempt to connect to port 3389 from elsewhere on the network the port seems closed/blocked. The first server (Private network category) passes the TCP connection test to 3389.

Network connections view of both servers. "Network 2" is private, the "FQDN" network is the domain.

Any help is appreciated, thanks.


Replace Virtual Fibre Channel with VHDX

$
0
0

Greetings Experts,

We have a hypervisor v2012-R2 hosting one production/critical VM (Guest OS Red Hat Linux 6.7)

This VM contain OS on VHDX file and another Virtual Fibre Channel LUN directly attached to the VM. 

**Problem related to the backup solution and as per the backup engineer he would like to (replace or convert or migrate) this LUN with VHDX file to be installed same as the OS Disk to be able to take the backup.

I know i cannot use Hyper-v replica (and the only way for replication is using array replica from the storage manager it self)

But is their alternatives or another options i am missing to achieve this?

Replication Stand Alone to Cluster

$
0
0

Is this possible to replicate standalone Hyper-V Host to Cluster environment?

I have standalone Hyper-V in Domain "A" and Cluster in Domain "B" i want to replicate it. I know i need to use certificates i done this before. 

I have different domain "C" with 2 Hyper-V Host and its working as extended replica. In Domain "A" i have only one Hyper-V Host so extended replica its not possible.

How it looks: https://ibb.co/ryWStVg

Viewing all 19461 articles
Browse latest View live


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