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

Win Server 2012 R2 Hyper-V UEFI boot from WDS failed. (Integrated mode only).

$
0
0

Hi, here is what's going on: Gen 2 UEFI boot works fine only in Standalone mode. But in AD integrated mode - PXE only. Any ideas? There's my settings and boot screen below:

Boot Screen


Vadim


Sometimes the mouse doesn't left click in Hyper-V

$
0
0

I am MCT, some of the classes I deliver at the customer location, in which case I prepare the VMs at the training center, and the participants access them using remote desktop on the machine (not directly on the virtual machine).

Sometimes a very strange thing happens. Moving the mouse in the VM windows selects text, if selectable text is available, left click doesn't work, but right click works fine. In the remote desktop window, everything is fine.

I cannot reproduce this problem, and I fix it with reboot or revert. Both work.

I am guessing this is some setting that is triggered by a key combination.

Thanks for any information on the issue.

The Default Virtual Machine Configuration Store Cannot be Changed......

$
0
0

I am trying to change the default virtual machine configuration store from within the hyper-v settings to a SMB 3.0 share.  I have been able to change the Hard Disk location but when I try to change the Virtual Machines location I get an error:

Failed to modify service settings

The default virtual machine configuration store cannot be change to '\\computer\sharename\'  The network path was not found. 

I have check both NTFS and share permissions and both Hyper-v servers have full access to this share.  If they hadn't I wouldn't have been able to change the Hard Disk locations. 

What am I missing?


Kristopher Turner | Not the brightest bulb but by far not the dimmest bulb.

File Server Clustering on Virtual Machine on fibre SAN.

$
0
0

Hi Team ,

I have Two Hyepr-v Host running on Windows 2012 /R2. I am planning to create two virtual machine and Want to use them as a File server cluster . I have FC san at backend . Please let me know if it is possible.

Thanks in Advance.


Ravi

Hyper-V for Test environment with internet but not LAN access.

$
0
0

This is what I thought would be a standard scenario, but the plethora of methods I have attempted to get my test environment access to the Internet but not my LAN/Domain have all failed.

The goal is a 4 VM test environment on one host where data can be moved from that host to the VMs and the VMs can access internet (to test that part of that for which they are the test environment).

I initially though I would build a subnet to this purpose with four NICs on the server (one for each VM) and two NICs on the host (one for LAN/Domain connection, and one for VM connection, such as data transfer).

The more I read, the more it sounded like I had over complicated matters, so I tried instead to bypass the 4 NIC subnet method, and use private virtual network connected to one of the server NICs and leave the other in its' standard LAN configuration, then use RRAS as a NAT router.

I have found it easy to get the four VMs talking to one another, but not get them a route to the internet.

So folly aside, what is the best way to have my test environment of 4 virtual machines on this host, be able to get data from the host, and access the internet, but not interfere with any LAN/Domain activity?

Open for suggestions and eager for the assistance-

Sincerely,

Stuart


Stuart TechnoFile

Windows Server 2012 R2 - HyperV Role Installation - An unexpected error occured

$
0
0

I am facing this strange issue with our brand new blade HP BL460c gen8 servers.

Its not happening on all. Mostly if we do it among the first steps after OS installation, HyperV role gets installed successfully.

Here is the usual steps I did

OS Installation, Network Configuration, Adding to domain

Patch updates - 8 updates which was listed on Windows Update got installed

Powerpath

Navisphere

Fail-over Cluster

HyperV

Suspecting the patches, I tried even remove all the windows patches which got installed. No luck.

I dont see anything apart from the same below message on the event viewer.

To confirm the server is fine, I just reinstalled one server and immediately after joining to the domain, Installed HyperV Role, which was successful.

Any clue?


Cheers ! Shaba


Can't ping my virtual machine..

$
0
0
Hi, I have set up a virtual copy of Windows XP on my Hyper V 2008 x64 server. I have set the virtual computer to have an "external" IP configuration in virtual networks.
My virtual computer is able to ping computers other than my Hyper V so other computers which are physically on the same network as the Hyper V server, but none of them, including the hyper v server are able to ping back the virtual computer.
What could this be? Is it to do with binding the LAN?

