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

Configuration with 2 servers and external switch

$
0
0

Hi,

I have a windows 8.1 PC joined to a server 2008 R2 domain.

It's a real physical server with DHCP, DNS and ADDS roles.

My test lab uses an internal network switch with a few VMs including a 2008 R2 Server Domain Controller with DHCP, DNS, ADDS. This is on it's own test domain.

The real domain is network 172.24.120.0/21 and my demo domain is network 172.31.31.0/24

I now need to activate windows on the VMs and so need to get out to the internet.

So I plan to create a new virtual external switch and connect my VMs to it.

Am I likely to have any issues e.g. with the two servers both having DHCP, DNS roles?

Any advice appreciated

Thanks

Ed


Windows Small Busines Server 2011 Standard VM will not boot after move it to Hyper-V 2012 goes into a reboot loop.

$
0
0

I have client that I am working with to upgrade and virtualize there environment with Windows Server 2012 R2 and Hyper 2012.

I have a Window Small Business Server 2011 Std VM that is running fine on the a Windows Server 2008 Std Hyper-V host but when I move it to and set it up on a Windows Server 2012 Hyper-V it will not boot in to windows. It startup and attempt to load windows but gives a quick Blue Screen that I can see and reboots.

Anyone had this issue? Anyone have any basics thoughts or ideas what could be the issues. I have setting the same except I set the new VM to use dynamic memory (Which I tried without enabling dynamic memory and still would not boot). Also I don't have the NIC set to "not connect" until I get the VM boot and configured.

So if anyone has any thoughts on this please share you insight.

Thansk

Kevin

 

Help with DMZ Setup for Edge servers (skype for business, etc)..Switch vlans.. Proxy Server needed?

$
0
0

I'm trying to figure out what the best route for all this would be for us.

I wanted to configure one Virtual Machine that would be an edge server, mainly for Skype for Business, so it could be setup to work on the mobile platform.

We have a dedicated ip address configured on a 2ndary port on our gateway (sonicewall)..

This is what I thought i needed to do:

Take that port and send it to our switch..

Take 2 of the many ports i have on our hyper-v host server and team them.. create a virtual switch (of which type, external, private, etc.. assumed external.. actually all of our existing switches are set to external in hyper-v)..

From the 2 ports on the physical host server, put them into designated ports on the main switch..

So now i have port 39:  Router cable.. port 41 (team member A), port 43 (team member b)..

I figured now I setup VLAN on the DGS-1248T (older switch).. vlan 01 is the default, everything set to "untagged" except ports 39, 41, 43 are set to "Not member", then create VLAN ID 02 and set all ports except the 3 ports to "not member" and set the 39,41,43 to "tag".

*Might not work here either, as this switch is layer 2 (i think) and doesnt support routing, so i dont think having the router going into #39 does any good, not sure what the solution is if this is the case.

At any rate.. i'm wondering if any of this is the correct thing to do.

Then there is the question of being able to "talk" to the domain member servers (non dmz).. does this imply setting up a proxy server in the dmz (which software?)..

And also how to remote to the dmz servers to "work on them" since they are isolated (direct connect via hyper-v consoles only?)..

Thanks in advance for any suggestions here


Tech, the Universe, Everything: http://tech-stew.com Just Plane Crazy http://flight-stew.com

Windows 10 Build 10240 Managing Hyper-V on 2012 R2 Datacenter Cannot Connect

$
0
0

So, we have a total of six Hyper-V servers in our environment. All six were installed from the same Server 2012 R2 Datacenter ISO. I have been managing these from my Windows 8.1 machine with no issues. I got ahold of Windows 10 build 10240, and I am running into an issue connecting to the servers now.

The strange thing is that I CAN connect to one of them. I cannot figure out what is different on this one server from the other five. Windows updates maybe? I migrated all the VMs off one of the servers I cannot manage remotely, performed all Windows Updates, and I still cannot connect to it.

I am reading that Windows 10 should be backward-compatible with managing Hyper-V on 2012, but on connection, it appears a WMI namespace is missing that the Windows 10 tools are trying to connect to.

I am not trying to use alternate credentials (I read this will NOT work from 10 to 2012 R2). Any ideas why this is not working? Several Google searches have not told me anything so far. I realize Windows 10 has not officially been released yet, but a few of us are testing the waters for compatibility issues.

I would appreciate any help anybody can offer.

Eric

Hyper-V VM failed to start - General access denied errror

$
0
0

HI,

 

When i'm trying start my newly created virtual machine  I've got error:

 

VMMS Account does not have sufficient privilege to open attachment ".....\SRVVirt.vhd"

 

