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

Uptime in Management UI not showing days?

$
0
0

I'm a little confused, but does the Hyper-V Managment Console exclude the number of days a machine has been up for??? 

These machines have been up for more than 4 or 5 days... Is there a way to change this?

Thanks!

Tony


Resizing VHDX Fixed Disk

$
0
0
I recently converted a Dynamic VHD disk that was 95GB in size(only uses 60GB inside the guest) and now as a fixed disk it is 170GB in size.

How can I resize the newly created fixed disk to under 80GB in size?

I am running Windows Server 2012.

Hyper-V manager asking password to connect to VM after adding FQDN

$
0
0

Hi,

I`ve windows 2012 server with Hyper-V server installed. It is in workgroup and I added FQDN from registry because I didn`t want to restart it. The replication works perfectly well but when I try to connect to VM from hyper manager, it says"The logon attempt failed" it asks for password.(User name, password and domain:blank).

I tried local and domain passwords but always says incorrect. I can access via RDP without any problem. I need to restart the Server and I`m scared I won`t be able to run the VMs again.

Thanks for your help in advance.

Stopping-Critical

$
0
0

Hi there,

I have a customer hyper-v guest server (Main), and whenever I try and shut it down, it does not shut down, instead it goes into a "Stopping-Critical" state, and just says there. The only way to get the server off is to Taskkill the hyper-v service, and then reboot the Host server. If I just try and reboot the host, it will freeze at 'shutting down the hyper-v service', and then at that point we have to pull the power out of it to get it to turn off!

They had a couple of power cuts over a few days, and then this Stopping-Critical problem started happening.

If I do a restart on the hyper-v guest server (Main), it will restart fine, and it is running fine also. It is running Active Directory and also Exchange.

How can I find out what is causing this Stopping-Critical message?

Thanks in advance,

Steve.


Steve

RemoteFX Support for Gen2 VMs

$
0
0
When does Microsoft plan to add support for RemoteFX to Gen2 VMs? Will there be a service pack at some point for Windows Server 2012 R2?

Losing Access to Cluster Shared Volumes: Cluster Shared Volume 'Volume1' ('CSV Disk1') has entered a paused state because of '(c0000435)'

$
0
0

Hi,

Just built a Server 2012 R2 Hyper-V failover cluster connected to Equallogic 4110 storage arrays with latest firmware and HIT kits. 
When creating a clone or vm from a template we see that the cluster loses access to the storage csv volume that is hosted on the equallogic storage with the following errors:

Cluster Shared Volume 'Volume1' ('CSV Disk1') has entered a paused state because of '(c0000435)'. All I/O will temporarily be queued until a path to the volume is reestablished.

Can anyone shed any light onto this issue?

Full details below:

Log Name: System
Source: Microsoft-Windows-FailoverClustering
Date: 06/08/2014 09:31:17
Event ID: 5120
Task Category: Cluster Shared Volume
Level: Error
Keywords: 
User: SYSTEM
Computer: SVR1
Description:
Cluster Shared Volume 'Volume1' ('CSV Disk1') has entered a paused state because of '(c0000435)'. All I/O will temporarily be queued until a path to the volume is reestablished.
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="Microsoft-Windows-FailoverClustering" Guid="{BAF908EA-3421-4CA9-9B84-6689B8C6F85F}" />
<EventID>5120</EventID>
<Version>0</Version>
<Level>2</Level>
<Task>38</Task>
<Opcode>0</Opcode>
<Keywords>0x8000000000000000</Keywords>
<TimeCreated SystemTime="2014-08-06T08:31:17.330643100Z" />
<EventRecordID>36230</EventRecordID>
<Correlation />
<Execution ProcessID="2336" ThreadID="3524" />
<Channel>System</Channel>
<Computer>SVR1</Computer>
<Security UserID="S-1-5-18" />
</System>
<EventData>
<Data Name="VolumeName">Volume1</Data>
<Data Name="ResourceName">CSV Disk1</Data>
<Data Name="ErrorCode">(c0000435)</Data>
</EventData>
</Event>


Microsoft Partner

SCVMM 2012 SP1 Virtual Switch on Cluster Node Disappears

$
0
0

I have been running into an interesting but an alarming issue with virtual switches. I have recently built a 4 node Server 2012 Hyper-V failover cluster. I have built numerous 2008R2 and 2012 Hyper-V clusters before, so I am pretty familiar with the process. I have rebuilt my VMM due to software problems, and on this new cluster, I have configured the virtual switches with nic teaming on 2 of the virtual switches.

I have 4 clusters being managed by this VMM.. and this newly built cluster keeps losing all of the VMM virtual switch configurations, meaning if I go to properties on the problem host and click on virtual switches, its blank. Refresh host cluster flags all virtual machines in this cluster as "Unsupported Configuration," making the vm unmanageable via VMM. 

