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

Hyper-V PXE Lab can't do PXE Boot in VM without configure DHCP Options 60,66 & 67

$
0
0

Hi,

I'm actually have a PXE Architecture testing Lab build on top of an Hyper-V Host:

My host is a Windows Server Hyper-V 2012 R2 (Full Updates) with only an Internal Virtual Switch for my test Lab. All VMs are Generation 2 and secure boot is disabled.

I have VMs:

  1. SCCM Primary Site
  2. AD DS with DHCP
  3. SQL Server for SCCM DB
  4. SCCM Distribution Point PXE Enabled support for All unknow Computers
  5. Windows 10 Client Machine for PXE Boot test

When I try to do PXE Boot in my client Machine I've an error for my Network Adapter of DHCP Failed, Searching in forums an articles, point to me to change the DHCP Options 60,66 and 67, and It works, but my question is: Microsoft not recommend to use DHCP Options According to Article https://technet.microsoft.com/en-us/library/cc732351(v=ws.10).aspx, instead configure IP-Helpers in routers or switches. I have no switches or routers because I'm in a virtual environment and I know that IP-Helpers is only use when you have DHCP and WDS in different Subnets. I don't want to configure RRAS or a Virtual Switch Layer 3, because in other non-microsoft virtualization environment that I have  it works like a charm without configure DHCP Options or IP-Helpers.

So could you help me to know why Hyper-V can't do PXE Boot without configure DHCP Options that microsoft not recommend?

thanks Guys for the help that you can bring to me.




Upgrade Hyper-V VM from 2008R2 to 2012 R2

$
0
0

Hi,

anyone ever upgrade VMs (hyper-v VM) from 2008 R2 to 2012 R2?

I know upgrading from 2008 R2 Standard SP1 to 2012 R2 is possible, is there any recommendation and do I have to activate 2012 after the upgrade?

Thanks


FD

windows server

$
0
0

 1.  After installing windows Hyper server 2012 R2 and windows microsoft Hyper server 2012, on starting either of the servers's it is asking for a password. I don't remember giving a password during instllation.  How to proceed to start the server.

2. How to un-install the server.

 

Hyper V Disk Erased with Checkpoints

$
0
0

Please allow me to begin by saying Uuuf! I visited a company where a Hyper V server was running on an external USB drive (I am not kidding). It did not end well. 

