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

Hyper-V after clean install of OS

$
0
0

Windows 10 (Hyper-V Manager 10.0.10586.0)

For a reason, I had to make a clean install of the OS.
My Hyper-V settings pointed out another disk volume for Virtual Hard Disks and Virtual Machines, so these are ok and intact.
(I cannot see any way to keep Virtual switches etc. though)

I assume it "must" be possible to "hook into" these 2 locations again after the clean install of the OS, but I failed to see how.
(neither can I see that any backup would help).

A zillion People "must" have experienced this (and solved it ?), please tell me how to solve if possible :)




Connecting Remote Users

$
0
0
I am trying to load a WS 2012 Standard with Hyper-v. A VM with Essentials and another VM with 2012 Standard. I have all of this loaded but I am not sure what roles need to be on each server to make this work correctly. I have 5 remote users that I am trying to get connected to the standard VM and 8 users connecting to the essentials. Everything I have read says this is the best way to approach this situation but cant find any Data that gives you a step by step installation for this setup.....Can anyone help me?!?!?

Zimman2004

Hyper-V Server 2012 r2 not assign ip address dhcp

$
0
0

Hello.

i have two nodes (vs01 and vs02) with six NIC each.

2 NIC - iSCSI Team
2 NIC - VM Team
and 2 NIC - MGMT HB LM Team - problem.

Server VS01 has on MGMT Team access vlan configuration (server vlan). VM Team - trunk, iSCSI Team vlan iSCSI.

configuration on port Cisco 1 switch:
interface GigabitEthernet0/5
 description Mgmt-Team
 switchport access vlan 82
 storm-control broadcast level pps 1k 100
 spanning-tree portfast
 spanning-tree bpduguard enable


and Cisco 2 switch

interface GigabitEthernet0/5
 description Mgmt-Team
 switchport access vlan 82
 storm-control broadcast level pps 1k 100
 spanning-tree portfast
 spanning-tree bpduguard enable

Why server VS01 do not get the ip address from dhcp? Static IP also not working.

Virtual switch in Hyper-V manager is configured (share this network and vlan id [82])

Sorry for my English :(

## edit

i delete MGMT Team and one interface assign ip address but interface two apipa

exposing ssd from Hyper-V to Windows 8.1 VM

$
0
0

Hi,

My development environment is :

Hyper-V Server 2012 R2 (Core - bare metal hypervisor) is installed on HP Server machine

Windows 8.1 VM is installed on top of it.

I have connected PCIe based NVMe SSD to PCIe slot. This is not a boot drive.

I'm able to see disks through DISKPART utility in Hyper-V machine. Disk is listed.

But when i checked device manager in Windows 8.1 VM, controller is not visible.

Do i need to execute any command to expose NVMe SSD to VM.

Please let me know what i'm missing in the configuration and what commands i need to execute further.

I tried Add-PhysicalDisk powershell command, but getting some error.

Kindly help me in configuring SSD to expose from Hyper-V to VM.

Thanks,

Raphel

 



HV LM among HV Cluster nodes - Authetication Protocol

$
0
0

Hi

We setup HV (Win 2012 R2 DataCenter) cluster, but not sure about the authetication protocol to be enabled on all hosts. By default it's CredSSP and we plan to change that to more secured Kerberos, if we do so does it require any changes with HV host servers in AD (with Delegation)?

Regards

 

DATA NOT STORED IN GUEST OS??

$
0
0


Dell PowerEdge T110 II Tower Server 

Windows Server 2012 R2

Hyper-v VM manager

Windows 7 Pro (Guest OS)

______________________________________

Here goes a seemingly mind-boggling situation: The Hyper-V guest OS (win7 pro) serves as the database server (MySQL) for storing customer data. Power outage occurred, network switch connecting the tower server to the outside world was at the moment (for some reasons) not connected to power backup systems therefore was turned off along with other devices except the DELL server. I wasn't 'on-site' when this happened so local personnel (NO login access to the DELL server tower's host OS),  thinking it was just a simple matter of power cycle, powered up the network switch but after having been informed by the front-line tellers that the SQL database server (installed on guest OS) within the tower server's host OS is still not accessible, pressed the server's POWER BUTTON to initiate a soft shutdown (again thinking it was just a simple power-cycle feat). Database still not accessible, I was called and turned right up to find out- Guest OS is in a "SAVED" state with a few parent and child snapshots (checkpoints). The attempt to turn it ON pulled up errors after errors that hindered me from even seeing the guest OS' boot screen. I selected the option to "Delete Saved State" and start but to no avail. So I went ahead to just create a NEW virtual machine using the same VHD file that the troubled VM was using. Creation successful, logged in to the Gust OS, check all installed programs especially the SQL database and other supporting applications. Everything looks perfectly fine even from the front-line teller's workstation's end. Problem fixed so I thought I'd call it a day. Then the most dreadful thing happened - all daily inputs of data from FOUR MONTHS AGO went missing! Now the tellers are breathing down my neck. I had no choice but to resurrect the poor old VM. Fortunately, I was able to pull it off. How did that happen? Isn't data supposed to be stored in the actual guest OS and NOT the snapshots associated with it?