Information (26844)
Virtual switch (Virtual Switch Name) is not highly available because the switch is not available in host (One of the Hyper-V Hosts).

Recommended Action

All virtual servers on that host still has connectivity, as all virtual switch configs are normal when looking at it with Hyper-V Manager or Failover Cluster Manager..

The workaround is to evacuate the host using Failover Cluster Manager and reboot the host. Then refresh the host. Then refresh the VM's. I cannot consider this a 'workaround' as I cannot be rebooting my hyper-V hosts every week.. and migrating virtual servers constantly just for this reason. (DPM backups have a FIT with csv's if it tries to backup a vm on a same csv as another vm thats being migrated.)

I have been wrestling with this problem for a few weeks now. The cluster has been slicked and completely rebuilt.. Still same problems. Has ANYONE else out there seen this issue? Does ANYONE out there suggest a way to go about further troubleshooting this issue? 


Cannot Reconnect avhd to parent manually

$
0
0

Hello,

I have got a parent vhd file and a child avhd file which I am trying to manually merge. I have renamed the avhd file to vhd and then gone to edit disk in Hyper V to and tried to reconnect (merge is not an option). The wizard finish with no error but then when I inspect the disk it tell me the chain is broken. I can't seem to be able to reconnect the disks in order to merge them.

Does anyone have any ideas what I am doing wrong?


Win2012R2 VM internet access via WIFI fine but not through a client's Web Proxy Server

$
0
0

Hi 

I have a number of VMs running on my win 8.1 laptop. They normally access the internet via the host WIFI in a bridged config.  No real issues tho sometimes it takes a reboot to clear out any stale DNS  entries.  

Now when I go on a client site my internet access on the host laptop is via a web proxy on a LAN connection. If I want this same access running on a standalone "all in" VM , I have a issue since it does not know about the web proxy and it is not even on the client's LAN . No internet, means no Azure or Office 365.....

So this doesn't make any difference

Is there a way around this .. do I need share a folder/drive   or authenticate myself on the Proxy, from the VM. 

Anyone had this issue? 

Daniel



Freelance consultant



Forced reboot of VMs when Hyper-V host shuts down

$
0
0

I've a number of VMs running on a Windows 8.1 laptop with 2 x SSDs. Integration Services are installed on each VM and the settings all are set to save the state on power down. 

Now when I start up my laptop I expect that the running VMs will resume. The state shows as running on each but when I log on I get the unexpected shutdown message with error in event log with ID of 41 (Kernel-Power). 

This only affects a number of my VMs and the only noticeable pattern so far is that only the VMs on my secondary drive are affected. Any VMs that run on the OS drive are fine. Not sure if this is a red herring but may be of interest.

Is there any way I can diagnose what's happening?

no free hard disk space left inside server 2012 R2 - using dynamic VHDX - Hyper-V

$
0
0

Windows Server 2012 R2

Hello,

I created a 550GB dynamic VHDX running windows server 2012 R2 using Hyper-V.

The problem is that there is no space left in the windows server 2012 R2. The actual space being used is 267 GB (Which I checked by clicking properties of all folders inside C drive) inside the windows server 2012, used space is being shown as 548GB. I have deleted a lot of files, but still the same problem is there. I do not see any free space.

