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

Internal and external switches on server 2012 r2

$
0
0

this is driving me nuts.

I have a vm with an internal and external switch.

I am trying to get backups to route to the host machine using the internal switch only.

I've gone all over priorities and the routes are all fine but the data will constantly go over the external switch.

If i disable external switch traffic goes over internal switch just fine.

I've read about the automatic detection of least cost routing on the internal switch but just can not get it to run correctly.

please help

Doug


Hyper-V Dynamic Memory Demand Blank

$
0
0

Hi,

im wondering about a blank Memory demand Value at a virtual machine on my Windows 8.1 with enabled Hyper-V Feature. Inside the VM the OS is Hyper-V Server 2012 R2. I tried to update the Integration Services but they are actual already. Here is screenshot of the Memory Monitoring i get in the Hyper-V Console:

Can you help me guys?

Thanks

Michael

decrease the Hyper-V machine Size

$
0
0

The host machine is running on Windows Server 2012 STD. and two Hyper-v machine running with dynamic HDD. one hyper-v machine HDD size increase as because of so many file copy in the hyper-v machine. and now i delete this file. But HDD hype-v machine size not reduce. So, how can i reduce the Hyper-v machine size. on that Hyper-v machine Exchange 2010SP3 running. the physical HDD getting space low. So, need to reduce the Hyper-v machine size.

Please suggest

Using Powershell to assign VHD file to VM on Volume GUID path doesn't work anymore...

$
0
0

Our team has kept scripts to automate our creation of VM machines.  Since our VM environment is clustered, we have always used Volume GUID paths to point to the paths of the VHD and/or VHDX files for each of the VMs.

Since the GUID volume name contains a question mark, we've always gotten around this by doing a substitution of the question mark with a period.

For example, to create a VHD file, we have always done this.... The $vhdPath variable is the GUID volume path, which is identified earlier in the script.

New-VHD -Path $vhdPath.Replace("?",".") -Fixed -SizeBytes 70GB

After this is created, the script goes ahead and creates the VM

New-VM -MemoryStartupBytes 4GB -Name $VMName -SwitchName $SwitchName -Path $deviceid -VHDPath $vhdPath.Replace("?",".")

The $deviceid is the full GUID volume path, and the $vhdPath variable is the full GUID volume path, along with the VHD file name.

However, as we're trying to build VMs using Hyper-V 2012 R2, it appears that 2nd command, the creation of the VM itself, does not work anymore. 

It complains that 'The network path was not found'.  It seems to think, now that I changed the ? to a ., it thinks it's a UNC path of some sort.

However, the 1st command, the creation of the VHD file, still works correctly; no complaints there.

I find this really strange as the New-VHD command is successful; as I've verified that the VHD file gets created. 

It's only the 2nd part, when trying to create the VM and pointing to the VHD file on the same guid volume path, with the exact same substitution, is when it fails.

This part has always worked when we are using Win 2008R2 Hyper-V and Win 2012 Hyper-V...

Any ideas?

Windows Server 2012 R2 Hyper-V in Domain for Migration.

$
0
0

I have setup 3 server with windows hyper-v server 2012 R2 & currently i am managing them from remote management. 

now i am thinking take all 3 hyper-v in domain network to use "Nothing shared Migration"feature which is in hyper-v 3.

can we do this with hyper-v server 2012 R2. i want to that my users can keep access there vps from anywhere and in case of any issue take place in my network then i can move my VPS to another hyper-v server and mean while user keeps accessing them. is it possible.


Akshay Pate

Dynamic memory freezes

$
0
0

Hi guys,

we are using three node cluster with Windows Server 2012R2. Our virtual machines are virtualdesktops with Windows 8.1 guest OS, 4 vCPU and 8 GB of dynamic memory.Sometimes dynamic memory stops working, guest OS is not able to allocate more RAM and starts to swap. This swapping slows performance of all our virtual machines, sinceall virtual machines are on same cluster shared volume. This happens at random RAM amount allocated, for example at 2.6 GB,which is way below our 8 GB limit.

Live migration helps to solve this issue for migrated VM, after live migration the guest OS is able to allocatemore ram and starts to work properly, swapping disappears. However after some time, problem appears on other VM.

Our physical machines have 2x 10core Xeon and 394 GB of RAM. Only about 30% of RAM is used, so there is free space for all virtual machines. But we need to solve this issue so dynamic RAM starts to work properly.

