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

Compact VHD file in Hyper V

$
0
0

I was wondering if Hyper-V in Windows 2008 R2 or 2012 already comes with a feature that will decrease the VHD file size when you delete files inside the VHD file or not.  

For example, I have a file server with a data drive of 100GB, set to dynamically expanding. When new data gets added, the VHD size grow, as expected.  When data were deleted off of the data drive, the VHD file size stay the same. 

I know that if I go compact the disk, it will shrink the VHD file size but I don't want to have to do this all the time to the file servers as shadow copies is configured on the drive.  And in order for the compact to work, I will need to disable shadow copies, which deletes all the history of the shadow copies and starts fresh. 

Any thoughts or updates on whether this feature will be released with the new Hyper-V or new Windows Server version?


Windows 2012 Hyper-V Manager says Virtual Machine Status "Backing Up" Why?

$
0
0

What is going on?

I have 4 VMs running on Windows 2012 Datacenter.   They stopped responding so I took a look at Hyper-V Manager.

The status of the VMs say "Backing up".   I cannot shut the VMs down, either.   Well eventually they STOP, but no save or graceful shutdown.

I have not configured backups.   I've never seen this message before.   

The VMs DO have Windows Server Backup installed and DO back themselves up using the Scheduler but they back themselves up to a network volume.   Hyper-V Manager should not know anything about this.

How do I get them out of this state?


Dane!

Issues with dedicated virtual network in Hyper-V R2 on Enterprise (non-core) and Hyper-V Server R2

$
0
0
Hi,

Running into an issue that seems odd and trying to figure out if this is a bug, expected behavior, or a driver/configuration issue. I have configured a dedicated virtual network for my VM's as described @ http://blogs.technet.com/jhoward/archive/2009/05/04/new-in-hyper-v-windows-server-2008-r2-part-1-dedicated-networks.aspx

The issue that we're having is that if any of the VM's attached to the dedicated virtual network are deleted from hyper-v, we experience the following behavior:

1. New virtual machines set to use the virtual dedicated network do not have network accessibility. the VM shows the adapter as being connected and quering wmi shows the port is in fact, connected.
2. other machines using the dedicated virtual network work fine until they are rebooted.

Once this happens the only way to get the existing VMs to reconnect to the network is to do the following:

1. in each VM, uninstall the network adapter in device manager
2. for each vm, remove the network adapter in the hyper-v settings
3. delete the dedicated virtual network in hyper-v
4. recreate the dedicated virtual network (using the same network adapter or another)
5. add the network adapters back to each VM and start them back up and of course reconfigure their network settings.

Once these steps have been taken, new and existing VM's work fine that is until one is deleted.

My thought was somehow the virtual switch, and/or internal and external ports were broken. I made some WMI calls before and after deleting the VM and it shows that the switch stay intact and does not change, the external port stays the same, and the internal port of the vm that was deleted was removed (as expected)

we ran various test cases to see under what situations would break. We found that:

1. if the nic is external (meaning the share with management workstation is checked), we're able to add/remove VMs with no problem. Networking never breaks.
2. if we use the v1 method of creating a dedicated virtual network, meaning that we're creating an external network and disabling/unbinding protocols from the resultant virtual nic in the parent partition, networking doesn't break.
3. creating a specific external network which is shared by the management system AND creating a dedicated virtual network which the VMs are assigned results in broken network connectivity.
4. the issue occurs on all guests OSes that we tested including Windows 2003 x64, WinPE, and Windows 2008 x64.
5. the issue occurs on both synthetic and legacy network adapters
6. we've reproduced this issue on 3 DELL R710's and 1 DELL 2950 both containing Broadcom and Intel network adapters. the issue occurs with both NIC vendors.
7. the issue occurs on both Hyper-V Server R2 and the GUI versions of 2008 R2

Any idea what is going on here?

Thanks!

Seth

Hyper-V 2012: Remote File Browser -> No items match your search

$
0
0

Hi,

yesterday I installed Hyper-V 2012 Server on a new HP ProLiant DL380p Gen8 machine. The Server is joined to a W2K3 Domain, necessary firewall rules are applied. Also I have installed a Win8-Ent machine which is also joined to the AD.

