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

Hyper-V

$
0
0

Hi Friends...

How to mount USB Drive to the virtual machine...

base 2012 is loaded on the hardware and 2003 VM is created on that using hyper-v. Now iam trying to mount USB Drive to 2003 VM but it not happenning...

help out to solve this case.....


Windows 2012 Server and Windows 2012 Essentials Domain

$
0
0

I want to set up a Windows 2012 Server running Exchange 2013 as a VM in a Windows 2012 Essentials domain (Essentials is also running as a VM in Hyper-V.  I also want to install SQL Server 2012 on the Essentials server.  I have an extra server to split the workloads but was planning on using one server for everything. Is this feasible and will it work?  Any help would be appreciated.


Michael T. Glenn

Windows 2012 plus Hyper-V disk array configuration

$
0
0

Hey guys!

This is my first post/question in MS forums ever; it is also a question that has been ask before for Hyper-V on W2008 R2 and probably on W2012 as well, but I find it very confusing. This is the deal:

We are currently building a two node Hyper-V environment on HP G5 Proliant Servers with 2CPU, 32 GB RAM and six 300 GB SAS 10k disks each. This environment is not going to use any SAN storage and will initially host two VMs on each node, namely a MS SQL Server 2008 R2 with a very low load (10-15 users) and a file server (40 users). There might be also another VM running Veeam Backup. The hosts have the HP Smart Array P400 Controller and we were planning to build one logical volume in RAID 6 for a total of 1.2 TB and then at the installation time for W2012 create a partition for the OS of say 100GB and leave the rest for another partition to host the VHDX files. My questions are:

1- Is this a good strategy? What the shortcomings or disadvantages of this setup might be?

2- If the described configuration is OK; what about configuring a separate partition for the page file for the host OS? Will that provide any extra benefits?

Eventually these hosts will have each 4 VMs, the two mentioned above plus other file servers. On this note, will it be better to set aside some extra disk space dedicated just to file serving directly from the host (with the File Server role installed) or a dedicated VM with the File Server role is a better solution?

Thanks,

Ricardo.

Move a physical DC to Virtual DC on Hyper-V

$
0
0
We are having a plan of migrating DC to virtual machine, I have created a Secondary DC on Hyper-V. How can I move file server to keep its permissions, is there any way to virtual machine mounte a physical HDD, or USB?

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?

Hyper-V Lab Environment internet access

$
0
0

Hi guys I'm looking to setup a Hyper -V environment containing a domain controller which will have WDS/DHCP/DNS server which is completely private of the Host Domain.

The Host is not on the domain but has a static IP with DNS pointing to our network.

My Virtual DC and clients can communicate together using a "private virtual machine network" however they do not have access to the internet.

I don't want to assign a internal network as that then allows the Virtual DC and client see our HOST Domain. (Can ping the domain name as DNS is on the HOST Server.)

Any one have any ideas how I can route only internet to the vm's without them seeing the host domain or even the domain seeing those Virtual clients?

I understand External network will provide full visibility to the domain

Internal will allow visibility via the HOST Server (which is off the domain) but DNS will allow visibility to the network?

Private is completely private which is ideal but no internet access :(

any ideas please


HyperV %Guest Run Time Counter in Milliseconds?

$
0
0

In the HyperV Hypervisor Virtual Processor Counters there is the %Guest Run Time Counter that gives me a percentage value. Is there any way to get a value in milliseconds? I think i could convert it with the knowledge of the time frame for the measurement. My calculation would be: TimeFrame * %GuestRunTime / 100.

Does anyone know how long the timeframe for the measurement is?

RSS in converged network scenario

$
0
0

If we have a converged network with two teamed pNICs in LBFO on windows server 2012 Hyper-V node, Teamed adapter is assigned in vSwitch used for tenant, management, live migration, cluster and storage networks, can we enable RSS on the pNICs to leverage CPU performance for the Storage network or everything attached on the vSwitch can only leverage from the DVMQ?

I guess that everything attached to vSwitch is considered as vNIC and the answer is that DVMQ must be used instead of RSS to receive some additional performance and system offloading but I prefer to have your opinion.

Thank You


Hyper-V suspended replication for virtual machine due to a non-recoverable failure. Resume replication after correcting the failure.

$
0
0

I'm getting this error and not sure how to proceed yet. As seen in the screenshot below I've had 282 out of 285 successful replications.

The three errors are as follows.

Hyper-V suspended replication for virtual machine 'XAVIER' due to a non-recoverable failure. (Virtual Machine ID 554B5DA9-139C-4207-80B9-5E7E9CD8FAD3). Resume replication after correcting the failure.

Hyper-V could not replicate changes for virtual machine 'XAVIER': The device does not recognize the command. (0x80070016). (Virtual Machine ID 554B5DA9-139C-4207-80B9-5E7E9CD8FAD3)

Hyper-V suspended replication for virtual machine 'XAVIER' due to a non-recoverable failure. (Virtual Machine ID 554B5DA9-139C-4207-80B9-5E7E9CD8FAD3). Resume replication after correcting the failure

Hyper-V Server - VSS Writer & Backups

$
0
0

Here is the scenario:

We have a Windows 2008 R2 Hyper-V Server and we have a problem with the VSS writer on the server.  The problem is seen when attempting to perform backups on the machine (we have used Symantec Backup-Exec as well as Acronis).  When a backup starts on the host, the job just freezes and no information is reported on the server doing the backups except that it times out.  On the Hyper-V host, when doing a "VSSADMIN LIST WRITERS" command, everything comes back as: State: [1] Stable, Last error: No error, when no backup has been attempted however when you have attempted a backup, it just freezes and doesn't report back anything at all.  In order to fix the freezing a reboot of the host is required.  Additionally, on the reboots I've noticed a stream of "Hyper-V-Integration-Data-Exchange" errors (Event 4096), Hyper-V-Integration-Data-Exchange) - The Data Exchange integration services is either not enabled, not running or not initialized."  (This is only seen during a reboot.) 

Thanks!

Server 2003 BSOD

$
0
0

Hello folks,

I have a virtual windows server 2003 acting as a FTP server. This guy has been BSOD'ing more and more frequently I have generated the mini dump report. What I get from these mini dump reports is always the same, DEFAULT_BUCKET_ID:  DRIVER_FAULT, PROCESS_NAME:  dllhost.exe, which tells me that a driver failed related to dllhost.exe. Now I believe that dllhost.exe is related to COM+ but that's as far as I know how to troubleshoot.

Machine Name:
Kernel base = 0x80800000 PsLoadedModuleList = 0x8089ffa8
Debug session time: Wed Oct 31 11:35:19.138 2012 (UTC - 4:00)
System Uptime: 3 days 0:28:32.031
*******************************************************************************
*                                                                             *
*                        Bugcheck Analysis                                    *
*                                                                             *
*******************************************************************************

PAGE_FAULT_IN_NONPAGED_AREA (50)
Invalid system memory was referenced.  This cannot be protected by try-except,
it must be protected by a Probe.  Typically the address is just plain bad or it
is pointing at freed memory.
Arguments:
Arg1: e6f46074, memory referenced.
Arg2: 00000000, value 0 = read operation, 1 = write operation.
Arg3: bf869f6a, If non-zero, the instruction address which referenced the bad memory
address.
Arg4: 00000000, (reserved)

Debugging Details:
------------------


Could not read faulting driver name
TRIAGER: Could not open triage file : e:\dump_analysis\program\triage\modclass.ini, error 2

READ_ADDRESS: GetUlongFromAddress: unable to read from 808a47b8
e6f46074

FAULTING_IP:
win32k!IFIOBJR::IFIOBJR+63
bf869f6a f3a5            rep movs dword ptr es:[edi],dword ptr [esi]

MM_INTERNAL_CODE:  0

CUSTOMER_CRASH_COUNT:  1

DEFAULT_BUCKET_ID:  DRIVER_FAULT

BUGCHECK_STR:  0x50

PROCESS_NAME:  dllhost.exe

CURRENT_IRQL:  1

TRAP_FRAME:  b86ebb9c -- (.trap 0xffffffffb86ebb9c)
ErrCode = 00000000
eax=e6f45f78 ebx=b86ebc3c ecx=00000005 edx=00006000 esi=e6f46074 edi=b86ebc48
eip=bf869f6a esp=b86ebc10 ebp=b86ebc1c iopl=0         nv up ei ng nz ac pe nc
cs=0008  ss=0010  ds=0023  es=0023  fs=0030  gs=0000             efl=00010296
win32k!IFIOBJR::IFIOBJR+0x63:
bf869f6a f3a5            rep movs dword ptr es:[edi],dword ptr [esi]
Resetting default scope

LAST_CONTROL_TRANSFER:  from 8085a55f to 80826dcb

STACK_TEXT: 
b86ebb10 8085a55f 00000050 e6f46074 00000000 nt!KeBugCheckEx+0x1b
b86ebb84 80886928 00000000 e6f46074 00000000 nt!MmAccessFault+0xa91
b86ebb84 bf869f6a 00000000 e6f46074 00000000 nt!KiTrap0E+0xd8
b86ebc1c bf86a154 e6f45e88 b86ebce0 b86ebccc win32k!IFIOBJR::IFIOBJR+0x63
b86ebc74 bf86de29 b86ebce0 b86ebccc b86ebcf4 win32k!bIFIMetricsToTextMetricWStrict+0x1e
b86ebc98 bf888836 b86ebce0 b86ebccc b86ebcf4 win32k!bIFIMetricsToTextMetricW+0x1c
b86ebcb4 bf8887a0 b86ebce0 b86ebccc b86ebcf4 win32k!bGetTextMetrics+0x75
b86ebcd8 bf88f5a0 e58b0d08 b86ebcf4 b86ebd64 win32k!GreGetTextMetricsW+0x3f
b86ebd50 80883968 b82101eb 00e3f204 00000044 win32k!NtGdiGetTextMetricsW+0x22
b86ebd50 7c82845c b82101eb 00e3f204 00000044 nt!KiFastCallEntry+0xf8
WARNING: Frame IP not in any known module. Following frames may be wrong.
00e3f248 00000000 00000000 00000000 00000000 0x7c82845c


STACK_COMMAND:  kb

FOLLOWUP_IP:
win32k!IFIOBJR::IFIOBJR+63
bf869f6a f3a5            rep movs dword ptr es:[edi],dword ptr [esi]

SYMBOL_STACK_INDEX:  3

SYMBOL_NAME:  win32k!IFIOBJR::IFIOBJR+63

FOLLOWUP_NAME:  MachineOwner

MODULE_NAME: win32k

IMAGE_NAME:  win32k.sys

DEBUG_FLR_IMAGE_TIMESTAMP:  4ff30d05

FAILURE_BUCKET_ID:  0x50_win32k!IFIOBJR::IFIOBJR+63

BUCKET_ID:  0x50_win32k!IFIOBJR::IFIOBJR+63

Followup: MachineOwner

Any information would be appreciated,

Regards,
Eddie

Hyper-V Replication Certificate error 800B0110

$
0
0

Hi:

I've set up a test site with Windows 2012, Hyper-v, both servers in a workgroup so I'm using Certificate based replication.

Both servers have the same Root Cert in the Trusted roots, the same Issuing Cert (signed with the Root Cert) in the Intermediate CA store, and an end stage cert, with private key, in the Personal store with the CN=machine.domain.com. None of the certificates are listed as expired in the published crls. 

The certificate mmc snap in shows the cert chains and all certificates as valid.

Certutil shows both setups pass the encryption test.

Both have Key Usage: Digital Signature, and Enhanced Key Usage: Server Authentication, Client Authentication and Secure Email.

Replication setup finds the certificates and all is good until I select finish when the error is issued stating, in part,

Enabling Replication Failed Hyper-V could not validate certificate with thumbprint (thumprint of local cert). Enhanced Key Usage invalid. etc etc The Enhanced Key Usage should have Client Authentication. Error: The certificate is not valid for the requested usage. (0x800B0110).

Given that the certitfcate snapin readily sees that Client Authentication is one of the Enhanced Key Usage selections I'm guessing the problem is something else, but I can't see what.

Any help with this would be greatly appreciated.

So.....

I just tried the MakeCert route, created a root cert, and a machine specific cert, installed on the sending server, checked that they are in the Personal and Trusted Root stores.

The replication is working now with the Makecert certs and the validation turned off. This works for now but I'd like to fugure out the issue above to get this working properly. I have compared the Makecert and real certificates and can't find a material difference.


How to Clone VMs in Hyper-V

$
0
0

 

I was playing around with Hyper-V but I didn't see an option to clone VMs.

 

Is there any way to clone VMs in Hyper-V

Hyper-V Arrays one or two?

$
0
0

What is the best storage configuration for a single host server.  

Normally I've seen a RAID 1 for the OS and another RAID 5 or 10 configuration for VM Storage.

We are trying to reduce costs and planning on removing the RAID 1 leaving a single RAID 10 with the OS and VM storage on the same array.  Any thoughts on having a single array vs having two to separate the host OS and VMs? 


2-node 2008R2 hyper-V HA cluster migrating to 2012 Hyper-V HA cluster with a 3rd node on the same ISCSI SAN

$
0
0

I would like to know the best way on doing an upgrade\migration from a 2 node HA cluster with 2008R2 to 2012. What I need to have done is to place the new 2012 hyper-v server as the initial server and then migrate the guests to the new 2012 server. Which would create a single node cluster. I would then want to do a clean install of 2012 server on the other 2 nodes and join them to the cluster. The only problem is that we only have one ISCSI SAN that we are currently using with the 2 node cluster. Would I need to recreate the cluster to allow 2012 to join? If not can I connect to the same cluster with all of the 2012 and 2008r2 nodes connected?

These node servers each have 1.5TB of storage that is local and it would accommodate the move of the guests for the time being. Would it be wise to move the guests locally off of the SAN then move them back when all is ready and in place?

Should I reformat the CSVs drives so that ReFS would now be in effect on the SAN?

I know that the process that I have in place will remove my ability to Live migrate until the other nodes are in place but I really have no choice.

I am trying to find the best way to accomplish this.

Thank you for your advice.



Network Drop-outs on simple "home lab" Win2012, single Win8 VM

$
0
0

Hi guys,

My test bench is Standard (GUI) Windows Server 2012, specs as follows:

  • Asus Z77 motherboard with 8GB RAM, Intel i5 processor
  • Single NIC - onboard Realtek GB ethernet controller
  • Latest patches loaded
  • Workgroup mode
  • File Sharing enabled
  • Testing Hyper-V with a single VM running Windows 8 (2 cores and 2GB RAM assigned)

My basic intention, other than investigating Hyper-V, was to test software in the VM. My last test machine was Windows 7 and by the time I retired it the entire desktop (at 1920x1080!) was covered with shortcuts for various bits of shareware and technical manuals. This time I thought I'd be a bit more organised :) but back to the problem...

I've noticed that at random intervals - between 30secs and a few minutes - the network connection on the VM drops out for about a second. I've left the Task Manager running on the VM with the network activity and what I see, via a standard RDP connection from the host machine, is the graph drop off for a second but the CPU and other graphs show no drop outs so it's not the VM freezing.

Things I've tried:

  • Disabling the TCP offloading settings for the Realtek in Win2012
  • Creating a Virtual Switch with and without the SR-IOV ticked
  • Turning off the hardware acceleration features of the VM from Hyper-V

From staring at the Task Manager for some time it seems that the drop outs are more frequent under higher loads within the VM. I deliberately tried downloading some Linux ISOs via torrents as I know these are pretty severe tests of network connectivity. If I were to guess I'd say the graph has to go over 1Mbps to get the drop outs.

I would like to know, if anyone would be so kind as to enlighten me, if there are any other things I could do. For instance:

  • Any other NIC settings or maybe some registry edits I could try?
  • Is the Realtek a dubious item to have on a server? Should I try adding another NIC card to my test rig?
  • Is it okay to share the NIC between Win2012 and Hyper-V? Should I add another NIC anyway just for the VM?
  • Will any other NIC do (in the context of it being a non-production system) or are there any particular brands to recommend?

I think I have a Marvel-based PCIe card in the parts bin at work if that'll do.

I eagerly await the advice of the Wise Masters :)