I am logged in as administrator, Services ara running with following accounts :

 

Hyper-V Image Management Service - Network Service

Hyper-V Networking Management Service - Local System

Hyper-V Virtual machine managemet - Local System

 

Operating system is clear installation of Windows Server Standard 2008 RTM with Hyper-V

 

Installed roles :

 

Application server

File Services

Hyper-V

Web Server

 

any suggestions on how to overcome this issue and get the hypervisor running would be greatly appreciated.

thanks.

 

Radek

 

.

Dissapointing performance after implementing dynamic memory

$
0
0

We have a two-node Hyper-V cluster running Windows Server 2012 R2 on the hosts and on most of the vm's. For various reasons we have not before tried using dynamic memory on any of these vm's, but we recently decided to do so.

We turned dynamic memory on for about 90% of the vm's (there are about 30 in total) and largely left startup memory unchanged from what it was before and set minimal memory to what we felt each vm could just about get by with. This was significantly lower than startup for most of them. we set maximum memory quite high for some of them as these have very varying workloads. We identified a set of critical vm's and made sure that the sum total of maximum memory for these did not exceed the 128 GB, which each host has, so that we can always patch the hosts without interfering with the critical vm's. So maximum typically is a lot higher than startup.

All in all, we expected better performance as we expected Hyper-V to have more free hands to hand out memory to the vm's that need it. What we saw was that several vm's became sluggish.

And we noted that in fact many vm's received memory below their startup value, while leaving most of the host memory unused. This surprised us. why would Hyper-V hog all that memory to itself?

A few numbers:

Host 1:

Total startup = 30 GB

Total Assigned = 22 GB

Total Minimum = 20 GB

Total Maximum = 58 GB

Total Demand = 14 GB

Host 2:

Here there are 3 vm’s which still use static memory. They have 14 GB between them. They following figures are for the other vm’s:

Total startup = 17 GB

Total Assigned = 21 GB

Total Minimum = 11 GB

Total Maximum = 53 GB

Total Demand = 20 GB

Question 1: Are the figures for assigned memory about what is to be expected given the other figures and given that both hosts have 128 GB?

Question 2: What can we do to change this? Is there a general setting where we can tell Hyper-V to just use more memory as long as it is available? Or do I have to increase minimum memory for all vm’s?


What is the best method for running both Linux and WIndows Server 2016 on a server?

$
0
0

I want to know What is the best method for running both Linux and WIndows Server 2016 on a server so I can remote access both the OSs simultaneously. I have heard of Hyper-V. Should I install Hyper-V and install Linux and Windows Server on top of it? Or should I Install Windows Server and Hyper-V  and Linux on top of it? Or is there any better method? What would you recommend?

Finally, are there any tutorials, examples on how to do so about the method you suggest?

VHD/VHDX recovery method

$
0
0

Hi,

What is the best way to repair a corrupt VHD/VHDX file? Is there a correct process to go through and if the tools by Microsoft don't work, what other 3rd party tools do you guys recommend?

Thanks


How to convert XenServer image to Hyper-V images?

$
0
0

We have a Redhat Linux Mail server which and couple of Windows Server on XenServer VM.

Please let me know is it possible to convert XenServer VM's to Hyper-v VM's

Will SCVMM V2V will do the need full? or Any other solution is available? Please let me know the procedure.

Using Hyper-V replica for VM Migration

$
0
0

Hi Frenz,

           I have a VM (1.2TB Harddisk) running on Windows server 2012 standalone Hyper-V Host. I'm planning to Migrate the same to New hardware Windows 2012 R2 Clustered Hyper-V server on same data center.

         1. Is it a good method to migrate Hyper-V VM to new Host using Hyper-V replication?

          2. Since the VM hard disk size is 1.2TB, will that Hyper-V replica method will work for me, I mean any known limitation on HDD size?

          3. Any Best practices should be followed on Hyper-V replica.

Kindly help me with the answers.

Problem with Windows and Hyper-V

$
0
0

Hi, everione

I've just had a problem. After I installed Hyper-V from iso on my Windows 8.1 I don't know how to enter the Windows.

Is it possible that having installed Hyper-V I deleted Windows from my computer? Please, help know how to log in back to Windows 8. Thanks!

VM's stalling after applying october 11th Windows Updates to host

$
0
0

Heads up.

Two of our VMs has stalled/freezed either during night or today at day-time after the latest windows updates were installed approx 10 hours ago (night-time). The VMs were set to resume when hosts were down for updates. This is not normal. Anybody else seen this?

Hyper-V servers are 2012 R2.

Updates were installed:


