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

Trouble to remote access Hyper-V

$
0
0

Hi there.

I have a Windows Server Core 2012 R2 running the Hyper-V role, on which I have some VMs.

I connect to the server by the Hyper-V Manager from my desktop with success.

But, it has a little time that I've lost the connection, and the Hyper-V Manager only says to me: "The operation on the computer HOST01 failed", where HOST01 is the name of my server. Depite this situation, I'm still being able to accomplish others remote operations on the server.

Can anyone help to solve this trouble?

I thank so much in advance.

Lucas Gustavo.


Lucas Gustavo


Live Migration - Failed to establish a connection because of an unsupported protocol version (protocol version 5.0)

$
0
0

I'm getting a not the disk and everything) back to the host I originally had it on.  Here is my setup:

Host 1 - Microsoft Storage Server 2012 Standard (NAS)

Host 2 - Microsoft Hyper-V Server 2012 (All connected virtual hard drives use the SMB 3.0 protocol to connect to the NAS - Host 1)

Delegation is setup on both of these hosts to include:

-Trust this computer, Use Kerberos only, Services - cifs, Hyper-V Replication, Microsoft Virtual Console Service, Microsoft Virtual System Migration Service

Live Migration is setup on both of these hosts to include:

-Enable incoming and outgoing live migrations using Kerberos

-Use any available network for live migration

I was able to migrate the VM from host 1 to host 2 with no problems.  But when I try to migrate the VM host 1 that's when I encounter the error. 

I saw a KB article similar to the issue I'm having but it only effects Server 2008 R2 (KB2705759)

I've rebooted both hosts but still get the error.  The VM that is on host 2 has it's hard drive on host 1 run's fine so there are no connection issues there. 

I've searched the Internet for this issue and keep coming up empty handed.  I even named the virtual switch on both hosts the same to see if that would work.  Please help!  I'd rather not do an export and import of the VM because I'm evaluating this product so I want to make sure it works before I put it into production. 

Hyper V server 2012 R2 network interface index number mismatch

$
0
0

I have a hyper v server 2012 R2 that has a mismatch on the network adapter index number between the sconfig console and the actual index number.  If i go into the network settings in sconfig i see an index number of 17 for the Hyper-V virtual Ethernet Adapter #2.  But if i select that index sconfig crashes out to a command prompt.  If i use netsh to query the interface the index number is 18.  If i try to use the 18 index number in sconfig then it also crashes out to a command prompt.

I am not sure when this discrepancy occurred.  The server has been running for well over a year and no network changes have been made since initial setup.  I suspect that it happened during an update.

Is there any way to fix this?  would be nice to be able to use sconfig to update static dns servers.  doing it via netsh is a pain.

Unable to assign VM's to scope using various scripts and AzMan?

$
0
0
I've gone through a bunch of blogs from Virtual PC Guy to John Howard's blog and anything that Google turns up on how to configure AzMan to separate VMs seen by users.  I've followed John Howard's blog about setting up scopes, using the SetScope.Vbs example script listed in the article.  The problem I'm having is that none of the virtual machines are being moved to the scopes requested.  I keep getting the error 4096 when running the setscope.vbs.  It seems the only time it's successful is if you get a "0".  I'm trying to limit the the view of the users when they log on to the Hyper-V host to see only the VMs assigned to their scope.  For the life of me I can't figure out how to separate them or what I'm doing wrong for the scripts and AzMan to fail.  I'm having this issue on a non-domain joined WS08 full install stand alone server.  I've got local users defined and they are able to log on to the the Hyper-V host remotely.  I'm not sure where I'm going wrong it and just looking for advice and tips on what to check.  It seems like the "4096" error is pretty generic and not much info on what causes it or why the scope of the VM does not change.  Any help is aprpeciated.

Hyper-V 2012 R2 Gen 2 VM failed to boot from SCSI DVD drive using ISO image file

$
0
0

Hello:

I'm having a problem trying to install Windows 8.1 Professional on a new Gen 2 VM. I created a new Gen 2 VM using Hyper-V Manager running on Windows Server 2012 R2 and then told it to boot off DVD drive which pionts to the ISO file that I copied to the E: drive.  The ISO file mounted in the virtual DVD drive is the Windows 8.1 Professional x64 VL ISO that I downloaded off of TechNet. When I start up the VM to install the OS, I receive this error:

"Synthetic SCSI Controller (Instance ID 7512B228-F7BC-4DD8-B4F4-72A5B042C2E9): Failed to Power on with Error 'The file or directory is corrupted and unreadable.' (0x80070570). (Virtual machine ID 4195A398-3531-4A34-8588-D1FC3F3DD2D4)"

Basically the SCSI controller can't read the ISO file. However, the IDE controller on a Gen1 VM can read and boot from the ISO just fine. Has anyone else run into this problem? Is there a way to resolve this issue and allow me to boot the ISO from a SCSI controller?

Or is there a bug with the Hyper-V SCSI controller that makes it unable to boot from ISOs properly?


-JP

Setup private cloud on iSCSI or CSV

$
0
0