In "Hyper-V Settings..." I wanted to modify the "Virtual Hard Disks" Location. But when I want to browse the remote disks the Explorer Windows shows no drives.

In the address line it shows: -> Remote File Browser -> [servername]

in the left Explorer pane the server is listed. In the right pane there is a message "No items match your search".

I can Access the remote disks using UNC names : \\[servername]\d$

I can create virtual machines using Hyper-V Manager. But it's also not possible to connect an ISO Image to the vm because I cannot browse the remote disks.

Does anyone have an idea how i can access the remote disks?

Thanks

Thomas


Windows server 2012 networking with UTM in Hyper-V

$
0
0

Hi everyone.

I'm having some trouble with my current network set up. Connectivity randomly drops for a moment every now and then, and sometimes completely until I restart the server. Pinging the server times out.

Setup: Windows server 2012 with Sophos UTM 9.1 (built on Linux) running in Hyper-V. I'm using one nic for the virtual switch. There are two virtual adapter for the UTM virtual machine. One for internet connectivity (IP:10.0.0.3) and one for communication between Windows server and the virtual UTM (192.168.1.3). Internet is served by the router (10.0.0.2 - DHCP turned off) The virtual adapter that was created in windows is 192.168.1.1.

I'm using DHCP to assign IP's to the client PC's (192.168.1.101-192.168.1.200)

I've tried changing the set up by connecting the server to the internal network using an unused NIC and using the second nic for the virtual switch, and then bridging the virtual adapter created inside windows with the NIC connected to the internal network. That caused even more connection problems (losing connection with shared folders, but not necessarily with server)

In Hyper-V manager on the networking tab under status it says "Degraded (integration services upgrade required)" Should I change the network adapters to legacy? To me it doesn't make sense that the virtual adapter created in the virtual machine would be the problem. If they were, wouldn't I only lose connectivity to the virtual machine instead of the whole server?

Multiple vlan and domian issue

$
0
0

Hi ,

           before we were running our network with a single vlan 10.1.10.0 /255.255.192.0  and a sonicwall. Now we had created 5 vlans with different ip ranges. the servers are running only in the previous vlan ,  the new data vlan with the ip range is starting from 10.1.111.0/24  .All scopes are created in the dhcp server for the vlans. The issue i am facing is the pc cannot be added to the domain from the new data vlan.do i need to do anything extra in the domain server???? .the inter vlan routing is working perfectly.

Does Lync 2013 support Hyper-V Replica?

In-place Upgrade from Windows Server 2008 R2 to Windows Server 2012

$
0
0
I have a work environment based Windows 2008 R2 Hyper V containing multiple virtual machines (Sbs2011, TS, SQL).

Due to the memory limit for the Standart version I want to upgrade to Windows 2012 Hyper V.

I read a number of sites that can be performed in-place upgrade.

Has anyone experienced this and have been upgrading can direct me to the setup steps?

Virtual Machine - high disk response time

$
0
0

Hi Everyone,

Got something strange happening in our lab at the moment and was wondering if anyone had experienced the same thing (and maybe has a solution).

Our lab environment in a nutshell:

2x Windows 2012 Hyper hosts cluster connected to a "home-made" SAN based on Windows 2012 iSCSI target.
Each Hyper-V host has two 1Gbps network cards to connect to the SAN via the Microsoft iSCSI initiator, with MPIO in load-balancing mode (least queue depth).

The SAN (Windows 2012 server with iSCSI target) has 4x 1Gbps cards, teamed two by two, so presenting two IP addresses used by each hosts to connect to it (via MPIO).
The disk subsystem on the Windows 2012 SAN is an external HP storage works with 25x HP 500 SATA disks, connected to the server via an INTEL RAID controller with 2x 240GB SSD caching enabled for read/write.

The iSCSI network is on a dedicated HP switch, with flow-control and jumbo frame enabled (tested ok).

Now the problem:

I've built a few virtual machines on the two hyper-v nodes and I'm getting very bad disk response time as soon as there is an increase in the disk traffic.
When the virtual server is doing very little, I get a normal 6-8ms, but I soon as I increase the traffic (by for example copying a big file, or installing an application), this figure shoots up to 200ms, 300ms and more!

