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

All possible values of Get-VM State property

$
0
0

Few questions related to the "State" of the VM:

1) Get-VM has a bunch of properties, one of them being the "State" property which gives the running state of the VM I guess. I have seen various values for State - Off, Running, Saved, OffCritical, RunningCritical. I have a use-case wherein I have to return something based on this state, so I need to know all possible values of the State. I was trying to find it online but didn't find anything. Would be great if someone can let me know all possible values of the "State" property.

2) Also there is a gwmi query which retrieves the VM information - Msvm_ComputerSystem. In the output of that query, there is a EnabledState field, which returns various values related to the state of the VM. I wanted to know how different it is from the"State" returned by Get-VM. Can they be used interchangeable? I have observed that when the "State" from Get-VM is OffCritical, the "EnabledState" from the gwmi query is "Off".

3) Also, what is the difference from the value obtained from Get-VM and gwmi Msvm_ComputerSystem? 

Thanks for your help in advance!

3) Also, what is the difference from the value obtained from Get-VM and gwmi Msvm_ComputerSystem?

3) Also, what is the difference from the value obtained from Get-VM and gwmi Msvm_ComputerSystem? 




Not enough memory to start _ Allow Virtual machines to span NUMA nodes is off

$
0
0

Occasionally I am having trouble starting a VM.

Key is one VM I want to allocate 30Gb of ram to (better would be 32GB but I can't get this to work) even though this is the first VM to start.

Server had two physical CPUs (each 12 cores). Server had 64Gb RAM

The other virtual machines are set to dynamic memory and start later without issue.

Any advice would be great.

Note span Numa is deliberately off.


Alistair


Hyper-V VMs export problem

$
0
0

Hello guys,

I have two servers, one is Windows Server 2012 R2, and second one is Hyper V Server 2012 core edition. I am trying to export my VMs (Hyper-V Server) to shared folder on our file server through Hyper-V Manager on Windows Server 2012 machine. And I am continuously failing to that. 

And I get a error:

"Failed to create export directory with error 'The user name or password is incorrect.'(0x8007052E)"

I add all rights to the shared folder, even "everyone" just for testing, I double checked NTFS level and share level permissions.

I also have some test VMs on my windows 10 machine and I successfully exported all Vms to the same shared folder, directly from Hyper-V manager (VMs and hyper-Manager on the same pc). Is there any suggestions,

Thanks, Z

Hyper-V Virtual Machine Reserve 100 percent

$
0
0

In Hyper-V there is an option called Virtual Machine Reserve (percentage). When I set the value at 100 percent for one Virtual Machine,  while all CPU Cores of the server (hardware) are allocated to this Virtual Machine and the Virtual Machine limit (percentage) is also having the 100% value,  what will be the impact on the other Virtual Machines which are running on the same Hyper-V host?TheVirtual Machine Reserve (percentage) on the other Virtual Machines is set to 0 with the Virtual Machine limit (percentage) set to 100. 

Fix a WiFi Hyper-V Switch

$
0
0

I am getting a "Failed while adding Virtual Ethernet switch connections"  when trying to establish a virtual switch over a WiFi connection which I had previously used.  The details say "Ethernet port {GUID} bind failed.  The requested resource is in use. (0x800700AA).  "

Uninstalling and reinstalling the WiFi adapter changed the value of the GUID but still same error message.

There is no vEthernet adapter showing in the adapter properties window. My assumption is that the adapter is hidden from view in the window and / or there is some binding stored in some xml files or registry keys someplace linked to the Virtual Switch that needs to be manually cleaned.  However, I have not yet found where these are. 

Has anyone figured out a good way to resolve this issue?

How to move VMs from Hyper-V failover cluster to standalone Hyper-V host?

$
0
0

Hello,

We currently have all our VMs running on two Windows Server 2008 R2 hosts configured as a Hyper-V failover cluster. All cluster shared storage is on a NetApp SAN, this is where the vhd files for all the VMs are stored. We are getting a new server with Windows Server 2012 R2 which will be a standalone Hyper-V host, the new server will be domain joined though.

Is it possible to move the existing VMs from the failover cluster to the new server? If so, what would be the procedure? I'd really like to avoid migrating everything to new VMs on the new server.

Thanks for any help or guidance you can provide!


Virtual WXP cant see share folder in host W.10

$
0
0
Hello :
Sorry to disturb you, but I am needing help with hyper-v
I am new about virtual machines, although I have been working with PC
from long long time ago.
I have just created the virtual XP with the VirtualXPVHD.vhd
extracted from an XPMODE installation , as I read from instructions.
My virtual XP is created with a legacy network adapter, and seems to work well.
The network adapter is created inside the WXP but it is imposible
to access the host, nor by nor by IP nor by name.
Ping does not find neither.
I also try an external network adapter, but then there is no adapter created
inside the WXP.
I also read that I must install the integration services, but the option
to do it does not exist in my action menu, as all instructions said.
If its posible for you to help me, please give me a hint.
I am absolutely  lost at this point.
If you are just to busy or cant help me I will understand.
Just tell me.
Many Thanks in advance.

Hyper-V Quorom Disk out of space

$
0
0

I have 2 windows 2012 servers in a cluster, and the Quorum Disk (1GB) is about to run out of space.  I read that when it does used up all the space, the cluster service will stop working.  Currently all the spaces in the server are assigned to other virtual disks, so there is no room for me to create a new VD and move the Quorum to.

Can quorum be moved to the same space as the Cluster Shared Volume?  Or is there anyway to safely trim the size of the quorum to reduce it's size?  Thank you.


chanwingkai


Acedentially Deleted VM and its VHD

$
0
0

Hi 

I had accidentally deleted a Licenced Windows 2012 DC VM folder on the Hyper-V drive, due to its name was very confusing (hr-test) 

and I need another license to use it in another server 

So how to recover the Licence from deleted  VM ??

Hyper V VM export stuck

$
0
0

I have generation 2 Hyper-V VM (windows server 2012 r2 client and host). I'm trying to export it to location. While exporting it's status is running, but I can't connect it using rdp or http. It stucks. When I cancel export it resumes. Status is always running (no paused or saved). All updates are installed.

Don't have any issue on centos  located on that host.

Hyper-V Server 2016 Release date

$
0
0
Windows Server 2016 is here. But when will Hyper-V Server 2016 RTM be released? Any news?

Pass-Through vs VHDx as a second drive in VM.

$
0
0

We are planning the install of a shiny new server.

Two SSDs for host OS and six HDDs for storage. We have them set up to run in pairs and in a hardware RAID1 mirror for each pair. We plan to run Hyper-V machines for various functions.

One of the functions is two file servers for separate groups. The basic plan was one of the 1TB pairs be the VHDx hosts for the primary drives and in all VMs. Then the two additional 1TB pairs be set up as pass-through drives on 2 VMs.
So the host only has the SSDs and the 1 drive hosting the VHDs online.
Two VMs have a 60GB VHD as their OS drive (hosted on the drive above) and then have an additional 1TB pass-through drive for storing user file data.

Recently I've read a fair bit of information that says this is an old method because of speed overheads but VHDx resolves those. References to VSS Backups not possible from the host and the VM not being portable/replicable have been the biggest arguments against the use of a pass-through.

On the backups - The VM would have to do the backups anyway with a VHDx because the host only sees a VHDx, single file. Incremental nightly backups would attempt to backup the entire VHDx, at 600GB... This doesn't seem like a good idea.

On the portability - If something catastrophic happened, wouldn't it be faster to simply create a new VM (or restore from a previous backup or replica) and then just reattach the physical HDD again? Or moving the physical drive to another server (What server doesn't have hot-swap in the modern day) and recover from there. If a VHDx goes bad for whatever reason, it would be replicated over the RAID and you run the risk of losing everything.