Here is where the plot thickens:

  • They recovered the files eventually, but the IT person had already deleted the original VM and created a new VM in its place. So they just can't put the data files back in their original location.
  • The recovered VM files from the USB drive have 5+ checkpoints plus two VHD's with the same name, same date, different sizes.
  • There is not a current backup (last successful backup shown in Logs is from Nov. 2015 and they can't even find the backup drive with those files)

I want to help but is this a waste of time? Are the odds of recovery good? If so, can anybody point me towards a starting point? How can I merge the checkpoints to be able to attach the VHD and retrieve the data?


Miguel Fra | Falcon IT Services
http://www.falconitservices.com




How to connect two Virtual Machines on different hosts

$
0
0

Hi Technet,

I need help connecting two virtual machines on different hosts, Let me explain my requirement.

I am trying to establish a test environment in my office. I have a 192.168.x.x range of IP Address in my office. I have 2 base machines (Host1 and Host2 not joined in our domain), created two virtual machines with Hyper-v on Host 1 and created another Virtual machine on Host 2. Both Hosts have 192.168.x.x IP addresses to rdp to my laptop. Now my requirement is to make communicate the virtual machines on host 1 to VM on Host2, I need to install AD and exchange 2010 in Host one and Exchange 2016 on host 2 which I don't want to create in my live environment, Can I assign any other private IP range and do this task if yes how is it possible or Can I do it on my live Environment and will be no risk since they are not joined to our domain? How can I make it possible. Can one suggest a best way. Thank you 

Can't eject DVD ISO from Hyper-V guest machine on Windows 10 Enterprise

$
0
0

I am building Red Hat 6.8 virtual machines on a Windows 10 Enterprise host. Works fine -except that at the end of the guest installation, when it prompts you to reboot, the VM comes back to the Red Hat splash screen, running off the installation DVD, rather than booting the freshly-installed guest O/S.

No problem: just eject the DVD. Click Media -> DVD Drive -> Eject <name-of-iso>.

And at that point, I get a pop-up box declaring "Failed to remove device 'Microsoft:Hyper-V:VirtualCD/DVD Disk':Access denied (0x80041003). Account does not have sufficient privilege to open attachment 'D:'. Error 'General access denied error'.

If I shut the VM down, then I can either edit its settings to set the drive to 'none' contents, or I can click the Media->DVD->Eject option successfully.

So basically, I cannot eject a DVD from a running VM, and I would like to be able to do so

What privilege is required to do this on a running VM, please? And how may I grant it?

(For the record, I also ran an administrator powershell, and got the same error when I tried to eject the DVD from a running VM with the command Set-VMDvdDrive -VmName <vmname> -ControllerNumber 1 –ControllerLocation 0 –Path $null. But if I powered down the VM, then that command silently returned, indicating success. Which is nice, but again: I would like to be able to eject DVDs from **running** VMs, not just ones which have been shut down.)

Thanks,

HJR


Windows Server Datacenter as a host?

$
0
0

Hi,

If the virtualisation host is licensed with a Datacenter license, then it can have an unlimited number of guests running Windows Server, including the Datacenter edition itself.

My question is, is there a benefit in using Windows Server Datacenter as a guest? I'd rather be more conservative and have Standard for guests, but currently there is a mixture of Editions on the estate, and I'd rather streamline to one, whichever it may be, i.e. if Datacenter has its benefits, then let's go for that, otherwise it's Standard.

Thanks!

... Alex ...


... Alex ...

Hyper-V 2012 R2 virtual Fiber HBA for Linux Gues OS

$
0
0

Hi,

Can any one confirm if the combination of "Hyper-V 2012 R2 + virtual Fiber HBA + RHEL guest OS VM" are supported by Microsoft. We have assign virtual Fiber HBA on Linux guest OS but unable to see the WWPN number at the OS layer. Even if we assign the LUN based on the WWPN number what we see on the Hyper-V VM console, will it work ?

Regards,


Does anyone covert Suse Linux 11 SP2 from VMware 5.5 to Hyper-V 2012 R2

$
0
0

Hi

I want to migrate my MV environment from VMWare to Hyper-V but Microsoft don't help me to do it. No guide how to do it, no examples, nothing...

Virtual Machine Converter 3.3 converted VMware VM with succesfull but Linux cannot boot in new Hyper-V VM.

The same situation after conversion using Microsoft System Center VMM 2012 R2.

It make me crazy....

Does anyone covert Suse Linux 11 SP2 from VMware 5.5 to Hyper-V 2012 R2 with successfull?

My VMware VM with Suse Linux 11 SP2 setup is:

Thank you very much for help.


Kind Regards Tomasz

Powershell command for Auto-Display Resolution

$
0
0
Can anyone help me providing the command for display auto size instead of using specific number for width and height ? I want the power shell command to do auto-size the screen resolution for virtual machine.

fast after storage move

$
0
0

Server 2012, clustered Hyper V, two hosts and approx 15 guests on a HP P2000 G3 SAN (dual controllers  2 X SAS connections per host server)

 I am experiencing a confusing issue and hoping someone has some suggestions.

We have an RDS farm with two servers and they have been getting a bit slow to respond.

I added eight new 15k disks to the SAN, configured as RAID 10 and used only for the two RDS servers.

Using Crystal Disk Mark to test speed on these two servers I get up to 1000MB/s on sequential reads.

A couple of days later they are back down to 80MB/s on testing.

The Confusing part! If I perform a "move virtual storage operation" to a different Virtual Disk on the same SAN, the speed comes back.

If I then move it back to its original location the speed is back up to 1000MB/s again.

This is with no users logged on, no backups running, nothing.

Move it out, and back again immediately (40 mins for entire operation) and the speed increases dramatically

I now have both RDS servers on the same LUN and one running at 10 X the speed of the other.

It works with either server, the one you move picks up speed. 

thanks

James

VM did not restart automatically after power outage

$
0
0

some of my VMs did not start automatically after power outage and we got to start manually. All VMs have same configuration but it happened on few VMs only. Furthermore, it does not always happen. 

 I have no idea what has happened. 

appreciate your help if anyone knows the reason.


VMs aren't migrating properly

$
0
0

Howdy,

I paused one of our Hyper-V Nodes last night and asked it to drain roles.  Normally, this would just live migrate the VMs off and everything would be fine.  However, it didn't work that way and everything threw errors and ended up doing a regular migration where the machines got powered off.

Today I tried to do a manual Live Migration with just 1 VM and got strange results.

The VM did live migrate and Hyper-V Manager shows it is now on the new node.  However, in FCM the VM shows as being Off.  I tried this with 2 different VMs and both did the same thing.  In FCM, the Status shows as Off but yet the Up Time counter is counting.

Has anyone ever had this happen before and know if this is pointing to some sort of problem with our Cluster configuration or something?

Thanks.

Hyper-V with Sql and IIs

$
0
0

We are beginning to understand Hyper-V and we are interested in secure our ASAP Server and some webpages via Hyper-V or the best way. We have a 2008 server Enterprise R2 with Sql server 2008 R2. We are looking the Hyper-V function and we heard that for maximum security for Sql can be used a virtual private network. We see that Hyper-V has options to make virtual networks "External"' "Internal" and "Private". According to that we have these questions:

1.-For best security for Sql what is best suggested put Sql server in a "Private" Hyper-V Network?. 
2.-About point 1 case if you create a "Private" Hyper-V Network is required to create also a "Internal" Hyper-V Network and communicate from "Private" to "Internal"? We ask because we saw that "Internal" creates a Network connection in Windows and "Private" not and if we create only a "Private" network how can we communicate from connection string in our applications to write and read to the Sql? The "Private" can receive a NAT internet from a sharing of the main computer? Or what could be the scheme of configuration of Sql if suggested a "Private" only Hyper-V to communicate with the main computer. Or is required only for "private" Hyper-V to communicate with a "Internal" and no other way?
3.-Or is best create just a "Internal" Hyper-V Network and use the network adapter created in Windows by Hyper-V to communicate with the main computer and our applications? For example in connection string use \\IP_Internal_HyperV\......? Or how could be the scheme of communication? In this case we know like a network adapter is created in Windows you can share NAT and other things but what is best suggested if "Internal" Hyper-V is best suggested to secure in best way Sql?
4.-What is the best way to secure Sql? Maybe is not suggested Hyper-V to secure Sql what other way could be?
5.-We ask for Sql this because time ago we had hacking attempts to our Sql and one of our applications. Some problems were that we used an application that posted messages via a www link for example: "http://www.xxx.com/app.asp?messagepost=example&postid=hello" Then someone tried to use that kind of remote feature and posted millions of messages using a robot or who knows. Then they attempted to enter the Sql through the app.asp. This is an example and we want to protect the Sql and isolate some webpages to receive and send information only allowed to the IP of our main server in other words the host the rest of the traffic ignore. And could be tricky because if you post via the www link with "app.asp" example like we mentioned before then although you hide the Sql in a Hyper-V network the application still using the connection string of "app.asp" and if you post like we said via "app.asp" then they can continue posting garbage because the connection string will call the Sql hidden in the Hyper-V network.  Maybe they can't attack the main Sql but the will continue posting messages like a crazy using the "app.asp". This problem to protect the example "app.asp" can be solved using Hyper-V or what you suggest? For now we solved "app.asp" by confirming the messages by one admin before posted to the Internet. But if there is a way to protect with Hyper-V much better. That is why we ask.
6.-Then for all the before mentioned it is possible for example to isolate like one web page only and call that webpage from the IIS on a "Internal" or "Private" Hyper-V network. The rest of our webpages we'll continue running in the main server normally but we just want to isolate one page for the point 5 cause and protect that webpage and the Sql at same time.

We hope someone can orient us.

Thank you

Do 2016 Hyper-V scalability and more also work on Windows 10 Client Hyper-V?

$
0
0

Hi all,

I see this blog from MS

https://blogs.technet.microsoft.com/windowsserver/2016/08/25/windows-server-scalability-and-more/

The upcoming Server 2016 Hyper-V look wonder on it new scalability ....

I am also using Windows 10 Pro with Client Hyper-V
So I am wonder, do Windows 10 Client Hyper-V also support the same many key feature for example, vCPU, vRAM? I know about the HOST side it is different, I just want to know on the VM side this part do they will different.

Thank you.


Unable to boot converted VHDX

$
0
0

Hi,

We have one laptop which we have convereted into VHDX and when we attach VHDX to our Hyper-V 2012 Server we are not able to boot the converted machine and getting following error -

"Boot Failed. EFI SCSCI Device"

Tool used to convert physical machine to virtusl is - Disk2VHD (Microsoft Disk2VHD - https://technet.microsoft.com/en-in/sysinternals/ee656415.aspx)

Error Message

We have selected the Generation 2 option and also unchecked the Enable Secure Boot option but still getting this error message.

Please note that we don't want to boot from ISO we want to boot this VHDX, please help us.

Your reply is highly appreciated.

Regards,

AJ


Arjun V.

Guest System Win 10 under Hyper V has fatal error 0xC000021A

$
0
0

Hi,

we have a WinServer2012R2 with Hyper-V. There actually two VMs (Win7) running, everything ok.

Now trying to install a VM with Win 10, fresh Installation from ISO (different Version = same result ).

Installer of Win10 runs completely to end, restarts and then blue screen error 0xC000021A! No chance.

It was no update or something like that, just a fresh Installation.

What to do to install a WIN 10 als Guestsystem on Hyper-V ?

Best

Robert

Hyper-V 2012 R2 - Firmware only showing "File - BootMgrFW.efi" or "No Boot Entries" if new

$
0
0

This has only just started to showing today

I created a new VM on one of my hosts to test ConfigMgr OSD Deployment, only for it to fail to boot

When I checked the config of the VM I see this: 

On existing VMs on the same host, I only see the Bootmgfw.efi option - no CD Drive or NICs even though they were there a few days ago.

There have been no new updates other than SCEP definitions and no changes to the server

My other Hyper-V host is fine with no issues but worried it'll suddenly start.

OS: Windows Server 2012 R2 Ent with Hyper-V role installed (obviously!) 32 GB RAM
Server has been running around 3 months

Anyone got any ideas?


Regards Craig Wilson

Restoring VM from VHD file

$
0
0

Dear All,

We were running a Hyper V server,but got crashed suddenly but i have the VM folder of the VM which includes the VHD and all other files ,is it possible to restore the VM from the VM folder .

the version of the Hyper V was 2008

Regards

JacK


TechGUy,System Administrator.

Hyper-V VMConnect mouse

$
0
0

HI,


I have a 2008 R2 Hyper-V Clustered server infrastructure, utilizing 12 Hyper-V servers with three distinct clusters

All the Guest OS are also 2008 R2 and have Integration Services installed.

This live environment has been working for over 2 years with no issues.

Within either Failover Cluster Mgr, Hyper-V mgr on a specific Hyper-V server or via VMM from our VMM mgr server, when I right click a guest OS and select 'connect to virtual machines', a console window opens but when I left click in the window, I get a message stating "Mouse not captured in Remote Desktop session". I am then unable to access the guest OS via the console but can still RDP directly to any of the Guest VM's.

This has previously been working on all Hyper-V servers for 2 years and has now stopped working on them all at the same time.

Reading online posts the resolution appears to be to reboot either or both of the Hyper-V host or guest VM's.

This is not practical in a production environment and I could understand it if a single Hyper-V server was to experience this problem but to see it on 12 at the same time suggests something else is going on.

Would anybody have any advice?

Thanks

Tim

Viewing all 8743 articles
Browse latest View live


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