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

How to trigger a event if a network adapter reaches certain bandwidth limit in Hyper-V using powershell

$
0
0

Hi Buddy's

   I want to know if there is some way by which I can subscribe to some event from HYper-V server when one of the VM's network adapter reaches ceratain bandwidth limit say 1GB .

Let me know if there is some powershell way for doing this.

Thanks in advance.


hyper-V cluster VLAN network configuration

$
0
0

Hi Everyone,

I have a Windows 2008 R2 Hyper-V Cluster working fine. It has actually two virtual networks and a cluster network, and I and going to add a 10 Gbps NIC to both nodes in the cluster.

My aim is to send/receive all network traffic used by virtual machines through that new 10 Gbps NIC, using VLANs I already have in my physical switches. Is it posible to do this once the cluster is created and working? How should I proceed?

Once I have done it, I would like to change all virtual NICs in virtual machines to the new virtual networks and remove the old virtual networks. Any special direction on how to do it? 

Thank you very much,

Best Regards.

David.

Hyper-V 2012 R2 - Fixed Size VHDX Have VMs Paused Due to Disk Space Shortage

$
0
0

I am running Hyper-V Server 2012 R2 (Server Core).  I have an SSD boot drive and a 10 Tb Storage Space HDD (Double Pairty - RAID6) where all VMs are stored.

I have one VM setup with an expanding VHDX file.  It is setup with thin provisioning for 2 Tb and about 1.5 Tb is currently used.  The VM paused due to physical disk space (SS drive) being low.  I turned off this VM and tried to start a different VM that has two fixed size VHDX files (also on the SS drive).  This second VM would not start either.  I got the same error message, as occurred on the first VM, about the physical disk space being low.  There was about 10-20 Mb of physical space left of my SS HDD when these errors occurred.

Given the first VM is setup with an expanding VHDX that makes sense to me that at some point there may not be enough physical disk space for the VM to expand and continue to run.

But given my second VM is using a fixed VHDX it doesn't make sense to me that I cannot get this VM to start.  Even if the Storage Space disk were completely full I would expect this VM to be able to start?

Thanks for any assistance you can provide.


Theokrat

How to enable VM replication on spacific VM on cluster - using powershell and without knowing its hostname ?

$
0
0

Hello ,

I want to create a powershell script  to enable /remove VM replication on spacific VM . on a cluster

"Note VM may moved to any host , so i don't want to mention the host in the script"


Ramy Shaker

windows 2012 Hyper V

$
0
0

Hi,

windows 2012 hyper V

Observed higher ping timeout for corresponding VMs during VM Live migration or if node failover.

its more than 50 timeouts.failover is happening and but server was working

what is the normal timeout / network delay to reach VM during livemotion or is it a product limitation ?

Certificate-based 2012 R2 Hyper-V Replication (powershell)

$
0
0


I have certificate-based replication working between two Server 2012 R2 workgroup servers.  Through Hyper-V Manager I can resolve any issues with replication, particularly in the scenario where I failover and wish to reverse replication.  Take a DR scenario where I the primary goes offline, I initiate failover, start the replica VM, and wish to reverse replication after the primary has come back online following the power simulated power loss, but via powershell. I'm missing a key step, but I don't know what.

1. PRIHOST goes down and the VM REPME1 is now offline.

2. On REPHOST, I initiate start-vmfailover and start-vm REPME1.

3. Power is restored to PRIHOST and is back up. VM REPME1 is in the inventory but powered off. PRIHOST remains the Primary for replication. REPHOST is still the Replica.  Replication has failed, which is expected.

4. I try to reverse replication with set-vmreplication -reverse, but I get an error "Could not reverse replication for virtual machine 'REPME1'. (Virtual machine ID ...) The operation cannot be performed while the virtual machine is in its current state. The name of virtual machine is REPME1 and its ID is ...

5. When I reverse replication in the Hyper-V Manager immediately following it synchronizes back the changes successfully and replication returns to normal.

I suspect that I'm missing a step.

-Michael Kelsey


Losing CSV LUNS during back-up

$
0
0

We have a problem that during the back-up of our 4 node Hyper-v cluster, the CSV's are placed in redirected mode and do not return back in the normal state when the back-up finishes on one of the nodes. When a new back-up is started on one of the other nodes in the cluster, normally the back-up should not start because the luns are locked by the other host because this host has the luns in redirected mode. In Our case the back-up is starting on the other host and after trying to claim the luns our csv's are disappearing on the cluster and the vm's are crashing. Has anyone experienced the same issue? Is there a solution?

We are using Hyper-v 2008 R2 with HP Dataprotector 8.x and 3PAR VSS Provider.

Strange problems with 2012 R2 Hyper-V Server

$
0
0

I wasn't sure which forum to put this in to be honest, as it could be a general server issue, Hyper-V or clustering. 

