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

Not able to install Windows 2008 r2 VM on Windows 2012 r2 (non-SLAT) Hyper-V host

$
0
0

Hi Windows 2012 r2 Experts,

I need to install Windows Server 2008 r2 VM, on a non-SLAT - Dell Optiplex 755 - Intel Core 2 Quad Q6600 Processor (2.4GHz, 8MB L2 cache, 1066MHz FSB, VT) Windows Server 2012 r2 Hyper-V host, with 5GB of RAM. However, the OS installation stalled after clicking Install button at Starting Windows screen. I have allocated 1GB RAM and 2 virtual processor. Refer to Dell Optiplex 755 technical specification http://www.dell.com/downloads/global/products/optix/en/opti_755_techspecs.pdf for detail.

On the other hand, it was possible to install Windows Server 2012 r2 VM on the same Hyper-V host. As a result, this issue appears to an unsupported installation of Windows Server 2008 r2 on Windows Server 2012 r2 Hyper-V, as opposed to any hardware limitation such as RAM, non-SLAT CPU. Is this correct? Also, how much RAM would you recommend? Does this processor meet minimal hardware requirement to run Windows Server 2012 r2?

I need Windows Server 2008 r2 as part of lab exercises in the MCSE Windows 2012 r2 training.

Thanks a lot,
George


New 2012R2 server for virtual machines only

$
0
0

Hi. I'm about to set up a new server with S2012R2 Datacenter Edition. It will be used exclusively to host virtual machines, all of which will be accessed via Remote Desktop. We have an existing domain controller with SQL and local file server duties. Also have another server with QuickBooks Enterprise and an inventory system. This server is used via Remote Desktop.

Having only used Hyper-V in a home "experimental" server (2012R2), I notice that the default setup seems to use the C drive for its storage (C:\Users\Public\Documents\Hyper-V\Virtual hard disks).  Given that, when I set up this new server, should I just be using a single partition...rather than a typical 100-125GB system and the balance data?  The drives are 4-600GB and will be a RAID5.

Any other suggestions will also be appreciated--including "Find someone with experience with VM's before you mess things up."

Thanks.

Bill

VHD / VHDX file is not able to boot up after attaching to Hyper V VM.

$
0
0

Dear Server Expert,

I have create a copy of server image by using Disk2VHD in both .VHD and .VHDX format. the server is actually running Windows 8. I would like to restore the VHD or VHDX file into my Hyper V Server Running WIndows Server 2012 to become one of the VM. However, after i attach the VHD and try to boot, it was not able to boot at all and i only see cursor blinking as the picture below. I tried to increase the virtual processor and RAM, but it didn't boot up too. There is no error message at all. May i know what is happening here?

Appreciate your advice.

Regards,

Vlan traffic stops working

$
0
0

Hello,

I have a setup with 3 VMs(ubuntu 14.04) and 2 vswitches on a windows 2012 machine:

    - VM1 and VM2 have one interface in vswitch1

    - VM3 has one interface in vswitch1 and one interface in vswtich2

    - VM1 is defined as source in vswitch1 mirror session.

    - VM3 is defined as destination in vswitch1 mirror session

    - vswitch2 has a physical adapter connected to it(Broadcom NetXtreme Gigabit Ethernet)

VM3 sees all the ping traffic on the interface from vswitch1.

I have a dummy program running on VM3 which gets all the traffic form the interface from vswitch1 and redirect it to a vlan subinterface attached to the interface from vswitch2. The interface from vswitch2 is set in trunk mode to allow all VLANs.

More concise, the scope of VM3 is to get all the traffic between VM1 and VM2 , tag it with VLAN and send it to a physical adapter.

The problem is that the tagged traffic is dropped somewhere between VM3 and vswitch2.

If I set the VM3 interfaces from vswitch 2 in trunk mode again with the same options(allow all VLANs, native VLAN 0) I can see 1 packet mirrored with VLAN and then it stops. 

Can you point me some places to investigate the dropped packets? Is it there option I need to enable?

Thank you,

Radu


Hyper-V Port Mirroring with Tagged Traffic

$
0
0

I have also asked this question the Advanced Threat Analytics forum but as this applies to Hyper-V port mirroring I figured this may be a helpful forum as well.  Below is my scenario but essentially I am looking to configure Hyper-V port mirroring for tagged traffic, can this be done and if so how?

