Archives

Need to Correct Hyper-V Networking

Goal:  To correct Hyper-V Networking using best practices, make corrections without any loss of connectivity.

Another Tech setup this Server, and he halfway knew what he was doing.

Current setup:

Single Host, Server 2012 R2
2 Physical NICs, not teamed

In Network Connections:
NIC1 - used for Hyper-V Switch
NIC2 - configured for static IP on LAN - 192.168.254.10
vSwitch - configured for DHCP - 192.168.254.105

In Virtual Switch Manager:
External Network to NIC1
Allow management operating system to share this network adapter - is checked

According to this article, the Server is setup the "Old Way":
https://www.altaro.com/hyper-v/simple-guide-hyper-v-networking/

How can I re-configure the networking for the "New Way" without taking anything offline?

If I team the adapters, does anything need to be done on the Switch side?

Read full post . . . .

Virtual Hard Disk randomly unattaches from VM

Hello all. I am new to the forum. I’m an IT support specialist at my company, and we’re dealing with a very odd issue. We have a VM running Windows Server 2012 R2 Standard hosted in Hyper V. This virtual machine runs a software that our front desk admin
uses. We have the operating system installed on the C drive, and the software and database is installed on another drive (E drive we created, and attached to the VM.) We did this in order to keep the operating system, and software separate so that the C drive
would not fill up, and possibly crash the OS. Currently, the E drive randomly unattaches itself from the VM about once every week to two weeks. For example on Monday you may be able to log into the VM, see both drives perfectly fine, and use the software.
Then you log in on Tuesday (machine has not been restarted, and no settings have been changed) and the E drive has disappeared from "This PC" and you cannot use the software. The drive is still present on the hypervisor, and the data is still there
(I’m not worried about that) but it keeps randomly unattaching, and rendering the software unusable. My original fix for this was to just restart the VM. A script that I wrote would automatically attach the VHD through disk management on startup, and the software
would work fine. Now, for some reason, my script is not working, and I have to manually attach the VHD after restarting the VM to get the software to work again. But that is a separate issue.. The VHD should not be randomly unattaching itself in the first
place.

My question is, what is the correct way to permanently attach a VHD to a virtual machine in Hyper V? Or why does this VHD randomly unattach itself even when the machine has not been restarted? I simply want to figure out how I can make sure that my VM and
software can remain stable. Any assistance/guidance is appreciated.

Read full post . . . .

Virtual Hard Disk randomly unattaches from VM

Hello all. I am new to the forum. I’m an IT support specialist at my company, and we’re dealing with a very odd issue. We have a VM running Windows Server 2012 R2 Standard hosted in Hyper V. This virtual machine runs a software that our front desk admin
uses. We have the operating system installed on the C drive, and the software and database is installed on another drive (E drive we created, and attached to the VM.) We did this in order to keep the operating system, and software separate so that the C drive
would not fill up, and possibly crash the OS. Currently, the E drive randomly unattaches itself from the VM about once every week to two weeks. For example on Monday you may be able to log into the VM, see both drives perfectly fine, and use the software.
Then you log in on Tuesday (machine has not been restarted, and no settings have been changed) and the E drive has disappeared from "This PC" and you cannot use the software. The drive is still present on the hypervisor, and the data is still there
(I’m not worried about that) but it keeps randomly unattaching, and rendering the software unusable. My original fix for this was to just restart the VM. A script that I wrote would automatically attach the VHD through disk management on startup, and the software
would work fine. Now, for some reason, my script is not working, and I have to manually attach the VHD after restarting the VM to get the software to work again. But that is a separate issue.. The VHD should not be randomly unattaching itself in the first
place.

My question is, what is the correct way to permanently attach a VHD to a virtual machine in Hyper V? Or why does this VHD randomly unattach itself even when the machine has not been restarted? I simply want to figure out how I can make sure that my VM and
software can remain stable. Any assistance/guidance is appreciated.

Read full post . . . .

VM Vitual Switch Issue

Hi All,

We are facing a strange issue as frequently my Hyper-V VMs virtual switch is changing automatically.

Hyper-V Host - Windows 2012 R2

VMs - Windows 2012 R2

We have 1 host and which 8 VMs.

We have noticed the issue as we got server offline alert 5 VMs (not able to ping,while login domain not available) ,while checking we came to know 3 VM is online and the
Vswitch is - HyperV 3  and rest of the VMs Vswitch is HyperV-5.

Once we changed all the 4 VMs Vswitch to HyperV 3,servers came online and started working.

The next day we faced the same issue ,while checking checking 6 machines are offline and the
2 working machines Vswitch is -HyperV 2, and the non working
Vswitch is - HyperV 3,
once we moved the Vswitch  to HyperV 2
servers came online.

Each VM has 7 Vswitch (HyperV1,HyperV2,HyperV3,HyperV4,HyperV5,HyperV6
& SAN Attached).

Hyper-V host patching- up-to-date.

No network level changes (then all the servers should affect).

It will be great if someone can help us with a solution.



Read full post . . . .

DNS (host A) registration of Hyper-V cluster dissapered all the time

Hi

I’ve got Hyper-V (MS Hyper-V server 2016) cluster  with two nodes.

DNS nodes names: THVC1N1.domain.com (IP: 10.1.1.127), THVC1N2.domain.com (IP: 10.1.1.118)

DNS cluster name: THVC1.domain.com (IP: 10.1.1.74)

Cluster do not refresh it’s own (Host A) registration in DNS. So DNS server delete THVC1.domain.com registration.  The IP settings of virtual netowrk adapters used by nodes are:

