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

Running program as an admin in Win Server 2012 in hyper-V

$
0
0

Hello,

I installed Win Server 2012 on my virtual machine in hyper-v. I installed there the trial version of the Statistica software. When running the trial version, it requires the admin right otherwise it asks me for the license. When I run the program in Win 7 or Win 8 as an Administrator, there is no problem and I can use it. But when I tried it in WS 2012, it did not work. I didn't even get the dialogue if I want to allow the program to use the admin right. So my thought is that even if I run it as an administrator, it does not run as an administrator. Probably some policy of WS 2012. Does anyone have any idea what to change there so I can run it as an admin, like in Win 7 or Win 8?

Thank you.


Unable to live migrate VM (error 21502)

$
0
0

Hi,

I have four node Hyper-V cluster build on Windows Server 2012. I found an issue when one virtual machine is unable to live migrate to another cluster node with following error:

Live migration of 'Virtual Machine VM' failed.

Virtual machine migration operation for 'VM' failed at migration destination 'HYPERV2'. (Virtual machine ID EB7708F3-6D0B-4F7E-9EC9-EA7EE718A134)

'VM' Microsoft Emulated IDE Controller (Instance ID 83F8638B-8DCA-4152-9EDA-2CA8B33039B4): Failed to restore with Error 'The process cannot access the file because another process has locked a portion of the file.' (0x80070021). (Virtual machine ID EB7708F3-6D0B-4F7E-9EC9-EA7EE718A134)

'VM': Failed to open attachment 'C:\ClusterStorage\Volume1\VM\VM.vhdx'. Error: 'The process cannot access the file because another process has locked a portion of the file.' (0x80070021). (Virtual machine ID EB7708F3-6D0B-4F7E-9EC9-EA7EE718A134)

'VM': Failed to open attachment 'C:\ClusterStorage\Volume1\VM\VM.vhdx'. Error: 'The process cannot access the file because another process has locked a portion of the file.' (0x80070021). (Virtual machine ID EB7708F3-6D0B-4F7E-9EC9-EA7EE718A134)

It's possible to migrate VM in Stopped state but then the VM cannot start on new host with following error:

'Virtual Machine VM' failed to start.

'VM' failed to start. (Virtual machine ID EB7708F3-6D0B-4F7E-9EC9-EA7EE718A134)

'VM' Microsoft Emulated IDE Controller (Instance ID 83F8638B-8DCA-4152-9EDA-2CA8B33039B4): Failed to Power on with Error 'The process cannot access the file because another process has locked a portion of the file.' (0x80070021). (Virtual machine ID EB7708F3-6D0B-4F7E-9EC9-EA7EE718A134)

'VM': Failed to open attachment 'C:\ClusterStorage\Volume1\VM\VM.vhdx'. Error: 'The process cannot access the file because another process has locked a portion of the file.' (0x80070021). (Virtual machine ID EB7708F3-6D0B-4F7E-9EC9-EA7EE718A134)

'VM': Failed to open attachment 'C:\ClusterStorage\Volume1\VM\VM.vhdx'. Error: 'The process cannot access the file because another process has locked a portion of the file.' (0x80070021). (Virtual machine ID EB7708F3-6D0B-4F7E-9EC9-EA7EE718A134)

Live storage migration works fine. When I migrate VM back to original node then VM starts correctly.

Thanks for any response.

Hyper-V 2012 (non R2) Virtual Machine activation issue

$
0
0

I apologize in advance, If this has been discussed on another forum.

I have A Windows 2012 (Non R2) Standard edition server with one virtual machine. I could not activate the virtual machine with the same serial number on the server sticker. I get the error that the license is in use. Used slui option 4 and still no effect.

Is there anything else I can try? What is the number for a license specialist so I can activate my machine?

Appreciate any assistance.

HYPER V 2012 R2

$
0
0

I have installed hyper v 2012 R2 on a dell r720XD, When my laptop is connected to the same router I can manage everything. I have a static IP connected to it.

