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

Unable to install Windows 8.1 on Server 2012 R2 Hyper-V

$
0
0

Hi.

We've recently gone from Server 2008 R2 (Data Center) to Windows 2012 R2 (Data Center) and we're now trying to install Windows 8.1 clients on our Hyper-V solution.

When using the virtual machine creation wizard I create two test machines.
One machine is a gen1 and one machine is gen2 both are set to install via network (MDT 2013) and both a given a 40GB disk and 4GB of ram. Both installations fail.

"Windows setup could not configure windows to run on this computer's hardware".

According to everything I've found on the web this could happen if you try and install Windows 7 - something to do with 4K disks I think. This shouldn't happen on Windows 8.x.

I've seen a few posts where they explain the IDE controller being unable to handle 4K disks so that might explain something but in my case I also have a gen2 machine where disk is attached to a SCSI controller.

As I understand it a server 2012 R2 with Hyper-V should be able to have a Windows 8.1 installed on a VHDX file on a SCSI controller.

Can anyone help out here?

Thank you!



Exchange VM Migration.

$
0
0

Hi,

I have a question about the following scenario.

I have 2 physical hyper v hosts (Server 2008 R2) and its having Exchange 2010 SP3 Mailbox / HUB /CAS VM's in both host.

Also i have configured Exchange DAG  in this Mailbox servers and now i need to move these all the exchange VM's to new physical hosts.

This new hosts are configured with windows server 2012 R2.

Anyone can explain me how to successfully achieve this task without any errors.

Thanks

Madushanka

Hyper V Virtual Machine Creation

$
0
0

While we try creating a new virtual machine for our windows phone application, we are facing the following error.

-Failed to add device 'Virtual Hard disk

-Hyper V virtual machine management service account does not have permission to open attachment.

ERROR: General access denied error(0x80070005)

Hyper-V 2008 VM Error - "An error was detected on device \Device\Harddisk1\DR1 during a paging operation"

$
0
0

Hi

Server 2008 R2 Datacenter Hyper-V Cluster (3 Hosts in Cluster).

One of my Server 2008 R2 Standard VM's keeps rebooting itself every 3 minutes.

Got the VM into Safe Mode with Networking, stays up no problem. In Event Logs, there are thousands of Disk Event ID 51 errors ("An error was detected on device \Device\Harddisk1\DR1 during a paging operation").

Initially I thought this was a Hardware issue, but this is not the case (running on HP Storageworks MSA2312i SAN). All disks fine, all firmware on both Disks and Controllers upgraded to latest version.

Any ideas what may be causing this? The error is not present in any other VM's. Moving the VM across different hosts does not resolve the issue. Neither does moving the vhd files to different areas on the SAN.

Thanks

Hyper-V Core 2012 R2 - Cluster - Redirected Access

$
0
0

Hi,

So, I must be misunderstanding something about how this works.

At the moment my knowledge is the following:

* If everything is fine, each hyper-v host in the cluster connect DIRECTLY to the storage - traffic is: Host <-> Storage

* If a host loses its connectivity to the storage, then it will redirect the traffic to another host that still has access to the storage. Some some traffic is Host <-> Storage, and some traffic is Fail Host <-> Host <-> Storage

----

Now, at this specific moment, I have a 2 node Hyper-v 2012 R2 cluster connected to an iSCSI. Hosts are using MPIO and I am somewhat multiply connected to the SAN

The FCM reports that the CSV is not in redirected access. However, only one hosts shows the CSV disk in Nodes -> Disks.

----

Now, on Node A, I am running a VM on which I am running SQLIO in preparation for SQL Server install. Node A has 2 Ethernet cards 10 GB on the iSCSI network. Node B has the same. Node A is the one not showing the CSV disk in Node A -> Disks. This is what I see: (reading test, not yet up to the writing ones)

Node A - Eth1 - S:5 Mbps, R:900 Mbps

Node A - Eth2 - S: 5Mbps, R:900 Mbps

Node B - Eth1 - S: 10Mbps, R:900 Mbps

Node B - Eth2 - S: 1.8 GIGA bps, R:900 Mbps

----