Do you have similar experience?

Incorrect source mac address when network packet leaves hyper-v host

$
0
0

I am experiencing the following communication problem with my VM server running  on server 2012 hyper-v host:

when a network package leaves the vNIC of the VM it has the source mac address of the vNIC however when the same package leaves the physical NIC of the Host the package no longer has the source MAC address of the vNIC but that of the physical NIC. See below package trace output:

Packet trace  on the VM (TFTP server with IP 192.168.1.35) note the TFTP client has IP 192.168.22

Packet trace  on the host  note the TFTP server has IP 192.168.1.35 and TFTP client has IP 192.168.22

If we pay attention to the highlighted section we see that the packet leaves the VNic with the source MAC 00-15-5D-01-1E-0E  (mac address of the vNIC) and when it leave the physical NIC of the host the source MAC address is  78-AC-C0-11FC-9E (MAC address of the NIC of the HOST)

Furthermore you can see that none of the 5 packages (package 3-7) sent form the client to the server where the client sent the packet to the destination MAC 78-AC-C0-11FC-9E arrives at the VM, however the subsequent 5 packages that the client send to the server with the destination MAC 00-15-5D-01-1E-0E   all arrives at the client.

It forgot to mention that the uplink of the virtual switch on the host is a network team using LACP and that uses the source and destination IP address as its load balancing mechanism.

Please note the following:

  • this      behavior disappear when I either remove one of the cables from one of the      teamed nics (the sources MAC is always that of the vNIC when the packet      leaves the host etc)
  • the      problem also disappears if I configure a static ARP in the client
  • The      above behavior does not apply for all  communication for      example I can have the cables of both teamed NICS connected      and simple change the IP of the above problematic TFTP client form      192.168.1.22 to 192.168.1.13 and the communication works OK as the source      MAC address of the VM will always be the correct MAC address that belongs      to the vNIC.

Last but not least we have tried, replacing the NICS in the server, connecting the host server to a different switch and even replacing all the cabling to the host server but none of these helped to resolve the problem.

Has anyone seen this behavior? Any idea what could be causing this?

Regards,

Screech



unable to connect copied vhd files to VM Hyper-v high availability cluster.

$
0
0

Hi

I have my VMs VHD files stored on my SAN  and I have a copied one of the LUNs containing a vhd file which I have then exported to the shared storage of the hyper-V cluster which is just like and other VHD. The problem comes when trying to connect this copied vhd to the VM which still uses the original VHD . The system refuses reporting that it cannot add the same disk twice.. 

These are two different VHD files

I have: renamed the new file, changed the disk ID, changed the volume id and using vbox (because it was the only way I could find do it ) changed the uuid of the vhd file.  But still no joy.

I can connect the volume to any other VM without any issues, but I need to be able to connect it to the same VM..

I'm not sure how  Hyper-v is comparing the two VHD files but I need to know so I can I can connect the copy VHD without having to copy all its contents to a new VHD which is impractical..

Anyone got any ideas or a procedure??

windows 2008 R2 cluster with 3par SAN as storage.

Peter


Move VHD

$
0
0

Hi,

I have standalone W12K hyper-v server running some (W8K R2) VM, also on my network I have a 10 node (W8K R2)  hyper-v cluster. My question what is the best method to move some of the VMs from the standalone W12K box to the W8K R2 cluster.

All the VMs are VHD and VHDX files and other possible problem is that the W12K box has an AMD processor and the cluster nodes are using Intel.

My original plan was to copy the VHD to a USB disk and then copy to the cluster and setup via Fail Over Cluster Manager. 

Hyper-V machine do not start

$
0
0

Dear All,

I have few Hyper-V VM's on my Laptop (OS windows 8) which were working fine for a very long time. Last March 2014 i saved all the VM's and since then I never started them.

During this time i ran couple of windows updates and restarted the machine. Last week i tried to start the saved VM's but they never get started. I don’t get any valuable or descriptive error except VM failed to starts the machine (Machine Id XXXXx). In the event log i see timeout period for the thread.

Thinking the saved state is corrupted, deleted the saved state and tried to start it again , but still same issue.

Later i uninstalled the Hyper-V, rebooted the laptop and installed it again following a reboot. Tried to create a VM which was successfully created but that too never starts.

Googled the issue to find if someone has similar issue but so far there is no luck and issue is still wasting my time.