But when I am at home or somewhere, I want to connect to it and manage it. I am simulating a situation since we are sending it to a colo location. NO VPN just a public IP.

At home I can not access disk management and the hyper v manager from my windows 8.

I can do RDP, access services, use mmc for firewall but not disk management and hyper v manager.

I modified the host to list the IP address of the server and the name.

I did the cmdkey, server, name, password

I did the

set-item wsman:\localhost\Client\TrustedHosts -value * -concatenate -force

I did the edit limits allow anonymous logon,

i did these

netsh advfirewall firewall set rule group=”Remote Administration” new enable=yes
 netsh advfirewall firewall set rule group=”File and Printer Sharing” new enable=yes
 netsh advfirewall firewall set rule group=”Remote Service Management” new enable=yes
 netsh advfirewall firewall set rule group=”Performance Logs and Alerts” new enable=yes
Netsh advfirewall firewall set rule group=”Remote Event Log Management” new enable=yes
 Netsh advfirewall firewall set rule group=”Remote Scheduled Tasks Management” new enable=yes
 netsh advfirewall firewall set rule group=”Remote Volume Management” new enable=yes
 netsh advfirewall firewall set rule group=”Remote Desktop” new enable=yes
 netsh advfirewall firewall set rule group=”Windows Firewall Remote Management” new enable =yes
 netsh advfirewall firewall set rule group=”windows management instrumentation (wmi)” new enable =yes
 net start vds

Is there a setting I missed so I can fully manage my server from another location?


Windows 7 VM not picking up DHCP

$
0
0

I've created a single VM with Windows 7 installed and it's not able to pickup an IP from our DHCP server

There's one network interface card setup on the HOST and Windows 7 uses this too. Broadcom - Virtuial Switch.

How can I get this working, can someone help please?

Enable Virtual Machine to Access Internet with ICS

$
0
0

In order to experience Hyper-V, you may choose to use Hyper-V on a laptop, and it will likely come with an issue when you create an external virtual switch bounding to a wireless NIC due to hardware compatibility.

For this reason and requirement, Internet Connection Sharing (ICS) may help us. ICS makes use of network address translation (NAT) mapping individual IP address of local computer (virtual machine) to unused port number in the TCP/IP stack of ICS host computer. For more information about ICS, please refer to the article here.

Internet Connection Sharing (From Wikipedia)

http://en.wikipedia.org/wiki/Internet_Connection_Sharing

To achieve this in the Hyper-V environment, please follow the steps below:

Demo configurations:

Hyper-V Host: Windows Server 2012 R2

IP address of the Wireless NIC: 192.168.0.100/24

Virtual Machine (Windows Server 2012 R2): 192.168.1.100/24

1. Create the Internal Virtual Switch (Figure 1).

1

Figure 1: Create the Internal Virtual Switch

2. Connect your virtual machine to the new virtual switch (Figure 2).

2

Figure 2: Assign the Internal Virtual Switch to the VM

3. Find the wireless NIC with internet access then share it with the Internal Virtual Switch (Figure 3).

3

Figure 3: Share the wireless NIC

4. Change the IP address of the Virtual Switch and assign the IP address as the Default Gateway for the Virtual Machine (Figure 4).

4

Figure 4. IP configurations

After that, your virtual machine can have the Internet access (Figure 5).

testxx

Figure 5: Access the Internet

Note: ICS provides the DHCP service by default. After sharing wireless NIC, the Virtual Switch will get an IP address automatically (192.168.137.1). If DHCP is enabled in your VM, it will get an IP address within the same subnet from ICS host computer, also the Gateway and DNS.


Keyword: Hyper-V, Virtual Switch, Wireless NIC, Internet Access


Please click to vote if the post helps you. This can be beneficial to other community members reading the thread.


Hyper-v server 2012 core, hyper-V manager problem

$
0
0

Hi

