Mapping: Virtual Machine (VDI)

From Userful Support
< Docs‎ | Mapping
Revision as of 14:31, 30 January 2018 by Parul (Talk | contribs)

Jump to: navigation, search


Copyright © 2019 Userful Corporation. All rights reserved.
(Updated 2018.01.30)


To return to the main documentation page, Click Here.


Android™ is a registered trademark of Google™
VirtualBox™ is a registered trademark of Oracle®.
Windows® is a registered trademark of Microsoft®

Introduction

Userful's Virtual Desktop Infrastructure (VDI) solution is a feature that makes it possible to map full-screen Virtual Desktop sessions to displays. "Mapping" lets a system administrator configure what type of Virtual Desktop session to launch on each display. With a "mapped" session, end users no longer need to login to the native linux desktop to start the virtual desktop session. Once the system administrator has mapped a Virtual Machine (VM) session to a display, a "clone" of the master VM will automatically launch as a full-screen session on that display.

A key advantage of Userful is that cloning is automatic and quick; clones are copied from "known good" virtual machine master images known as golden masters.

This document includes information about the Virtual Machine source. For more information about Virtual Machines, visit Getting Started with Virtual Machines

Mapping: Creating a Virtual Machine Source

Creating Virtual Machine source

Mapping allows you to bind a specific display and video wall to a Virtual Machine source. To create this source:

  1. Click on Mapping > New Source button. From the drop-down select "Virtual Machines" as the desired source and give a name.
  2. Choose Master VM from the drop down menu.
    • Master VMs must be configured through "Virtual Machines" tab; in order to appear in this list. Please see Creating a VM Master Image page for more details.
    • When displays are mapped to this session, "clones" of the Master VM will be created automatically.
  3. Choose the Audio Controller from the drop-down list based upon the Guest OS
  4. Choose the CPU Cores from the drop-down
  5. Choose the RAM
  6. Choose whether the clone(s) should be writable or locked by either clicking the radio button next to "Retain VDI changes" or "Discard VDI changes", respectively.
    • Retain VDI changes across sessions (unlocked): Clones do not revert back to the previous state when they are rebooted. In other words, changes to the cloned images persist across reboots.
    • Discard VDI changes after each session (locked): Clones automatically revert to the Master VM state (when the clone was last created or last re-synchronized or when the Master VM (or the host) is rebooted. This option is ideal for kiosk mode.



Map Displays to Virtual Machine Source

Once source is created, display and video wall can be "mapped" or assigned to the source by simply dragging-and-dropping the display and video wall icons.

To change the source configuration (e.g., to enable Auto-Reset state) click on the source name to open the "Edit Source" window and make the changes.


Note: Changes will not take effect until the "Apply" button is clicked.

Re-synchronizing Virtual Machine Clones

When a Master VM is mapped to displays, a "clone" is created for each mapped display. The original golden master VM can be viewed and managed within the Oracle VM VirtualBox Manager. To launch Master VM image:

  1. Set the password of the "userful-vdiuser" user account. This is the user account who owns the VM.
    • Open terminal and type the following command to set the password:
    $ sudo passwd userful-vdiuser 
    • Enter the new password twice and press "Enter"
  2. Once completed, login to Linux Desktop as "userful-vdiuser"
  3. Launch Applications > System Tools > Oracle VM VirtualBox Manager
  4. Virtual Box Master VM.png


To adjust the master image settings, simply highlight the image in the list, then click on "Settings". Changes within a virtualized operating system (for example, installing new applications) are made by highlighting the master image, then click on "Start". The guest OS will boot inside a VM window; make any change necessary then shut down the VM.

The image to the right is an example of how Master VM appear in the VirtualBox Manager window.

Resync Clone.png

Note: The changes made to the master VM image will not automatically propagate to the clones of that image.

If you have changed a master VM and you wish to apply those changes to all the clones (i.e., to all displays that have been mapped to run a VM based off that master image), Click Resyn Clone button under Control Center > VMs. The clones will be re-created automatically. Similarly, if you have changed the RAM/Core settings of an existing VM under "Edit Source" window, the changes will not take effect until the Guest OS does a full shutdown.


Please Note: The integrity of cloned images cannot be guaranteed. It is recommended that a full conventional backup solution be implemented to guard against catastrophic file loss in the event a snapshot is corrupted or lost.


Licensing is Your Responsibility

Please Note: You are responsible for complying with all operating system and application vendors’ license agreements when you clone a virtual machine or make it available for multiple users.



Related Links