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

Hyper-Core 2012R2 backup VM Windows 7 online

0
0

Hallo,

my hyperv core 2012R2 with 10 VM ( five win2012r2,  one win2008r2, one win2003r2, four windows7 ).

I have a stange error from about one month only on Windows7 if i do backup online:

wbadmin start backup -backupTarget:\\masterdom\backup\W7 -hyperv:"W7-3-TEST"

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

The backup operation to \\masterdom\temp\backup\W7 is starting.
Creating a shadow copy of the volumes specified for backup...
Creating a shadow copy of the volumes specified for backup...
Summary of the backup operation:

The backup operation stopped before completing.
The backup operation stopped before completing.
The following application components were not backed up because either their
consistency check failed or they were skipped during the snapshot process.
These application components will not be available for recovery using this
backup. Please contact the application vendor for help in resolving this issue.
The component W7-3-TEST (31D3670D-3629-4047-AD0C-43871F1F584D) of application Hy
perV was skipped during the shadow copy
operation.

Detailed error: ERROR - A Volume Shadow Copy Service operation error has
occurred: (0x800423f4)
The writer experienced a non-transient error.  If the backup process is retried,
the error is likely to reoccur.

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

If I shutdown W7-3-TEST, the backup works fine.

I suspect that the problem rise up after a windows update......

Anybody can help me ?

Thanks in advance


Hyper-V 2016 failed to enable replication for virtual machine

0
0

I'm getting the following error when trying to enable VM replication between two 2016 Hyper-V clusters.

Hyper-V failed to enable replication for virtual machine 'COMPUTERNAME': The request is not supported. (0x80070032). (Virtual machine ID 7EC7A8F2-EC76-41AB-B9BD-B6464DFF81AA)

This also creates an error event in the Microsoft-Windows-Hyper-V-VMMS/Admin log of 32000.

This is a new setup which hasn't had replication enabled before.

How to compact a VHDX with ReFS?

0
0

Hi, we have Exchange 2016 running on virtual Windows Server 2012 R2 on Hyper-V 2012 R2. For the databases we are using a ReFS volume, as recommended by MS. (It is a separate VHDX file that contains only one partition which is formatted with ReFS.)

The disk/volume is 4.5 TB in size, and though it never was full, the VHDX file grew to 4.5 TB. We did some cleanup and now have more than 2 TB free on the volume, but still I cannot shrink the volume to less than 4.4 TB. Also our SAN considers 4.4 TB as allocated.

I used SDELETE and PRECOMPACT to overwrite free space with zeroes, also optimized the drive (through the GUI and through Powershell with -RETRIM option), all of that multiple times, but without success. I guess that ReFS somehow does not really write the zeroed clusters but just marks them as unused or something like that, and the Hypervisor is not aware of that.