I have a problem connecting hyper-v manager from a windows 8 to a workgroup Server 2012 Hyper-v core only. My setup is a windows 8 in a workgroup and the server also in workgroup, I have followed this guideline http://social.technet.microsoft.com/Forums/en-US/winserverhyperv/thread/fe80f0aa-0697-4657-a1da-19d36b036698/

The problem is, that I get the following error in the "Virtual Machines" field when trying to connect to the server: Hyper-V encountered an error trying to access an object on computer 'name' because the object was not found. The object might have been deleted. or you might not have permission to perform the task. Verify that the Virtual Machine Management service on the computer is running. If the service is running, try to perform the task again by using Run as Administrator.

Does anybody now how to solve this ? (And the service is running)

Dennis

OEM Lincese over ESXi VOSE

$
0
0

HI, i have a server Windows 2008r2 OEM Lincese.

I can install ESXi and install a VOSE with this license in the same hardware?


Carlos Ramos


Hyper-V virtual servers stopped activating

$
0
0

Hello,

We are running Windows Server 2008 R2 Datacenter for our Hyper-V server.  This server has been running well, and we have around 30 VMs running it on.  Recently however we have noticed that VMs are no longer able to activate Windows, and instead we get a 0x8007007B error within the Windows Activation window, with the more details stating that "The filename, directory name, or volume label syntax is incorrect".  This behavior is the same on any new VMs we try to build, and needless to say it is becoming increasingly problematic.

That error in a normal OS install would apparently point to a DNS issue.  However, from what I understand of Hyper-V VM activation the Data Exchange portion of the Integration Services intercepts these activations, and instead routes them to the host server.  This has made researching this issue very difficult given that the majority of what I find seems inapplicable, and am hoping someone who knows more of how Hyper-V VMs activate windows might be able to help me out.

I haven't done a ton of troubleshooting, short of rebooting the host server.  The logs of the host and virtual servers don't seem to indicate any problems.

Can't perform online backup since Hyper-V Upgrade to 2012 R2

$
0
0

Hey there,

we've been using the DPM 2012 R2 with our three Hyper-V 2012 servers since last November. A few days ago we upgraded all Hyper-V Hosts to 2012 R2 using a clean installation. We put all VMs in Saved State, reinstalled Windows and imported them.
To perform online backups we upgraded Integration Services to 6.3.9600.16384 on each VM and added a SCSI-Controller.

In DPM, we removed all protection members from the protection groups and added them again, after everything was updated.

Out of our about 60 VMs who are backed up online, there are a few that I can only backup offline for various reasons, but with one VM I can't figure out why.

The VM is our Lync 2010 edge server, Windows Server 2008 R2, Integration Services up-to-date, SCSI-Controller installed, current Windows Updates installed, no dynamic disks.

I added the VM to backup to look for errors and on the Hyper-V host I got 18 events saying "The Data Exchange integration service is either not enabled, not running or not initialized".
I verified, the Integration Services are up-to-date, the "Backup (volume checkpoint)" checkbox in VM settings is ticked and the Data Exchange service inside the VM is running. There are also no errors in the guest's event log.

Any ideas?

Hyper-V Replica: seperating HRL and VHDX Files to different harddisks

$
0
0

Is it somehow possible on Windows 2012 R2 Hyper-V Replica to seperate VHDX Files and HRL Files to seperate harddisks? As far as I can see, with Hyper-V replica write i/o is duplicated. It would be beneficial to split this to seperate physical harddisks to avoid the penalty.

Regards,

Martin

Hyper-V live migration failed

$
0
0

There is Hyper-V cluster with 2 nodes. Windows Server 2012 R2 is used as operating system.

Trying to live migrate test VM from node 1 to node 2 and get error 21502:

Live migration of 'Virtual Machine test' failed.
'Virtual Machine test' failed to fixup network settings. Verify VM settings and update them as necessary.

VM has Network Adapter connected to Virtual switch. This vSwitch has Private network as connection type.

