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

Windows 2012r2 Hyper-V Gen 2 boot options missing

$
0
0

Ok, I've wasted an entire day searching for an answer for this.  I found a few people with the same issue but no answers.

I built a Win10 1607 Gen2 VM.  I mounted an ISO to capture windows for SCCM.   I cant change my boot settings in Firmware because they are missing.

I went to the CLI in PS and tried Set-VMFirmware -VMName 1607 -BootOrder "DVDDrive","HardDiskDrive"

Set-VMFirmware : Cannot bind parameter 'BootOrder'. Cannot convert the "DVDDrive" value of type "System.String" to
type "Microsoft.HyperV.PowerShell.VMComponentObject".
At line:1 char:40
+ Set-VMFirmware -VMName 1607 -BootOrder "DVDDrive","HardDiskDrive"
+                                        ~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidArgument: (:) [Set-VMFirmware], ParameterBindingException
    + FullyQualifiedErrorId : CannotConvertArgumentNoMessage,Microsoft.HyperV.PowerShell.Commands.SetVMFirmwareCommand

Using 

Hyper-V Manager
Microsoft Corporation
Version: 6.3.9600.16384

Has something change in the was this is done?   I have 5 Hypervisors all running the same build and none of the gen 2 machines have this option.  The Gen1 VM's are fine.


Charles Freukes


VMs can ping eachother but not host or default gateway

$
0
0

The VM guests can ping each other but they can't ping not the Hyper-V host server or even the router/default gateway. The system was originally setup on a test network with a different router/default gateway where it worked, after being moved to the production network I've hit this issue.

  • All Hyper-V virtual switches have been deleted and recreated.
  • Internal DNS isn't working because one of the VMs is the domain controller (which again can't ping the default gateway)
  • Ipconfig /all only shows the production network default gateway, not the test network gateway
  • There is only one virtual NIC adapter on the Guests after the hyper-v virtual switches were all deleted and production network ones created.
  • The guests are on a dedicated NIC adapter on the host, not sharing with the host
  • Two different host NIC ports and cables tried
  • There was original NIC teaming on the guests, but its been disabled.
  • Domain firewall is disabled
  • No external physical firewall currently in place
  • nvspbind isn't helping, or at least I'm not seeing anything that I should delete there.
  • nvspscrub doesn't seem to work on Windows Server 2016.

So the host can ping the default gateway fine, so can a laptop, if using an external DNS in the IPv4 properties they can even access the internet bypassing the internal DNS.

Can I run a child partition VM that isolated from the host/root partition?

$
0
0

Hi,

Is it possible to run a Hyper-V child partition VM alongside the root partition in an isolated form?

As far as I know,  if you run a child VM it runs inside a vmwp.exe process in the host machine and the host machine can interfere with it by injecting code into that process , am I right?

Thanks,

Tim.




Blocking IP Addresses using Windows fire wall.

$
0
0
How can i Block all Incomming IP addresses except a few specific ones i want to allow access using windows firewall? I set up a rule to not allow any IPs to have access but have like 5 IP's that i need to allow access for.

Why is the hypervisor running even after Hyper-V is uninstalled ?

$
0
0

Hi,

I'm running into a weird issue on my Lenovo Z51 laptop. Its equipped with an intel i7 processor and is running Windows 10 Pro (Build 14393). I had Hyper-V installed on this laptop with all kinds of VMs running for a while. Then I got a VMware license and decided to uninstall Hyper-V. I uninstalled Hyper-V by going to "Turn Windows Features on or off", unchecking all options under Hyper-V and then rebooting the machine on the prompt.

After the reboot, I installed VMware but when I try to start the VMs, it gives me an error that Hyper-V is still running. In the "Turn Windows Features on or off", the box for Hyper-V is unchecked. However, when I look at msinfo32 it still says:

>> "A hypervisor has been detected. Features required for Hyper-V will not be displayed." <<

Coreinfo.exe says the same thing:
Intel(R) Core(TM) i7-5500U CPU @ 2.40GHz
Intel64 Family 6 Model 61 Stepping 4, GenuineIntel
Microcode signature: 00000021
HYPERVISOR      *       Hypervisor is present <---------
VMX             -       Supports Intel hardware-assisted virtualization
EPT             -       Supports Intel extended page tables (SLAT)

I did a lot of hunting and already tried the below assuming some corruption:
"SFC /scannow" & reboot,
"dism /online /Cleanup-Image /RestoreHealth" &  reboot
"bcdedit /set hypervisorlaunchtype off & reboot

None of these worked.