Hello! If somebody could help me with a couple of questions in making a best choice for constructing a private cloud?

First of all, let me describe our setup:

I have 2 x node IBM System X 3550 M4 servers

and directly attached via fiber to them IBM V3700 storage (no fiber switch).

The software we have is a bunch of Windows Server 2012 Standard licenses.

Now what i want is to create a proper private cloud from all of this. With the guest cluster of VMs, on which i need to put a workload like SQL server, file server, and some proprietary services. After making a bunch of tests, i encountered a couple of problems so if you could advice on them it would be very nice:

1) As far as i understand, if i do use Server 2012 for VM hosting nodes, i could put only the VMs system drives on CSV volume (for seamless live migration) and for the guest cluster shared storage i'm stuck with iSCSI, am i right? Due to not having fiber switch i can't create virtual fibre adapter, and i can't use CSV for this as that ability appeared only in Server 2012 R2.

So the question is, is there some performance tricks and tips for that scenario? Because in VM's i have sort ofpoor IO perfomance - about 30/40MBps for writing single large file. On the hosting machine, for example, it would be about 150MBps for same scenario.

2) Would it be a good solution to use free Hyper-V Server 2012 R2 as the node hypervisor and use all mine Server 2012 licenses for VMs? As far as i understand then i could use CSV for guest cluster shared storage and the perfomance would be much nicer? What bad consequences could be to this choice?

3) The strange little quirk: when i setup host operation system, be it 2012 Server or 2012 R2 Hyper-v Server, i have avery, very long response frombcdedit. It's like 30 seconds or even more to enum the bcd store - and its a clean new installation. I'm in fear that it's a symptom of some deep configuration problem. How can i troubleshoot this issue? Any suggestions?

Thanks in advance!


http://about.me/bromi



Block inbound traffice to vm on specific ports

$
0
0

Hi,

I'm trying to use add-vmnetworkadapterextendedacl to block inbound traffic to specific port on a VM.

I created the following rules

ParentAdapter      : Microsoft.HyperV.PowerShell.VMNetworkAdapter

Direction          : Inbound

Action             : Allow

LocalIPAddress     : ANY

RemoteIPAddress    : ANY

LocalPort          : ANY

RemotePort         : ANY

Protocol           : ANY

Weight             : 1

Stateful           : False

IdleSessionTimeout : 0

IsolationID        : 0

ToRemove           : False

ParentAdapter      : Microsoft.HyperV.PowerShell.VMNetworkAdapter

Direction          : Inbound

Action             : Deny

LocalIPAddress     : ANY

RemoteIPAddress    : ANY

LocalPort          : 3389

RemotePort         : ANY

Protocol           : tcp

Weight             : 100

Stateful           : False

IdleSessionTimeout : 0

IsolationID        : 0

ToRemove           : False

But I can stil use RDP to connect to the VM?

Kind regards,
Hans Mannaerts


Met vriendelijke groeten, Salutations/Best regards, Hans Mannaerts

while deleting the virtual machine .vhd folder -- error msg : the process cannot access the file beacuse it is being used by another process

$
0
0

When i am trying to delete the Virtual Machine folder/directory i get the below error. Virtual machine is turned off

V:\>rmdir ME-EXCAS01 /s
ME-EXCAS01, Are you sure (Y/N)? y
ME-EXCAS01\ME-EXCAS01\Virtual Machines\1B1FD14E-B3F0-4232-9F96-2A871E879CD6.xml
- The process cannot access the file because it is being used by another process
.

How to delete the whole folder ?

Thanks


Hyper-V Host 3 NICs Teamed for VMs - VMs No Internet Access

$
0
0
Hello, I have a Hyper-V host that has 4 physical NICs, 1 NIC is dedicated to the host and I teamed 3 NICs with the Windows 2012 R2 Teaming option. I connected the 3 NICs to my PowerConnect 2848 (No VLAN or Any other configurations) and booted up my VM and can access the firewall GUI.  If I disconnect 2 of the cables from the server (teamed NICs) I get internet access.  I have not change any of the settings in the Hyper-V manager for the network connection or for the network adapter in the VM. What am I missing and why is it not working when all 3 network cables are connected.  Thanks Ryan.

Remote-FX vs Radeon R7 240

$
0
0

Hello!

I have a PC with AMD Radeon R7 240 GPU running Windows Server 2012R2.

I know that officially supported only AMD FirePro cards, but a few years ago I successfully run RemoteFX on GeForce 210 & Windows Server 2008R2.

Is it possible to make Radeon R7 240 GPU works with VDI in 2012R2?

Thank's!

Trying to migrate to Hyper-V

$
0
0
Hi I am trying to find the best way to migrate from ESXi to Hyper-V with Server 2003 DC with two hard drives. I know I should not snapshot the DC so I guess what's the best way to do this. Here is the one catch I only have on physical host. 

Should I uninstall the VMware tools, shutdown all my servers, export the vm to an OVF, uninstall ESXI, install HyperV, convert the OVF to use with HyperV, import the machine and than boot up?

2008 r2 hyper-v guest partial connectivity after host is restarted.