If I set virtual switch property to "Not connected" in Network Adapter settings of VM I get successful migration.

All VM's that are not connected to any private networks (virtual switches with private network connection type) can be live migrated without any issues.

Is there any official reference related to Hyper-V live migration of VM's that have "private network" connection type?

Networking problem with shared nothing live migration over SMB 3.0

$
0
0

Hello!

My basic setup atm consists of 2 Windows Server 2012 R2 nodes, network configuration was basicly done as discribed in this video: http://www.it-cast.de/hyperv/hyper-v-unter-windows-server-2012-r2-preview-teil-4-die-livemigration/

So the 2 nodes have 4 port 1Gbit adapters and i configured ports 1 and 2 to be on different subnets and directly attached between the nodes. Here's the thing now, if i move data (shared folders) between the nodes i get fully pumped up 230MB/sec and both links are used by SMB3.0.

I also get full link usage when i move a VM in status "Shutdown". BUT if i try to move the VM in status "Running" both links get used as well, but this time there is a magic 800mbit (or maybe 1 gigabit, i dont get gigabit speed with a single link either, while live migration) barrier which i cannot overcome. (The 800mbit simply get split up evenly over the number of links)

I searched for nearly 5 days until now and i cant find the error in this setup.

(For the curious, RSS is enabled with 8 queues and as far as SMB 3.0 goes, this setup seems to be well working)

Thanks for your help in advance, i really dont know how to get any further with this problem.

Kind Regards

Rico

Windows 2012 Hyper-V Manager says Virtual Machine Status "Backing Up" Why?

$
0
0

What is going on?

I have 4 VMs running on Windows 2012 Datacenter.   They stopped responding so I took a look at Hyper-V Manager.

The status of the VMs say "Backing up".   I cannot shut the VMs down, either.   Well eventually they STOP, but no save or graceful shutdown.

I have not configured backups.   I've never seen this message before.   

The VMs DO have Windows Server Backup installed and DO back themselves up using the Scheduler but they back themselves up to a network volume.   Hyper-V Manager should not know anything about this.

How do I get them out of this state?


Dane!

Convert a dynamic vhd to fixed vhd using Convert-VHD cmdlet

$
0
0

Hi folks,

I have dynamically expanding vhd. Now I want to convert it to fixed size vhd.

I used the  Convert-VHD  cmdlet, which works fine.

But if I give the source and want to overwrite my dynamic vhd to the fixed vhd,  it is throwing error, such the file exists.

Convert-VHD –Path "\path\to\vhd\mydata.vhd" –DestinationPath "\path\to\vhd\mydata.vhd" -VHDType Fixed -DeleteSource

Is there any other option (like -Force) available for this ?

Note: Without using a temp file and renaming, I hope we have a better solution

Thanks,

Saleem


Are Hyper-V 2012R2 checkpoints Application data consistent? How does it use now VSS during checkpoints creation?

$
0
0
Are Hyper-V 2012R2 checkpoints Application data consistent? How does it now use VSS during checkpoints creation?

I read the article http://www.aidanfinn.com/?p=15759 that now WS2012 R2 Hyper-V changed how it performs backups.
That is unofficial info.  I can't find any info about that in msdn, but that is critical.That is about data integrity.
Is this true?

Does this mean that we may not use VSS in Hyper V server backup application any more? Will Hyper-V 2012R2 host (WM is running) when i am creating a checkpoint, 
call VSS to only flush VSS Writers during this process for target child VM to make application data crash consistent state? And the volume shadow copy wn't be used? Only vhdx +avhdx witch will merged later, right?



Bug Hyper-V Installation

$
0
0
I installed Hyper-V to developp Windows Phone apps on Visual Studio 2013. When I finished installing all my USB ports stopped working. I uninstalled and everything went back to normal. I'm currently using Windows 8 on a Dell Inspiron 14 (N4050).

Installing Windows Update does not work on Virtual Server 2012 R2

$
0
0

Hi,