ComputerName IfAlias Status    SkipAsSource   IPv4Address                  IPv4DefaultGateway DNSServer
THVC1N1      vEthernet (VS-E1) False              {10.1.1.127}                 10.1.1.2               
  {10.1.1.11, 10.1.1.5}
THVC1N2      vEthernet (VS-E1) {False, True}  {10.1.1.118, 10.1.1.74} 10.1.1.2                  {10.1.1.11, 10.1.1.5}

"SkipAsSource" parameter for cluster IP address is True .

Is it ok?

What is wrong?

Should I create DNS Host A registration for cluster name manually?


Kind Regards Tomasz

Read full post . . . .

No Hyper-V Quick Create in Start Menu

I’ve followed the guide found at https://docs.microsoft.com/en-us/virtualization/hyper-v-on-windows/reference/hyper-v-requirements (sorry; not allowed to properly insert links yet apparently) and determined my machine could run Hyper-V. I then used the enable
Hyper-V guide (https://docs.microsoft.com/en-us/virtualization/hyper-v-on-windows/quick-start/enable-hyper-v) and restarted my machine 

When I try to search for Hyper-V Quick Create in the start menu (as outlined in this guide: https://docs.microsoft.com/en-us/virtualization/hyper-v-on-windows/quick-start/quick-create-virtual-machine), the only suggestion that pops up is "Turn windows
features on or off." Not sure where to go from here to get this running.

Read full post . . . .

New KB articles published for the week ending 22nd September,2018

VMware Cloud on AWS VMware Cloud on AWS vSAN Advisory Date Published: 20-Sep-18 VMware Horizon Horizon 7 on VMware Cloud on AWS Support Date Published: 18-Sep-18 Font size in seamless application is smaller than expected in Windows Server 2008 R2 Date Published: 18-Sep-18 VMware Horizon Cloud with Hosted Infrastructure Unable to publish new image Date

The post New KB articles published for the week ending 22nd September,2018 appeared first on VMware Support Insider.

Continue reading..

New KB articles published for the week ending 15th September,2018

VMware ESXi Mouse is invisible inside virtual machine web console using IE11 in vSphere 5.5 U3k Date Published: 14-Sep-18 VMware NSX for vSphere NSX Performance issues when using ESXI 6.5 with bnx2x or ixgben NICs Date Published: 13-Sep-18 VMware SDDC Manager vRealize Suite Lifecycle Manager is not cleaned-up during an uninstall of a failed vRealize

The post New KB articles published for the week ending 15th September,2018 appeared first on VMware Support Insider.

Continue reading..

Hyper-V appliance not accessible over network

So far, I have spent about 10 hours just working on this issue over almost one week now.

We have a Windows Server 2016 (With latest patches as of 9/24/18) running 3 Hyper-V Virtual appliances. For simplicity sake I will call them VM1, VM2 and VM3

VM1 is running Windows Server 2016 Standard from the official ISO. Once all the updates were completed, the disk was copied over to VM2 (so we wouldn’t have to go through the update process multiple times). VM2 then had issues with networking, we weren’t able
to connect to the SQL server hosted on the machine. We created VM3 to see where the problem was. VM3 is running Windows Server standard from the official ISO and was updated to the latest version, Turns out It’s not accessible or ping-able on the network and
can still access outside websites, but VM1 is running fine without any problems

Troubleshooting:
I looked into the problem that showed up on VM2 and VM3, Event 8018. I went through all the configuration steps and got that error fixed but networking still refused to work.

I have tried changing to and from a DHCP/ Static IP address
Recreating the Appliance
Recreating the virtual switch (With and without SR-IOV, mac spoofing, any/all hardware acceleration, shared-host management)
Changing the physical interface that the switch is linked to

Restarting the DHCP/ DNS Server
Switching network cables
Creating another new VM from scratch with a new network interface
Technet article detailing how to diagnose an appliance that has problems connecting to network.

Throughout all these changes, VM2 and VM3 still are not accessible from the outside and can access the internet while VM1 does both without any problems

tl;dr

first VM can access the network without any problems, second one isnt accessible from the outside and all configuration changes keep first vm accessible and second inaccessible 

Read full post . . . .

Slow Checkpoint Restore and High Pages/Sec, Windows Server 2016

Hello,

I have two Hyper-V Hosts, one on Windows Server 2016 and one on Windows Server 2012 R2.

The host machines both have 64GB of memory installed, 20 guests with a startup memory of 2048MB (no dynamic memory), and 10-11 free GB of memory (in task manager).

The guests are running Windows Server 2012 R2.

Every guest in this scenario had a checkpoint made programmatically after the initial boot and some setup of our business logic.

Restoring checkpoints and waiting for the VM heartbeat is much slower in 2016.

Example: 2012 R2 takes 3-4 seconds, 2016 takes 12-20 seconds.

Also, the Memory/Pages/sec performance counter can easily reach into the thousands on the 2016 box.

However, the Process/Pages/sec performance counter (_Total) is much lower, indicating that the page faults are from kernel-mode processes. 

When setting the configuration version for the VMs to be 5.0  on the 2016 box (2012 defaults to this, 2016 defaults to 8.0) the restore times did go down, but not to the levels of the 2012 R2 host. 

Are there any configuration values I am missing here that might help me?

Are there any performance counters that might be helpful at pinning the root cause?

Note that the checkpoints are standard checkpoints, not production.

Read full post . . . .

Go Que Newsroom Categories