Why does it say the hypervisor is present when I have uninstalled Hyper-V ? What can I do to fix this and run VMware ?

Removing a year old snapshots

$
0
0

Hello,

   My requirement is to remove snapshots on Hyper-v that are 1 year old.  I tried the following code but It removed all the snapshots including  recently created snapshots (3 days old)...  I am wondering what is wrong with the command line. 

I am using windows server 2012 .

Here is the command line that I tried to remove 1 year old snapshots related to PRINTSERVER virtual machine ...

Remove-VMSnapshot PRINTSERVER | Where-Object {$_.CreationTime -lt (Get-Date).AddDays(-356) } | Remove-VMSnapshot

Your replies are  much appreciated.

Error loading operating system v2v VMDK to vhd

$
0
0

Solved,
I have solved this now
http://www.netexpertise.eu/en/systems/windows/hyper-v-error-loading-operating-system-after-running-disk2vhd.html

I was selecting the wrong disk

I also had to follow
https://web.archive.org/web/20140831151616/http://www.xtralogic.com/testdisk_rebuild_bootsector.shtml

Hi all,

I need to convert a server 2003 VM from VMDK to VHD, I am currently using StarWind v2v, the conversation goes fine, when I setup the new VM up in hyper-v I get error loading operating system.

1. The VM is set up as a generation 1 VM with IDE no networking,

2. The 2003 os is 32bit SP2 which I found is the minimum for support in hyper-v

3. The host is running 1607 W10, the conversation took place of a different system running 1607 as well.

I have tried

Doing a generation 2 VM

following the below link, which only left me with a raw disk.

http://www.netexpertise.eu/en/systems/windows/hyper-v-error-loading-operating-system-after-running-disk2vhd.html

One thing

https://imgur.com/mHHVpGg

no partition table found


Hyper-V 2016 - Cluster, Replica or (stand-alone?) Live Migration

$
0
0

Hi all.

I've got the following hardware:

  • HP Proliant DL380p G6, 4 nics, local SAS storage
    146 GB RAID 1 - Hyper-V 2016
    600 GB RAID 5 - VM STORAGE
  • HP Proliant DL380p G6, 4 nics, local SAS storage
    146 GB RAID 1 - Hyper-V 2016
    600 GB RAID 5 - VM STORAGE

From what I've understood, a cluster setup is not possible, since the best practice, in my opinion, is to store the VMs on shared storage, like a SAN. I want to stay far, far away from any other solution, like storage spaces.

That leaves me with Hyper-V replica or stand-alone hosts with live migration?
What do I want to achieve: the same thing I do with Veeam: Host A, hosts VM 1 and 2 Host B, hosts vm 3 and 4.
Host A creates replica's of VMs 1 and 2, every x hours, to host B.
Host B creates replica's of VMs 3 and 4, every x hours, to host A.

VM 1: DC01 on server 2016 (PDC)
VM 2: RDS on server 2016
VM 3: DC02 on server 2016
VM 4: EXC01 on server 2016 (Exchange 2016)

Can this be done, with standard Hyper-V functionality?
I've read that Hyper-V replica should not be used with Exchange?
Do or don't?
I'm also not quite sure what Live Migration is, what's the difference with replica's?
Buying Veeam B&R would be the easy way out, but that's not an option.

Thanks in advance


What is the best free backup solution for Hyper-V R2/2012? CSV support is necessary

$
0
0

Hi,

I need so guidance, please.

I’m planning to deploy a free backup solution for my virtual environment and I need your advice. I have the following configuration:

Failover Cluster:

  • Two Dell Servers
  • OS: Windows 2012 STD
  • Each server has two AMD Opteron 4180 6C @ 2.6 GHZ
  • 16 GB – RAM (supports 256GB)
  • QNAP NAS (CSV)
  • It’s hosting a DC, an Exchange 2010 and soon a SharePoint 2013 VM

Standalone Hyper-V:

  • Dell Server
  • OS: Windows 2008 R2 Datacenter
  • It has two Intel Xeon E5520 @ 2.2 GHZ
  • 16 GB - RAM
  • It’s hosting 3 VMs

In my research I found these apps. All of them are limited in some way but they do the job:

  • Veeam Backup Free Edition v7
  • Altaro Hyper-V Backup
  • Unitrends Enterprise Backup
  • PHD Virtual Backup for Hyper-V
  • HV Backup from CodePlex
  • Windows Server Backup (WSB)

What is your experience with them? What would you recommend?

When it comes to money, which one is more affordable? (In case I want to buy the full version)

Thanks in advanced. 