I'm not saying I'm against going to VHDx running on the host machine attached to the VM, but I just want to make sure I am making the right choice with all the information.

What should I be considering when planning our server deployment?

Visual Studio Emulators for Android doesn't work on Windows 10

$
0
0

Hi,

When I try to start emulator the start task fails, with message like below.

10.08.2015 14:06:01: [Critical] Unable to add user to the Hyper-V Administrators group. Exit code 2220.

I was using it on Windows 8.1 where it worked well on the same PC. This proves that my PC meets all requirements and it is properly configured. After clean install of Windows 10 emulator doesn't work. 

Hyper-V on my PC is running well. I can create and run 32 and 64 bit vm's. There is problem with creating android vm's by vs emulator. There is no group "Hyper-V Administrators" and it can't be created.

Tried these solutions:
http://blogs.msdn.com/b/virtual_pc_guy/archive/2010/09/28/creating-a-hyper-v-administrators-local-group-through-powershell.aspx

http://blogs.msdn.com/b/virtual_pc_guy/archive/2008/01/17/allowing-non-administrators-to-control-hyper-v.aspx

also i tried to recreate InitialStore.xml for Hyper-V with needed group and operations but without success. It seems that hyper-v bundled with windows 10 doesn't require any special group to run, create, manage and remove vm's, switches, etc. Emulator thinks different and it can't assign me to group which does not exists. 

Windows Server 2012 R2 - Hyper-V Replica

$
0
0

The "How long does it take?" row of the Failover table on Hyper-V Replica doesn't make sense.

Can a mod request that the article is updated. And what should the correct values be?

Also, there is a typo under 'Is a duplicate machine created?'.

Test

Planned

Unplanned

When should it run?

To check that replica machines start as required.

To train your team.

To test failover and recovery processes.

According to organization or compliance requirements.

For planned outages

For impending disaster events

For host server maintenance.

When unexpected events occurs

Where is operation initiated?

Replica virtual machine

Initiated on primary and completed on secondary

Replica virtual machine

Is a duplicate machine created?

es

No

No

How long does it take?

Once a month

How often is recommended?

Once a month

Once every six months

Only in case of disaster

Does the primary machine continue to replicate?

Yes

Yes – with reverse replication back to the primary site after failover.

No

Is any data lost?

None

None

There can be depending on the event

Is there any downtime?