Can some please help me to resolve this or guide me to get more descriptive error?

Regards

Sufian


Mohd Sufian www.sqlship.wordpress.com Please mark the post as Answered if it helped.

attaching serial ports to Hyper-V ?

$
0
0
is it possible to attach serial port to Hyper-V ? what is named pipes redirection and how does that work ?

HyperV Replication Failing on one guest only how to diagnose

$
0
0

Hi

Thanks in advance for reading as this problem has me stumped.

I've got 2 x HyperV Host servers running 2012\R2 fully patched with local SAS R10 storage via a LSI SAS card.  One is the host for three guest servers (1 x 2012/R2, 1 x 2008/R2 with SQL and a 2003) and the other is used just for replication plus a domain controller guest.  Everything has been working fine since Feb 14 until last week when I had to shutdown both servers.  Since restarting the 2012 guest replication is working fine with a status of Normal but the 2008/R2 and 2003 guest machines both won't replicate with the status turning to critical almost immediately replication is started.  So far I've tried:

  • Deleting and recreating the replica servers
  • Updating integration services on the guests
  • Full Windows Update on hosts and guests
  • Checking for VSS errors on hosts and guests - there are none
  • Checked all event logs - can't find any sign of an error with a problem

None of this has plus numerous reboots has made any difference unfortunately.  As replication is working OK for one server (which is the biggest) then I'm pretty confident my hardware, switches and network are OK and all the diagnostics I've run also come back with no problems.  Plus, until the power down, all was working fine and it hadn't ever gone off-line for any guests.

So far I can't even figure out what might be causing this as I can't see anything in the event logs or find a way of running a diagnostic status report which might show what's causing the problem.  Can anyone point me in the right direction please?

Many thanks in advance

Andy Truelove


Andy Truelove Tate Computer Technology Ltd

Windows Server 2012 - Can occasionally not access second virtual hard drive inside a VM

$
0
0

I run Windows Server 2012 RTM Hyper-V and I can occasionally not access the second virtual hard drive (dynamically expanding VHDX) attached to the VM through the virtual SCSI controller. I can however access the first hard drive that is connected with the virtual IDE controller.

I get the following warning in the event log under “Administrative Events” every 30 seconds when this happens:

  • Log Name: System
  • Source: Storvsc
  • ID: Storvsc
  • Message: “Reset to device, \Device\RaidPort0, was issued.”

I get this error once or twice a week and it has caused serious problems since one of the virtual servers that have this problem is a fileserver and the second hard drive contains all the data.

The only quick solution to the problem that I have found is to force the virtual machine to stop using the “Turn Off” feature since a normal shut down does not work (stops at shutting down the event log or similar) and then start the virtual machine again.

You can also wait for about 30 minutes or longer until the disk for some reason becomes accessible again by itself.

My research into this problem shows that:

  • Only 2 of the 10 VMs running Windows Server 2012 RTM that I have, have this problem.
  • Both these VMs have a second virtual hard drive (dynamically expanding VHDX) that cannot be accessed for 30 minutes or longer.
  • Check Disk of the virtual hard drive shows no errors.
  • The second hard drive is attached to the virtual SCSI controller.
  • I can find no problems at all with the physical storage on the (not related) 4 hosts that I have. The problem exists only in the VMs.

I have now attached the second virtual hard drive to the virtual IDE controller to see if this permanently fixes this problem (i.e. does not happen for at least a week).

Is there something wrong with the virtual SCSI controller or the virtual SCSI device driver that comes with Windows Server 2012 RTM? Does anyone else have this problem?

Windows 2012 R2 hyper-v network unable to connect to outside resources

$
0
0
Today, I went and upgraded a Windows 2008 R2 machine to 2012 R2.  I did a clean install and have never seen this problem before in this fashion.  It is a HP 370G6 with an HP NC375I quad card.  Only 1 adapter is in use, so it is not teamed.  After installing, none of my VM's will communicate to outside resources.  I got the Windows 2012 R2 update package from HP dated 4/14.  My virtual switch manager is set to Allow management operating system to share this adapter.  The adapter type is set to External.  After playing around with 1 guest, I finally have it communicating with the rest of the network.  However, my other guests will not.  I have checked all IP's multiple times, no differences but the last octet.  I can not figure out what is allowing my 1 guest to now communicate, but the others to not.  It is driving me crazy!  I have tried adding and removing the adapter several times, and also tried using the Legacy NIC to no avail