So I first thought that it was my disk subsystem (and the SAN server), but while the spikes are happening within the virtual machine, the disks on the SAN Server are sitting at about 10ms, with some spikes to about 20ms (which is pretty good and what I would expect to see within the VM because of the SSD cache).

I then thought it could be the network, but during those times of activity, the network does not get saturated at all. Barely 150Mbps to 200Mbps per link.
I even tried to disable MPIO and run everything across one Ethernet link, but still the same result.

Am I missing something here? doing something wrong? or is this expected behaviour?

Thank you,
Stephane

Hyper-V Cluster RPC server unavailable error

$
0
0

We currently have 2 nodes in our HyperV environment.  Both are experiencing the same issue.  If we try to migrate any of the VMs, we are presented with an RPC server error.  Also, if we try to open Hyper-V manager, we get an error stating the following:

"The computer 'SERVER' failed to perform the requested operation because the RPC call failed"

Both system are running windows 2008 r2.  We disabled the firewall and still having issues.  We also made sure all services are running.  After looking through even viewer logs, we saw the following:

Failover Cluster Manager failed while managing one or more cluster. The error was 'The RPC server is unavailable. (Exception from HRESULT: 0x800706BA)'. For more information see the Failover Cluster Manager Diagnostic channel.

Failover Cluster Manager could not contact node 'SERVERA.munzingnj.munzingus.com'.

System.ApplicationException: Failed to receive the event log entry. ---> System.ComponentModel.Win32Exception: The remote procedure call failed
   --- End of inner exception stack trace ---
   at MS.Internal.ServerClusters.EventLogQuery.EventNext(EventSafeHandle resultSet, UInt32 eventsCount, Void** events, UInt32* returned)
   at MS.Internal.ServerClusters.EventLogQuery.GetResults(UInt32 resultsCount)
   at MS.Internal.ServerClusters.Management.EventLogQuerySet.QueryWorker(Object a)

I would also like to add that there are a multitude of error logs referencing services.  For example:

Log Name:      System
Source:        Service Control Manager
Date:          9/10/2013 8:30:43 AM
Event ID:      7011
Task Category: None
Level:         Error
Keywords:      Classic
User:          N/A
Computer:      SolarSystemA.munzingnj.munzingus.com
Description:
A timeout (30000 milliseconds) was reached while waiting for a transaction response from the MSiSCSI service.
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
  <System>
    <Provider Name="Service Control Manager" Guid="{555908d1-a6d7-4695-8e1e-26931d2012f4}" EventSourceName="Service Control Manager" />
    <EventID Qualifiers="49152">7011</EventID>
    <Version>0</Version>
    <Level>2</Level>
    <Task>0</Task>
    <Opcode>0</Opcode>
    <Keywords>0x8080000000000000</Keywords>
    <TimeCreated SystemTime="2013-09-10T12:30:43.176549900Z" />
    <EventRecordID>6013729</EventRecordID>
    <Correlation />
    <Execution ProcessID="1000" ThreadID="13124" />
    <Channel>System</Channel>
    <Computer>SolarSystemA.munzingnj.munzingus.com</Computer>
    <Security />
  </System>
  <EventData>
    <Data Name="param1">30000</Data>
    <Data Name="param2">MSiSCSI</Data>
  </EventData>
</Event>

Log Name:      System
Source:        Service Control Manager
Date:          9/10/2013 8:30:43 AM
Event ID:      7011
Task Category: None
Level:         Error
Keywords:      Classic
User:          N/A
Computer:      SolarSystemA.munzingnj.munzingus.com
Description:
A timeout (30000 milliseconds) was reached while waiting for a transaction response from the Dnscache service.
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
  <System>
    <Provider Name="Service Control Manager" Guid="{555908d1-a6d7-4695-8e1e-26931d2012f4}" EventSourceName="Service Control Manager" />
    <EventID Qualifiers="49152">7011</EventID>
    <Version>0</Version>
    <Level>2</Level>
    <Task>0</Task>
    <Opcode>0</Opcode>
    <Keywords>0x8080000000000000</Keywords>
    <TimeCreated SystemTime="2013-09-10T12:30:43.176549900Z" />
    <EventRecordID>6013728</EventRecordID>
    <Correlation />
    <Execution ProcessID="1000" ThreadID="19968" />
    <Channel>System</Channel>
    <Computer>SolarSystemA.munzingnj.munzingus.com</Computer>
    <Security />
  </System>
  <EventData>
    <Data Name="param1">30000</Data>
    <Data Name="param2">Dnscache</Data>
  </EventData>