How does Failover Cluster Manager Choose the adapters to be used?

$
0
0

I have a 2 node 2012 R2 Hyper-V setup that i am trying to configure Hyper-V HA. The network setup for both nodes are as follows:

Total: (8 x Ports):

4 x Adapters - (Teamed:Production/VM external access) @ 3 x 1Gbps and 1 x 10Gbps

Teaming Mode: Switch Independent 
Load balancing mode: Dynamic 
Stanby adapter: None (All adapters active) 
Network: 192.168.100.x

2 x Adapters - iSCSI (MPIO) @ 10Gbps 
Network: 192.168.115.x

1 x Adapters - Cluster (Managment,VM Migration and replication) @ 10Gbps 
Network: 192.168.100.x

1 x Adapters - Phone Network @ 1Gbps 
Network: 192.168.104.x

The problem is that the failover and cluster manager (FCM) is selecting the Production network for one node and the cluster for the other. I want the cluster network to be dedicated for managing the hyper-v, migrations and replication.

I have configured the adapter order on the nodes as follows:

vEthernet (vSwitch_Production) 
Team_Production 
NIC1 - Production 
NIC2 - Production 
NIC3 - Production 
NIC4 - Production 
NIC5 - Cluster 
NIC6 - iSCSI 
NIC7 - iSCSI 
NIC8 - Phone

Can anyone please comment as to if this network setup will work with Hyper-V HA and, how I can ensure the correct adapters are selected by FCM?

Scheduling replication and syncrhonization hours

$
0
0

Hello,

I'd like to disable replication and synchronization during certain hours.   I'd like to disable it between 1AM and 4AM on all our guest VMs.    Does anyone know if this is possible?

HyperV 2012/2012R2 : Querying for Differencing VHD Parent disk - Msvm_VirtualHardDiskSettingData has no instances

$
0
0

Hello,

Because lost of disk storage space is sometime lost on CSV volumes by orphan VHDs, in my hyperv 2012 and 2012R2 clusters, I am trying to retrieve for a given Hyper-V Guest, its storage devices and type. For differencing disks, I am trying to retrieve its parent like in SCVMM Hardware properties.

Using WMI queries, I can retrieve guests, storage config including vhd path but not vhd type and its eventual parent.

I found a wmi class under root\virtualization\v2 called Msvm_VirtualHardDiskSettingData that should do the link but querying the class, no instance is listed.

Why WMI ? well, I am writting a suite of documenting tools that query hyperv hosts and gather config without powershell exec. (running on linux and/or windows)

Or any other WMI Class to query to grab VHD namespace, type and parent VHD  ?

Thanks for inputs...

Th

NIC Team

$
0
0
Hello,

I'm configuring a Hyperv with NIC Team with 4 network ports.

There is no network segmentation on the network.

Do I need to do some configuration on the switch ports for the four ports to work on the Nic team?

The traffic is swinging between the virtual machines in the nic team, who will use these four ports?

Thank you.

Create Homelab deparate from Main Network and give Access Point

$
0
0

Hello everbody. I am trying to create a homelab .

This homelab consists in a desktop that has 2 ethernet gigabit cards, and one wifi card.

This homelab has installed windows server 2012 R2 with HyperV role.

Whithin hyperV i have installed:

         DC (windows server 2012 R2 with DNS-DHCP and Domain Controller)

         IPCOP (virtual router that connects with my ISP Router)

                       IPCOP separate the main network (192.168.0.1/24) from the laboratory network (192.168.1.1/24)

                       DC acts as DHCP in the laboratory network

The thing is, that i want to use the wifi card (of my homelab) as an access point to connect from an external computer (like my laptop) trough this access point (and also be routed to internet).

For now, the only "access point" i have, is the one that the ISP provides me. But this access point, gives access to the "main network", and i want to create another access point to access from outside to the "laboratory network" (192.168.1.1/24).

First, of all, sorry about my english, i tried to be as simple as i can to explain it.

I will really apreciatte any help to create an access point in laboratory network .

I'll post a graphic to be more comprehensive.

Installing Hyper-V and I have some questions about storage performance tweaking

$
0
0

I'm installing a lab environment and I was thinking about the optimal settings for performance. I have HP Proliant ML350p G8 with eight  450GB 10k SAS disks attached to P420i controller, 64GB RAM and two multicore xeon CPUs.

I was thinking that I just create a single RAID1+0 logical drive that uses all eight disks with strip size of 64KiB. OS and the VM's will share this but I separate them with partitioning. 


Virtual machine failed secure boot verification because its hash was not found in the signatures database (DB) or its signing certificate did not chain to a certificate in the DB