MySQL Performance on a Hyper-V Ubuntu Server

$
0
0

Hello,

I'm running Hyper-V Server 2012.  My server has an 8-core 4GHZ AMD CPU, and 16gb of ram.  I have a guest OS, Ubuntu 12.04 installed.  I have two 2TB 7200 RPM hard disks in Raid-1.

I installed a basic LAMP stack on my server and the site that I'm developing is extremely slow.  I have narrowed the issue down to MySQL.  I have MySQL on a server across my network and everything works fine when I connect this website to that MySQL server.  I installed iotop and noticed that disk usage goes very high when I make the request to the page.  

I've found the technet post (but I can't paste the link because my account is not verified).  I didn't want to change those two options to my hard disk. (Enable write caching on the device and Turn off Windows write-cache buffer flushing on the device)

Any advice is appreciated.

Thanks!


Licensing - Windows

$
0
0

Hi,

I've got a question about our system we want to license using Microsoft Windows Server and Hyper-V. What licenses would I actually require for my given system. I don't really understand the licensing principle really confusing, I have an idea but I would like to know your thoughts(since you are experts). I have the following test setup, it involves using CitectSCADA.

Setup for the virtual SCADA server will consist of the following components:
- Two host servers: These two servers will host the virtual machines.
- A NAS: This Network Attached Server will be used to store the images of the virtual machines and fileserver for
 the virtual SCADA servers, FakePLC server and SCADA Clients.
- A Network USB device: This Network USB device will be used to host the SCADA USB License keys.
- A FakePLC Client: This client will be used to host PLC simulators (Fake PLC) on a virtual server.
- A SCADA Master Client: This client will be used to synchorinze the SCADA projects.
- Five SCADA Clients: These five clients will be used as SCADA Clients which store the SCADA projects locally.
 The client’s 4 and 5 can also be used to connect to the corresponding virtual SCADA client’s.
- A VSphere Client: This client will be used to administer the ESXi server environment.
- A switch: ---- not yet chosen how? Maybe Disturbed switch??

In the virtual network the following virtual machines will be available:
- A server to administer: This server will be used to administer the  server environment.
- Two SCADA servers: This servers will act as a SCADA I/O, Alarm, Trend and Report servers for the physical and virtual
 SCADA clients.
- A FakePLC server
- SCADA clients: these clients will be used as virtual SCADA clients for the two of the physical client’s.

Your help is much appriciated!

Regards,

Pavdveen










A port on the virtual switch has the same MAC as one of the underlying team members on Team Nic

$
0
0

Experts !

Windows 2012 R2 Cluster.

2 Physical NICs dedicated for Hyper-V data traffic. These two NICs are used to create a team using Windows teaming (Switch Independent + HyperV Port) and this teamed interface is used for HyperV Virtual Switch.

I am getting the below warning frequently.

Log Name:      System
Source:        Microsoft-Windows-MsLbfoSysEvtProvider
Date:          11/12/2013 1:37:55 AM
Event ID:      16945
Task Category: None
Level:         Warning
Keywords:      Classic
User:          N/A
Computer:      MSHVCLUSTER6N1
Description:
MAC conflict: A port on the virtual switch has the same MAC as one of the underlying team members on Team Nic Microsoft Network Adapter Multiplexor Driver
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
  <System>
    <Provider Name="Microsoft-Windows-MsLbfoSysEvtProvider" Guid="{387ed463-8b1b-42c9-9ef0-803fdfd5d94e}" EventSourceName="MsLbfoProvider" />
    <EventID Qualifiers="32768">16945</EventID>
    <Version>0</Version>
    <Level>3</Level>
    <Task>0</Task>
    <Opcode>0</Opcode>
    <Keywords>0x80000000000000</Keywords>
    <TimeCreated SystemTime="2013-11-11T21:37:55.871565200Z" />
    <EventRecordID>4861</EventRecordID>
    <Correlation />
    <Execution ProcessID="4" ThreadID="6100" />
    <Channel>System</Channel>
    <Computer>MSHVCLUSTER6N1.INSIDEVIRTUALIZATION.COM</Computer>
    <Security />
  </System>
  <EventData>
    <Data Name="DriverObject">
    </Data>
    <Data Name="Member">Microsoft Network Adapter Multiplexor Driver</Data>
  </EventData>