Is there anything I can do? (Except for creating a new VHDX and copying the files over, for which I don't have enough space.)

Hyper-V 2012 R2 - authentication issues (EventID 5823)

0
0

Hi,

We have a Windows 2012 R2 Hyper-V Cluster running for several years now. On one of the hosts Domain accounts were no longer usable - had to Login using the local admin account. The VMs are running just fine - but not manageable through SCVMM or Failover Cluster Manager anymore. Powershell on hyper-v Level works.

I checked Logs... the only thing I found is in Systems: a DNS error followed by Event 5823 "The System sucessfully changed ist Password on the Domain Controller XXX. This Event is logged when the Password for the Computer account is Change by the System...".

The host is able to reach all DNS and AD servers. Name resolution works. I searched for the Event 5823 - found many entries regarding mix of AD 2003 and AD 2012... but this is not the cause of the problem as we never had an Active Directory 2003 or Domain Level 2003. Does anyone have an idea how to find the reason for this problem? I would try to use reset-computermachinepassword in hope of not having to reboot the server. Does anyone knows more about this situation and what works best?

Shared Storage Configuration

0
0

I'm setting up a new two node cluster and am new to virtualization. I'm having a hard time figuring out how to configure my storage and how many physical drives and raid arrays I should have and then how many LUNs I should break that down to and then placing the VHDs on top of that. I don't want to put all my eggs in one basket but want to have a configuration that makes sense.

I have a 12-bay MD3200 DAS with (4) 4TB 7.2k SAS Drives and (4) 600GB 15K SAS drives. I also have a bunch of 1TB 7.2K SAS drives I can use and 2 or 3 300GB 10K SAS drives I can use. My original plan was to put the (4) 600GB 15K drives in a RAID 10 and put the SQL data and Log VHDs on it using two LUNS each with a VHD on it. Then use the (4) 4TB drives in a RAID 10 for everything else (VMs and VHDs).  I'm starting to question if I should have more RAID Arrays then this. For Instance, should I do (2) separate 600GB RAID 1s, one for SQL Data, One for Logs? Should I have (2) separate 1TB RAID1s for the Exchange data and logs? Here are the VMs I'm setting up, if you can make any drive recommendations for what drives to put in my Power Vault, what RAID arrays I should Create and how many LUNs I should setup for my shared storage I'd appreciate it. Below are the VMs I'm going to be creating.

SharePoint

SQL

Exchange

RDS

Office Online Server

File and Print Share Server

Hyper-v cluster: SMB 3.0 vs LUNs

0
0

I'd like to know advantages and disadvantages about:

  • Hyper-v cluster using typical LUNs consiguration
  • Hyper-v cluster using SMB 3.0 files servers

Hyper-V Replica 2012 R2 to 2016?

0
0

Hello Everyone!

Just asked myself and google if it would be possible to set up Hyper-V Replica between a Hyper-V Host running Windows Server 2012 R2 and a Hyper-V Host running Windows Server 2016... did not find a good answer though.

Does someone know the answer?

Thanks,
Jens


jensit.wordpress.com

RetainVhdCopiesOnSource option

0
0
what does the -RetainVhdCopiesOnSource option actually do?

i've tested it in conjunction with the move-vmstorage cmdlet and it does not copy the VHD file as it suggests, it moves it

i also can't seem to leverage it with move-vm or when combining move-vm & compare-vm cmdlets together, error is:

Compare-VM : A parameter is invalid. No virtual hard disk can be found with given criteria

i read on a different thread that -RetainVhdCopiesOnSource is actually just for snapshots but TechNet does not state that



problems moving Hyper-V VMs from old Win10 host to new

0
0

Host env WAS: Win10 Pro x64 current with Windows Update, vintage 2010 Intel Core i7 Lynnfield hardware, being retired

Host env NOW: Win10 Pro x64 current with Windows Update, Skull Canyon NUC, replacement machine

VMs: 3 VMs, 3 VHDs, two differenced from the third. Each VM was exported, from the powered off virtual state, about two months ago.

Problem: tried to import the VMs and get error "encountered an error while loading the virtual machine configuration... Import failed. Import task failed to copy file." Got error for each of the VMs when I tried to import it. Event viewer is not much more insightful:

"The description for Event ID 18440 from source Microsoft-Windows-Hyper-V-VMMS cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer.

If the event originated on another computer, the display information had to be saved with the event.

The following information was included with the event: 

%%2147943712
0x80070520
\\HOMESERV\Dick\DIY migration\XPSP3 Pro (diff from this)\Virtual Machines\AB33AB3E-0BC7-4D7B-A5B8-0B371F7A5DCF.VMRS
C:\ProgramData\Microsoft\Windows\Hyper-V\Planned Virtual Machines\AB33AB3E-0BC7-4D7B-A5B8-0B371F7A5DCF.VMRS

The locale specific resource for the desired message is not present"

I also saw some previous threads, via the Google, suggesting that I should create new VMs and "add the VHDs later" but there was no hint how one adds VHDs later or copies VHDs--with differencing chains involved--from one machine, or an exported VM, to another.

I must be missing something fundamental that I'm too ignorant to understand. Any helpful advice on how to migrate the VMs from the retiring machine to the new one would be greatly appreciated! Surely this is possible?

Hyper-V Compatibility

0
0
Trying to power on my VM image I get a message that the VM workstation is not compatible with the Hyper-V role and suggest I remove the Hyper-V role. How and where is this done?

BSOD issue on a couple of VMs over the weekend.

0
0

I have two VMs that are part of a Hyper V cluster that both blue screened within an hour of each other over the weekend. Trying to figure out what caused this.

So far I know that it was ntfs.sys that caused the exception. BugCheck of 0x00000024.

Both of these point to a hard drive issue, but so far no luck tracking it down. I'm digging through all of the logs I can find, but nothing useful us jumping out at me except the BugCheck and the Kernel-Power events. I fell like maybe I'm not looking for logs in the right places and will admit that clustering is something that's new to me.

Environment consists of a three node Server 2012 R2 Hyper V cluster with shared storage on a Dell SAN.  Guest VMs are also Server 2012 R2. 

Thanks

NIC Teaming and iSCSI

0
0

Hi,

From the following article: https://blogs.technet.microsoft.com/askpfeplat/2013/03/18/is-nic-teaming-in-windows-server-2012-supported-for-iscsi-or-not-supported-for-iscsi-that-is-the-question/ we know that we can use iSCSI over LBFO and that it has some advantages over MPIO in SOME cases. And that iSCSI over LBFO is supported for targets.

Now, I have some storages that only have 2 NIC, some have 3, others 4. On the other side, my hyper-v servers have 4,5,6,8 NICs. Thus I have somewhat 2 solutions for implementation.

If I use MPIO, I would need to create virtual adapters on the storage server to create the paths on alternate VLANs up to 6 VLANs (As some Hyper-V server would have 6 NICs for iSCSI traffic) or I would need to create teams on the Hyper-v servers to access the storage (over 2 vlans) and run MPIO on top of the teams.

In the other case, I would just team on both sides and run iSCSI traffic over the teams (initiator and target). One seems to involve way less moving parts than the other (straight up teaming instead of teaming + vlan + MPIO). And I usually feel that simpler is usually better.

So would that work while still offering good performances ? Would the iSCSI traffic be able to use the bandwidth of the aggregated NICs properly?

Thanks for any comments

IP clash for host and guest machines

0
0

I created a CentOS Hyper-V VM on a windows10 host. My CentOS VM is named DevEnv and am unable to putty to the VM (it gives me 'Host Does not exist' error). While debugging, i found that both my host and my VM have the same IPv4 address. The VM is connected to a virtual switch which i connected to the external WIFI nic to enable my VM to connect to the internet.

Can someone explain why the host and VM are getting same IPs (i checked that the mac for both are different and my VM is set to get dynamic IP)

Also, any ideas on why the VM is not network addressable?

Manually uninstall Integration Services without Hyper-V

0
0

Hi,

we have a Problem with a Server 2012R2 VM that was on Hyper-V and now on VMware. The VM was migrated without uninstalling the Integration Services. Now we have Problem with the VSS Provider --> Hyper-V IC Software Shadows Copy Provider. Our Backup Software Veeam has a Problem with this VSS Provider on VMware. The Hyper-V Host is gone, so we can't take the ISO from the host and start the uninstallation.

I searched the internet, but found no way to uninstall these Integration Services manually.

Someone has an idea?


Stefan Brun

DIsk Space

0
0

HI All,

I have two Hyper-V hosts, where we have few vm's. I need to find the disk space of those vm's, Is there any script that can help for the same.

Regards,

Abhinav


Abhinav


ping devices in my network

0
0

I have installed a windows 2016 server and added hyper-v to it. I configured the virtual switch all needed to install a virtual computer. I am trying to install a Bitdefender server which I think runs on a Linux environment. I have tried to DHCP the network card and hard code it also. It never gets a DHCP address. when I put an address in I can ping the host system, but nothing on the network. I can also ping it from a workstation in the network.

Thanks very much

Kevin


Kevin

Licensing and Clusterd Roles

0
0

I am implementing a (2) node Hyper-V cluster with 7 VMs (2) of these VMs are DCs and are permanently located on local storage on each node. The other 5 are part of the cluster. From what I understand, this means I will need (48) 2-Core packs to license the VMs since, in a failover situation, up to (6) VMs has the potential to run on each node.

Is this math correct?

Additionally, if I am to use the clustered File Server role or the clustered DHCP Server Role, is there any additional licensing I will need?

Lastly, it was recommended to me that I put the DCs on local storage on each node in the event that something goes wrong with the cluster. That being said, should I have any similar concerns using the DHCP Cluster role?

 

Always having to reset the Hyper-V Virtual Ethernet Adapter

0
0
Windows Sever 2012 running Hyper-V with about 10 virtual machines running for remote access

Quad NIC system (but only using 1 NIC) - static IP and the virtual ethernet (for the hyper-v environment)

Client has Comcast Internet (Deluxe plan which is 50mbps down / 10mbps up)

I have anywhere from 17-22 users internally using the Internet for work.  I have 3-4 remote users connected via persistent VPN all day (doing RDP to their remote computer (they hyper-v system)).

On any given day, the Internet will drop it's connection anywhere from 10-60 seconds and come back to life.  I know this because I'm monitoring the connection every 5 seconds and I'll get alerts if it goes down.

This is causing issues for my remote users.  They will get disconnected and unable to reconnect.  Thus far, I only have 2 band-aid solutions I've been using:  Have the remote users restart their router and reconnect (this works about 80% of the time, but that's a hassle).  