Now I am not talking about compacting the .VHDX Image File Size (say from 550 GB to 250 GB) (which I have already done with no success in reducing the VHDX image file size, but that doesn't matter to me now), I am talking about the free space inside the VM i.e. when I connect to the VM, and click My Computer, it is showing no space left out of 550GB, whereas it should say 282 GB FREE Space. 

Any clue as to why I am facing this space issue? I guess this VM will stop working when there is 0 free space? How to solve this?


Windows Server 2012 NIC teaming primary member failure

$
0
0

Hello champs,

This may sound like a basic query so please pardon my ignorance. Unfortunately, I am not able to find anything on the internet that would help me understand the following behaviour hence the query.

I have configured two ESXi VMs with Windows Server 2012 (R2 to be precise but shouldn't matter) to try out some basic NIC teaming concepts. I created a NIC team with the default options using two of my (virtual) Ethernet adapters connected to the same ESXi vSwitch. I assign an IP address to the primary interface and start an indefinite ping to this IP address from a different VM. Now, the Properties dialog of the primary interface displays a value for the 'Permanent address' field which (I understand) is the MAC address (of the primary team member) on which it is listening for inbound traffic. The query...

The ping succeeds as long as the primary member or the MAC address specified at the 'Permanent address' field is up and running. I can disable the other Ethernet adapter in the team and the ping still works. However, if I disable or disconnect the Ethernet adapter which happens to be the primary member of the team, the ping stops! The only way to get the ping back with the (now) primary team member disabled is to reboot the VM which in turn should elect a new primary member and have the team listen on its MAC address.

Unless I am fundamentally missing something, I take this is by design. But doesn't this behaviour make the primary member a single-point-of-failure in the entire NIC team design? In other words, I could team up to 32 physical adapters but the configuration is resilient only until the primary team member is available. Ideally, I would have expected Windows to pick a new primary member on-the-fly and notify the virtual switch about the MAC change or do some kind of MAC spoofing which I guess happens in guest NIC teaming.

Can someone please ratify my understanding or enlighten me as to what am I missing? Any pointers to relevant articles would be much appreciated.

Thank you in anticipation.

Rolf


VHD and VHDX won't Compact

$
0
0

I also have the same problem.

If I compact a VHD or VHDX the compact runs for one second and ends, and the VM's remain uncompacted.

I am using REFS format on the drive, and the VM's are Windows 7 x86, if that makes any difference.

I have disabled System Restore in VM's, as that was a known problem with 2008 R2.

Can this be reported as a bug in Server 2012 RC.

Creating a virtual machine from existing Vhdx hard disk file

$
0
0

I have copied an existing virtual machine hard disk files from V drive to C drive by shutting down the VM.

When I tried to create a new VM with those hard disk file, I am not able to attach those files. what could be the reason ?

Thanks,

DL 380 Gen8 with Windows Server 2012 R2 Hyper-V Role NICS change

$
0
0

Hello there,

 

we have a DL 380 Gen 8 Server installed via provisioning. ILO and 1 NIC is connected.

When we open the network center we see 4 NICs with naming 1 -4. NIC has static IP.

As soon as we install the Hyper-v role and restart the server, we get NIC 5 -8. Also, static IP is gone and DHCP is enabled on all NICS, plus the 4 "old" Nics show up as disabled in device manager.

 

Any ideas?

Regards, Marcus


w32tm problem with server 2012 r2 PDC hyper-v guest w32tm service

$
0
0

Hello all,

I’m running Microsoft Hyper-V 2012 hosting a Microsoft Server 2012 R2 VM (and several other client VMs). The configuration of the domain time server does not seem quite right:

Domain Clients

I’ve setup domain clients using GPO to set the time server as follows using a WMI filter to select non-PDC roles:

I can see this is getting applied correctly to client’s registry settings (HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\W32time), but occasionally client computers display ‘Local CMOS clock’ as there time source when executing w32tm /query /source.

PDC:

In Hyper-V I have disabled the ‘time synchronisation’ integration service (this seems to be the most recent recommendation from MS, please correct me if this is wrong). I’ve also set HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\w32time\TimeProviders\VMICTimeProvider\Enabled = 0.

I’ve used the follow set of commands to setup the time client for an external time source: (I tried to use GPO, but although the settings appeared in the policy part of the registry config for w32tm they didn’t seem to work)

net Stop w32Time
w32tm /config /syncfromflags:manual /manualpeerlist:"0.uk.pool.ntp.org,0x1 1.uk.pool.ntp.org,0x1 2.uk.pool.ntp.org,0x1 3.uk.pool.ntp.org,0x1"
w32tm /config /reliable:yes
net Start W32Time
w32tm /config /update
w32tm /resync

This seems to work … mostly. Sometime w32tm /resync report something about data not available, but it seems to update the clock anyway, then a second call to w32tm /resync report the command was completed successfully.

Problems and questions:

To minimise the shutdown time of the host server the PDC (and other guest VMs) are set to Save state rather than shutdown when the host server is shutdown. So when the host is shut down and rebooted, or when just rebooting the PDC VM, it loses some time (OK, that’s expected).

I would have expected there to be a mechanism for correcting this, but I seem to have to manually type w32tm /resync on the PDC after a resume.

Q1a.) Should the ‘Time Synchronization’ integration service really be disabled on the Hyper-V VM configuration?

Q1b.) Should this key modification be necessary (I’m guessing it’s redundant and only has an effect with ‘Time Synchronization’ enabled, which is what you might want on other non-PDC VMs): HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\w32time\TimeProviders\VMICTimeProvider\Enabled = 0.

Q1c.) Is there a way to trigger a /resync on machine resume.

Q2.) Can a PDC running in a VM cope with Saving and Resuming state in a VM or does it need to be shut down, and booted when the host needs to shut down and boot?

Q3.) Are they any problems with the domain client, and PDC time configurations for w32tm I have shown above.

Q4.) Sometimes clients report CMOS local clock instead of the PDC time server when running w32tm /query /source, is there a case where clients fall back to their local clock for some reason?