</Event>

And while checking the Interface and MAC, the warning is true.

name                                                                   MacAddress
----                                                                      ----------
MANAGEMENT                                                     00-17-A4-77-00-6E
HEARTBEAT                                                          00-17-A4-77-00-6C
Ethernet                                                             00-17-A4-77-00-6A
LIVEMIGRATION                                                  00-17-A4-77-00-68
DATA-2                                                                00-17-A4-77-00-66
DATA-1                                                                00-17-A4-77-00-64
vEthernet (HCT-PRODUCTION-LOGICAL-SWITCH)                   00-17-A4-77-00-66
DATA-TEAM                                                          00-17-A4-77-00-64

While I did the same configuration using SCVMM for my Windows 2012 HyperV clusters, the fabric was deployed from SCVMM and hence the team and the virtual switch was just one. In the similar way, How should I do this with out SCVMM ?


Cheers ! Shaba

Windows Server 2008 crashes randomly when running Hyper-V VMs - HELP!!!

$
0
0
Hi,
 
I recently migrated our physical machines to one medium sized server to consolidate them and make management easier as well as save on hardware maintenance and increase load utilization.

I installed the host partition (Windows Server 2008 Standard x64) as our DC hosting DNS, ADDS, DHCP (which I soon found out doesn't work when Hyper-V virtual networking is installed... >:-( ), and our file server because it has direct access to the server's RAID array (3.5 TB). The hosted machines are running 2) Windows Server 2003 x86 Standard and ISA 2006 Standard as unihomed web proxy/caching, 2) Windows Server 2003 x64 Standard and Exchange 2007 Standard. Guest VMs are speced according to recommended system requirements for installed software and when all is running the host machine has 2GB free RAM.

The host machine is plenty fast (usually has only about ±20% CPU load and about 60% RAM load with VMs on) and has AMD hardware assisted virtualization.

Once I got everything installed and it was running great we ran into a small, rather VERY large problem. Randomly, twice a day to once every 5 days, the server will just "stop". No bluescreen. No events. No error messages. No high resource utilization and no corresponding processes. I turned off the screensaver once to see what was going on and sure enough, the mouse just stops moving and the machine responsds to no input. Network stops and all network services go down. This puts us out of business for about 15 minutes each time and I am becoming VERY concerned about data integrity even on our RAID5EE with battery backup on the controller. All client machines lose network files they are streaming and lose corresponding work done since last save.

In trying to troubleshoot this, I turned off all VMs and it ran fine for two weeks. As soon as I turned on a VM - even an empty one with nothing installed - the problem started again. We need our VMs and are considering migrating to ESXi because it is free also and hasn't had any stability issues in our testing AND it has memory overcommitment. Any ideas?

Hardware is as follows:

ASUS M2A-VM Motherboard
AMD Athlon 64 X2 4400+ w/ 2MB Cache.
8GB Kingston ECC 800MHz DDR2 Dual Channel RAM
Adapted 3805 SAS/SATA Unified RAID controller w/ battery backup and 128MB RAM
Integrated 32MB video
Intel PRO/1000 PT server adapter (single port) - running MS Virtual Switch for Hyper-V
Realtek GbE integrated NIC (disabled because host machine is a DC)
8 Seagate Barracuda ES Enterprise SATA drives attached to Adaptec controller. None attached to integrated SATA.

Thank you in advance, I REALLY need to get this fixed. This is costing us lots of money in downtime and I'm leaning away from Hyper-V because of the instability. I'd love to stick with it because Microsoft will eventually overtake VMware, but right now VMware has a stable solution that's free as well and has more features.



How to deploy or create OVA files in hyperv 2012 server???

$
0
0

Can anyone please tell how to deploy or create ova files in hyperv i.e SCVMM or Hyperv manager??

Thanks in advance

Relative Weight and vCPU allocation query

$
0
0

Hi all

I've done a lot of reading around this subject mainly starting here:

http://social.technet.microsoft.com/wiki/contents/articles/1234.hyper-v-concepts-vcpu-virtual-processor.aspx

So I know the technical descriptions and some of the background but there is one key area on which I am seeking some clarification if possible.

Most of my Hyper-V experience is with 2008 and 2008R2 so that's what I will be asking about (but it would be useful to know if 2012 changes anything).

I understand the concept of virtual CPUs (vCPU) as given to a VM via the VM settings dialog box. I understand that giving a VM 1 to 4 vCPUs does not give the VM any sort of 1:1 or exclusive right to any of the parent's CPU cores. My understanding is that (basically) the parent server's cores are formed into a 'pool' and each VM is given a 'time share' of this pool of CPU. I know it is more complex than that due to the way threads may not easily be moved from core to core but let's ignore that!

I understand the 'relative weight' option is used to distribute the 'grunt' from the pool of parent CPU to the VMs such that each VM gets a proportion of the parents CPU-pool as per the ratio of the relative weight scores.

So as an arbitrary, simplified example let's imagine the parent has 2 physical quad core CPUs running at 2.0Ghz. So that's 8 cores running at 2Ghz. So let's imagine the CPU-pool 'grunt' is 16Ghz. (Grunt could be also called 'power', 'horsepower' etc.) I know it doesn't work out quite like this but this is simplified.

So we add some VMs.

Let's add 4 VMs all with 1 vCPU and all equal 100 relative weight (RW). For the sake of argument all the VMs are 'busy' so that they always need CPU. Let's say each of them shows fairly constant 80% CPU activity in Task Manager within the VM. None of the VMs are Terminal Servers. Let's also ignore the Hyper-V parent partition's draw on CPU as negligible.

So in this case, if there is contention for the parent CPU, then each of the 4 VMs would be allocated an equal time share of the parent's pool of CPU. So it might be said that on average each VM runs as if it had 4Ghz of 'grunt'. Inside each VM the applications would see a single vCPU running at 4Ghz. (Bear with me on Ghz, I could have called Ghz 'gruntz' or indeed anything, but I think it helps to talk in terms of Ghz as this is familiar).

Is this correct? Assuming it is then ...

So now I need more 'grunt' to be available to the first VM. So some people may consider two options. Increase the number of vCPU assigned to the VM or increase the Relative Weight. This is where I am confused.

So my question is if the RW is kept constant does increasing the number of vCPU make any more grunt available to a VM or is the grunt simply divided up. For example:

I change VM1 so have 4 vCPU. My understanding is that because RW has not changed then the applications running on VM1 see things change from 1 vCPU running at 4Ghz to 4 vCPUs running at 1Ghz. I surmise this because the RW is what dictates the amount of time a VM gets on the parent pool of CPU so the VM's allocation (of 4Ghz) must be divided by the number of vCPU.

However I am continually faced with clients asking to allocate more vCPU because they feel this improves the performance of the applications running on the VM, hence I wanted some clarification on whether my understanding is correct or not.

I know that Brian Ehlert, and others, have often stated that it is best to try and give VMs as few vCPUs as possible so that the VM's OS doesn't need to spend time shuffling threads. If this is the case then what is the background or reason for increasing the allocation of vCPU to a VM? Why add more? When does it have benefit? Is it also required to increase the RW at the same time as adding the vCPU?

It would be great if there was an in-depth article from Microsoft explaining how this all works, in the meantime I'm hoping for some enlightenment from this forum.

Thanks in advance.

Ian

Host crashes when performing Live Migration

$
0
0

I have the following setup.

2x Dell M620 blades with 2x 10gbit connected to iSCSI storage presented as a CSV.

Im using Hyper-V Server 2012 R2 fully patched.

I can Quick migrate without any issues, but whenever i Live Migrate, especially when moving the same machine 2 times in a row, the host that im migrating from, crashes and doesnt come up by itself.

Is it by design that i cannot do two migrations quickly after each other?

After doing some additional troubleshooting, the issue is present if i do a migrate quicker than 1 minute after another, and the BSOD error is: DRIVER_IRQL_NOT_LESS_OR_EQUAL (mslbfoprovider.sys)