Hyper-V 2012 and TMG 2010/NLB

$
0
0

Hi there,

I have an issue with TMG 2010 on Hyper-V 2012 - the Setup:

- Windows 2012 Hyper-V

- TMG 2010 SP2 Rollup 4 running on W2K8 R2

TMG 2010 (Array Node1) Network
Internal Interface: 10.0.0.10/24 (Route to 192.168.11.0/24 over 10.0.0.1)
IntraArray: 192.168.10.10/24
Perimeter: 10.0.60.10/24 GW 10.0.60.100

TMG 2010 (Array Node2) Network
Internal Interface: 10.0.0.11/24 (Route to 192.168.11.0/24 over 10.0.0.1)
IntraArray: 192.168.10.11/24
Perimeter: 10.0.60.11/24 GW 10.0.60.100

Domain Controllers:
192.168.11.10
192.168.11.11

The NICs of the TMG VMs are configured with the correct VLANs and on the Perimeter Interface as well as on the Internal Interface I activate MAC Address Spoofing.

Once I activate NLB on the Perimeter Interface all works fine. But NLB on the internal Interface does not work - I see that NLB got configured on Array Node 1 but the second one does not get the config nor is able to sync it´s configuration with Array Node 1. ALso the Servers are not able to communicate with the Domain Controllers anymore. Once I deactivate MAC Address Spoofing on the internal Interface and remove NLB the Server are able to speak to the Domain Controllers...

Any suggestions?

Windows 10 Build 10547 screws up Hyper-V networking

$
0
0

Whey I upgraded to Windows 10 build 10547, Hyper-V doesn't seem to have successfully migrated.

In the previous Windows 10 build, I had Hyper-V enabled with a single guest machine running Linux, connected to a virtual switch in Shared External mode.

After the upgrade to 10547, all of the network protocols for my Ethernet adapter were disabled (which I think is normal when using a Hyper-V switch). The vEthernet adapter has all of the protocols enabled, but it can't get a DHCP address. So, packets are disappearing into thin air.

As a work-around to gain internet access, I can disable the Hyper-V network service in my Ethernet adapter and re-enable all the other network services, but obviously, this defeats the Hyper-V switch, making my guest OS inaccessible.

I tried uninstalling and reinstalling the Hyper-V networking components with:

netcfg -u vms_pp

netcfg -c p –i vms_pp


But that didn't help.

I tried removing the Hyper-V feature with hopes of re-enabling it to reset it to factory config, but upon restarting my computer after disabling Hyper-V, the pre-login Windows Update screen came up and indicated that Windows was unable to remove Hyper-V. It undid its changes, restarted, and I'm back to I was before. I think it's because of the netcfg commands I ran -- on a different machine also running 10547, before I tried mucking up Hyper-V, I just straight-up removed it, and it was able to successfully remove.

Tried to install VMWare Desktop as another work-around, but you have to have Hyper-V disabled to be able to use it as a hypervisor, obviously.

Any ideas for getting Hyper-V to work?

how to move .vhd and .avhd

$
0
0

Hi guys,

i once happened to be created a virtual machine using hyper v where the parent locations are two different external hard disks and all of a sudden only the memory is allocating only to one of the hard disks and inturn the memory is low as where as the other hard disk has lot of memory.My question is can i directly copy or move the vhd file to new location and turn on the hyper v? will it work?


All Hyper V VM s are using 100% CPU

$
0
0

All

We have a windows server 2012 as a hyper v host and 2 VM S SBS 2011 and windows 7 VM

Since this Tuesday the CPU usage is a constant 100% on both VMs and since backups were failing due to high cpu usage rebooted the SBS 2011 server. But even after a reboot/shutdown SBS is at a constant 100% usage

We disabled all non MS services, disabled Exchange, SQL and memory hungry services but the CPU usage is at a 100%.The time it goes down is when we stop all MS /NON MSservices except bare minimal services which needs to run the SBS properly

Even with this the moment we open up a MMC console , open up an application on the server the cpu goes to 10% and remains for a long time and then goes down again

But with all SBS services running it never happens and stays at a 100% even after acouple of hours

Hyper V integration services are up-to-date

Any advice is greatly appreciated.

Thanks

Dhanushka



Hyper-V 3 Node Cluster unable to start virtual machines.

$
0
0

Hi Guys

I need some clarity on the following issue i have experienced with a 3 node Hyper-V Cluster.

Some info before i jump into the issue.

3 HP Proliant DL380 Gen 8 Hosts running Server 2012 R2 with all latest firmware patches and updates.

1 Dell MD 3200i SAN with 3 luns shared as a cluster shared volume to each host respectively.