Linux Integration Service Update Required

$
0
0

Hi All,

I have a VM setup running CentOS7 which I use for a few services which works OK.

I am looking to backup this VM using Backup Assist the same way as I do with my Windows VMs. The backup fails and I believe it was due to LIS not being installed. I have now installed LIS but it still fails. I also noticed that under the Hypervisor the VM has a message that says that an update is required for the Integration Service. I am currently running LIS 4.1.

Any ideas?

Importing virtual machine with powershell from networkshare

$
0
0

What i am trying to do is to import an exported Hyper-v machine from network share using Powershell command:

invoke-command -ComputerName MACHINETOIMPORT -Credential admin@domain.local -ScriptBlock {Import-VM -Path "\\FILESERVER\SHARE$\machinetoimport\Virtual MAchines\xxxxxxx.vmcx" -Copy -GenerateNewID

As you can see i try to use PSRemoting functions for importing. Above command produces Access is Denied error. I have allready modified share and ntfs permissions Full Control for target Computer Accounts im am going to import Virtual Machine to.

If I copy exported machine to local disk, it can be imported with no problems. I would prefer to import form Network share becouse that way i save hours of copying files to local disk first.


How to convert Gen 2 VM to Gen 1?

$
0
0

Dear Hyper V Expert,

may I know is it possible to do conversion from Gen 2VM to Gen 1, so I can attach the VHD into my Gen 1 Hypervisor?

thanks.

Problem getting network connectivity when creating a Virtual Network Adapter

$
0
0
Hi Everyone

I am having a strange problem configuring my Hyper-V Virtual Switch and Virtual Network Adapters and I am hoping someone can lend me their expertise.

To start, I created a team of 2 physical NICs:
    New-NetLBFOTeam "PhysicalTeam" –TeamMembers "Ethernet 1", "Ethernet 2" -TeamingMode SwitchIndependent -LoadBalancingAlgorithm HyperVPort


Next, I created a Hyper-V Switch:
    New-VMSwitch "HVSWITCH" –NetAdapterName "PhysicalTeam" –MinimumBandwidthMode Weight –AllowManagementOS $false

At this point, the "Allow management operating system to share this network adapter" is unchecked in the Hyper-V Manager -> Virtual Switch Manager GUI.


Finally I created a new Virtual Network Adapter which I plan to give the Management OS network connectivity from:
    Add-VMNetworkAdapter –ManagementOS –Name "Management" –SwitchName "HVSWITCH"
    Which resulted in the "Allow management operating system to share this network adapter" becoming checked.

    Set-VMNetworkAdapterVLAN -ManagementOS -VMNetworkAdapterName "Management" -Access -VLANID 300
    Which resulted in The VLAN ID section of the "Virtual Switch Manager" becoming checked and being populated with "300" in the box.


Then I set a static IP on the "Management" Adapter with an address from VLAN 300.

The problem I am having is that the Management Network Adapter I have created does not see any network connectivity, cannot ping the gateway, etc..



I know that the problem does not lie in the outside network because I took the following troubleshooting steps:

I deleted the Hyper-V Switch and the Virtual Network Adapter that I previously created. I then proceeded to statically IP "PhysicalTeam" using the same address as before and setting the VLAN for the team

in the LBFO GUI to 300. After doing this, I get connectivity and can ping, etc..


To further add to my confusion, I wiped the static addresses from "Physical Team" and removed the VLAN settings from the LBFO GUI.
Then I created the Hyper-V Switch again using the same command as before.
This time instead of using PowerShell to create the "Management" Network Adapter, I went into the "Hyper-V Manager -> Virtual Switch Manager" and checked off "Allow management operating system to share this network adapter" and in the VLAN ID section, I checked off the box and entered 300.

This created a Network Adapter with the same name as the Switch - "vEthernet (HVSWITCH)", and to my surprise this method worked to get connectivity once the static IP was set.



My question at this point is why didn't it work through powershell? Is there something different that the Virtual Switch Manager does?
I tried wiping everything a few times over. Everytime I create the "Management" adapter and set the VLAN through powershell there is no connectivity, but doing it through "Virtual Switch Manager" always
works.

I must be doing something wrong. I am trying to get this to work through powershell since I want to use a script to automate this task on multiple servers.

Thanks

VM replication from local hyper-V to Azure site recovery failed with the error event id 33680

$
0
0

Hello there,

I'm running some test to see how the replication is performed between hyper-V and azure site recovery. It's been a week now that i'm trying to replicate a VM which contains active directory 2012. Each time I launch the replication I have the error with the id 33680. the replication stops abruptly just after and I don't know how I can solve it. Can you please help with with this issu?? 

Thank you in advance for your help.

B.regards,

Sara

MSVM_ComputerSystem WMI class returns only Hyper-V host

$
0
0

Hello Everyone,

Trying to get list of VMs using WMI and am only getting the host machine.
Found a question in this forum with the same subject from a few years back, the problem there was the user didn't own local Administrator permissions.
I'm trying with a user which is in the Administators group - so supposedly should be fine.
The OS however is Windows 10.

Does anyone have an idea what should I tweak to get the full list of machines?

Sincerely,
Michael

how to get the hyperv server of the VM residing using WMI

$
0
0

Hello,

How to get to know of the hyperv server that the VM is residing in using the WMI queries?

especially when the vm is in the cluster, how to get to know the hyperv server hosting it?

Thanks in advance 


2008 R2 Hyper V for small office- Do I need to seperate DC and FIle/App server?

$
0
0

Hello,

I have Pretty decent server 2008 R2 that I'm preparing for small office 5-users.

Dental office, so there will be SQL application and bunch of file (images) storage.

I already created a HyperV host, and Virtual machine ready.

Im not sure if it is worth to use one virtual for DC and one for APP/storage server.

What do you guys think?

MIke

Best Cloud Serverice for Sever2012r2 Hyper V virtualization/testing

$
0
0
My slow PC can't handle all the VMs or emulate HyperV (a VM engine).  I want to to experiment with HyperV.  I heard it's possible to setup VMs with EC2.  Can anyone please explain the best and easiet method - AWS, GCP, or what?

Windows server loose network connection if there is heavy network load towards Hyper-V Switch.

$
0
0

Hi Team,

I have Windows server 2012 R2 with 6 Virtual servers. When there is heavy network load towards Hyper-V switch, host server loose network connection. I need go to and restart server by login locally to server.

When I checked event log from host server. I found event at the time of server restarted.

WAS was disconnected.
 HRESULT: -2147024787
 Process Name: SMSvcHost
 Process ID: 2016.

is this is the cause server loosing network connection.? I even cant ping to server before restarting server.

Please help me resolve this issue.

Error Creating VMs when attaching an existing hard drive using the New Virtual Machine Wizard

$
0
0

Hello all,

I recently setup a new HP Proliant gen9 server and have Server 2012 R2 Datacenter installed.

When I create a new VM and try to attach a .vhdx file that was copied while the VM it was created on was off, I get the following error: Hyper-V encountered an error trying to access an object on computer 'localhost' because the object was not found. I have eliminated other problems like the network adapter by selecting none and I do NOT get this error if I create a VM when creating a new Hard drive or attach one later (even the same one that wouldn't attach here). The full error is below.

See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.NullReferenceException: Object reference not set to an instance of an object.
   at Microsoft.Virtualization.Client.Wizards.Framework.WizardPage.GetSubPageAfter(String pageId)
   at Microsoft.Virtualization.Client.Wizards.Framework.WizardForm.EnableNavigationSteps()
   at Microsoft.Virtualization.Client.Wizards.Framework.WizardForm.OnValidationStateChanged(WizardPage page)
   at Microsoft.Virtualization.Client.Wizards.Framework.WizardForm.ActivatePage(WizardPage page)
   at Microsoft.Virtualization.Client.Wizards.Framework.WizardPage.Activate()
   at Microsoft.Virtualization.Client.Wizards.Framework.WizardForm.GoToPage(WizardPage page)
   at Microsoft.Virtualization.Client.Wizards.NewVM.NewVirtualMachineWizard.WizardActionFailed(Exception exception)
   at Microsoft.Virtualization.Client.DelayedUIInvoker.HandleTimerTick(Object sender, EventArgs ea)
   at System.Windows.Forms.Timer.OnTick(EventArgs e)
   at System.Windows.Forms.Timer.TimerNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
    Assembly Version: 4.0.0.0
    Win32 Version: 4.6.1055.0 built by: NETFXREL2
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/mscorlib.dll
----------------------------------------
Microsoft.ManagementConsole
    Assembly Version: 3.0.0.0
    Win32 Version: 6.3.9600.16384
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Microsoft.ManagementConsole/3.0.0.0__31bf3856ad364e35/Microsoft.ManagementConsole.dll
----------------------------------------
System
    Assembly Version: 4.0.0.0
    Win32 Version: 4.6.1055.0 built by: NETFXREL2
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
MMCFxCommon
    Assembly Version: 3.0.0.0
    Win32 Version: 6.3.9600.16384
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/MMCFxCommon/3.0.0.0__31bf3856ad364e35/MMCFxCommon.dll
----------------------------------------
System.Configuration
    Assembly Version: 4.0.0.0
    Win32 Version: 4.6.1055.0 built by: NETFXREL2
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Core
    Assembly Version: 4.0.0.0
    Win32 Version: 4.6.1055.0 built by: NETFXREL2
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
System.Xml
    Assembly Version: 4.0.0.0
    Win32 Version: 4.6.1064.2 built by: NETFXREL3STAGE
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System.Windows.Forms
    Assembly Version: 4.0.0.0
    Win32 Version: 4.6.1055.0 built by: NETFXREL2
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System.Drawing
    Assembly Version: 4.0.0.0
    Win32 Version: 4.6.1068.2 built by: NETFXREL3STAGE
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
Microsoft.Virtualization.Client.VMBrowser
    Assembly Version: 6.3.0.0
    Win32 Version: 6.3.9600.16384
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Microsoft.Virtualization.Client.VMBrowser/v4.0_6.3.0.0__31bf3856ad364e35/Microsoft.Virtualization.Client.VMBrowser.dll
----------------------------------------
Microsoft.Virtualization.Client.Common
    Assembly Version: 6.3.0.0
    Win32 Version: 6.3.9600.16384
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Microsoft.Virtualization.Client.Common/v4.0_6.3.0.0__31bf3856ad364e35/Microsoft.Virtualization.Client.Common.dll
----------------------------------------
Microsoft.Virtualization.Client
    Assembly Version: 6.3.0.0
    Win32 Version: 6.3.9600.16384 (winblue_rtm.130821-1623)
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Microsoft.Virtualization.Client/v4.0_6.3.0.0__31bf3856ad364e35/Microsoft.Virtualization.Client.dll
----------------------------------------
Microsoft.Virtualization.Client.Management
    Assembly Version: 6.3.0.0
    Win32 Version: 6.3.9600.16384
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Microsoft.Virtualization.Client.Management/v4.0_6.3.0.0__31bf3856ad364e35/Microsoft.Virtualization.Client.Management.dll
----------------------------------------
System.Management
    Assembly Version: 4.0.0.0
    Win32 Version: 4.6.1055.0 built by: NETFXREL2
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Management/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Management.dll
----------------------------------------
Microsoft.Virtualization.Client.Wizards
    Assembly Version: 6.3.0.0
    Win32 Version: 6.3.9600.16384
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Microsoft.Virtualization.Client.Wizards/v4.0_6.3.0.0__31bf3856ad364e35/Microsoft.Virtualization.Client.Wizards.dll
----------------------------------------
Microsoft.Virtualization.Client.Settings
    Assembly Version: 6.3.0.0
    Win32 Version: 6.3.9600.16384
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Microsoft.Virtualization.Client.Settings/v4.0_6.3.0.0__31bf3856ad364e35/Microsoft.Virtualization.Client.Settings.dll
----------------------------------------
Accessibility
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.33440 built by: FX45W81RTMREL
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Accessibility/v4.0_4.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
----------------------------------------
System.Data
    Assembly Version: 4.0.0.0
    Win32 Version: 4.6.1055.0 built by: NETFXREL2
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_64/System.Data/v4.0_4.0.0.0__b77a5c561934e089/System.Data.dll
----------------------------------------
System.Numerics
    Assembly Version: 4.0.0.0
    Win32 Version: 4.6.1055.0 built by: NETFXREL2
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Numerics/v4.0_4.0.0.0__b77a5c561934e089/System.Numerics.dll
----------------------------------------
Microsoft.Virtualization.Client.Settings.resources
    Assembly Version: 6.3.0.0
    Win32 Version: 6.3.9600.16384
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Microsoft.Virtualization.Client.Settings.resources/v4.0_6.3.0.0_en_31bf3856ad364e35/Microsoft.Virtualization.Client.Settings.resources.dll
----------------------------------------
System.Runtime.Remoting
    Assembly Version: 4.0.0.0
    Win32 Version: 4.6.1055.0 built by: NETFXREL2
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Runtime.Remoting/v4.0_4.0.0.0__b77a5c561934e089/System.Runtime.Remoting.dll
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration><system.windows.forms jitDebugging="true" /></configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.

Thanks,

Danny

Unable to install Hyper-V 2012 R2. Error 0xc0000017 occurs on Windows Boot Manager after inital install.

$
0
0

Hi there,

I'm trying to install Hyper-V 2012 R2 using the UEFI install.

The installation goes most the way through until the UEFI is updated and contains the Windows Boot Manager. However as soon as Hyper-V boots within the boot manager for the first time an unexpected error occurs with the status code 0xc000017.

The Hardware I am running on is as follows

ASRock FM2A85X-ITX Motherboard. (most recent firmware) CPU = AMD A6-5400K APU 3.6Mhz FM2 Black Edition.

16Gb Ram (x2 8GB 1333Mhz DRAMM) Intel Pro 1000 PT PCIE x16 Dual NIC.

x3 1TB WD (HDD) hard disks x1 Sandisk SSD 120Gb (Used as the Primary partition for install).

x1 150 WD HD x1 500Gb WD.

In terms of troubleshooting what would be the next steps? Should I start stripping out hardware until the OS boots?

I have attempted a reinstallation with the same result. I have also performed the memory check and no issues are reported.

add or remove disk of hyperv vm using ps cmdlet fails

$
0
0

Hello Experts,

When using the hyperv cmdlet to add or detach the disks of the cluster VM, it fails when the clusterVM is on teh passive node. if it is on active node, the same command works.

=====

Command: Add-VMHardDiskDrive -VMName 'ClusterVM1' -Path 'C:\ClusterStorage\Volume1\ClusterVM1\Virtual Hard Disks\disk02.vhdx' -ControllerType SCSI -ControllerNumber 0 -ControllerLocation 1

Error: A parameter is invalid. The Update-ClusterVirtualMachineConfiguration command could not be completed.

Inner Exception: PowerShell Exception: Exception: System.Management.Automation.RemoteException: A parameter is invalid. The Update-ClusterVirtualMachineConfiguration command could not be completed

=====

is the procedure different for the cluster VM ?

Appreciate your help.

Thanks.

Move storage to different locations

$
0
0

Hi, I have 2 Host Servers windows Server 2012 R2 , Host A & Host B

On Host A I have a VM with 2 Virtual Hard Disks VHDA & VHDB ,

  • VHDA is on a Shared Storage (SAN) that is connected to both servers (Host A & Host B)
  • VHDB is on the Local Storage (D Drive) of HostA

I want to move the VM to Host B without down time , as per following:

  • VHDA to HOST B Shared Storage (actually it will not be copied again to the SAN)
  • VHDB to Local Storage on Host B (here there will be copy from Host A to Host B)

is it possible to do it ? if yes , how?

Regards

Elias Dayeh

Viewing all 8743 articles
Browse latest View live


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