Configuring NAT in a Hyper-V setup

$
0
0
Hey Guys, 

Here's the deal. I want to be able to basically share the internet connection on the REASRV1 virtual machine with the internal virtual switch. I know i can do this by just sharing the connection, but that's not what you would do in a professional setup. I've got my current configuration in the image below.

Add https:// in front of the link and insert a / on each space

dl.dropboxusercontent.com u 15388202 NAT%20Troubleshooting.bmp
I want Client1 to be able to connect to the network that the host and REASRV1 are connected to. I can easily ping 10.0.0.1 from Client1, as it is in the same subnet and network address, but when i want to ping for instance the DNS server on my physical network instead of the virtual, the NAT router does not forward my request and gives the message "Host Unreachable".

Is there something wrong with the NAT configuration, or do I need to rework the whole network structure or something?

LesPaul



Disk space consumed on the host vs inside the VM

$
0
0

Hello!

I have a Windows Server 2012 R2 machine hosting the VM with Exchange2013/Server2012. This VM resides on a dedicated SSD = 120GB. By now this VM has been paused several times because of the lack of the disk space on the SSD. Every time I experienced this issue I deleted some other files/folders from SSD to make room for the VM and kept being surprised to see the difference between the size of VM's vhd files and the amount of the free space on disk C: inside the VM itself.

For example, if I install the application in the VM that consumes ~300Mb on the disk, the vhd files on the SSD grow by severalGBs.

So the disk C: inside VM shows Used soace ~40Gb and the size of the VM's vhd ~90Gb.

Is this by design? If so how can I predict the hdd space consumption on the host machine when using a VM? Is there any correlation between these two numbers?

Thank you in advance,

Michael

Unable to create a hyperv error 0x80070570 and tcpip.sys corrupt

$
0
0

Have a hyper-v server windows 2012 R2 with 32 GB ram running datacenter. Currently has 3 small virtual running (2Gb each)  Trying to create a 4th and when I create a new virtual and run it,  it start loading the OS setup and then crashes at about 40% setup with the error 0x80070570.  If I try restarting I some time get tcpip.sys corrupt.

I have verified the DVD (windows 2012 R2 standard) I'm using and it install without any problems on other PC's, I even burnt a new image and same result.  I even tried downloading a trial version from TechNet and same issue.

If I create the virtual drive on another server and copy it to this server and use it it works.  I just cannot create a new virtual from scratch on this server.

The server only has a copy of Windows 2012 R2 datacenter install and the Hyper-V feature, with 3 virtual.

Any help on how to fix this would be appreciated.

Thanks

cjb


cjb

Live Migration between AD Forests

$
0
0

Hello Everyone.

I would like to LiveMigrate a VM from HostA in AD Forest1 to HostB in AD Forest2.  There is a two-way trust established between the two AD Forests.  Does anyone know if this is possible?  I have not been successful.

Create VHDX General Access Denied Error

$
0
0

Hello everyone, I have a problem which I've been stumped by for awhile.  I have a HyperV 2012 R2 Server connected to a Windows Server 2012 FileShare (SMB 3.0).  I have both of the machines in the same domain, I have constrained delegation configured (tried both Kerberos Auth & CIFS Auth).  My anti-virus is set to exlude .vhdx, .vhd, and the storage folder w/ sub directories.

My problem is that anytime I try to create a virtual disk file, I dig deep into logs and see a General Access Denied Error.  This only happens on virtual machine hard disk files, nothing else.  I can create virtual machine host configuration files and directories without problem. 

When I attempt to create a virtual machine hard drive file, I see that the file actually gets created and quickly dissappears.

The HyperV-VMMS-Storage log of the error is 27262.  Which is General Access Denied Error (0x80070005).

Sizing Tool for Physical machine to Virtual machine

$
0
0

Hi Guys,

Do you know of any sizing tools which will help u in deciding what kind of specifications to set in hyper-v when shifting from a physical machine to virtual? ie: how much cpu from a 8 core to a vm cpu and also etc etc. Thanks!


Jar

Viewing all 19461 articles
Browse latest View live




Latest Images