I am attempting to test ATA and have created a test DC and ATA Gateway connected to the same virtual switch on the same hyper-v host (2012R2, all recommended patches installed). I have also enabled "Microsoft NDIS Capture" on the virtual switch and configure the DC as the source and a secondary none routable vNIC on the gateway as the destination (1.1.1.1/30, no dns or gateway). All vNICs are tagged on my test vLAN (ALL traffic must be tagged on these hosts) and I fear this may be the issue. Does Hyper-V port mirroring support tagged traffic? Is this my issue and if so how do I solve this problem.

I was initially led to this assumption due to the following link: https://cloudbase.it/hyper-v-promiscuous-mode/

Which states: "Traffic generated on a VM with a vNIC set to tag traffic with a VLAN id cannot be directly monitored on another VM, unless trunking is set on the target" and then suggests running the following command: "Set-VMNetworkAdapterVlanVM3-Trunk-AllowedVlanIdList"100,101" -NativeVlanId0"

However I tried this for my specified "Mirror" nic the gateway as well and it did not work.  It is worth mentioning that I have not yet installed the gateway and have used the Microsoft network Monitor tool in promiscuous mode as prescribed and returned no results for LDAP or KerberosV5. Any assistance would be greatly appreciated.

VMs host name from Windows 2012 R2 hyper-v cluster

$
0
0

Hi,

We have 2 node hyper-v Windows 2012 R2 cluster.
Couple VMs run on this cluster.
I have check "Guest services" on each VM to get Guest services installed.
Run following script to get VMs' host name:

 (get-item "HKLM:\SOFTWARE\Microsoft\Virtual Machine\Guest\Parameters").GetValue("HostName")

But script failed with error: get-item : Cannot find path 'HKLM:\SOFTWARE\Microsoft\Virtual Machine\Guest\Parameters' because it does not exist.

Is any way to get each VMs host name and IP from hyper-v host?

Thanks

Why can't the hypervisor be launched when Windows is booted from a VHD(X)?

$
0
0

So I attempted in a few ways to launch the hypervisor on a "VHDX Windows".

