esSJae's Virtualization Blog

Virtualization and other IT topics

Archive for the ‘Virtualization’ Category

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)
Advertisements

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

–This is no longer necessary, as Microsoft includes a default switch with NAT in the newer versions of Windows 10

And, it seems that NAT is no longer an accepted switch type

———-Deprecated———-

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: , , , | 2 Comments »

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 »

VirtualBox 5.0.10 (released 2015-11-10)

Posted by essjae on November 11, 2015

5.0.10 maintenance release is now available: https://www.virtualbox.org/wiki/Downloads

Changelog:

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

  • VMM: improved support for certain Intel Atom CPUs (bug #14773)
  • VMM: system register emulation fix (5.0 regression; bug #14515)
  • GUI: fixed immediate screenshot issue (bug #14108)
  • GUI: fixed another 3D overlay window reparenting issue when the VM is switched to fullscreen mode on X11 hosts
  • GUI: fixed help index (bug #14722)
  • GUI: fixed state synchronization issue in the VM manager window when VM was paused from its runtime window
  • Audio: fixed suspending/resuming audio streams on VM pause/unpause (bug #14784)
  • Audio: properly reset AC97 audio streams, otherwise there is silence until a non-48 kHz stream is played
  • Audio: fixed a small emulation quirk of the AD1980 codec of the HDA device to make recent linux guests work (bug #14653)
  • USB: serveral fixes for the xHCI controller
  • USB: fixed a crash under certain conditions on hosts with Linux kernels older than version 3.3
  • USB: better identification of certain USB devices
  • NAT: support TCP in DNS proxy (bug #14736)
  • NAT Network: fixed sporadic crashes on Windows hosts (bug #13899)
  • API: when creating differencing images (e.g. as part of a snapshot or cloning a VM) use the same disk image variant as the parent image if possible, which means that e.g. a diff image for a VMDK image split into 2 GB files will also be split (bug #14764)
  • API: event queue handling fixes preventing loss of certain events at runtime (e.g. new webcam attached), particularly important on Mac OS X hosts
  • Webcam: passthrough fix for certain devices (Windows hosts only)
  • VBoxManage: don’t crash on snapshot restorecurrent / edit if the VM has no snapshots
  • VBoxManage: don’t crash on controlvm addencpassword (bug #14729)
  • Mac OS X hosts: use the correct kernel on certain hosts
  • Windows hosts: fixed VRDP external authentication
  • Windows hosts: allow to use a shared folder path with extended-length path prefix (5.0 regression; bug #14651)
  • Windows hosts: fix a crash in the netfilter host driver under certain conditions (bug #14799)
  • Windows host installer: documented and fixed public properties which can be used to control the installation to some extent
  • Windows host installer: fixed not starting the actual installation when showing the version information or help dialogs
  • X11 Additions: added basic support for X.Org Server 1.18 (3D requires additional fixes)

Posted in Linux, OS X, VirtualBox, Virtualization, Windows | Tagged: , | Leave a Comment »

VMware Workstation 12 released 26Aug2015

Posted by essjae on September 1, 2015

A little late, I know!

Also, VMware Workstation Player (formerly known as Player Pro) РSee more

Player, Workstation, and Workstation Player Comparison

VMware Workstation 12 Pro Release Notes

VMware Workstation 12 Pro | 24 AUG 2015 | Build 2985596

Last updated: 26 AUG 2015

Check for additions and updates to these release notes.

What’s in the Release Notes

The release notes cover the following topics:

About VMware Workstation Pro

VMware Workstation Pro enables technical professionals to develop, test, demonstrate, and deploy software by running multiple x86-based Windows, Linux, and other operating systems simultaneously on the same PC.

You can replicate server, desktop, and tablet environments in a virtual machine and allocate multiple processor cores, gigabytes of main memory and graphics memory to each virtual machine, whether the VM resides on a personal PC or on a private enterprise cloud.

For more information, see the broader VMware Workstation documentation or specifically the VMware Workstation 12 Pro Documentation Center.

What’s New

The following support is new in Workstation 12 Pro:

  • Full support of Windows 10
    VMware Workstation Pro provides the following support for Windows 10:

    • Run Windows 10 as a virtual machine
    • Run Windows 10 as a host operating system
    • Windows 10 Auto Detect and Easy Install
    • Unity support for Windows 10
    • Migrate Windows 10 PC to a virtual machine
  • New guest operating systems support
    Support has been added for the following operating systems:

    • Ubuntu 15.04
    • Fedora 22
    • CentOS 7.1
    • RHEL 7.1
    • Oracle Linux 7.1
    • VMware Project Photon
  • Advanced graphics
    Support has been added for the following standards:

    • DirectX 10
    • OpenGL 3.3
  • Performance improvements for suspending and resuming encrypted virtual machines
  • Improved vCloud Air Integration (Workstation Pro on Windows only)
    • Power operation on remote virtual machines
    • Enhanced user experience
  • Support IPv6 NAT network
  • Tear away tabs
    You can drag open tabs out of the Workstation Pro window into new or already existing Workstation Pro windows.
  • Automatically suspend virtual machines upon host shutdown
  • Support 4K monitors with high resolution UI
  • Support for multiple monitors with different DPI settings
  • Echo cancellation for voice and video calls with Microsoft Lync and Skype
  • Added USB 3.0 support to Windows 7 virtual machines (with the latest Intel USB driver)
  • Improved standard installer
  • Added NAT network configuration in Virtual Network Editor on Linux hosts
  • Respect left-handed mouse setting on Windows host

The following features have reached end of life in Workstation 12 Pro and have been removed:

  • Unity mode on Linux guest and host operating systems
  • Integrated Virtual Debugger Visual Studio
  • Connection to the VMware vCloud Air subscription service (The VMware vCloud Air OnDemand service is still fully supported)

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

VirtualBox 5.0 Released July 9!

Posted by essjae on July 14, 2015

VirtualBox 5.0 (released 2015-07-09)

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

  • Paravirtualization support for Windows and Linux guests to improve time-keeping accuracy and performance (see the manual for more information)
  • Make more instruction set extensions available to the guest when running with hardware-assisted virtualization and nested paging. Among others this includes: SSE 4.1, SSE4.2, AVX, AVX-2, AES-NI, POPCNT, RDRAND and RDSEED
  • xHCI Controller to support USB 3 devices (see the manual for more information)
  • Drag and drop support (bidirectional) for Windows, Linux and Solaris guests
  • Disk image encryption (see the manual for more information)
  • VMs can now be started in separate mode. The VM process is started headless while the frontend runs as a separate process which can be terminated without stopping the VM.
  • GUI: VM guest-content scaling support (including 3D acceleration)
  • GUI: New User Interface settings page for customizing status-bar, menu-bar and guest-content scaling
  • GUI: New Encryption settings tab for customizing encryption options for disk images
  • GUI: HiDPI support including application icons and optional unscaled HiDPI output on Mac OS X (including 3D acceleration)
  • GUI: Hot-plugging support for SATA disks
  • New, modular audio architecture for providing a better abstraction of the host audio backends
  • Support for the NDIS6 networking framework on Windows (default on Vista and later)

Download here

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