Regards,

Andy

openSUSE 12.03 only gives 800x600 display resolution capability in Microsoft Hyper-V virtual box

$
0
0

I have just installed openSUSE 12.03 in a virtual machine box under Microsoft Hyper-V on Windows 8 Pro.

I attempted to change the resolution from 800x600 to something more acceptable, but under Display and Monitor configuration, there are no other options than 800x600.

Microsoft's website says that openSUSE 12.1 is a supported operating system with their Integration Services built in. This should, I would think allow me to utilize the full range of resolutions for the display adapter in my machine. I say this because all my other guest operating system installations work fine with the complete range of resolutions available for my display.

I have also installed Ubuntu 12.04 and CentOS 6.4 as well as Windows XP, Vista and 7 and none of these other installs gives me similar problems.

Is there a known problem with openSUSE in a Hyper-V V-Box with respect to resolution?  I have noticed several similar posts in my web searches, but no good answers that shed light on this problem that is apparently not mine alone.

I am running an Intel Core i3-3220 with an Intel B75 chipset motherboard that uses the Intel default graphics available through that board/cpu on the physical system.
Thank you in advance for any help you can offer


I Cant start a virtual machine with Virtual FC Switch attached directly to SAN without FC Switch (MPIO One HBA two ports eahc one) FC Switch is required ?