All comments and suggestions welcome,

David

Hyper-V 2012 VMs freeze on large file transfers

$
0
0

I have a small non-clustered Hyper-V Server setup as follows:

HP ML350p Gen8 Server, 6 core E5-2620 CPU and 32GB Memory running Server 2012 (full GUI) with the Hyper-V role enabled.

The Server has 8 disks, 1 pair of RAID1 15k disks for the Server 2012/Hyper-V OS, and 3 pairs of RAID1 10K disks for 3 VMs (ie each VM has its own pair of RAID 1 disks). The NICs in the Server are 4 x gigabit ports on an internal 331i card and 4 x gigabit on an external 331T card. The Hyper-V Server is  not running anything other than the Hyper-V role, the LogMeIn client and Symantec SEP SBE 2013 (with recommended Hyper-V exclusions in place) and the VMs are a Domain Controller, a SQL Server and a File Server. Currently all VMs have their own single 1GB NIC connection on the 331T card, all VMs have a single IP address and are on the same subnet, no VLANs are used.

I have applied what hot fixes I can from a TechNet article that recommended how to setup Hyper-V.

Initially I had a problem with NIC latency during pings, which we traced to being due to the ML350 Gen8 Server's NICs not liking VMQ enabled. When disabled all looked fine, but we had not yet tried to use the Server in production.

Recently (getting ready to go in to Production use) we have noticed when transferring a 3.5GB ISO of SQL media to a file share on one of the VMs from a desktop PC that this causes the VM to lock up. The file copy will still complete but the screen freezes when accessed via Hyper-V manager or remotely via LogMeIn and sometimes the LogMeIn remote session is dropped too. If you cancel the file copy the console is immediately responsive again.

Since we built the server a while back, HP had subsequently released an updated NIC driver which we installed and it seems to have fixed the VMQ issue, but with or without VMQ enabled we seem to experience the lockups as soon as we transfer medium to large size files. The issues were there before and after we upgraded the NIC driver, we were hoping it would address the issue, but it didn't. These servers are very lightly loaded and the problem occurs even on the SQL Server VM with the SQL service disabled (ie the server has hardly anything running at all and the console freezes with a single user performing a single file copy).

We have 3 VMs on the Server, 2 are running Server 2012 and seem to be more affected, the VM running Server 2008 R2 seems less affected. VM to VM transfers seem to be working better (ie slows down slightly but no lock ups), it is only during external network transfers. Also the faster the transfer speed is, the worse the issue becomes. If the file is copied to a share on the Hyper-V Host the issue does not occur, only transfers to the VMs.

Does anyone have any idea what might be the issue here? I saw a hotfix for 2008 for a similar issue but can't seem to find anything for Server 2012.


VLAN Tagging

$
0
0

I have a 3 node hyper-v setup in cluster on Windows 2012 R2.

My network team created 5 VLANs for each of the network traffic types for this implementation.

We have a dedicated NIC for each traffic type.

I found out that the Network team setup the Switches to do untagged traffic since they have each port setup for only 1 VLAN.

What I discovered is that when I create the external switch on the VM prod NIC and create a VM on it, it works fine so long as I leave the VLAN off on the vNIC in the VM. Once I put the VLAN number on it, I lose connectivity.

So the question is, do I need the VLAN tag on or not? What is Hyper-V Requirement around VLANs.

I am basically just extending our corporate network with our VM machines, they will all have access to all corporate network resources.

Should I request the network team to change the VLAN model on the switch or is it ok to leave as is and leave vlan blank on production VM NIC, live migration NIC, cluster NIC.

All this networking stuff is very new to me so everyday I am learning something new.


Nick

Live Migration issue after 1 migration

$
0
0

Hello,



I have a brand new 2 node Hyper-V cluster built. Storage is presented via SAN. Live-Migration network, Public Network, Private Network and 2 VM-MGMT virtual switches. These boxes are identical hardware; HP DL580 G7's with plenty of horsepower. I am running Windows Server 2012 R2 Datacenter Core on each node. My problem is, I validate cluster, and I receive no errors at all. This is a brand new clean install, but for some reason I can only migrate from one node to the other and not back without rebooting a node after the live migration. I have no idea what i going on? Has anyone ever experienced this? A peer of mine installed the same scenario in another Datacenter and it is doing the exact same thing too. Which leaves me to believe it is either OS or Hardware related?



Any help will be greatly appreciated!



Thanks!

Cisco Port Security (Static MAC)

$
0
0

Is it possible to operate Windows Server 2008 R2 SP1 Hyper-V using a Cisco Switch configured to enforce Port Security - Static MAC address?

Thank-you

Tom


Thomas Talley

Viewing all 19461 articles
Browse latest View live




Latest Images