$
0
0

Last week we were scheduled for a Major power failure and had to power down our Host Hyper V Windows 2008R2 servers for the first time.

We manually shutdown all guest vm's then powered down each of the host.

Now when we powered up the host and the the guest, we noticed the following problems.

SQL server could not send mail using sql mail, and users could not communicate with client server applications, where the server-side was on the guest.

After various of hours of troubleshooting, we decided to remove each of the guest's and re-add them again; basically deleting the guest from the hyper-v management window, and recreating it using the same virtual hard drives, and this fixed the problem.

Out of curiousity we tried the shut down process again, and encountered the same problem, applied the delete add fix again and it fixed it.

My question is do you know what the cause is? do we have to do this anytime we have to power-down the host? (this will in no way be often, but with murphy's law in place, who knows?)

A little background although I don't believe it's relevant, the vms were created using the disk2vhd tool a couple of years ago and have run fine with no problems until this shutdown of the host.

Re-enabling replication fails

$
0
0

I am testing 2012R2 replication with extended replication to a remote DR facility to see what the process is to restart replication if there are changes to the vhd configuration on the primary server, without having to destroy the replicas and replicate the whole vm again. I've read blogs about removing replication on primary & replica, adding the vhd to both and then re-enabling replication, but I cannot get this to work in my envionment.

Even in the most simpliest scenario re-enabling replication fails:-

Stop replication of a vm in both the primary and replica servers.

Start the replication wizard on the primary and select use an existing vm on the replica server as the initial copy.

Error: The virtual disks for the replica vm are not present on the replica server.

KB2920189 fails to install on generation 2 vm's

$
0
0

It looks like there is a problem with the KB2920189 update.

When trying to install it via Windows Update on some servers, they all fails the installation of this update - they are all running 2012 R2 inside generation 2 Hyper-V machines.

Has this update been tested with the UEFI implementation inside Hyper-V?

Error applying Hard Drive changes

$
0
0

Hi,

i am trying to add previously created VHD to VM but i can not 

i got this error msg.

Failed to add device "Virtual Hard Disk"

Attachment "path" failed to open because of error"the process cannot access the file because it is being used by another process""

Note: there is no other VMs use this VHD, i am trying to use it or remove it permenantly


Hyper-V Virtual Machine DNS Records Delete After Live Migration

$
0
0

Our setup is as follows...

(3) Hyper-V Hosts

(2) 2012 R2 Virtual Domain Controllers

CSV Storage

When I Migrate a Virtual Server from one host to another the A record for that server gets deleted from DNS.  I can do an ipconfig /registerdns on the VM and it will populate in DNS, but as soon as I migrate the server to another host it will erase again. We're not seeing any errors in Event Viewer.  Within ADSI Edit the dNSTombstoned attribute turns to TRUE after a migration, then back to FALSE after we run ipconfig /registerdns 

Any idea why this would be happening or how I can fix this issue?

How to acheive euivalent VMWARE's thin/fast clone in Hyper-V?

$
0
0

Hi buddy's,

    Right now I am doing some invetsigation on how to  acheive euivalent VMWARE's thin/fast clone in Hyper-V?

    There is some concept of differential disk in Hyper-V , using which we can create a virtual machine which whill be pointing to some base image.

But once I poweron that base image VM , then no more I can boot my VM with differential disk because I will end with some error "The chian of virtual disks is corrupted. There is mismatch between identifiers of parent vhd and differential vhd"

  Guys , I am expecting some help here . Either help me to get rid of this error or tell me if some other way to acheive my functionality.

Thanks in advance,

Rakesh

join workstation to a domain

$
0
0

hey everyone.  i want my workstations to join the domain but it's not working when i ping workstation to the AD shows time out . if its possible to join them to the domain. how can i do that  ?

the domain controller installed with windows server 2012 hyper-V

the workstations are physical

network structure

router 192.168.1.1

Hyper-V :two VSwitches : int and lan

Clearos VM act as a gateway , with two interfaces external for an internet access connected to the iln vswitch  , the second for the lan connected to the lan vswitch

AD act as  DC + DNS + DHCP (192.168.2.20 --> 192.168.2.100 )

i tried to put a pic for the network structure but i cannot until the verification of my account

Windows 2008 Hyper-v Guest - BSOD after Integrated Services updated

$
0
0

Hi,

Hyper-V single node with Windows 2012 R2 Datacenter - the VM had its Integrated Services update and rebooted properly. After that, Windows 2008 start and shows BSOD as listed below - safe mode doesn't work. Any tips?


Vinicius Deschamps

Internal and external switches on server 2012 r2

$
0
0

this is driving me nuts.

I have a vm with an internal and external switch.

I am trying to get backups to route to the host machine using the internal switch only.

I've gone all over priorities and the routes are all fine but the data will constantly go over the external switch.

If i disable external switch traffic goes over internal switch just fine.

I've read about the automatic detection of least cost routing on the internal switch but just can not get it to run correctly.

please help

Doug

Viewing all 19461 articles
Browse latest View live




Latest Images