None

Planned downtime

Unplanned downtime





Server 2012 R2 Std - VM's flickering

$
0
0

Hello All,

We are running Hyper-V 2012 R2 Std edition with two VM's.  One is a Gen 1 that is running 2008 R2 and the other is a Gen 2 running 2012 R2 as the networks PDC.  In a nutshell here is what I am seeing on the host machine.  When in the Hyper-V Manager software and connected to either of these two VM's.  Over the past month, we have noticed the machines flicker off and back on sometimes losing the ability to use our mouse through these connections.

Interesting thing is that if we connect using RDP it appears that we do not have this issue.  I have looked all through the event logs and I do not see anything as far as what could be causing this issue.  I have uninstalled the AV (Webroot) on this server to see if it was something with Webroot causing the issue and the issue persisted.  I have turned off TCP Offloading as I have read in multiple <g class="gr_ gr_1294 gr-alert gr_spell gr_run_anim ContextualSpelling ins-del multiReplace" data-gr-id="1294" id="1294">fourms</g> that it has caused some odd things to happen.  The issue still persists.  

Just curious if anyone else has noticed this type of behavior before and if so, what did you do to fix it?  


2012r2 Virtual Server Network Adapter Error

$
0
0

I have a guest server running Windows Server 2012r2 that no longer has network connectivity. The other 10 servers have no issues.

When viewing the virtual network adapter in Device Manager, it appears as an unknown device. When trying to update the driver from the Device Manager window, I receive an error indicating that the driver was located, but installation could not be completed.

I have reset the Windows installation with DISM, and run SFC several times. I have uninstalled the unknown devices, powered down the VM, removed the virtual NIC, then booted the VM. I then verified that there were no network connections, and no unknown devices in Device Manager. I then ran SFC again, and shut down. I added a new virtual network adapter, powered up the PC and checked the Device Manager. The Virtual Network Adapter then appeared under "Unknown Devices". When I try to update the driver, I get the following error:

"A driver was located for the following device:
Microsoft Virtual Network Adapter
But the driver could not complete the installation at this time."

With Code 18 displayed in the details.

This has been going on for 3 days, and I can't seen to nail it down.  Any thoughts would be appreciated.

Virtual machine cannot be backed up because either the file groups reported during OnIdentify has changed, or the supported backup type (hot backup or saved state backup) reported during OnIdentify has changed

$
0
0

2 host Hyper-V 2012 r2 cluster hosting about 40 VMs. Mix of 2008-2012r2 servers.

Dell Equallogic PS6000 SAN holds the CSV over iSCSI

Ever since upgrading to Commvault v11, I have been getting these errors when backing up my cluster. I have worked with Commvault support and they claim it is not their software that is the issue, but a VSS problem.

Every backup a few machines will fail with the error below, although not always the same machines. Doesn't matter which host the machines are running on.

This is in Microsoft-Windows-Hyper-V-VMMS log

The virtual machine 'MONITOR-1' cannot be backed up because either the file groups reported during OnIdentify has changed, or the supported backup type (hot backup or saved state backup) reported during OnIdentify has changed. Try not to perform any configuration changes to the virtual machine between OnIdentify and OnPrepareBackup.

Win Svr 2012 R2 30-40% package loss

$
0
0

I ping to HV1 and HV2, always show "Request timed out" and the package loss 30-40%

but i ping the VM, it's normal, no any package loss.

Anyone have this issues?

Hyper V VM from VHD Fails

$
0
0

Greetings,

My problem arises from taking a VHD created from Disk2vhd to Hyper V from Server 2012 R2 fails/blue-screens once it is started. The setup is pretty basic Generation1 VM that has an IDE controller. At first I thought the image might be corrupted in some way, but I have an exact copy running on Virutalbox. I simply create a new VM in Virtualbox and select the VHD. From there the VM is started and it boots perfectly and is currently running as I type. On my Server 2012, It boots, fails, then attempts to restore, but cannot due to not having a copy of Server 2008 R2 readily available. My question is:

  1. Virtualbox uses a SATA controller and works, Do I need that kind of a setup?
  2. Why won't the IDE Controller boot my VHD?
  3. I've also tried converting it to a VHDX and the SCSI controller, but why did that fail?
  4. Solutions?

I'll confess I'm fairly new to the Hyper V world, and I really need some guidance.

Hyper-V Disaster Recovery Questions

$
0
0

Hello Experts,

I have 3 nodes cluster , now i am in the process of creating document for cluster "disaster recovery" process in case of any emergency.need answer of these question.

1. What is the exact understanding of heart beat?like if heart beat checks using ping response if yes how many missing ping on cluster thing that node is down ?

2. What should be the first remedy when maximum nodes down like nodes OS corrupted and cluster breaks?

3. What are the restore steps when cluster was broke and maximum nodes are back online?

4. At what time was RUN cluster validation wizard?

5. Can cluster break if I rebooted two nodes at same time and they are unable to response like stuck on some where before boot process.

Please help me for above scenario based questions also suggest and help to complete document.

Viewing all 19461 articles
Browse latest View live




Latest Images