I'm having a really frustrating issue with Hyper-V Server 2012 R2. I'm currently in the process of upgrading our old 2008 R2 Hyper-V cluster based on HP DL380 G7 servers using iSCSI through a HP P2000 SAN. To do this, I've removed a single node from the old cluster and have rebuilt it using 2012 R2 and created a new fresh cluster with new LUNs on the SAN.

The server has 4 onboard Broadcom NIC ports, and 8 PCI-E card Intel NIC ports. I'm using the latest HP ProLiant Support Pack, which has updated the BIOS and firmware to the latest version, as well as the drivers. I've also manually inserted the latest INF for the Intel NIC.

At first the build goes smoothly, up until the point I create the failover cluster. I start to lose network connectivity to the server, and even processes run locally on the server fail and time out. The symptoms I've come across are:

-Cannot log in through RDP (errors in logs about winlogon terminating unexpectedly)

-Constant error logs about iSCSI disconnecting and reconnecting

-Disk management from client works for a bit and then starts to time out and not connect

-Any changes in Hyper-V Manager from a client times out

-Broadcom Management Suite (BACS 4) times out connecting to localhost when run locally from console

-Powershell runs really slowly when run locally from console

I've disabling offloading, RSS, VMQ and IPv6, and I've tried building the server without using the Proliant Support Pack and using the default Microsoft drivers, but it did exactly the same thing.

I've built the server using a full copy of Server 2012 R2 instead of Hyper-V Server using the exact same build process and it worked fine. 

Any one got any ideas?


VMWare or Hyper-V

$
0
0

I'm IT manager for a small company. We are looking to replace our collection of aging office servers running Windows 2003 and 1 x ESXi 4 with a new virtualized setup.

The plan was to run on ESXi 5.5:

- 1 x Windows 2012 VM - Domain Controller (New domain - old one is a mess)

- 1 x Windows 2012 VM - File storage and source control

- 1 x Windows 2012 VM - SQL server 2012 and IIS

- 1 x Windows 2012 VM - Telephone system (this will come later)

- Plus possibly 2 virtualized old windows 2003 machines (SQL 2005) currently on ESXi 4

- Possibly secondary Windows 2012 Domain controller on a separate low spec server (do we really need 2?)

- NAS device for backups with sync to cloud

I now have the hardware ready to setup and think our Developer Action Pack has us covered for software licensees. However I'm now thinking Hyper-v might be a better route for us, as we work primary with Microsoft systems (Windows, .NET, SQL server) and are looking to use some Azure services in the long term.

The only problem is I have no experience configuring Hyper-V and Windows 2012. Current hosting experience is working mostly with Windows 2003 / 2008 and ESXi 4. Unfortunately I don't have much time or money to get this up and running.

Hot add SCSI device to 2012 R2 Hyper-V VM cause other SCSI device missing in the VM

$
0
0

I have Windows Server 2012 R2 Hyper-V in my lab, and I found the following issue:

1. Run a Generation 2 VM(Windows Server 2012 R2)
2. Add a DVD Rom to the SCSI controller(the default one)
3. Attach an ISO file to the DVD(then I can see the DVD mounted in the VM)
4. Add another DVD Rom to the above SCSI controller too
5. Then the first DVD Rom missing in the VM

I got the same issue when I added a VHD file to the SCSI controller after the DVD Rom.

VHD to VHDx Conversion Calculator

$
0
0
Does anyone have a way to calculate the conversion time it will take to convert VHD to VHDx format

Kristopher Turner | Not the brightest bulb but by far not the dimmest bulb.

Hyper-V replica breaks when migrating VM's from Windows server 2012 Hyper-V cluster to Windows Server 2012 R2 Hyper-Vcluster

$
0
0

HI Experts,

I have an issue with Hyper-V replica while migrating replica VM's from Windows server 2012 cluster to 2012R2. basically the replica breaks when i live migrated a replica VM from Windows 2012 cluster to a new 2012 R2 clustered host. when i checked the eventviewer it is still looking at the old Hyper-V host in 2012 cluster where the replica VM resided before and is failing to resume replication as it cannot find the replica VM in the old 2012 Hyper-V host . I was advised that Microsoft hasd enabled the functionality to allow replica VM's to continue replication when migrated from Windows 2012 to Windows 2012 R2 to enable seamless upgrades but i cannot see this working in practice for us. We have a replica broker configured on the new 2012 R2 cluster as well. Any help is appreciated.

Kind regards,

Logesh




Windows 2012 guest issue on Hyper V 2012 Core

$
0
0

I have a Windows 2012 guest running Exchange Server 2013 Standard on Hyper V Core 2012. Everything is updated and patched to the latest available. I experience that when I restart this guest it takes almost 5 minutes to connect to the network - while doing that it says "network unknown" and then when I log in it kept for 2-3 minutes and "Applying user settings". I can't RDP to the guest during this time and only use Hyper V Manager. When I logged in, it display "Applying user settings" for almost 2 minutes. Any ideas to help me sort the issue? The other guests on the host does not experience any of this.

