esSJae's Virtualization Blog

Virtualization and other IT topics

Archive for the ‘Virtualization’ Category

VirtualBox 5.1.16 Maintenance Release

Posted by essjae on March 8, 2017

Download here: https://www.virtualbox.org/wiki/Downloads

This is a maintenance release.

The following items were fixed and/or added: Changelog https://www.virtualbox.org/wiki/Changelog

  • VMM: don’t access the MSR_IA32_SMM_MONITOR_CTL MSR if dual-monitor treatment is not available (KVM workaround, bug #14965)
  • VMM: another fix for handling certain MSRs on ancient CPUs without VT-x support for MSR bitmaps
  • VMM: fixed VERR_SSM_LOAD_CPUID_MISMATCH errors when restoring a saved state with SMP guests on hosts without the CPUID/HTT bit set (bug #16428)
  • VMM: fixed a bug in call gate emulation
  • VMM: FWAIT instruction fix
  • VMM: fixed a sporadic guest hang under certain conditions
  • GUI: hide the mini-toolbar from the taskbar and the pager on certain X11 hosts
  • GUI: better error handling on the global settings / network / host-only / DHCP server settings
  • GUI: fixes for full-screen with multiple screens
  • Host-only Network: fixed host-only adapter creation issue preventing VirtualBox installation on Windows 10 hosts (bug #16379)
  • NAT network: fixed two potential crashes in the DHCP server
  • ICH9: fixed incorrect initialization of the primary bus for PCI bridges (5.1.14 regression)
  • Storage: LsiLogic fix for Windows 10
  • USB: fixed not being able to attach certain USB devices having invalid characters in the device strings (5.0.18 regression; bug #15956)
  • USB: several fixes for the USB/IP support (bug #16462)
  • VBoxSVC: fixed another crash during shutdown under rare circumstances
  • VBoxSVC: fixed a stack overflow on (Windows debug builds only; bug #16409)
  • OVF: when importing an appliance handle more than 10 network adapters if the OVA was created by VirtualBox (bug #16401)
  • OVF: fixes for exporting and importing appliances with many disks (bug #16402)
  • VBoxManage: fixed regression with modifyhd –resize (bug #16311)
  • rdesktop-vrdp: source code tarball fixes
  • Linux Installers: do not rebuild kernel modules unnecessarily (bug #16408)
  • Linux hosts: added an action for opening the VM manager window to the .desktop file
  • Linux hosts / guests: Linux 4.11 compile fixes (bug #16506)
  • Linux Additions: added vboxsf FS modules alias (bug #16404)
  • Linux Additions: fix for the shared folders kernel module to compile on Linux 4.10
  • Linux Additions: properly install the Linux kernel module override rule on distributions without /etc/depmod.d
  • Windows Additions: fixed a crash with recent Windows 10 builds if 3D is disabled (bug #15973)

Posted in VirtualBox, Virtualization | Tagged: , , , | Leave a Comment »

VMGuest.iso for older Windows OSes in Win10/2016

Posted by essjae on March 2, 2017

If you’re playing around with older OSes in the latest versions of Hyper-V, you’re missing one thing, the Integration Components (IC).

With Win10/Server2016 they no longer include this ISO as the current “supported” OSes all get their IC viaWindows Update.

You can get the IC from Hyper-V 2012/2012R2 Server, a free download, here:

https://www.microsoft.com/en-us/evalcenter/evaluate-hyper-v-server-2012-r2 (you’ll need to either find a way to extract it or install Hyper-V Server in a VM to get the vmguest.iso)

Or, if you’ve got a Windows 8/8.1/2012/2012R2 VM/system available with Hyper-V installed you’ll find it in the C:\windows\system32\ folder.

I’ve got a copy from Hyper-V 2012 R2 here: https://1drv.ms/u/s!AnbqFQxI6C6pidtRrLfIRLDSHKeYmw

No guarantees how long MS will allow it will stay up here, though it’s freely distributed with Hyper-V Server.

Posted in Hyper-V, Virtualization, W2012, Windows 10, Windows 2012, Windows 2012 r2, Windows 2016, Windows 8, Windows 8.1 | Tagged: , , , , | Leave a Comment »

VMware Workstation 12.5 now available

Posted by essjae on September 14, 2016

What’s New

  • Support for Windows 10 Anniversary Update
  • Support for Windows Server 2016

Also included are bug fixes, security updates, and performance improvements.

Full Release Notes here: http://www.vmware.com/products/workstation.html

Download: http://www.vmware.com/products/workstation.html

 

Posted in Uncategorized, Virtualization, VMWare, Windows 10, Windows 2016, Windows 2016 | Tagged: , , , | Leave a Comment »

VirtualBox 5.1.6 Available

Posted by essjae on September 13, 2016

VirtualBox 5.1.6 (released 2016-09-12)

This is a maintenance release. The following items were fixed and/or added:

  • GUI: fixed issue with opening ‘.vbox’ files and it’s aliases
  • GUI: keyboard grabbing fixes (bugs #15771 and #15745)
  • GUI: fix for passing through Ctrl + mouse-click (Mac OS X hosts only; bug #15714)
  • GUI: fixed automatic deletion of extension pack files (bugs #11352 and #14742)
  • USB: fixed showing unknown device instead of the manufacturer or product description under certain circumstances (5.1.0 regression; bug #15764)
  • XHCI: another fix for a hanging guest under certain conditions as result of the fix for bug #15747, this time for Windows 7 guests
  • Serial: fixed high CPU usage with certain USB to serial converters on Linux hosts (bug #7796)
  • Storage: fixed attaching stream optimized VMDK images (bug #14764)
  • Storage: reject image variants which are unsupported by the backend (bug #7227)
  • Storage: fixed loading saved states created with VirtualBox 5.0.10 and older when using a SCSI controller (bug #15865)
  • Storage: fixed broken NVMe emulation if the host I/O cache setting is enabled
  • Storage: fixed using multiple NVMe controllers if ICH9 is used
  • NVMe: fixed a crash during reset which could happen under certain circumstances
  • Audio: fixed microphone input (5.1.2 regression; bugs #14386 and #15802)
  • Audio: fixed crashes under certain conditions (5.1.0 regression; bug #15887 and others)
  • Audio: fixed recording with the ALSA backend (5.1 regression)
  • Audio: fixed stream access mode with OSS backend (5.1 regression, thanks to Jung-uk Kim)
  • E1000: do also return masked bits when reading the ICR register, this fixes booting from iPXE (5.1.2 regression; bug #15846)
  • BIOS: fixed 4bpp scanline calculation (bug #15787)
  • API: relax the check for the version attribute in OVF/OVA appliances (bug #15856)
  • Windows hosts: fixed crashes when terminating the VM selector or other VBox COM clients (bug #15726 and others)
  • Linux Installer: fixed path to the documentation in .rpm packages (5.1.0 regression)
  • Linux Installer: fixed the vboxdrv.sh script to prevent an SELinux complaint (bug #15816)
  • Linux hosts: don’t use 32-bit legacy capabilities
  • Linux Additions: Linux 4.8 fix for the kernel display driver (bugs #15890 and #15896)
  • Linux Additions: don’t load the kernel modules provided by the Linux distribution but load the kernel modules from the official Guest Additions package instead (bug #15324)
  • Linux Additions: fix dynamic resizing problems in recent Linux guests (bug #15875)
  • User Manual: fixed error in the VBoxManage chapter for the getextradata enumerate example (bug #15862)

Posted in VirtualBox, Virtualization | Tagged: , , , | Leave a Comment »

VirtualBox 5.1.2 released today

Posted by essjae on July 21, 2016

This a maintenance release.

VirtualBox 5.1.2 (released 2016-07-21)  Download here: https://www.virtualbox.org/wiki/Downloads

This is a maintenance release. The following items were fixed and/or added:

  • VMM: several fixes
  • GUI: fixed screenshot if the VM is started in separate mode
  • GUI: fixed issue with double-click/opening registered file types (.vbox and .vbox-extpack) on Mac OS X (bug #15648)
  • GUI: fixed a bug which made it impossible close some error/warning messages using the close button
  • GUI: weakened the control over the VM window behavior allowing to resize it across multiple screens and to use in Snap Assist techniques
  • GUI: jump to the second tab of the session information window (5.1.0 regression)
  • GUI: fix for Alt-Tab
  • Storage: fixed creating fixed size VHD images (bug #15601)
  • Storage: fixed a hang during power off if the VM was suspended before and a NVMe controller is configured
  • USB: fixed a crash under certain conditions
  • Audio: make AC’97 volume control work again (5.1.0 regression; bug #15598)
  • Audio: fixed rare VM hangs when using AC’97 emulation
  • Audio: SB16 fixes
  • EFI: fixed access to devices attached to SATA port 2 and higher (bug #15607)
  • OVA: fix for checking certain signatures
  • OVA: fixed MAC address generation for appliances created by VirtualBox (5.1.0 regression; bug #15623)
  • API: fixed audio settings handling for older config files (bug #15626)
  • API: fixed truncation of USB product/vendor IDs on Linux hosts (5.1.0 regression; bug #15644)
  • API: fixed VRDP with authentication (bug #15653)
  • API: don’t crash if there is no graphics controller configured (bug #15628)
  • Linux hosts: fixed EL5 builds (bug #15634)
  • non-Windows hosts: fixed a crash during shutdown under rare circumstances (bug #15568)
  • Linux Additions: fixed SELinux issue which prevented certain Linux guests to work in 3D mode (bug #15574)
  • User Manual: updates

Posted in VirtualBox, Virtualization | Tagged: | Leave a Comment »

VirtualBox 5.1 Released

Posted by essjae on July 12, 2016

VirtualBox 5.1 has been released. This is a major update.  Download here: https://www.virtualbox.org/wiki/Downloads

VirtualBox 5.1 (released 2016-07-12)

This is a major update. The following major new features were added:

  • VMM: new APIC and I/O APIC implementations that result in significantly improved performance in certain situations (for example with networking, bug #15295)
  • VMM: added support for Hyper-V paravirtualized debugging of Windows guests
  • VMM: emulate even more MMIO and shadow pagetable exits without going back to user mode
  • GUI: overall migration to Qt5 (bug #11775)
  • GUI: passive API event listener improving the VM GUI performance and response time
  • Audio: added HDA (High Definition Audio) support for newer Linux guests
  • Audio: added on-demand timers which should improve the overall performance and reduce the CPU consumption
  • Audio: more fine-grained volume control for the AC’97 emulation, which now also takes the master volume control into account
  • better support for Python 3

In addition, the following items were fixed and/or added:

  • VMM: activate the x2APIC by default for Linux guests
  • VMM: many more fixes
  • GUI: the Detach UI action is now a part of the VM Machine menu
  • GUI: reworked session information window
  • GUI: the new VM wizard now allows to choose the VM location for the VM which is being created
  • GUI: fixed location of touch events in unscaled HiDPI mode (bugs #14366, #14367)
  • GUI: various bugfixes and internal cleanup
  • Storage: use fallocate() or similar if present to speed up creating fixed-sized disk images (bug #5967)
  • Storage: implemented NVMHCI-compatible storage controller
  • Audio: various bugfixes and infrastructure improvements
  • E1000: implemented interrupt throttling for performance improvements
  • EFI: many improvements, for example allow to boot from USB
  • OVF: improved handling of signed manifests
  • API: Windows XP guests and Windows 2003 server guests now default to the E1000 T Server network card
  • VBoxSVC: fixed several memory leaks when handling .dmg images
  • Installers: ship VBoxBugReport
  • Windows hosts: reworked COM proxy (e.g. bug #8298)
  • Linux installers: no longer rely on DKMS for module rebuilding
  • Linux Additions: fix a problem when updating the initramfs after the guest modules are compiled (bug #15579)
  • Linux Additions: try to fix a problem where the OpenGL libraries where loaded by the X server when we only support X clients (bug #15574)

Posted in VirtualBox, Virtualization | Tagged: , | Leave a Comment »

VirtualBox 5.0.16 Maintenance Release

Posted by essjae on March 14, 2016

A little late, released March 4, a maintenance release. Download.

Change log:

The following items were fixed and/or added:

  • VMM: fixed a problem which could lead to a wrong guest behavior on AMD CPUs (tickets #14831 and #15186)
  • GUI: don’t try to synchronize the HID LEDs if the VM window is not active or if it’s minimized (Windows / Mac OS X hosts only; bug #14302)
  • GUI: prevent a crash during startup under rare conditions
  • GUI: sub-menu option to disable the guest-OS type overlay in the application dock icon on Mac OS X
  • GUI: position off-screen windows to be fully visible again on relaunch
  • GUI: hide the VT-x/AMD-V checkbox if raw-mode is not supported (usually Mac OS X hosts; bug #15178)
  • PC speaker passthrough: new experimental feature, available on Linux host only
  • Audio: several fixes for Mac OS X hosts + guests
  • Audio: properly handle default audio device changes (Windows hosts)
  • USB: serveral fixes for the xHCI controller (e.g. for webcam passthrough)
  • BIOS: fixed int15/AH=83/AL=00 function (4.2.0 regression)
  • iPXE: enable the HTTP download protocol on non-Linux hosts (bug #13628)
  • Shared folders: fixed a failure to load the saved state under certain circumstances (bug #6314)
  • Guest Control: added support for (cached) Active Directory authentication in case the domain controller is not reachable (anymore)
  • Serial ports: raised the number of serial ports per VM from 2 to 4 (bug #9109)
  • Serial ports: fix for the TCP/IP backend (Windows hosts only; bug #15188)
  • SDK: make the Python webservice API binding work again (5.0 regression)
  • Seamless mode: fixed a crash under certain circumstances (bug #15106)
  • Linux hosts: fixed the /sbin/rcvboxdrv script as well as the missing shebang in two scripts (bugs #15055 and #15057)
  • Linux hosts: properly uninstall Python files installed by the .run installer
  • Windows hosts: hardening fix required for recent Windows insider builds (bug #14052)
  • Windows hosts: fixed Python installation path (bug #13131)
  • Windows hosts: support MTU larger than 2 KB with bridged networking (bug #15140)
  • Windows hosts / guests: properly sign binaries using a sha-256 certificate (bug #15054)
  • Windows Additions: fixed guest property enumeration of logged-in users
  • Windows Additions: fixed sporadical failure of the graphics driver in Windows 10 guests (bug #14409)
  • Windows Additions: under rare circumstances no mouse movement events were delivered to the guest

Posted in VirtualBox | Tagged: , , , | Leave a Comment »

Adding NAT to Hyper-V in Windows 10 and higher

Posted by essjae on March 10, 2016

I found about this new way to create a NAT virtual switch in Hyper-V, it’s a lot less work than my previously documented method here: https://smudj.wordpress.com/2015/05/14/windows-10-hyper-v-setting-up-networking-shared-and-bridged-options/

https://technet.microsoft.com/en-us/library/hh848455.aspx?f=255&MSPPError=-2147217396

New-VMSwitch

Creates a new virtual switch on one or more virtual machine hosts.

Syntax

Copy
Parameter Set: NetAdapterName
New-VMSwitch [-Name] <String> -NetAdapterName <String[]> [-AllowManagementOS <Boolean> ] [-CimSession <Microsoft.Management.Infrastructure.CimSession[]> ] [-ComputerName <String[]> ] [-Credential <System.Management.Automation.PSCredential[]> ] [-EnableEmbeddedTeaming <Nullable [System.Boolean]> ] [-EnableIov <Boolean]> ] [-EnablePacketDirect <Nullable [System.Boolean]> ] [-MinimumBandwidthMode <VMSwitchBandwidthMode> {Default | Weight | Absolute | None} ] [-NATSubnetAddress <System.String> ] [-Notes <String> ] [-Confirm] [-WhatIf] [ <CommonParameters>]

Parameter Set: NetAdapterInterfaceDescription
New-VMSwitch [-Name] <String> -NetAdapterInterfaceDescription <String[]> [-AllowManagementOS <Boolean> ] [-CimSession <Microsoft.Management.Infrastructure.CimSession[]> ] [-ComputerName <String[]> ] [-Credential <System.Management.Automation.PSCredential[]> ] [-EnableEmbeddedTeaming <Nullable [System.Boolean]> ] [-EnableIov <Boolean]> ] [-EnablePacketDirect <Nullable [System.Boolean]> ] [-MinimumBandwidthMode <VMSwitchBandwidthMode> {Default | Weight | Absolute | None} ] [-NATSubnetAddress <System.String> ] [-Notes <String> ] [-Confirm] [-WhatIf] [ <CommonParameters>]

Parameter Set: SwitchType
New-VMSwitch [-Name] <String> -SwitchType <VMSwitchType> {Private | Internal | External} [-CimSession <Microsoft.Management.Infrastructure.CimSession[]> ] [-ComputerName <String[]> ] [-Credential <System.Management.Automation.PSCredential[]> ] [-EnableEmbeddedTeaming <Nullable [System.Boolean]> ] [-EnableIov <Boolean]> ] [-EnablePacketDirect <Nullable [System.Boolean]> ] [-MinimumBandwidthMode <VMSwitchBandwidthMode> {Default | Weight | Absolute | None} ] [-NATSubnetAddress <System.String> ] [-Notes <String> ] [-Confirm] [-WhatIf] [ <CommonParameters>]

Example

New-VMSwitch -SwitchName "Virtual Switch" -SwitchType NAT -NATSubnetAddress "172.16.0.0/12"

Posted in Hyper-V, Uncategorized, Windows 10 | Tagged: , , , | 1 Comment »

3Ware 9650SE with ESXi 5.5

Posted by essjae on March 3, 2016

This is definitely an edge case, but if you’ve got a bunch of old 3Ware 9650SE RAID cards laying around, they will work in ESXi 5.5.  You’ll need to either create a custom ISO or add them via SSH after the install.  Adding them post-install is easier for me than making another custom ISO.

I’ve set up 2 ESXi servers (old x58 chipset MBs I had laying around) to do some clustering.  I picked up 5 9650SE RAID cards off of eBay for $55, including cables, and cobbled together some RAID volumes from the stacks of HDDs I had laying around.

I set up my ESXi boxes with a custom ISO I’d created previously that has the Realtec NIC, Intel NIC, and Intel SATA drivers (that’s another post, or look up ESXi-customizer). I was able to get the cards up and working with minimal issues (after I updated the firmware to the most current version…was a puzzle as a couple cards were updated and just worked, then I got stuck with some others and they wouldn’t work at all until the FW was updated)

I then replaced one of the ESXi boxes with an x79 system and could not get the RAID card to work with the existing drivers I had.  Hours and multiple reboots, driver uploads, I found another driver that works from Avago (direct): http://docs.avagotech.com/docs/12349232

You can find it here: http://www.avagotech.com/ –> Support –> Support Documents and Downloads –> Legacy RAID controllers –> 3ware 9650SE-xxxx –> Search –> Driver –> VMware ESXi 5.0 Update 1 for 9650SE/9690SA

Connect to your ESXi server via SSH (you’ll need to enable this first) and use the command:

localcli software vib install -v /vmfs/volumes/datastore-name/scsi-3w-9xxx-2.27.08.036-1OEM.500.0.0.472560.x86_64.vib

Posted in ESXi, Virtualization, VMWare | Tagged: , , , , , | Leave a Comment »

Running Hyper-V Manager as a different user in Windows 10 (Runas)

Posted by essjae on February 10, 2016

I hit a small issue while working on building up a test SCCM/SCVMM lab in Hyper-V.

My primary system (call it One) has Windows 10 and is domain joined, but I’ve been doing the “Microsoft” thing and logging in with my “Microsoft” account instead of my local domain account.

I’ve got two Hyper-V hosts, one on Windows Server 2012 R2 and another running on Windows 10* (call it Two).  I’ve been able to launch my Hyper-V Manager on One and connect and manage the Hyper-V VMs on Server 2012.

However, I hit a roadblock trying to connect to Two.  The first thing I tried after failing and getting some error messages was to configure winrm.

On Two:

I opened an administrator PowerShell window and ran

winrm quickconfig

and followed the wizard and was able to start the winrm service and open the firewall.

On One:

Again in a administrator PowerShell window, I ran:

Enable-WSManCredSSP -role client -delegatecomputer two.mydomain.com

Failure!  I got a big text message in red that said to run winrm quickconfig.

This is odd, since I did none of this to connect to the Server 2012 Hyper-V instance.

I then shift+right-clicked on Hyper-V Manager and ran it with my domain credentials and it ran! Ah ha!  No problem, just create a runas shortcut for Hyper-V Manager.

C:\Windows\System32\runas.exe /user:mydomain\myusername /savecreds "%windir%\System32\mmc.exe "%windir%\System32\virtmgmt.msc""

Again, no joy.  Launching my new short-cut from a command prompt showed the error:

740: The requested operation requires elevation.

The command needs ADUC elevation, with some Googling** I finally found a solution, first launch a cmd prompt and then the command.  This allows you to receive the ADUC prompt and accept it.

C:\WINDOWS\system32\runas.exe /savecred /user:mydomain\myusername "cmd /c Start /B %windir%\System32\mmc.exe "%windir%\System32\virtmgmt.msc""

The path to the Hyper-V Manager icon is here:

%ProgramFiles%\Hyper-V\SnapInAbout.dll
...
*I don’t recall my logic in installing Windows 10 here instead of Server 2012…it may have just been laziness, an upgrade to Win10 from the previous Windows 8.1 OS that was installed.

 

**http://serverfault.com/questions/374342/run-active-directory-admin-center-as-another-user

Posted in Hyper-V, Uncategorized, Virtualization, Windows 10, Windows 2012 | Tagged: , , , , , , , | 1 Comment »