I have an Fujitsu RX200 S8 server running Server 2012 R2 Standard. When I try
to install a Virtual Server 2012 R2 the installation goes ok but I fails the
majority of the updates. Some of the updates can be installed if I take
them one by one but generally the updates fails. <o:p></o:p>

I even tried to delete it and install it again but I
still get the same behavior. I have searched forums I tried everything that I
have found there. Does somebody know what’s this is, is it an bug or is it
something with the media that I am using (Fujitsu ROK DVD).<o:p></o:p>

Any idea what could be the problem?<o:p></o:p>


/Pedro


PD

Host hangs during bootup after installing Hyper-V Role

$
0
0

My hyperv test box is a Dell Optiplex 980, i7, 8GB RAM.

Due to small data partitions I had to rearrange the partitions on the disk.

Before this the layout was like this:

#1 primary WS2008R2SP1
#2 primary WS2012 RTM Build9200
#3 primary ext3, boot partition
#4 extended
#N logical WS2012R2 RTM Build9600, booted from #1
#N logical WIN data partition with VM images
System was booting from #3 into grub, which did chainload into #1, #2 and several logical paritions.

Now the layout is like this:

#1 primary ext2
#2 primary ntfs, boot parition
#3 primary linux-swap
#4 extended
#5 logical WS2008R2SP2
#6 logical WS2012 RTM Build9200
#7 logical WS2012R2 RTM Build9600
#8 logical WSBeta1, empty
#9 logical WSBeta2, empty
#10 logical WIN data , now large enough, still empty
#N logical several ext3 partitions
First I installed WS2008R2, installed role Hyper-V, applied all updates. Everything looks fine there.

Then I installed WS2012, system came up fine. Then the trouble started: first installed role Hyper-V, after several reboots during role installation the box is hanging with busy HDD LED. Not sure if there is actually disk activity. It booted up to the turquoise squares which are initially shown. But those white spinning points are not shown. After one hour I did a hard reset, installed WS2012 again and applied all available updates before attempting to install the role Hyper-V. But unfortunately same result.

Then I figured this bug might be fixed with WS2012R2. So same procedure, install WS2012R2, apply all available updates, system comes up fine. Install role Hyper-V, several automatic reboots during role installation. Result: same hang with busy HDD LED.

I'm not familier with the Windows boot details.

So my question is: What debug data can I provide so that someone familiar with the boot sequence of a Windows host can see how far it got? Are there any logfiles written, and hopefully flushed to disk, to see how far in booting it got? I remember in the startup properties there are knobs for serial ports. I will enabled them from the WS2008 partition, maybe some useful progress log is written to the serial port.

Over night I will let it run, maybe WS2012R2 recovers after a few hours.

Thanks for any help with tracking this windows bug down.

Olaf

Hyper-V Project

$
0
0

Ok Let me try and post this into the correct forum this time.

Question for everyone, I am in a position now where I can start to build my Hyper-V infrastructure at work to replace the 4 servers that are currently in operation. 

Am I better off installing Windows Server 2012, adding them to the current domain and maybe even making my 2 hosts DC's (so I can provide the network with DHCP and DNS) and then instal the Hyper-V role and building from it that way? Or should I just go with the core install (no gui)? 

The reason why I ask is that I have installed the Hyper-V core on one server as a test and I have set the network settings and it wanted to use the DNS servers which are my current physical DC's servers (which obviously won't exist eventually) 

My original plan was to build the Hyper-V Infrastructure, build 2 virtual servers and make them DC's (with dhcp and dns) and then I can decommission the 2 physical servers that do this job, but this will mean that the dns settings that I gave the core will be invalid.

My end result is to have a 2 host hyper-v platform, running a bare minimum of 4 servers, I only need 1 sql server, 2 dc's, an application server and a file server. 

Just not sure which is better to have the hyper-v core of server 2012 with hyper-v role. 

Viewing all 19461 articles
Browse latest View live




Latest Images