I have done the following :

Remove the network adapter on the guest and re-assign it again. I also removed the network adapter through Hyper V manager and recreate it. Same issue. There is no issues on the DNS servers and all IP's is static.

What I experience is that on the first screenshot this happens after the guest is boot up...nothing filled in at the IP Addresses section. Only after 2-3 minutes the information below that screenshot appears for the IP Address.

I have also logged a similar post in the Windows 2012 forum but no answer there was given to assist me and I believe that this could be more related to Hyper V?



Migrating VM with snapshot from 2008R2 to 2012R2

$
0
0

Hi All,

It's to my understanding that migrating VM from a host to another we should use the import/export function in hyper V.

I have my old hosts running 2008R2 and i've recently get some new blade servers to migrate to. I've installed 2012 R2 on my blade servers and have clustered it. So now i just need to migrate the VMs to the new blade servers.

All the VMs i'm migrating are testing/development VM's and hence there is bound to be snapshots and using import/export should be able to preserve the snapshot on migration. However when i tried to import the VM on the 2012r2 host i can't seem to do it. It's not picking up the .exp file.

Am i missing something here? Appreciate if some one could guide me on this.

VMQ for 1 GB NIC Team

$
0
0

Hi all,

I have a NIC Team with 4 1GB NICs. The NICs are VMQ capable. Should I enable VMQ on the Team? If so, should i enable it on each nic adapter or on the team adapter, or on both?

Thanks,

KG 


Create Hyper-v Cluster without Shared Storage

$
0
0

Hi,

I have 2 servers with WS 2012 R2 and I need to setup cluster between them for high availability. what options do I have?

Thanks,


Kareem Behery

Hyper-v VM goes non-responsive

$
0
0

Standalone Host with 2012 Datacenter-2cpu,128gb Ram,5TB of local storage.

VM- 2012 Standard, 4vcpu,8gb RAM,200gb OS,2.5TB Data storage

This VM is one of our main File and print servers.  About every 9th day it will just quit connecting CIFS sessions and you can't get explorer to respond from the console.  It looks like it wants to do a restart, but i have waited 30 minutes and it did nothing.  I end up resetting it.  If it didn't happen so regularly i would just say it just needs a reboot once in a while, but this is way to frequent and a real pain.

Event log has only 1 recurring error and i can't figure out how to stop it.

event 10010

The server {73E709EA-5D93-4B2E-BBB0-99B7938DA9E4} did not register with DCOM within the required timeout.

The Guid "microsoft wmi provider subsystem host"

everything i find online about this error doesn't pan out. 

Virtual Hard Disk blunder

$
0
0

I am relatively new to Hyper-V and I have recently installed about 60 virtual machines with Windows Server 2012 R2.  I kicked off the VM install and configuration like an assembly line and I have found a couple or VMs that I followed the New Virtual Machine Wizard and created a Dynamically Expanding disk.  I do not want this on my OS drive on my production servers for a number of reasons that I will not get into here.

My first thought was to do is reduce the drive, which I know cannot be done.  I then thought to convert the disk but it consumes the whole of the dynamic potential, which somehow is a maximum of 2TB.  

The questions that I have are...  Is there an easy way to copy the data and configuration from the Dynamically Expanding VHD to a Fixed VHD in the magical virtual world?  Is there a way to change the New Virtual Machine Wizard so that it does not automatically choose a dynamic disk?

Eric

Cluster network name resource 'HVRep' failed registration of one or more associated DNS name(s) for the following reason: This operation returned because the timeout period expired.

$
0
0

Hi ,

kindly help , how to solve the following error it is repeated so much on the cluster

HVRep is hyper-v replication broker

Cluster network name resource 'HVRep' failed registration of one or more associated DNS name(s) for the following reason:
This operation returned because the timeout period expired.

Licensing requirements for running SBS 2011 in Hyper-V

$
0
0

I am currently running SBS 2011 that is natively installed on a Dell PowerEdge server. The plan is to add some RAM and then convert the system to a Hyper-V server that would run the SBS operating system as a VM. From a licensing standpoint, I realize I will need to purchase a copy of Server 2012 R2 Standard in order to run Hyper-V on the server. I believe I would also be licensed to run the SBS operating system as one of the two licensed VMs.

My question is what is the requirement as far as user CALs is concerned? Seeing as my users will continue to access the SBS server, they will never access the Server 2012 box directly. The only purpose for Server 2012 is to provide the Hyper-V host. So am I bound by the user licensing of the SBS server, or am I required to also purchase user CALs for the Server 2012 platform?

Thanks for any insight on this question...

Viewing all 8743 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>