My other "fix" is on my 2012 Server.  And I have to reset some of the NIC cards (disable/enable).

When I look at the Network Connections, I see 5 NIC cards:  NIC1, 2, 3, 4, and my vEthernet (new virtual switch).  

NIC1 is the main NIC with a static IP.  
NIC2 says enabled but used with the virtual environment.  
NIC3 and 4 (network cable unplugged and I don't use those NICs).  
Then I have the vEthernet (New Virtual Switch)

I basically go in and disable NIC2 and the vEthernet.  Then I re-enable NIC2 and then the vEthernet (in that order too).

Then my remote users can reconnect.

Why does it do that?  Can I use NIC3 or 4 as a fail-over possibly?  If so, how?  I've experimented with this (drop the connection for 10-20 seconds) and try to RDP into a virtual machine (which is unsuccessful).  once I disable/enable the NIC cards, everything works.  Why would a 10-60 second outage cause this?  And this happens almost daily.  Sometimes 2x's a day.

Comcast claims it is because of the Intenet speeds we have - we're maxed out (and the upload speed just can't handle 3-4 remote users and all that overhead with VPN) so they are telling me to upgrade their speeds to something around 100mbps to 150mbps down / 20 up.  That could solve the problem, but I'd like to find the root cause before upgrading the entire Internet for the client (unless the speed issue is the bottleneck root cause).

