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

Using SMB3 from NetApp as storage for an Hyper-V 2012 R2 Cluster and how to backup VM's

$
0
0

Hi

I am currently looking at utilising a CIFS/SMB3 share from a NetApp as storage space for a Windows Hyper-V 2012R2 Cluster. I have seen numerous pages and information advising that the new OnTap 8.2 features should support such a configuration (https://library.netapp.com/ecmdocs/ECMP1196891/html/GUID-22CB5323-1BBD-4099-BC7F-BA78BA76E12F.html). 

The only way I have been able to import the storage into the cluster is as a file share in the cluster properties inside SCVMM 2012. This has made the storage available to the host nodes and has worked fine for failover and live migration. I was not able to add it as a File Server as SCVMMM interrogates the target using WINRM which (as far as I know) isn't a service that is listening on the NetApp. I have attempted to leverage information from MS articles but all the architectural and configuration information suggests using Scale Out File Servers and direct attached storage. I was wondering if someone was able to confirm that adding the NetApp CIFS share as a file share in the properties of the cluster is the correct way to configure SMB storage from a NetApp for presentation to an Hyper-V cluster.

The second issue that I have encountered is for backups. We are currently using Microsoft SCDPM as a backup product. The issue that we have encountered is that for DPM to interact with VM's running on a file share it requires an agent to be running on the device that hosts the share and assumes that this is a Windows Server. As we cannot install the agent on the NetApp this is not a suitable backup option. We have investigated using Veeam as an alternative but this also requires the installation of a VeeamDeploymentService on the share target.  

Has anyone out there configured an Hyper-V cluster leveraging NetApp and SMB? If so, what hypervisor level backup solution did you leverage?

I have ready many articles where NetApp is using this feature as a sales point so I would assume that this is possible, just not sure how it should be configured on the cluster side of things. 


Sleep and hibernation is working on Server 2012 with started hypervisor! I do not know why...

$
0
0

Hi,
I enabled Hyper-V role in the Microsoft Windows Server 2012 on testing computer (PC with i7 CPU and 16GB RAM). I found very strange behavior. The sleep mode was enabled and after command “powercfg /hibernation on” the hibernation is also working.

I tested sleep (S3) and hibernation with started hypervisor and with running virtual machine. I tested sleep and hibernation triggered by power button and even with time-out that was set in the Power Options (I set sleep after 1 minute and later hibernate after 1 minute and wait).

Sleep and hibernation is working! I do not understand why. Sleep and hibernation should be functional only on Client Hyper-V on Windows 8 and not on the Server 2012.

Some examples:
--------------------------------
Testing workstation (i7, 16GB RAM) with Server 2012 and with started hypervisor:
--------------------------------
C:\Users\Administrator>powercfg /a
The following sleep states are available on this system:
    Standby (S3)
    Hibernate
    Fast Startup

The following sleep states are not available on this system:
    Standby (S1)
        The system firmware does not support this standby state.

    Standby (S2)
        The system firmware does not support this standby state.

    Standby (Connected)
        The hypervisor does not support this standby state.
        The system firmware does not support this standby state.

    Hybrid Sleep
        The hypervisor does not support this standby state.

--------------------------------
My laptop (i5, 8GB RAM) with Server 2012 and with started hypervisor:
--------------------------------
>powercfg /a
The following sleep states are not available on this system:
    Standby (S1)
        The system firmware does not support this standby state.
        An internal system component has disabled this standby state.
                Hypervisor

    Standby (S2)
        The system firmware does not support this standby state.
        An internal system component has disabled this standby state.
                Hypervisor

    Standby (S3)
        An internal system component has disabled this standby state.
                Hypervisor

    Hibernate
        An internal system component has disabled hibernation.
                Hypervisor

    Standby (Connected)
        The hypervisor does not support this standby state.
        The system firmware does not support this standby state.

    Hybrid Sleep
        Standby (S3) is not available.
        Hibernation is not available.
        The hypervisor does not support this standby state.

    Fast Startup
        Hibernation is not available.
--------------------------------

R. Revil


Relef Revil


Intermittent Network Issues Windows Server 2012 Hyper-V

$
0
0
We just re-launched our websites on Windows Server 2012 using Hyper-V. This is our first foray into the virtualized world. We have a VM instance running our databases, and a VM instance running our websites.

Every week or so (more frequently lately as traffic grows) I get notifications that our websites cannot connect to the database, as if the I.P. address is not responding. When I look at CPU utilization it is next to nothing. There's also plenty of RAM available. I double-checked the database logs to make sure there wasn't an issue there and there isn't. Nothing gets logged in the Event logs for the web or the database VM. Looking at the web logs indicates that there could be minor spikes in traffic during these times, but it is nothing overly drastic...our 8 year old Win2k3 server handled similar database and web traffic without issues.

Most of the time the outage is momentary and is back to normal in just a few seconds. As such, I suspect it has something to do with Hyper-V and it's virtualized network.

Currently, there's 1 virtualized external network set up in Hyper-V. Both VMs use it for their network adapters. 

I saw some posts indicating I might try disabling TCP Offloading, but some of those were for Hyper-V 2008, so I don't want to start hacking things without a better understanding. Note: Not sure that it matters, but this is running on a Supermicro/Xeon rig (http://www.supermicro.com/products/motherboard/xeon/c220/x10sll-f.cfm).

server 2012 not compacting vhdx files

$
0
0

I have a couple of vhdx files on a 2012 RC host.

One had deduplication run in the guest which cut down the used space from 250 gb to 125 gb.  Compacting it ends in 3 seconds and it doesn't shrink at all, stays at 275 gb.

Another is just a standard vhdx from another guest that has 30 gb of used space, but the vhdx is 39gb.  Compacting also ends immediately with no shrink.

Is compacting broken in rc?

What will be the better option 15k HDD or SSD?

$
0
0

Hi All - I'm trying to build a WS that will be my test box for learning & development. One of these is running multiple VM's. Sometimes as many as 18 or may be more.

Considering my budget for storage is around $ 15.k, should I buy 15k HDD or SSD for this?


yup

Hyper-v cannot be installed because of SLAT missing

$
0
0

Hi all

Windows 8 does not installs hyper-v. It grays "hyper-v core" and says it cannot be installed because the processor does not have a second level address translation capabilities.

This Lenovo R61 had installed before the 2.0 hyper-v and it was ok. Is this because o SLAT?

Below is the output of coreinfo. Read on some link from this forum that the windows 8 desktop needs SLAT but the server version does not.

My main server for virtualization is Core 2 Duo E8400... so I'm a bit worried of the future. I want my Core 2 Duo processors to still use Hyper-V 3 at least!

By the way, it installs ok on my i7 720QM and is running perfectly. But notice, it does not have EPT!!!

 

Thanks

Adelino

 

Lenovo R61

Intel(R) Core(TM)2 Duo CPU     T8100  @ 2.10GHz
Intel64 Family 6 Model 23 Stepping 6, GenuineIntel
HYPERVISOR      -       Hypervisor is present
VMX             *       Supports Intel hardware-assisted virtualization
EPT             -       Supports Intel extended page tables

 

ACER Aspire 8942

Intel(R) Core(TM) i7 CPU       Q 720  @ 1.60GHz
Intel64 Family 6 Model 30 Stepping 5, GenuineIntel
HYPERVISOR      *       Hypervisor is present
VMX             -       Supports Intel hardware-assisted virtualization
EPT             -       Supports Intel extended page tables


Adelino Araujo

External Virtual Switch greyed out

$
0
0

Hi,

I'm trying to run an Ubuntu Virtual machine in Hyper-V.  I need the machine to be able to access the internet.  I've done this before no problem, but recently, I re-installed my OS (Win 8.1 pro 64) and I can't create an External Virtual Switch from with the Virtual Switch manager.  When I click on External in the "What kind of virtual switch would you like to create" box, the "Create Virtual Switch" button is greyed out.  I have no idea how to trouble shoot this, since it gives me no information about why it's greyed out.  Any ideas?  I have no firewall or antivirus right now aside from Windows Firewall and Security Essentials.

Thanks for your help,

Garrett

Server 2012 Gen 2 VM hosted on Server 2012 R2 Hyper-V Host incompatible with Integration Services after Windows update

$
0
0
If you take a Server 2012 R2 Host and update it, and then setup a Server 2012 and 2012 R2 Virtual Machines on it with the latest Integration Services.  Setup SR-IOV on both VMs.  Everything will be ok in the Integration Services status, but when you update the Virtual Machines, the Server 2012 R2 will continue to report that it's up to date.  But the 2012 will show that it needs it's Integration Services updated, when it's already running the latest Integration Services.  I'm not sure which update it is that is causing the conflict, and don't have the time to install 60 of them 1 by 1 to figure it out. 

Unable to detach a VHD due to file or directory corruption.

$
0
0

Hi

We had a disk problem on one of our Hiper-V servers and one of the virtual machines was unable to start up. Since we need some files who were on the VHD of that VM I mounted the VHD on that Win2008R2 HV server to get the files. No errors were reported and the VHD was mounted successefully as a new disk on the Hyper-V Server.
Now I'm trying to detach the VHD but I'm always getting the message "The file and directory is corrupted and unreadable." and this doesn't allow me to detach the VHD. Is there any other way to get this done?

I've alredy tried to do it using the DiskPart shell and the Storage\Disk Manager console!

I've made a search on the web but all I can find is people unable to attach the VHD due to this reason, not unable to detach as I want to do!

Thank you very much.


Best regards, Miguel Branco da Silva





A port on the virtual switch has the same MAC as one of the underlying team members on Team Nic

$
0
0

Experts !

Windows 2012 R2 Cluster.

2 Physical NICs dedicated for Hyper-V data traffic. These two NICs are used to create a team using Windows teaming (Switch Independent + HyperV Port) and this teamed interface is used for HyperV Virtual Switch.

I am getting the below warning frequently.

Log Name:      System
Source:        Microsoft-Windows-MsLbfoSysEvtProvider
Date:          11/12/2013 1:37:55 AM
Event ID:      16945
Task Category: None
Level:         Warning
Keywords:      Classic
User:          N/A
Computer:      MSHVCLUSTER6N1
Description:
MAC conflict: A port on the virtual switch has the same MAC as one of the underlying team members on Team Nic Microsoft Network Adapter Multiplexor Driver
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
  <System>
    <Provider Name="Microsoft-Windows-MsLbfoSysEvtProvider" Guid="{387ed463-8b1b-42c9-9ef0-803fdfd5d94e}" EventSourceName="MsLbfoProvider" />
    <EventID Qualifiers="32768">16945</EventID>
    <Version>0</Version>
    <Level>3</Level>
    <Task>0</Task>
    <Opcode>0</Opcode>
    <Keywords>0x80000000000000</Keywords>
    <TimeCreated SystemTime="2013-11-11T21:37:55.871565200Z" />
    <EventRecordID>4861</EventRecordID>
    <Correlation />
    <Execution ProcessID="4" ThreadID="6100" />
    <Channel>System</Channel>
    <Computer>MSHVCLUSTER6N1.INSIDEVIRTUALIZATION.COM</Computer>
    <Security />
  </System>
  <EventData>
    <Data Name="DriverObject">
    </Data>
    <Data Name="Member">Microsoft Network Adapter Multiplexor Driver</Data>
  </EventData>
</Event>

And while checking the Interface and MAC, the warning is true.

name                                                                   MacAddress
----                                                                      ----------
MANAGEMENT                                                     00-17-A4-77-00-6E
HEARTBEAT                                                          00-17-A4-77-00-6C
Ethernet                                                             00-17-A4-77-00-6A
LIVEMIGRATION                                                  00-17-A4-77-00-68
DATA-2                                                                00-17-A4-77-00-66
DATA-1                                                                00-17-A4-77-00-64
vEthernet (HCT-PRODUCTION-LOGICAL-SWITCH)                   00-17-A4-77-00-66
DATA-TEAM                                                          00-17-A4-77-00-64

While I did the same configuration using SCVMM for my Windows 2012 HyperV clusters, the fabric was deployed from SCVMM and hence the team and the virtual switch was just one. In the similar way, How should I do this with out SCVMM ?


Cheers ! Shaba

RE-ACTIVATE windows server 2003 r2 HYPER-V VM on a new server 2008 r2 using virtual key

$
0
0

How to re-activate an hyper-v virtual machine (windows server 2003 r2 activated with MSDN subscripion) on a new server 2008 r2 (only hyper-v role) using the virtual key supplied with new server?

thanks

hyper v manager: "virtual machine connection has stopped working", when connect to VM

$
0
0

Hello,

cannot find any info on web and View problem details in VIRTUAL MACHINE CONNECTION error box:

"virtual machine connection has stopped working".

I get this error when click Connect in HV Manager. The machines are on and are accessible through RDP.

This is a lab host after restart it randomly works. I have this problem during last week.

Just interesting to know what could cause the problem and if other were seeing something like that...

Also, can connect to machine from SCVMM.

Thx.


"When you hit a wrong note it's the next note that makes it good or bad". Miles Davis

SMB 3 - Networking/Subnet

$
0
0

I am trying to work out the recommended number of Networks to use when implementing SMB 3 for Hyper-V

I am thinking:

- Management

- VM network

- Cluster Network

- Storage Network

If you are using SMB 3 is it recommended to have a separate subnet for the SMB traffic, with dedicated network adapters on the file servers and the hosts?

Is it still recommended to have a separate network for live migration, other than using the cluster network?

Static MAC pool over multiple hosts without SCVMM

$
0
0

Hi,

We don't have SCVMM, but do have multiple hosts. Unfortunately we have several apps that are MAC address licensed.

If we manually assigned the machines with static MACs from SCVMM's standard MAC pool, would this cause any issues if/when we move to SCVMM at a later date?

This seems to be the only thing that springs to mind to ensure we don't get clashes and pick addresses from a "safe" pool.

Thanks

Gary

Cannot remove dead Hyper-V host from SCVMM 2012R2: Error 2606

$
0
0

Hi!

I have a dead hyper-v host, that managed by my VMM Server. I successfuly removed that host from cluster in VMM Console, but when I try to remove from managed hosts, I get error 2606: "unable to perform the job because one or more of the selected jobs are locked by another job".

In first, I tried to foce remove host from PowerShell:

remove-vmhost "host-1" –force

and expectedly got same error:

Remove-VMHost : Unable to perform the job because one or more of the selected objects are locked by another job. 
(Error ID: 2606)

Either cancel those running jobs, or wait for them to complete, before trying this action again.

To restart the job, run the following command:
PS> Restart-Job -Job (Get-VMMServer localhost | Get-Job | where { $_.ID -eq "{47ea5cd7-7825-4b9a-b1fa-47b282adc547}"})
At line:1 char:1+ Remove-VMHost DMZ-MIAC-N1 -force+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~    + CategoryInfo          : ReadError: (:) [Remove-SCVMHost], CarmineExcepti   on    + FullyQualifiedErrorId : 2606,Microsoft.SystemCenter.VirtualMachineManage   r.Cmdlets.RemoveHostCmdlet

Then, I tried to define what object locks currently exist from KB2795040 and got an empty result.

What am I doing wrong? Please help!

Regards.

Evgeniy.


Memory demand does not match with the Used Ram shown inside the VM

$
0
0

Hello,

I have enabled dynamic Memory for a guest VM on a Windows 2008 R2.

Now, "Memory Demand" shown in the Hyper-V Manager never matches the "Used Ram" that can be seen from "Task Manager" from inside the VM.

Please explain this behavior and from where can I get exact RAM used for a VM from host ?

Thanks.

Windows Server 2012 R2 NlaSvc Error - unable to login using RDP

$
0
0

A timeout (30000 milliseconds) was reached while waiting for a transaction response from the NlaSvc service.
Event ID:      7011
Task Category: None
Level:         Error
Keywords:      Classic
User:          N/A

Description:
A timeout (30000 milliseconds) was reached while waiting for a transaction response from the NlaSvc 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-11-14T19:18:23.879534700Z" />
    <EventRecordID>5061</EventRecordID>
    <Correlation />
    <Execution ProcessID="208" ThreadID="5688" />
    <Channel>System</Channel>
    <Security />
  </System>
  <EventData>
    <Data Name="param1">30000</Data>
    <Data Name="param2">NlaSvc</Data>
  </EventData>
</Event>


Hyper V will not allow me to access a VHD residing on a network storage device

$
0
0

Windows server 2012 Hyper V version 6.2.9200.16384

This is a new install of Hyper-V and I am trying to take a .VHD file from another server move it to this new server and build a new VM.

I have a network storage device \\sunxxxxx\sunxxxxx where an existing .vhd file is stored.

When I try and create a new VM using this existing .vhd file as the disk, I get an error saying an error occurred accessing the file - Failed to get disk information

In the Hyper-V MMS log I get the same message with an id of 15268

If I look at the Hyper-V Storage log I get a message 27000 saying Failed to open attachment <path:filename> The request is not supported. 

If I try to create a new VM and just create a new disk in the same location I get two storage messages - 27108 saying the filename xxxxxxx.vhdx is reserved for windows and then 27262 saying the system failed to create <path:filemane> the request is not supported

It feels like there is some access issue to this network storage but I am not seeing the issue.  I can from this same machine create files on the storage device.

Migrating VMs from 2012 R2 back to 2012

$
0
0
I live migrated a VM from a 2012 HyperV host to a 2012 R2 HyperV host, now I can't seem to be able to migrate back. Is it possible to downgrade the VM or re export/import. 

Live Migration between AD Forests

$
0
0

Hello Everyone.

I would like to LiveMigrate a VM from HostA in AD Forest1 to HostB in AD Forest2.  There is a two-way trust established between the two AD Forests.  Does anyone know if this is possible?  I have not been successful.

Viewing all 19461 articles
Browse latest View live




Latest Images