Writing test:

Node A - Eth1 - S: 500 Mbps, R:2 Mbps

Node A - Eth2 - S: 500 Mbps, R:2 Mbps

Node B - Eth1 - S: 1.4 GIGA bps, R:9 Mbps

Node B - Eth2 - S: 800 Mbps, R:1.1 GIGA bps

----

So to me this means:

* the traffic from the VM is actually routed through the other node.

* Node B is connected to both storage controller but only 1 port on each. (not the issue atm, but eventually I'd like to see all 4 ports)

* Node A is connected to Node B

* Node A and Node B MPIO works very well.

----

When it is the writing test:

* Node B is sending twice the data because of the 2 way mirroring (I am using tiered storage and it is configured on the hyper-v)

----

As for the storage, it sticks at 220 MB/sec for reads or writes at the moment, which is normal considering that only 2 out of the 8 Ethernet ports are used (1Gbps)

Edit: It is actually starting to use more than 2 out of 8. Write went up to 360 Mbps

----

Question: Am I misunderstanding something when it comes to hyper-v cluster and redirected access ? If yes, what is it and how do I fix it? (Or where is the documentation on how to fix it)

Thanks



Edit: Seems it is linked to the fact that by default when you use tiering it enables heatmap on the volume which causes the redirection




The Famously Annoying "Slow" Hyper-V Guest (Running RDS)

$
0
0

Hi All,

Over the past several weeks, have had a handful of users complaining slowness at random times when connected across a WAN to an 2008 R2 RDS Server running on Hyper-V.  Users in the same location as Hyper-V's server don't see any slowness (though also don't use RDS, just the VM that does DC/DNS/File Sharing).

Let me know what else maybe be useful/needed info of course, but some quick specs:

Host Server (2012 R2 Standard):

  • HP ML350p Gen8;
  • (2) Xeon ES-2620 @ 2Ghz;
  • 56GB RAM;
  • Smart Array P420i controller w/:
    (6) HP 500GB 7.2K 6G SAS drives in RAID-10 Config;
    2 Volumes: 1 “System” of 100GB (69% free); 1 “Data” of 1.27TB (59% free);

VMs:

VM1– [DC, DNS, File Shares, etc;]

  •                    OS = Windows Server 2008 R2 Standard
  •                    vCPU = 1
  •                    RAM (dynamic) = 16GB (startup); 4GB (min); 1TB (max); 4GB (assigned);

VM2– [RDS]

  •                    OS = Windows Server 2008 R2 Standard
  •                    vCPU = 2
  •                    RAM (dynamic) = 32GB (startup); 4GB (min); 1TB (max); 4GB (assigned);
  •                    Apps = MS Office 2013 (primarily Word, Outlook, Excel); Avionte (run via Citrix web app, managed by 3<sup>rd</sup> party); Chrome; Firefox; Skype; Adobe Reader XI;
  • About 11 Users

Network/Internet:

  •                    Host server location = 5meg up/down
  •                    RDS user location = Unsure as it is a location managed by a shared building IT department who are not the most communicative, and each company has their own office(s), but best guess is min. 20meg up/down if not faster.

Not long after standing up this server and getting everyone connected, the RDS users, all in another city, complained of slowness.  Ultimately, kicking up the internet speed to 5meg up/down in the host server’s location quelled that for quite a long time.  Only recently, in the past several weeks have people again started complaining of slowness.

To further muddy the waters, some users report no/minor slowness while others report “moving at snail’s pace”, or “so-and-so can barely use their remote desktop” – all while connected at the same time. 

I’ve checked internet speed at the reported times of slowness and the host city will be at 4.5meg up/down, while the RDS user’s location will show 22meg down/45meg up.  So that doesn’t seem to be the issue.

I’m in a different city than either location, and when remoting in to either the Hyper-V host or the RDS server via LogMeIn I see no slowness whatsoever – snappy and responsive all the way around.  If I connect via RDP as Admin and use Word or Outlook, it can sometimes be a tad slow, but nothing as horrible as is described.  However, I don't have the same day-to-day tasks to test out that the users do.  All the same, beyond some general "office documents" type stuff, fairly sure they are not doing anything power user/resource intensive.  What I've seen in Task Manager/Resource Monitor, appears to support that - making it all the more confusing.

I’m the only admin, and can confirm no changes beyond HP and Windows updates, and general troubleshooting (e.g. disabling offload on the NICs, applying hotfix in regards to Inactive TS Port issue - http://blogs.technet.com/b/askperf/archive/2012/03/06/performance-issues-due-to-inactive-terminal-server-ports.aspx, etc;)

All users connecting via RDS are running Windows 7 x64 on fairly recent machines.  I've asked them to try to keep a close eye on when things slow down/speed up - for example, when someone logs out of the remote session, leaves for the day, etc; but they're not always the most observant.

Beyond that, please let me know what else I should be looking for/at, or can further detail for you - and/or if you notice anything above that seems misconfigged somehow.

Thanks a million, driving us all mad!




Virtual disk layout for fault tolerance / best VM performance

$
0
0

I can't seem to find anything definitive, when it comes to fault tolerance and best performance considerations for VM storage kept on SMB 3.0 shares within a clustered storage space setup. Most things I've read suggest a 2-way mirror layout for the initial virtual disk that will be used to hold the shares.

I'd feel a lot more comfortable baking in a 3-way mirror to further resiliency across my disk array, but I'm wondering what a good approach would be, following what I've read about using a 2-way mirror. 

Our planned setup will be using 2 physical nodes connected to a JBOD, with SoFS clustering and mirrored storage spaces.

Many thanks.

Error (2903) During initial replication.

$
0
0

During the testing stages of my Hyper V replication, I used 2 minor VMs for testing. Both had many failed attempts as I worked out the bugs with no small amount of help from the TechNet community. I now have good, solid replication occurring between my VMs at the primary site and the secondary. However, the two that I used as lab rats are less than happy to do an initial replication. I noticed in VMM that one of them is referencing a volume (Volume 3) that doesn't exist anymore. I have removed replication. Why does this VM still look for this volume? I have attempted replication with the broker set to a current volume without success. Is there a way to fix this without deleting and rebuilding the VM?

Error (2903)
VMM could not locate the specified file/folder C:\ClusterStorage\Volume3\HYPER-V REPLICA\VIRTUAL HARD DISKS\A0E9639C-ADF6-432C-B660-81C2D074428C on the drhost3.xxxx.xxxxxx.biz server. This file/folder might be required as part of another object.
The system cannot find the file specified (0x80070002)

Recommended Action
Ensure that you have specified a valid path parameter, and that all necessary files/folders are present. Try the operation again.

Thank you

Brian Gilmore Lead IT Technician Don-Nan Pump & Supply




hyper-v replica from production to DR

$
0
0

Hi

i have production hyper-v cluster with VMs and DR hyper-v cluster setup , between the hardware firewall hyper-v replica enabled and open port (80.443.135.139)-  replication is successfully doing

but once the planned fail over start  its not finishing (it showing failover in progress long time )

network administrator monitor the traffic saying many deny traffic is there.

my environment is very tight by firewall,

i need to know what are the traffic(ports) we have to open in firewall between the cluster.

Hyper-V and Linux. Change resolution in CentOs

$
0
0

Hi,

I just installed CentOs in Hyper-V Server 2012R2. The standalone core Hyper-V. I have installed the intigrated services. How do I get a custom screen resolution? I want 1440x900 in full screen.

Server 2012 R2 Hyper-V Cluster, VM blue screens after migration between nodes.

$
0
0

I currently have a two node Server 2012 R2 Hyper-v Cluster (fully patched) with a Windows Server 2012 R2 Iscsi target.

The VMs run fine all day long, but when I try to do a live/quick migration the VM blue screens after about 20 minutes. The blue reports back about a “Critical_Structure_Corruption”.

I’m being to think it might be down to CPU, as one system has an E-2640v2 and the other one has an E5-2670v3. Should I be able to migrate between these two systems with these type of CPU?


Tim

Merge process when shutting down a VM (Can it be stopped with no issues?)

$
0
0

I'm having a mail server downtime to complete critical updates and also add a 2nd network adapter.

I'm aware at this point that this server is currently running on a 1.6TB avhd file (and I see the parent last modified date back from the last time we had shutdown).

My question is....when I shutdown the VM and the merge process begins, will I be able to add the adapter I need?

If so, will the merge process let me start up the VM at that point when I am ready.

I wont have a long enough downtime for the file to merge into the parent. I believe that would take upwards for 20 hours.

My only goal right now is to add that hardware and reboot a couple of times for updates.

I have only a 3 hour window. Any advice here?

installing an Application in Host, work with it in guest

$
0
0

hi friends

in hyper-v 2012R2, is it possible to install an Application like Photoshop or any other App in Host & then be able to use & work with it in VMs?

thanks a lot

Infinite loop asking for reboot when installing integration service

$
0
0

Hi All,

I use DISK2VHD to clone a windows xp sp3 to VHD and put it in a 2012 R2 hyper-v server to run.

When I try to install the integration service, it prompt me reboot to update the HAL.

But after it reboot, the same message shown and ask me reboot again, and it is just looping.

Does anyone has the same experience and how to fix it?

Thanks,

BSoD occurred when port mirroring was enabled

$
0
0

I ran into BSoD when I enabled Port Mirroring at vswitch that enabled MS forwarding extension sample.
Is there any fix for this issue?

Environment


+--------------------------+ | WS2012 R2 Datacenter | | | | +-----+ +-------+ | | | VM1 | | VM2 | | | +--+--+ +-+---+-+ | | |P1 |P2 |P3 | | | | | | | +--+-------------+---+-+ | | | CorpNet | | | +----------------------+ |+--------------------------+

    • OS : Windows Server 2012 R2 Datacenter (November 2014 update)
    • Hyper-V (Version : 6.3.9600.16384)
    • Windows Driver Kit (WDK) 8.1
    • VM1 : Red Hat Enterprise Linux 6
    • VM2 : Red Hat Enterprise Linux 6
    • CorpNet(vswitch)

Steps to reproduce

  1. Install msforwardext.sys
        netcfg.exe -l msforwardext.inf -c s -i MS_forwardext
  2. Install mof
        net stop vmms
        mofcomp -N:root\virtualization\v2 .\MSForwardExtPolicy.mof
        mofcomp -N:root\virtualization\v2 .\MSForwardExtPolicyStatus.mof
        net start vmms
  3. Enable the sample for forwarding extension on CorpNet(vswitch)
  4. Apply policy
        .\setRoute.ps1
  5. Configure port mirroring
        On Network Adapter->Advanced Features->Port mirroring->Mirroring mode:
        * P1(VMNIC1) : Mirroring Mode = Source
        * P2(VMNIC2) : Mirroring Mode = Destination
        * P3(VMNIC3) : Mirroring Mode = None
  6. Do ping from P1(VMNIC1) to P3(VMNIC3)

Expected behavior
The packets from P1(VMNIC1) are shown on both of P2(VMNIC2) / P3(VMNIC3)

Actual behavior
BSoD occurred on vmswitch.sys.

kd> !analyze -v
*******************************************************************************
*                                                                             *
*                        Bugcheck Analysis                                    *
*                                                                             *
*******************************************************************************

DRIVER_IRQL_NOT_LESS_OR_EQUAL (d1)
An attempt was made to access a pageable (or completely invalid) address at an
interrupt request level (IRQL) that is too high.  This is usually
caused by drivers using improper addresses.
If kernel debugger is available get stack backtrace.
Arguments:
Arg1: 0000000000000000, memory referenced
Arg2: 0000000000000002, IRQL
Arg3: 0000000000000000, value 0 = read operation, 1 = write operation
Arg4: fffff801632cf939, address which referenced memory

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


READ_ADDRESS: unable to get nt!MmNonPagedPoolStart
unable to get nt!MmSizeOfNonPagedPoolInBytes
 0000000000000000

CURRENT_IRQL:  2

FAULTING_IP:
vmswitch!VmsExtMpSendNetBufferLists+1a2c9
fffff801`632cf939 488b1b          mov     rbx,qword ptr [rbx]

DEFAULT_BUCKET_ID:  WIN8_DRIVER_FAULT

BUGCHECK_STR:  AV

PROCESS_NAME:  System

ANALYSIS_VERSION: 6.3.9600.17029 (debuggers(dbg).140219-1702) amd64fre

DPC_STACK_BASE:  FFFFF803FBAFAFB0

TRAP_FRAME:  fffff803fbaf3000 -- (.trap 0xfffff803fbaf3000)
NOTE: The trap frame does not contain all registers.
Some register values may be zeroed or incorrect.
rax=ffffe001e9ad9250 rbx=0000000000000000 rcx=0000000000000001
rdx=ffffe001e9ad92e8 rsi=0000000000000000 rdi=0000000000000000
rip=fffff801632cf939 rsp=fffff803fbaf3190 rbp=fffff803fbaf3290
 r8=ffffe001e9ad9030  r9=0000000000000000 r10=0000000000000000
r11=ffffe001e9230210 r12=0000000000000000 r13=0000000000000000
r14=0000000000000000 r15=0000000000000000
iopl=0         nv up ei pl zr na po nc
vmswitch!VmsExtMpSendNetBufferLists+0x1a2c9:
fffff801`632cf939 488b1b          mov     rbx,qword ptr [rbx] ds:00000000`00000000=????????????????
Resetting default scope

LAST_CONTROL_TRANSFER:  from fffff803fa36d4e9 to fffff803fa3619a0

STACK_TEXT:
fffff803`fbaf2eb8 fffff803`fa36d4e9 : 00000000`0000000a 00000000`00000000 00000000`00000002 00000000`00000000 : nt!KeBugCheckEx
fffff803`fbaf2ec0 fffff803`fa36bd3a : 00000000`00000000 00000000`00000000 fffff803`fbaf3000 1500666b`00000000 : nt!KiBugCheckDispatch+0x69
fffff803`fbaf3000 fffff801`632cf939 : ffffe001`e9ad9030 fffff803`fbaf3290 ffffe001`e7df9000 fffff803`fbaf32a0 : nt!KiPageFault+0x23a
fffff803`fbaf3190 fffff801`6205df81 : ffffe001`e7df9000 ffffe001`e9ad9000 00000000`00000000 fffff803`00000031 : vmswitch!VmsExtMpSendNetBufferLists+0x1a2c9
fffff803`fbaf3320 fffff801`632bb347 : ffffe001`e8314c10 ffffe001`e9ad9030 ffffe001`00000000 00000000`00000000 : NDIS!NdisSendNetBufferLists+0x551
fffff803`fbaf3510 fffff801`632ba3f7 : ffffe001`e9ad9000 ffffe001`e9ad9030 ffffe001`e9596000 ffffe001`e9596000 : vmswitch!VmsExtPtRouteNetBufferLists+0x377
fffff803`fbaf35e0 fffff801`632ba128 : ffffe001`e97e5b00 fffff803`fbaf3790 ffffe001`00000000 ffffe001`e900ff02 : vmswitch!VmsVmNicPvtRndisDeviceSendPackets+0x187
fffff803`fbaf3690 fffff801`6242c1e0 : 00000000`00000003 ffffe001`e9af0102 00000000`00000024 00000000`00000062 : vmswitch!VmsVmNicPvtKmclProcessingComplete+0x4b8
fffff803`fbaf37c0 fffff801`62403e3d : 00000000`00000000 ffffe001`e959b6c0 0020f59f`583ad6ad 00000000`00000000 : vmbkmclr!KmclpVmbusIsr+0x290
fffff803`fbaf3840 fffff803`fa2dbcd0 : fffff803`fbaf3990 ffffe001`e7d91e80 fffff803`fa514180 00000000`00000000 : vmbusr!ParentRingInterruptDpc+0x5d
fffff803`fbaf3890 fffff803`fa2daf87 : ffffe001`ea083080 00000000`002b3682 fffff803`fa514180 fffff803`fa514180 : nt!KiExecuteAllDpcs+0x1b0
fffff803`fbaf39e0 fffff803`fa3654ea : fffff803`fa514180 fffff803`fa514180 fffff803`fa56da00 ffffe001`e928e080 : nt!KiRetireDpcList+0xd7
fffff803`fbaf3c60 00000000`00000000 : fffff803`fbaf4000 fffff803`fbaee000 00000000`00000000 00000000`00000000 : nt!KiIdleLoop+0x5a


STACK_COMMAND:  kb

FOLLOWUP_IP:
vmswitch!VmsExtMpSendNetBufferLists+1a2c9
fffff801`632cf939 488b1b          mov     rbx,qword ptr [rbx]

SYMBOL_STACK_INDEX:  3

SYMBOL_NAME:  vmswitch!VmsExtMpSendNetBufferLists+1a2c9

FOLLOWUP_NAME:  MachineOwner

MODULE_NAME: vmswitch

IMAGE_NAME:  vmswitch.sys

DEBUG_FLR_IMAGE_TIMESTAMP:  5434e87f

BUCKET_ID_FUNC_OFFSET:  1a2c9

FAILURE_BUCKET_ID:  AV_vmswitch!VmsExtMpSendNetBufferLists

BUCKET_ID:  AV_vmswitch!VmsExtMpSendNetBufferLists

ANALYSIS_SOURCE:  KM

FAILURE_ID_HASH_STRING:  km:av_vmswitch!vmsextmpsendnetbufferlists

FAILURE_ID_HASH:  {db6e6826-fd05-182d-4af8-bc2534e406ad}

Followup: MachineOwner




Disk Read Latancy and Disk write latency calculation

$
0
0

Hi,

I'm using this wmi query "
SELECT * FROM Win32_PerfRawData_PerfDisk_LogicalDisk WHERE Name!='_Total'" with namsepace asroot\cimv2 to get the disk related metrics but please let me know from this how to calculate the disk read latency and disk write latency metrics. I need an formula to calculate the latency.

Thanks in advance!!

Regards,
Raamesh Keerthi N J


Hyper-V 2012 R2 & Windows 8.1 VMs performance metrics using WMI query

$
0
0

Hi,

I used the following query to fetch the Disk utilization for Hyper-V VMs (non v2 hosts) using its host credential "select ReadBytesPersec,WriteBytesPersec,ReadCount,WriteCount from Win32_PerfRawData_StorageStats_HyperVVirtualStorageDevice" but for the V2 (Windows 8.1 & Windows 2012 R2) this query is not working this is throwing Invalid class using the namespace "root\cimv2".

Please let me know the exact WMI class for the Disk utilization for V2 hosts VMs.

Regards

Raamesh Keerthi N J

Vlan Promiscuous Mode in Windows Server 2012

Can i use old machines with PXE to boot VDI Operating Systems using Windows Server?

$
0
0

Hi,

I would like to know if it is posible to create an architecture with Windows Server 2012 R2 configuring VDIs and use these VDIs with my old hardware. I would like to boot my old machines using PXE directly from the VDI images so i dont need to install any operatig system in my old hardware.

The situtation i have,  is a computer room we use for trainings. I have all these machines with Windows XP and 2Gb RAM and i dont want to replace all machines at the moment. I was thinking to use VDIs to solve this situation.

The reason for booting up using PXE is that i dont want users to start up computers in Windows XP and then run RDP to start up the VDI. I would like a solution where users should not be able to do anything and machines boot up directly to the VDI environment. 

I would appreciate any suggestions to my requirements based in your experience.

Many thanks and kind regards

Julian

CentOS 6.5 on Hyper-V

$
0
0

hello guys, I installed Centos 6.5 on Hyper-V  using Win 2008 x64 Standard

if set the CentOS box to DHCP internet connection works fine.

but if I set a static IP there is no internet connection.

any ideas guys on some work around on how to make a static IP works for Hyper-V with Linux  box on it.

 

Thank you.


Every second counts..make use of it. Disclaimer: This posting is provided AS IS with no warranties or guarantees and confers no rights.
IT Stuff Quick Bytes

Viewing all 19461 articles
Browse latest View live




Latest Images