$
0
0

Hi there,

I have a 4 node cluster. When a VM is deployed with the secure boot option enabled it boots fine on 3 of the 4 nodes. One node gives me an event id 12730 with the description :

virtual machine failed secure boot verification because its hash was not found in the signatures database (DB) or its signing certificate did not chain to a certificate in the DB

Any idea's?

Hyper-V Replica Issues

$
0
0

Hi,

So, I'm setting up a DR site for someone using Hyper-V Replica but I'm encountering a number of issues. We're replicating between a 4-node cluster and a 2-node cluster which are on the same domain and subnet. Both clusters have been configured with a Replica Broker using Kerberos on port 80.

We already have around 10 VMs that are currently replicating with no issues so I know our configuration and network settings are OK.

Yesterday, I had to reboot the nodes on the DR Cluster to resolve another issue and now I am unable to establish replication on other VMs.

When trying to enable replication for a VM, on the wizard after providing the FQDN of the Replica Broker, there is a warning that says that Hyper-V is unable to detect the configuration of the Replica server. I tried to proceed with the replication but in the end I just get another error that says the Replica Server is not in a state to receive replication. I also got the error 'A connection with the server could not be established (0x00002efd).

The 10 VMs previously mentioned are still able to replicate normally and issuing the commandTest-VMReplicationConnection does not give any error. The firewalls for all nodes are currently disabled. No other issues with network connectivity as all nodes are able to ping each other.

I would appreciate any help.

Thanks!

Disk Storage performance slower in HyperV 2012R2 VMGuest compared to VMHost - SSD Array

$
0
0

We have brought in a new Pure SSD array and have start testing with it on a Hyper-V 2012R2 Cluster. We have found out that the VM guests will not perform at the top speed the array is capable of compare to the Host that hosts the VM.
The VMHost will test out at about 2.5GBs total running the following Diskspd test
diskspd.exe -c100G -d60 -w40 -t8 -r -b32k -o32 -h -L C:\ClusterStorage\CSV21-Pure-LUN11\temp\testfile.dat

Total IO

thread |      bytes              |     I/Os           |     MB/s     |  I/O per s     |  AvgLat  | LatStdDev | 

total:      156191293440 |     4766580 |    2482.58 |   79442.65 |    3.220 |     5.303

Run the same command on the VM and get it will get about 1GBs bandwidth:
G Drive =C:\ClusterStorage\CSV21-Pure-LUN11\VMServer1\GDrive.vhdx
.\diskspd.exe-c100G -d60 -w40 -t8 -r -b32k -o32 -h -L G:\fixed\testfile.dat

Total IO

thread |      bytes           |    I/Os          |    MB/s     |  I/O per s   | AvgLat  | LatStdDev | 

total:      68253351936 |      2082927 |   1084.86 |   34715.49 |    7.370  |     2.337

Have open a call with Microsoft and the tech seems to have never heard of this issue or the Advanced tuning settings.

Told him about the IOBalancer and he said that officially MS does not recommend turning this off.

This issue must have been notice before but there is little information on how you could give 1 VM more allocation to the Disk then the others.

I have tried the QOS settings but the VM will not go over the 1084MBs no matter what setting I use.

MS has been no help , has anyone run into this issue and found a setting that can give the VM faster Disk IO besides the IOBalance_Enabled setting.

Hyper-v2016 standalone or Standard w. Core

$
0
0
Any preference / differences between Hyper-v2016 standalone or Standard w. Core

Windows 10 Hyper-V compatibility with NAS storage

$
0
0

Hi,

Is it possible in Win10 Hyper-V to run Hyper-V virtual machines with NAS storage.
Now the VMs are on my local hard disk but if I buy NAS with SMB support and iSCSI target possibility, is it possible?

If I compare for example Qnap NAS devices TVS-463 (Small business) and TS-231+ (home), there is a support in TVS-463 to VMWare, Citrix and Hyper-V but not in TS-231+. That TVS-463 is too expensive for my lab environments so does anyone know what does that support to virtualization technologies mean in NAS manufacturer specifications? One model is also Synology DS716+II which has support for virtualization but that is also too expensive. Every home-intended NAS models does not have support for virtualization at least in their own specifications.

If NAS supports iSCSI target, is it possible to keep my VM vhdx-files in NAS if my host is used as an initiator?
OR if NAS supports SMB 3, can I keep them in that network share on my win10 host. For example \\nas-server\VMS ?

Thank you!

Viewing all 19461 articles
Browse latest View live




Latest Images