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

Hyper-V on Win 8.1 Embedded Host

$
0
0

I believe I'm having permission issues when attempting to use Hyper-V on Windows Embedded 8.1 Industry Pro.  Hyper-V seems to install cleanly, and from an admin account I can use the Hyper-V Manager without issue and connect to a running VM.  However if I attempt to use the Hyper-V Virtual Machine Connection application from the same account, it reports "You do now have the required permission to complete this task..." And attempts to run either the Manager or the Virtual Machine Connection result in the same on a standard user account.  

I've attempted to modify the permissions in Hyper-V InitialStore.xml by adding both my Dev (admin) and Test (user) to the Administrator role but this has not fixed the issue. I've also looked in the Computer Management utility and the group "Hyper-V Administrators" does not exist.  When I run the script from Ben Armstrong that generated and assigned rights to that group before it was shipping with Hyper-V I receive a notification that my current user is already added to the group and still don't see anything in Computer Management.  

The end goal is to be able to run the Hyper-V Virtual Machine Connection Utility from a non-administrative user. Any advice is appreciated.

-Matthias


Run a script in an isolted Hyper-v VM

$
0
0

Hi,

I am trying to build a script to run in an isolated VM machine with no network access (Connected to close switch inside the Hyper-v).

In VMware there is an easy whey to do it with "Invoke-VMScript" command in power CLI. Didn't fond any whey to do it in Powershell for Hyper-v.

See example for VMware Power CLI:

Invoke-VMScript "ping Server1" -vm server -HostUser User -HostPassword Pass -GuestUser User2 -Pass2 -ScriptType "bat"

Thanks

Erez

Password Reset Disk in a Generation 2 VM

$
0
0
The generation 2 virtual machine does not support .vfd virtual floppy disks which used to be a mean for creating a password reset disk in a generation 1 vm. Is there any way that a password reset disk could be created for the generation 2 vm?

Vladimir Shipitsyn

Hyper V hosts with Cluster Shared Volume do not provide Shared VHDX ability

$
0
0

Hi there, i've configured a pair of Hyper V hosts (UCS B230 M2) with SAN-Boot and access to a Shared Fiber Channel LUN.

No matter what I try, when I add a SCSI Adapter and one VHDX virtual disk to a VM, the option for "Advanced" never shows up therefore I can not share the VHDX file between another VM, which prevents any VM based clustering from working (IE: Clustered SQL server)

Here are the settings I have configured:

-----------------------------------------------

The LUN has been formatted with NTFS

The Hyper V hosts have been configured as a Windows Cluster with an IP address and the Fiber Channel LUN configured as a Cluster Shared Volume

I follows the guides below

Create a CSV
https://technet.microsoft.com/en-us/library/dn265980.aspx

Create a shared VHDX
https://technet.microsoft.com/en-us/library/dn282283.aspx

----------------------------------------------

Further details:

Two HyperV server core hosts built
Both joined to AD
Both joined to a Windows failover cluster
One 2TB Fibre Channel LUN presented from an EMC VNX array to both hosts
LUN formatted as NTFS
LUN created as a Cluster Shared Volume
Cluster Shared Volume present on both HyperV hosts
VM created within the Cluster Shared Volume
VM Booted up and Windows 2012 has been installed
VM gracefully shut down
Through the HyperV Manager, going in to VM settings,create a SCSI adapter, create a new VHDX file inside the CSV, the “Advanced” option for the VHDX is not present, therefore the option to make the VHDX file shared is not available

I have followed all steps in the Microsft Technet pages to create a CSV and a VM with Shared VHDX

I’ve cleared all settings and restarted multiple times, but this option is not present

removal of ata_piix generate crash for VM running on HyperV 2012 R2

$
0
0

Hi All,

I have a below use case:

1. created a VM with 1 vhd and 1 VHDX disk on HyperV2012 R2 hypervisor.

2. created 1 bootable iso which contains vmlinuz & initrd file from Oracle enterprise linux 6.4 media.

3. mount created media on VM and booted this VM using CD boot option.