Any thoughts on this?  Thanks in advance for your replies.

Hyper-V Replica Broker stuck in "Failed" status.

0
0

2 2012 standard servers in a cluster. Trying to add the replica broker so I can have my HA VMs replicated off site as a DR solution. I've tried to install the role over a dozen times, with a dozen different names, no nice.

I've changed the OU security to include the cluster's computer having the rights to create computer accounts. I've even tried to "stage" a computer before adding the role but it just complains that it is already in use in active directory. I'm at the end of my rope as to why this isn't working.

 

I've done everything that has been suggested in these forums and the blogs I could find on google.

 

Any help would be great. Thanks guys!

Hyper-V issues

0
0

Back story

Thanks to this annoyance Here's my setup.

Single Test Hyper-V Nano 2016 TP5 on a Laptop, Single NIC. Cisco switch configured as follows

 description Connection to test hyper-V
 switchport trunk encapsulation dot1q
 switchport trunk native vlan 21
 switchport trunk allowed vlan 21,30-35
 switchport mode trunk

This finally allowed me to have a trunk port for the laptop while still allowing the non-vlan tagged traffic to be allowed.

The problem now is, I connected to the server from my workstation using Hyper-V Manager Snap-in.

My first issue was how difficult it was to mount an ISO for the new VM. You can only specify the hosts DVD drive (How this is remote management beats me), can't copy anything to the Hyper-V server through Hyper-V Manager (AFAIK). I literally had to copy the ISO onto a USB stick, plug that into the laptop, open cmd and copy the file to the hyper-v's local storage. Man that is painful.

Attempting to connect to a hyper-v system that isn't domain joined. Also Really difficult (When connecting from a domain joined machine anyway).

And finally my biggest pet peeve from this testing.

I went to create a "external" vswitch on hyper-v manager. I created an external vswitch, using the only NIC available (the only one it has) specify the vlan ID for it (Wow amazing MS didn't forget to add that :S). Sure enough it says connections will fail while making the changes. Sadly I lost 6 pings, then 3 pings came back, and then it completely died. I can't reach it. When I login directly I can no longer ping the gateway.

How can I create a "external" vswitch, while retaining the non-vlan tagged mgmt IP... or better yet... how can I add a mgmt vlan ID to the dang MGMT network!!!!??!?!?! ARGGGGG


Viewing all 19461 articles
Browse latest View live




Latest Images