First of all, I just tried to add the Hyper-V feature as I do for installation on physical disk. I was able to "tick" every sub-component of the Hyper-V feature including the hypervisor (i.e. it's not greyed out). However, during the required reboot, Windows told me that the feature cannot be turned on and reverting the changes, then after it reboots again the feature was not added.

Then I try to boot the VHDX in a Hyper-V VM, with the experimental nested virtualization enabled. I was able to enable Hyper-V and run a VM inside it.

However, when I boot the VHDX "physically" again, the hypervisor is not launched.

I also checked the BCD store with `bcdedit`. `hypervisorlaunchtype` is `auto`.

So is it the Hyper-V hypervisor just by-design not supported on "VHDX Windows"? If so can someone briefly explain the rationale? Also is there no hackish way at all to launch it under such circumstances?

SQL Server loses connection with the application after some Windows Update

$
0
0

Hi everybody,

I've asked this question before but unfortunately it got unresolved so I'm trying one more time.

My colleague developer is telling me that starting recently (about a month ago) our application loses connection with the database.

I'm not exactly sure how to troubleshoot this problem and resolve it. At one point we stopped all other SQL Server related services except for that instance database engine and it helped. But now the problem returned and the extra services are staying shut down, so it must be something else.

What should we do with her to figure and fix this problem for good?

BTW, I experienced some weird problems myself after that Windows Update, but I uninstalled some, then there was another Windows Update after that, and so far everything seems to be OK on my end.

Thanks a lot in advance for assistance.


For every expert, there is an equal and opposite expert. - Becker's Law


My blog


My TechNet articles



Why can't the hypervisor be installed/launched when Windows is booted from a VHD(X)?

$
0
0

So I attempted in a few ways to launch the hypervisor on a "VHDX Windows".

First of all, I just tried to add the Hyper-V feature as I do for installation on physical disk. I was able to "tick" every sub-component of the Hyper-V feature including the hypervisor (i.e. it's not greyed out). However, during the required reboot, Windows told me that the feature cannot be turned on and reverting the changes, then after it reboots again the feature was not added.

Then I try to boot the VHDX in a Hyper-V VM, with the experimental nested virtualization enabled. I was able to enable Hyper-V and run a VM inside it.

However, when I boot the VHDX "physically" again, the hypervisor is not launched.

I also checked the BCD store with `bcdedit`. `hypervisorlaunchtype` is `auto`.

So is it the Hyper-V hypervisor just by-design not supported on "VHDX Windows"? If so can someone briefly explain the rationale? Also is there no hackish way at all to launch it under such circumstances?


Windows 2008 R2 - Hyper V Logs - Successful events not found

$
0
0

Good Day Everyone


I exported 2 x Windows 2008 R2 - Hyper V Virtual Machines and to a different share in the network. I had time to see one VM completed successfully but 2nd machine being a big one I initiated the export and had to leave for the day.

This morning I came back I found the exported files in the network share but cannot find the logs in confirming the successful export. I  checked in event viewer Hyper V VMMS logs but it doesn't seems to have successful events but had previous failed events that I was working before. 

Any advise  or comments on where I can find the logs or events for successful export of VM.


Thanks again in advance.
Regards
Venki-VS

Background merge fails, replication state critical

$
0
0

I have a Windows 2012 R2 Hyper-V environment, which replicates to another server.

Edit: Both the primary and replica server have all windows updates installed.

The replication works 100% UNTIL I make a backup with the Windows backup (full backup) to an attached USB disk (This backup completes successfully). As soon as the backup finished the following events are logged:

Information (ID 19070): 'Server01' background disk merge has been started. (Virtual machine ID 0C9506DC-333A-4D04-8274-428B693C3E40)
Error (ID 19100): 'Server01' background disk merge failed to complete: Account restrictions are preventing this user from signing in. For example: blank passwords aren't allowed, sign-in times are limited, or a policy restriction has been enforced. (0x8007052F). (Virtual machine ID 0C9506DC-333A-4D04-8274-428B693C3E40)
Error (ID 33676): Replication operation for virtual machine 'Server01' failed: The process cannot access the file because it is being used by another process. (0x80070020). (Virtual machine ID 0C9506DC-333A-4D04-8274-428B693C3E40) (Primary server: 'VmHost', Replica server: 'SERVER03')
Error (ID 32016): Hyper-V failed to generate delta for virtual machine 'Server01': The process cannot access the file because it is being used by another process. (0x80070020). (Virtual machine ID 0C9506DC-333A-4D04-8274-428B693C3E40)
Error (ID 33680): Replication operation for virtual machine 'Server01' failed. (Virtual machine ID 0C9506DC-333A-4D04-8274-428B693C3E40) (Primary server: 'VmHost', Replica server: 'SERVER03')
Error (ID 32086): Hyper-V suspended replication for virtual machine 'Server01' due to a non-recoverable failure. Resume replication after correcting the failure. (Virtual machine ID 0C9506DC-333A-4D04-8274-428B693C3E40)
Information (ID 19070): 'Server01' background disk merge has been started. (Virtual machine ID 0C9506DC-333A-4D04-8274-428B693C3E40)
Error (ID 32510): Failed to delete the log file 'C:\VHD\Server01\Server01_E6713989-DDDD-400A-8B0C-6B0F0BF1F84C.hrl' for virtual machine 'Server01'. (Virtual machine ID 0C9506DC-333A-4D04-8274-428B693C3E40) (VHD C:\VHD\Server01\New Virtual Hard Disk_77946681-5D4D-410C-82A9-7285C5F692AE.avhdx) - Error: The process cannot access the file because it is being used by another process. (0x80070020)
Error (ID 19100): 'Server01' background disk merge failed to complete: The process cannot access the file because it is being used by another process. (0x80070020). (Virtual machine ID 0C9506DC-333A-4D04-8274-428B693C3E40)

After this, replication AND backup fails until I shutdown all virtual machines - at this point (turned off) the merge succeeds and after I start the machines again everything works fine until the next backup.

Please help.


VLAN doesn't work - on ONE HyperV host.

$
0
0

Hi

Setup:

HP-C-Class Blade enclosures

Server 2012 R2 Datacenter Hyper V cluster with two Hosts, one in each enclosure.

LAN-Team used.

5 VLANs defined on the HW-switch. The Virtual switch is using the LAN-Team

iSCSI storage using other NIC's.

Problem:

When using the default LAN-VLAN, network connectivity is working in the VM's on both hosts.

When using another VLAN, connectivity is lost when migrating the VM to Host2.

Testing:

I have disconnected each of the two physical NIC's from the Team on host2, and when assigning the affected VLAN to each of these Nic's the VLAN is working so the physical infrastructure is ok regarding the VLAN.

My focus is on the LAN-Team and the virtual switch on Host2.

On the LAN-team both hosts are set to "default VLAN membership", and imho the vSwitch also looks fine.

Question:

Have you got ideas into where to look further regarding this problem. My focus heres is the LAN-team and the virtual switch because the physical infrastructure benneath apparently is working as it should?

Best regards

Migrate VMware to Hyper-V : Some arguments to to deciders

$
0
0

Greetings,

This is not a question bu t an open discussion : I want to convince a customer to migrate to Hyper-V 2012 R2, since its VSphere platform is outdated and he decided to go VMware 6.0. I made all the slides to explain the difference between the products. I'm a Hyper-V Pro, and i deployed many Hyper-V platforms since 2008 versions.

But, my arguments are not solid enough since technically, we will keep the same features or regress (VMware still advanced on many areas, this will be cached up by WS 2016, but this decision has to be made now):

My questions :

- I don't want technical or budget arguments, i want strategic arguments based on the following facts :

- The customer has 12 ESXi hosts with around 450 VMs

- 21 offices with ESXi standards (2 VMs per host)

- We are implementing a Microsoft Azure infrastructure for data-center scalability and DR (Q3 and beyond)

- The IT is Microsoft pro, no VMWare expertise. We can manage (on the future) Hyper-V easier than VMware

I need your outputs, your key points, all advises are welcome. Make this project a success for me


Regards, Samir Farhat || Datacenter / Azure Architect || https://BuildWindows.wordpress.com

W2012R2 VM does not take dynamic memory

$
0
0

Hi,

W2012R2 VM does not take dynamic memory. 

Host W2012R2 not in cluster.

All updates installed

VM memory config: start 4gb, min 2gb, max 16gb

Page file uses 10gb

VM takes 4gb only

Hyper-V manger does not shows memory status and demand - normally it should.

RamMap shows Driver locked uses 800k

I tried to restart Hyper-V virtual machine manger service, disable/enable integrated services - no luck.

If I shut down VM and start it again - problem disappears.

But I need to resolve problem without reboot. Is it passible ?

How do you change writer caption from saved state to child partition or Online? - Server 2012

$
0
0
We are having issues backing up 2 of our Hyper-V VMs due to a microsoft related issue.

Server 1:
Exchange 2013 running on Windows Server 2012 standard

Server 2:  File & Print Server running on Windows Server 2012 standard

Issue: The failing backups are due to the VMs having a writers caption entry of 'Backup using Saved State' 

The caption entry that should read "online" or "child partition", andNOT "offline" or "saved state".

Once these VMs are in online state we will be able to run an 'Application Aware backup' of our servers.

Backup application: Veeam Backup & Replication



Backup starting every night killing RDP users

$
0
0
We have an issue that occurs every night when our backup software runs on the clients main server. The backup software uses the VSS and for some reason this causes the Hyper-V backup to start on both of the virtual machines. One of these VM's is a RDP server. Even though we have unchecked the backup in the settings of the VM the Hyper-V backup still kicks in. When it does the RDP becomes so slow that all users can no longer use it. The only fix we have so far is turn off the feature in the backup software to use VSS. We do not want to leave it this way because with the VSS off the open files on the server are not backed up. We need a way to prevent the Hyper V backup from starting when the backup software starts its nightly backup routine.

"license is expired"

$
0
0
Guest VM "Windows server 2012 R2" on new laptop with windows 10 Hyper-V shows "license is expired". Even after downloading again on 28th March 2016 from https://www.microsoft.com/en-us/evalcenter/evaluate-windows-server-2012-r2?i=1. How do I get the full trial 180days version, as I want to setup TLG for MCSA study purpose.

Hyper-V Advice - Virtual Network Switch?

$
0
0

Hi all,

I am currently trying out Hyper-V 2012 for the first time and I am just trying to get my head around the virtual switch config.

Basically I have a server 2012 R2 machine which has one physical network port which I need to configure a static IP address too.

Now every time I create a "external" network switch for my VM's the physical adapter on the Hyper V server seems to change to a virtual switch and loses all the IP settings I configured earlier which makes my Hyper-V server unreachable, is this normal?

A new network card is also created, am I right to think this is a virtual network card and I should configure the static IP settings under this card now instead of the physical network card?

Thanks in advance

Mac

Unable to find the specify generation when creating Hyper V using wizard

$
0
0

Dear Server Expert,

I am trying to create VM via the virtual machine wizard in hyper v. however, I found that currently the specify generation option is not available, hence I am not able to create generation 2 vm. I am currently using Windows Server 2012 Standard

Please advise on this.

THanks so much

Regards,

Hyper-V Server 2012 R2 - Cannot Delete VHDX or View Permissions on CSV

$
0
0

I have a VHDX file on a CSV that is no longer being used. It was left from a deleted VM. I am trying to manually delete it, but it dispears...and then when I click refresh...it's back again.

I attempted to delete this via Powershell on the CSV owner, but it says that Access is Denied.  I tried to change the permissions and owner, but it will not allow me to do.

Any help would be greatly appreciated.

Viewing all 8743 articles
Browse latest View live


Latest Images

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