</Event>

Log Name:      System
Source:        Service Control Manager
Date:          9/10/2013 8:30:13 AM
Event ID:      7011
Task Category: None
Level:         Error
Keywords:      Classic
User:          N/A
Computer:      SolarSystemA.munzingnj.munzingus.com
Description:
A timeout (30000 milliseconds) was reached while waiting for a transaction response from the ProfSvc service.
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
  <System>
    <Provider Name="Service Control Manager" Guid="{555908d1-a6d7-4695-8e1e-26931d2012f4}" EventSourceName="Service Control Manager" />
    <EventID Qualifiers="49152">7011</EventID>
    <Version>0</Version>
    <Level>2</Level>
    <Task>0</Task>
    <Opcode>0</Opcode>
    <Keywords>0x8080000000000000</Keywords>
    <TimeCreated SystemTime="2013-09-10T12:30:13.161572700Z" />
    <EventRecordID>6013726</EventRecordID>
    <Correlation />
    <Execution ProcessID="1000" ThreadID="13420" />
    <Channel>System</Channel>
    <Computer>SolarSystemA.munzingnj.munzingus.com</Computer>
    <Security />
  </System>
  <EventData>
    <Data Name="param1">30000</Data>
    <Data Name="param2">ProfSvc</Data>
  </EventData>
</Event>

Log Name:      System
Source:        Service Control Manager
Date:          9/10/2013 8:30:13 AM
Event ID:      7011
Task Category: None
Level:         Error
Keywords:      Classic
User:          N/A
Computer:      SolarSystemA.munzingnj.munzingus.com
Description:
A timeout (30000 milliseconds) was reached while waiting for a transaction response from the CryptSvc service.
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
  <System>
    <Provider Name="Service Control Manager" Guid="{555908d1-a6d7-4695-8e1e-26931d2012f4}" EventSourceName="Service Control Manager" />
    <EventID Qualifiers="49152">7011</EventID>
    <Version>0</Version>
    <Level>2</Level>
    <Task>0</Task>
    <Opcode>0</Opcode>
    <Keywords>0x8080000000000000</Keywords>
    <TimeCreated SystemTime="2013-09-10T12:30:13.161572700Z" />
    <EventRecordID>6013725</EventRecordID>
    <Correlation />
    <Execution ProcessID="1000" ThreadID="23040" />
    <Channel>System</Channel>
    <Computer>SolarSystemA.munzingnj.munzingus.com</Computer>
    <Security />
  </System>
  <EventData>
    <Data Name="param1">30000</Data>
    <Data Name="param2">CryptSvc</Data>
  </EventData>
</Event>


The servers were operational yesterday.  We recently noticed this issue...All help is greatly appreciated!


Server 2012 Hyper-V: I want to convert to fixed disk but it's not intuitive

$
0
0

Hi all.  I find myself confused with Server 2012 Hyper-V processes, and design as well. 

First, and I'm just curious because it's odd, why when you create a new VM and a new VHDX to go with it, you don't have any choice of making it a Fixed Disk?  Per Microsoft's own Technet articles on the subject, they recommend fixed-sized VHDs for production servers.  Well thankfully production servers account for only a small percentage of the world's server population so forcing people to double their work by converting a newly creatd VHD makes sense!  =P

:) Anyway I saw no way to make it a Fixed disk during creation - I can see some safeguarding concepts in that but is that their main reason for making it that way? 

And to my question:  the process seems to be that you Convert the disk, making a 2nd disk in the process and then to tell the VM to use the newly created VHD.  This process hasn't gone successfully for me yet.  I create a new VHDX via this conversion process, give it a slightly different name.  I then Shut Down the VM and edit the VM properties to point to this new disk, which is in the same directory location as the old VHD.  I go to start it up and I get "Boot Failure" (the actual error is longer but it's the standard one). 