4. when machine boots ata_piix controller gets loaded at initrd stage. but while unloading the ata_piix, it crashes and generate the call trace.

5. when there is only single disk attached to VM loading and unloading of ata_piix controller happens successfully, without any problem.(note: disks are running on IDE controller).

6. one more strange thing is: when I add one more virtual processor i.e. if two virtuall processors are present in VM then ata_piix gets uunloaded successfully, without any crash. but if single processor is there then if one disk is attached. ata_piix gets unloaded successfully but if more than 1 disk is attached to VM, unloading of ata_piix generate crash.

need your help to resolve this issue. Please look into it and do let me know if you need any further info to resolve the same.

Thanks,

indus.

windows 2012 Hyper-V

$
0
0

Hi All,

we have windows 2012 Hyper-V (in clustered environment) in place on have few guest machines, one of the guest machine (guest machine is windows 2012 R2) went down unexpectedly two days before then we started it manually.

on guest machine we have found event id 41 after searching in the net we got the below article describing the issue.

http://support.microsoft.com/en-us/kb/2028504#method3

on the same host machine rest of the guest machines working fine without any issues.

My query is below:

Is any event id generated on the hyper-v host when the guest machine shutdowns unexpectedly or graceful shutdown.

Please suggest


Live Migration of a Shared VHDX

$
0
0
Is it possible to live migrate a virtual machine that is using a Shared VHDX?

Limiting Creationg of VMs on Hyper-V

$
0
0
Hello All.................If one has a Four-4 Node Hyper-V Failover Cluster managed by VMM, so is it possible to limit creation of Virtual Machines on only Three-3 Nodes?

Windows 2012R2 Domain Controllers running as HA W2012r2 Clustered VM

$
0
0

I have seen a lot of articles talking about not running DCs in an HA Clustered configuration for many justified reasons.  The articles refer to only having a limited amount of Domain Controllers in the environment.  Suggestions were to have at least one (FSMO Roles) as a physical.  There was mention to have them on Clustered nodes but not in the cluster using storage assigned to the Node that is not shared.  If the requirement for having a physical DC is met and a few of the DCs as a VM in a non clustered config is met, is it best practice to run the rest of them in a HA Clustered environment including RO DCs?

Thanks for any input provided


-Murphy

VMs network speed 2

$
0
0

Hello!

Consider the following testing environment: there're two host machines - HOST1 and HOST2 - (Core i5, 16Gb RAM, 3 Nics, one of the nics -HV - is used for test VMs) that host one VM each (now they are "DC" and "EXCH1"). These VMs are connected by the 5-port 1Gb switch UPVEIL.

All operating systems (both for host and virtual machines) are Windows Server 2012R2.



To make sure VM1 can communicate with VM2 I run on VM1 "ping VM2 -t" - there would be NO any packet loss however many minutes/hours thisping continues.