The following happened:

2 of the hosts where placed into maintenance mode and certain VM's where gracefully shutdown for maintenance.

1 Host remained active with only a few critical VM's running in Production.

After the 1 remaining Host went down due to the UPS failing it was started up 2 mins later.

None of the virtual machines where able to start stating the the configuration file was missing I could not even edit the VM's.

After testing migrations, SAN connectivity, Cluster connectivity and CSV access all seemed 100%.

The cluster was up all nodes where visible and all VM's where showing on Failover Cluster Manager but not on the local Hyper-V manager.

I then proceeded to Technet that had an article regarding the .xml files being corrupt and something in the string has changed.

I even restored the .xml files from 2 week back with no joy in starting any VM on the environment not even the machines that have been gracefully shutdown. All VM's in the cluster regardless of the server they resided on would not start. Yet migrations worked CSV could be accessed and VHDX files all where visible and in tact.

The VHDX's could be mounted to new virtual machines and ran perfectly.

The only way I was able to bring the environment back up was to delete each individual VM from Failover cluster manager and re import them locally to the Hyper-V manager then re add them into the Failover cluster manager.

Surely doing this cannot be a solution as taking everything from HA to local then re adding cannot be the answer.

Is there any reason or explanation as to why the VM's even the ones that where gracefully shutdown would not start if one host fails in the cluster.

We have run a full drop test by turning everything off and starting it up again and it was successful.

Please feel free to comment if there is any additional information required to grant an explanation to this strange occurrence.

Thank you in advance

Regards

Serious

Sizing Hyper-v Guests for cores use - best practices these days out of the total physical cores on a CPU?

$
0
0

I had a question for everyone regarding hyper-v sizing for guests and allocating cores..

In the past i think the rule of thumb was to not put more vm's on a given hyper-v server than cores.. so if it had 8 cores, 8 vm's max.. and if a vm required say 4 cores, then you were left with only 4, so 5 max worst case..

In some reading online it sounds as if that thinking no longer applies?

Case example of our new Hyper-V server.. 

I have a xeon e5-2650 v3 2.3 ghz 10 core.. two of them.. so 20 physical cores, 40 Hyper threaded..

I'm assuming HT doesnt count for much.. that said..

Taking the example of say virtualizing exchange, which i think requires a minimum of 4 cores.. I would assign 4 cores to that VM as an example... leaving 36 cores..

In the past i'd only assign more than 1 core to a vm if it needed it.. IE: for instance new 2012 R2 file servers, i still have set to 1 single core and often they even get hammered by DPM agents running sync tasks..

I thought i read that basically you could give the vm's more cores than you might need and it would only utilize what it needed..

So say i had 10 vm's all using 4 cores.. effectively using all 40 of whats "available", old thinking would say no more VM's should be added or assigned more cores, but I would think that depends on loading.. in our environment only 20-30 concurrent hits a time occur, even with one single core assigned, often i never see the vm go above 15%..

So if you have maxed out the spread of cores, or nearly maxed them out, is it still ok to assign more vm's counts higher than the default of 1?

Perhaps assign each vm 4 to start no matter what, for performance increases?

Any help on clarifying this would be great, thanks in advance


Tech, the Universe, Everything: http://tech-stew.com Just Plane Crazy http://flight-stew.com

can not start Virtual machine , error code 0x80070490

$
0
0

Hey ,

I installed windos server 2012 r2 then i install hyper-v role , then i create 2 virtual machine, after that i add win server 2012 to my domain controller. so when i try to connect the vertual machine this error appear:

"An error occurred while attempting to start the selected virtual machine(s).
Could not initialize machine remoting system. Error: 'Element not found.' (0x80070490).
Could not find a usable certificate. Error: 'Element not found.' (0x80070490).



i can connect and start virtual machine just when i removed the server from domain and back to the workgroup but when i join to domain this error appear !!

Hyper-V Cluster 2012R2 error 106 - The processor sets overlap when LBFO is configured with sum-queue mode

$
0
0

I'm reading through this KB (https://support.microsoft.com/en-us/kb/2974384) since it describes my issue quite well.

The team in question consists of a quad port i350.

Question 1: Can I make any of the changes while the system is in production, or should I drain the node just to be safe?

Question 2: The cluster doesn't show any negative effects from this error [yet], Can I leave it alone?

Question 3: If Sum-queue is the underlying issue, is changing over to Min-queue mode feasible?

Name                                            : Team.VM2.4x1GbE
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]                :  :
Really appreciate your help, thanks!!
Viewing all 19461 articles
Browse latest View live




Latest Images