Thinking taht was odd, I repeated the whole thing again (after deleting previous VMs and VHDs).  This time instead I converted the disk but saved it to a different location on the same physical disk on the server.  I then deleted the VHD that was being used, renamed my new one, copied it over to the same path as where the old one was, and booted the VM.  Nope, can't even get that far, I get  aHyper-V error about the IDE/Atapi account not having permissions. 

I have my share of problems with Windows 8 Client Huper-V as well - it just seems this stuff should be easy and yet I am constantly having problems with it at a fundamental usage level nevermind more advanced features. 

Thank you for any insight and answers! 

Windows 2008r2 Ent hyper-v licensing with 2012 guests

$
0
0

Hi, I am running a Windows 2008r2 Ent hyper-v host, with two guests, both of which have their own license (it's SBS 2011 and 2008 Ent).

I need to install an additional VM to run directory sync services on, and I'd like to do that with server 2012. Which edition of 2012 should I get to actually use one of the free 4 guest licenses that come with the host, or am I limited to running only 2008r2 std guests?

HyperV Data Migration

$
0
0

Im migrating from SBS2003 to SBS2011 both are virtual on HyperV Server 2008R2. Both guests have a single dedicated network card connected to 1Gbps switch (not shared by host os). The hardware is a HP ML350 Gen8 and guests are on 6 disk 10K SAS Raid 10.

What is the best way to transfer data and exchange mailboxes between the guests? I used robocopy for the data and manged to get around 1GB per minute during the transfer but i assume i can get quicker than this as its guest to guest? Do i need to configure them to both use the same NIC in HyperV? I have ready about using an internal adapter but im not sure if SBS would like this as you are supposed to only have one NIC installed.

My next step is to move 120GB of mailbox data so the faster i can do this the better.

Windows2012HyperV_Performance

$
0
0

Dear support

I use windows server 2012 HyperV in the  several  host, However, the performance of the Guest OS is very slow.

Problem

Server A: File + Domain server: File sharing is lower than the old Windows 2003 server

Server B: Domain Server (Not the same domain.): Slow of Windows Explorer.

Server C : Files and AV server: Click the Icon on the task bar is no response(No error occured.)

Info

Server A : IBM  x 3250M4 with 8G Ram, HyperV with 1 Guest OS (Windows 2012 Std)

Server B : IBM  x 3250M4 with 16G Ram, HyperV with 1 Guest OS (Windows 2012 Std)

Server C : IBM  x 3650M4 with 16G Ram, HyperV with 1 Guest OS (Windows 2012 Std)

Description

The about server is in three different location and not the same company. However the  performance  of guest OS is very low. Do any setting need to config for optimize the Guest OS.  The server 3 has most important problem, when I click the icon in taskbar , it will no  response or after 5 min prompt the clicked program. Please help to fix this too. Thanks.  

Windows 2008 hyper-v + other roles and upgrading to 2012

$
0
0

Hi All

I've looked high & low and not found an answer to my question so far. I've got a windows 2008 r2 server with upgrade rights to 2012, running only a couple of linux vm's, but have a requirement in the near future to add another Windows server instance to our environment. 

Everything I've read so far says that  2012 standard comes with the rights to run two vm instances  if the physical hardware is either running Windows Hyper-v 2012, or Windows Server 2012 with only the hyper-v role installed.

What if I choose to run the Windows Server 2012 (after upgrading from 2008 r2) with hyper-v role, file & print sharing, and AD. Do I have the rights to install none, one, or two VM 2012 instances ?

The server has two processors

Thanks in advance

Simon

Referenced:

http://download.microsoft.com/download/7/7/0/7707E736-4557-4310-9709-87358F7E6D1A/WindowsServer2012VirtualTech_VLBrief.pdf

http://download.microsoft.com/download/0/4/B/04BD0EB1-42FE-488B-919F-3981EF9B2101/WS2012_Licensing-Pricing_Datasheet.pdf


Guide for moving Workloads to a Private Cloud

$
0
0

Dear All.....I have a private cloud in place and i am looking for a guide that can show me the steps necessary to move workloads to private cloud such as CPU, Memory, Disk IO, Network IO considerations etc......I have looked around, but unable to find any, if someone can guide me, I would appreciate it.  Thanks.

Have 3 VM machines. Connecting to one through RWW, to other 2 VMs receiving "cannot connect" error... Please Help...

$
0
0

Hi All..

I have next situation..

Our Configuration

W2008 Standard

-> Hyper-V

VM1- W2008 SMS with AD

VM2-VM3 - Worstations

After running updates on W2008 Standard got issues with Hyper-V:

1. VM1 was unable to Restore (VM2, VM3 started fine)

Added Full Control permissions on D drive... after some time VM1 started to work.

Now.. the issue.

I can access remotely through RWW to VM1 (AD Server), but cannot access to VM2-VM3 receiving "cannot connect" error.

When I starting to connect to VM2 or VM3, it's asking for user/pass (entered right one), and after some time of "thinking" receiving that "cannot connect" error.

I got stuck with it...  

Please Help..

Can't install Hyper-V on a Windows Server 2012 Standard Server

$
0
0
We got out Windows 2012 Standard Servers from Dell but on only one server we need to setup the Hyper-V.  First thing I've done is install the Hyper-V and created two VMs.  One VM for web server and the other one for database server.  Done with setting up our application and the three are able to communicate with each other.  After doing the hardening on the two VMs, the setup is still working.  But after doing the hardening on physical server, the Hyper-V cannot run the VMs anymore.  After trying several solutions found on the internet, I'm still unable to solve the problem.  And that's when I decided just to reinstall the Hyper-V.  The Hyper-V is uninstalled successfully but got problems installing it back.  After adding the feature on the Server Manager, the server will restart.  After the first restart, the server will continue the configuration and during that time it will encounter an error and will revert it back.  I've tried reversing the hardening but still no luck.  When I looked at the event logs, I'm encountering this error "A timeout (30000 milliseconds) was reached while waiting for a transaction response from the vmms service.".  Any idea why am I encountering this error and any solutions to this?  I'll provide additional information if needed.  Thanks.

Snapshot/Differential disk merged now VM won't boot and it's still looking for .avhd file

$
0
0

Last night we lost a differential disk file for hyper-v that contained all of our SQL data since 7/22. 

What happened was I went to merge/delete snapshots and when it completed and I tried to boot, it said it could not find disk.   I did not simply open windows explorer and delete files, I actually right clicked on snapshots in the hyper-v manager and removed them that way.  

When I look at the the virtual machine CSV, it shows that the machine was still looking for a differential disk rather than the base disk which implies that it didn't actually merge anything but it did remove the snapshot disk.  Now I’m left with a base disk and two snapshot disks both dated on 7/22.  

What I have, is a base disk and one snapshot for the disk.  

The error in event log when the machine attempts to start is 

Failed to get VHD ('C:\ClusterStorage\Volume1\Hyper-V\SQL2008\SQL2008-141769b5de4f72c_B828028B-CD67-420F-AA12-50B5F1551D9B.avhdx') parent: 'The system cannot find the file specified.'('0x80070002').

After looking in the logs, I also see these events around the same time that I removed snapshots.

The Virtual Machines configuration C33AD948-A9D8-4DED-9ACE-4B351CE65D88 at 'C:\ClusterStorage\Volume1\Hyper-V\SQL2008' is no longer accessible: The volume for a file has been externally altered so that the opened file is no longer valid. (0x800703EE).

Cannot delete snapshot: The system cannot find the file specified. (0x80070002). Snapshot ID BC8BB4EA-EB1E-4D10-B614-DF9787F76C40.

'SQL2008' failed to remove snapshot. (Virtual machine ID C33AD948-A9D8-4DED-9ACE-4B351CE65D88)

I'm not sure how the disk could have been externally altered or what that even means.  


Lan extension is required for Hyper-v 2012 HA across datacenters or not?

$
0
0

Hi,

We have twodatacenterSeparategeographically andwe want to installahigh-availabilityarchitecturehypervbetweendatacenter.

dolanextension ismandatory?

what is themaxlatencysupported?

What solution should we use Hyper-v replicat or live migration? what is the diference between them?

Thank you

Viewing all 19461 articles
Browse latest View live


Latest Images