When any action starts that require a bit more network traffic to pass from VM1 to VM2 or vice versa (copying files, connecting to the other VM's Computer Management console...) the network communication stops after several seconds:

After some timeout it resumes and the process of stopping/resuming may be repeated several times or the operation may never be completed at all.

Exactly the same Nics and switch operate perfect when connecting HOSTs (NOT the VMs) - the problem arises ONLY between VMs (Hyper-V).

I did this test many times with different Nics and different switches - no problems exist until the Nics start to get used by Hyper-V.

???

Thank you in advance,

Michael


Product Details

$
0
0

Hello All,

Can someone PLEASE clarify the following:?

How many VMs can I have on Hyper-V Server 2012R2 without ANY license?
Can I share (everyone full access) a folder on a domain (under Hyper-V Server 2012 R2) without infringing on Microsoft licenses?

Thanks,
Dan Jewel

Server 2012 R2 Page File Size

$
0
0

Hi everyone,

I am just busy creating a new 2012 R2 Hyper-V Server which has 256GB of RAM.  I noticed that after enabling the Hyper-V role, that the page file size is currently managed by the system and it is currently set by the Server as 36GB - which is causing me some major issues as the Server that I am building has a 45GB SSD and only have 0.5GB free!  I thought that once the Hyper-V role was enabled, that the page file was supposed to be reduced as the O/S doesn't need a large page file due to the VM's utilising the RAM.  After some web searches, this is indeed correct which I find very odd...  I can obviously set a smaller size, but apparently we shouldn't be modifying the page file size if the Hyper-V role is enabled as it goes against Microsoft recommended best practice.

Can anyone shed any light as to why the page file is still so large, and what I can do to reduce the size whilst making sure that the Server is still setup as per Microsoft best practice/support?

Many thanks.


Robert Milner | MCITP: Virtualization Administrator | Website: http://www.remilner.co.uk | Twitter: @robm82

UNIDENTIFIED NETWORK ON HYPER-V GUEST

$
0
0

I have a problem and have exhausted all of my ideas for a solution. Here's the setup, all on a domain. None of these are domain controllers or DNS servers:

HOST

2012 Hyper-v Server core host with two NICs and two virtual switches. One NIC is 192.168.20.1. One NIC is 192.168.21.1. Virtual switch #1 is 192.168.20.2. Virtual switch #2 is 192.168.21.2. So, one virtual switch per subnet and all switches are set to external.

GUESTS

Guest #1 -  2012 on virtual switch #1 - 192.168.20.3

Guest #2 -  Win 7 on virtual switch #2 - 192.168.21.3

Guest #3 - 2008 R2 x64 on virtual switch #2 (this VM has been imported from an existing, working VM on a dif host with the exact same IP) - 192.168.21.4

THE PROBLEM

Guest #1 works with no issues.

Guest #2 works with no issues.

Guest #3 shows up as unidentified network and cannot ping outside of the HOST. I can ping virtual switch #2, but can't ping ANYTHING else on 192.168.21.x.

I know virtual switch #2 is fine because guest #2 works with no issues. (can ping entire network)

One last thing, when I first imported Guest #3 and started it, I WAS able to ping the entire network. After about 3 minutes, the connection went down. Keep in mind that this is an IMPORT of a working VM. I can turn the original VM back on at the other host and it works fine. Even the name of virtual switch #2 (SWITCH) is the same as the original host.

Any ideas as to why this is happening and what would cause the network connectivity to stop?

Thanks in advance

Hyper V CentOS 5.11 VM going in saved state

$
0
0
Hello,

I am facing major issue with Hyper Linux machine.

It is going in saved state (getting down for 10-15 minutes) during backup.

My Linux machine OS is CentOS 5.11 with integration service 3.5 and Parent Hyper V machine OS is Windows Server 2012 Data Center.

Also I have added iscsi controller on this VM and as per below Microsoft article live backup is supported on CentOS 5.11.

http://technet.microsoft.com/en-us/library/dn531026.aspx

Please suggest me on the same to fix this issue.

Thanks,

Imran Khan.


Passthrough drive expand question

$
0
0

Hello!

I have a HP ProLiant DL360p Gen8 with SmartArray P420i RAID controller.

Hard drives are all changed to bigger ones, so now i can extend array´s logical drive.

The same logical drive is passed through to a Server 2012 VM, with Exchange 2013 on it.Physical host is working on Server 2012 Standard.

Can i extend the logical drive in HP Smart array Raid controller, while the VM is working or should i shut it down?


ACPI X64 based PC showing in device manager instead of ACPI multiprocessor in windows 2008

$
0
0

We have a virtual server with 16 core cpu's, In device manager the computer is showing as ACPI X64 based PC instead of ACPI multiprocessor in windows 2008, 2012, Any idea ?

As per my understanding only windows 2003 and earlier version will show ACPI multiprocessor PC and windows 2008/2012 it will show X64 based PC or x86 based PC. 

connect to a virtual machine from Hyper-V Manager

$
0
0

Hi,As we know we are following below steps to connect to virtual machine

Open Hyper-V Manager. Click Start, point to Administrative Tools, and then clickHyper-V Manager.

  • In the results pane, under Virtual Machines, right-click the name of the virtual machine and clickConnect.

  • The Virtual Machine Connection command prompt opens and we can login and execute commands.

  • How to achieve this programmatically in C# without  GUI?(how to remotely execute commands on a VM and get results programmatically using C#).We have performed start/stop/pause/reset operations on VM using WMI but not sure about connecting to VM?

  • Thanks&Regards

  • Venkatesh Jayaramu

Hyper-V-VmSwitch EventID 106

$
0
0

I have Windows Server 2012 with Hyper-V role. There is a network team on the server.

When the server starts I receive a error:

Log Name:      System
Source:        Microsoft-Windows-Hyper-V-VmSwitch
Date:          2/4/2013 2:44:50 PM
Event ID:      106
Task Category: None
Level:         Error
Keywords:     
User:          SYSTEM
Computer:      Seventeen.aqa.com.ru
Description:
Available processor sets of the underlying physical NICs belonging to the LBFO team NIC /DEVICE/{F81E5C50-00B3-4105-9CBB-04919F058B9D} (Friendly Name: Microsoft Network Adapter Multiplexor Driver) on switch 8CBADD0E-F4A3-45D4-AC2D-874C7DE6C821 (Friendly Name: AQA) are not configured correctly. Reason: The processor sets overlap when LBFO is configured with sum-queue mode.
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
  <System>
    <Provider Name="Microsoft-Windows-Hyper-V-VmSwitch" Guid="{67DC0D66-3695-47C0-9642-33F76F7BD7AD}" />
    <EventID>106</EventID>
    <Version>0</Version>
    <Level>2</Level>
    <Task>0</Task>
    <Opcode>0</Opcode>
    <Keywords>0x8000000000000000</Keywords>
    <TimeCreated SystemTime="2013-02-04T10:44:50.175406400Z" />
    <EventRecordID>11345</EventRecordID>
    <Correlation />
    <Execution ProcessID="4" ThreadID="380" />
    <Channel>System</Channel>
    <Computer>Seventeen.aqa.com.ru</Computer>
    <Security UserID="S-1-5-18" />
  </System>
  <EventData>
    <Data Name="NicNameLen">46</Data>
    <Data Name="NicName">/DEVICE/{F81E5C50-00B3-4105-9CBB-04919F058B9D}</Data>
    <Data Name="NicFNameLen">44</Data>
    <Data Name="NicFName">Microsoft Network Adapter Multiplexor Driver</Data>
    <Data Name="SwitchNameLen">36</Data>
    <Data Name="SwitchName">8CBADD0E-F4A3-45D4-AC2D-874C7DE6C821</Data>
    <Data Name="SwitchFNameLen">3</Data>
    <Data Name="SwitchFName">AQA</Data>
    <Data Name="QueueMode">2</Data>
  </EventData>
</Event>

multiple mice listed in device manager?

$
0
0

Hi, I posted this in the Windows 7 forum but now I'm wondering if it's more of a Hyper-V issue, so I'm posting it here as well.

I have a basic Windows 7 Enterprise image built in Hyper-V. In the VM's device manager, Win7 shows two mice; a HID-compliant mouse and a Microsoft PS/2 Mouse. Not sure why. If I delete both and restart the VM, they just reappear. I don't see an option to prevent this from happening. Any ideas?

The second problem related to this is, when I apply this image to a physical computer (Sysprepped image, using ImageX), it too shows two physical mice (both HID-compliant mouse) and have the same problem. I can manually uninstall the mice from the list, but both show up again once I plug the mouse back in again.

The computer itself is working fine and I'm not having issues with the mouse per se, I just don't know why it is showing it twice and I would prefer that it wouldn't. Is that just due to the image being originally created in HyperV? It's just a regular Microsoft-wired generic USB mouse.

Thanks in advance,

Sir_Timbit

Server 2012R2 Failover Clustering Setup

$
0
0
We planned to setup failover clustering using 4 single box with no shared storage. There will be some heavy VM running inside. As what we can understand is clustering failover through network port, our current network is 1Gbps only. It's quite slow when migrating VM. We do planned for 10Gbps but it do cost a lot. Since we have 8Gbps FB switches in house, is it possible to use HBA card for this clustering?
Viewing all 19461 articles
Browse latest View live




Latest Images