$
0
0

I have twoIBMx3650M4with QLogicQLE2562fiber plates2 portseach andare connecteddirectly to the SAN, butI cannotcreatevHBAfromthe administrationof theQLogicbecause Isay I'm notconnected to aConnectionPoint-to-Point .The question is,to usethefiber withinVMs, i need toif or whena switchto performFibreZoningorMaping?,Becauseaccording to mytopologydoes not work not evencreating avirtualswitch andadding itto aVM, I get syntheticfiber channelerrorand theVMdoes not start.

I´m using FC IBM DS3512 SAN Storage, DS Storage Management 10.86 and the latest drivers in that and Windows Server 2012 MPIO and Qlogic.


manyThanks


GusNET


Shared nothing migration issues (2012)

$
0
0

I'm checking out some new features of 2012 and have 2 standalone servers (not clustered) attached to their own storage (10Gb iSCSI). I've got a dedicated live migration network between the two servers as well (10Gb). I created a dummy VM on server #1 with a few VHDs. Shared nothing is working but I have some questions about if my setup is correct, based on what's going on.

Issue #1 - The migration seems to take a long time and isn't using my available bandwidth. I have 10Gb everywhere but the data is moving through the systems at only between 800Mb - 1.5Gb throughout the whole process. We have great tier1 san (ssds, 15k sas) for our sandbox, so I know the source and destination storage aren't stressed. The data path looks like it comes off storageA via iSCSI into server1, travels over the migration network to server2, and then is pushed out to storageB via iSCSI.

What is the holdup? Why isn't it moving faster and using more of my 10Gb links?  My only thought is that since shared nothing is using SMB 3.0, maybe SMB is throttling things? 

Issue #2 - Possibly related but I'm not sure. I have multiple VHDs on my VM (one per lun for simplicity).  In perfmon as I watch the migration happen, those VHDs are moving one at a time. The destination machine writes to the first LUN only (with no activity on the others), then upon completion it starts writing to the next lun, and so on.

Is it limited to one disk copy at a time? Can it not do parallel copies during shared nothing migration?

Windows 2012 Hyper V NIC features/settings

$
0
0

So in 2008 R2 I pretty much shutdown every single NIC feature, such as Checksum Offload, TCP Offload, RSS of any kind, VM queueing and auto tuning.  I did this based on problems I had and many blogs and or posts by people on this forum.

I will have new hardware arriving soon and I finally finished my SCVMM 2008 R2 to SCVMM 2012 SP1 migration (painfully).  I will be installing Windows 2012 on these new servers and I was wondering has anything changed?  Is the "best practice" just to shut this stuff off to be safe?


Thanks, -Lindy

Viewing all 19461 articles
Browse latest View live




Latest Images