Hyper-V 2012 Host Freezes at boot when virtualization enabled

$
0
0

Hi All,

I'm trying to install Hyper-V Server 2012 onto a new machine and am running into issues.

Background: I ran the installer and it went fine. Booted it up, installed updates, added to domain, etc. After that I started setting up my guest VM but when I go to start it I get 'The hypervisor isn't started' or something similar. Oh right, I forgot to turn on virtualization in the BIOS. However after I turned on the virtualization in the BIOS the host freezes on boot right when the spinning logo starts to appear. I've tried flashing the BIOS and re-installing without any luck.

MB: ASUS M2N32-SLI Deluxe

CPU: AMD Athlon 64 FX-62

Any ideas? The CPU supports virtualization (obviously) and DEP, and as far as I know those are the main requirments for using Hyper-V.


Virtual Switch Will Not Connect

$
0
0

I am on a physical box with Windows Server 2012 R2. All updates have been applied and the Hyper-V role is installed.

My motherboard has four network interface ports. All of which get valid IP addresses from the DHCP server (and have Internet access). When trying to create a virtual switch on one of these NIC's, it doesn't work. Take a look at the screenshots below:



VM Guests stop working on drive with multiple partitions

$
0
0

Hi Everyone

I’m running Hyper-V on Windows 8.1 Enterprise. I have a USB 3.0 external drive connected to my computer with 3 VM Guests configured on 3 partitions. I am experiencing a problem where my VM guests intermittently stop working. It’s almost as if windows regularly scans for drives (similar to when you plug in a USB drive and windows lists the drives on the right hand side of the computer) when this happens, Hyper-V stops accessing the USB drive causing the VM Guests to shut down. From what I can tell, it seems that is from the windows apps part that this is caused. Is there a way that I can disable the “drive scan” so my virtual machines continue running? I have inserted a screen shot below, when the drives are listed my VM Guests stop operating. Any help would be greatly appreciated.

Regards

G


Sunde

Remote-FX vs Radeon R7 240

$
0
0

Hello!

I have a PC with AMD Radeon R7 240 GPU running Windows Server 2012R2.

I know that officially supported only AMD FirePro cards, but a few years ago I successfully run RemoteFX on GeForce 210 & Windows Server 2008R2.

Is it possible to make Radeon R7 240 GPU works with VDI in 2012R2?

Thank's!

Hyper-V 2012 R2 CSV backup via VSS

$
0
0

Hi, 

It it possible to create a shadow of a single CSV volume and then expose it to copy files from, as you can a physical volume? If so, how does one go about this via the command line? 

Also, i have read some pretty scary stuff about CSV backup via VSS in the past, but i seem to understand this now resolved with 2012 R2 - is this the case? 

Thanks.

Hyper-V with Windows Server Essentials in a VM - adding a second physical disk to VM - now VM will not start

$
0
0

Hardware previously had Windows Server Essentials 2012 running fine.

Current setup, base is Hyper-V 2012 with Windows Server Essentials in a VM, which has been installed a few weeks ago and is stable, but only on the main SSD.

I decided to try to configure so that the physical disks were available directly to WSE, hoping that the management of them would be easier.

I had one SCSI in the VM, and aside from the SSD boot disk, I was able to add 1 3TB drive, and it all works.  If I add a second 3TB drive,  the WSE VM will not start.   It tries to start, but goes back to off in a few seconds. 

I then decided to put the 3TB drives on a second virtual SCSI within the VM, to see if that was better.

No change, one drive ok, but two  and the VM will not start.

Then I booted the VM with the 1 3TB drive that worked, and then while the VM was on, I was able to add 3 more 3TB drives, and the VM stayed up.  I was able to create a storage space from the 4 drives, mirrored, thin provisioned, the standard WSE 2012 settings (I kind of wish it would give you a choice on these, but...).   Everything seemed to be working fine.

But, when the VM was stopped, it will not now restart.   I suppose I have to delete the 3 extra drives, which will cause storage pool disaster I presume.  

Seems odd that I can add them, and use them in WSE2012, but then it will not restart.   And they were on a separate virual SCSI controller from the "boot" drive.  

Any ideas?    (or let me know if this is the wrong forum... since the VM would not start, I am blaming Hyper-V...)

Thanks!

Ross

Viewing all 19461 articles
Browse latest View live




Latest Images