Windows Server 2016 Hyper-V allows add/remove RAM while VM is running

Windows Server 2016 Hyper-V allows add/remove RAM while VM is running

In fact you can adjust the amount of memory assigned to a virtual machine while it’s running, even if you haven’t enabled Dynamic Memory. This works for both generation 1 and generation 2 virtual machines.

Additionally some of the new features for Hyper-V include an update in the management tool which now allows management of all Hyper-V generations.

So the lab setup was pretty simple:

This time I used my desktop system with VMware Workstation installed, but you can also use ESXi and configure the requirements (via web client).

Physical Box (running desktop OS …. Windows 8.1) > VMware Workstation VM running Server 2016 TP4 (named “2016TP4MAIN” ) with Intel VT-x activated > Server 2016 TP4 Hyper-V VM which we will be testing the hot-add or hot-remove memory.

 

Note that in my case I can spin quite a few VMs on that host which has 64Gb of RAM. The VMs were running from local flash storage.

Bellow you can see the settings of the VM. You’ll need to check the box "Virtualize Intel VT-x/EPT or AMD-V/RVI" check box.

After installation of that VM you activate Hyper-V role via add/remove roles and features > restarts the system > open Hyper-v management console and create a new VM. In my case I just picked the same ISO – Windows Server 2016 TP4 – and did the test on that VM.

The feature works rather well. While testing this I also noticed no problems with network connectivity (no loss of packets) within a command line windows…

Here is a quick video where you can see the different steps:

New in Windows Server 2016 TP4:

New VM configuration file format – (VMCX) Virtual machines now have a new configuration file format which is designed to increase the efficiency of reading and writing virtual machine configuration data. It’s also designed to reduce the potential for data corruption in the event of a storage failure. The new configuration files use the .VMCX file extension for virtual machine configuration data and the .VMRS file extension for runtime state data.

A file with the .VMCX file extension is in binary format. Directly editing a file with a .VMCX or .VMRS file extension isn’t supported.

PowerShell Direct – this is interesting approach to run PowerShell session in a VM from a host (instead from inside of that particular VM) without network connection between the host and the VM. You’ll need to have Server 2016 and the VM has to be also Server 2016. PowerShell Direct runs between the host and the virtual machine. So you don’t need a network connection or to enable remote management. You do need guest credentials to log into the virtual machine.

Cluster Functional Level – it’s possible to add running Server 2016 Hyper-V hosts into a Hyper-V cluster running 2012R2 hosts. The cluster continues to function at the 2012R2 cluster level untill you upgrade all the hosts to the 2016 version of Hyper-V. Then only you can upgrade the cluster functional level via PowerShell cmdlet Update-ClusterFunctionalLevel.  Note that like at VMware, there is no way back…  (Note that you might check this post: Three Ways to Downgrade Virtual Machine hardware version – to roll back VM version in VMware environment.

Production checkpoint –  new snapshots. Note that "old" snapshot (checkpoint) technology still can be used if you want…

create "point in time" images of a virtual machine, which can be restored later on in a way that is completely supported for all production workloads. This is achieved by using backup technology inside the guest to create the checkpoint, instead of using saved state technology. For production checkpoints, the Volume Snapshot Service (VSS) is used inside Windows virtual machines. Linux virtual machines flush their file system buffers to create a file system consistent checkpoint.

Note that by default the Production checkpoint is "ON"...

Wrap-up:

Quite a lot of new stuff in this release, and I did not talk about all of them. I did not touch a word on nested virtualization (now possible to create virtual machine as a Hyper-V host and create virtual machines within that virtualized host). Yes, VMware had this since long time ago, I know….  An Integration services (a VMware tools equivalent) is now distributed separately – through Windows update.
You can download the latest release of Windows Server 2016 TP4 from Microsoft’s site here. Check what’s new in Microsoft Windows Server 2016 TP4 in this post at technet.

[Credit goes to Vladan.fr]

Share
Disqus Comments Loading...

Recent Posts

VMWare vSphere 6.7 ESXTOP Output Garbled

If your VMWare vSphere 6.x environment command output of esxtop looks like a bunch of garbled gibberish (it's actually CSV… Read More

February 28, 2019 7:39 pm 19:39

How To Run RoboCopy Backup in Parallel

From time to time Windows Admins will surprise you with band-aid and bubble gum scripts, that's entirely expected I think.… Read More

February 28, 2019 12:20 pm 12:20

Windows 10 GodMode - The Ultimate Administrator Shortcut

Have you ever wondered what life might be like if the Windows 10 OS somehow had a single folder that… Read More

February 28, 2019 7:58 am 07:58

Samsung Galaxy S9 G960/G965 Stock ROM Firmware Download

There could be any number of reasons for needing to flash manufacturer stock OEM firmware on a Samsung Galaxy S9… Read More

January 24, 2019 7:42 am 07:42

Output IP Address with ipconfig Findstr Ethernet Adapter

How many times have you entered  ipconfig /all at the command line to return a single IP address, then have to strain… Read More

January 20, 2019 12:39 am 00:39

AWS SES Assistance in Enterprise Market - A Must Read

Designing e-mail solutions on a large scale can be a complex and costly challenge for a business: you need to… Read More

December 25, 2018 4:01 pm 16:01