Difference between revisions of "Manuals/Station Mapping/Virtual Machine"

From Userful Support
Jump to navigationJump to search
Line 81: Line 81:
 
When a Master VM is mapped to stations, a "clone" is created for each mapped station. Both the cloned VMs and the original golden master VM can be viewed and managed within the Oracle VM VirtualBox Manager.  
 
When a Master VM is mapped to stations, a "clone" is created for each mapped station. Both the cloned VMs and the original golden master VM can be viewed and managed within the Oracle VM VirtualBox Manager.  
  
[[File:VMs-in-Manager.png|right|500px]]
+
[[File:VMs-in-Manager.png|right|600px]]
 
The image to the right is an example of how Master, Unlocked Clones, and Locked (or Read-only) Clones appear in the VirtualBox Manager window.
 
The image to the right is an example of how Master, Unlocked Clones, and Locked (or Read-only) Clones appear in the VirtualBox Manager window.
 
<br clear="right" /br>
 
<br clear="right" /br>

Revision as of 00:25, 31 May 2014


Copyright © 2014 Userful Corporation. All rights reserved.
(Updated 2014.05.31)


  This page is also available in:   English, Español, Français, Português, Deutsch  



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 stations.

"Station Mapping" lets a system administrator configure what type of Virtual Desktop session to launch on each station. 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 station, a "clone" of the master VM will automatically launch as a full-screen session on that station.

A key advantage Userful's design 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 profile.

You may also be interested in:

Station Mapping: Creating a Virtual Machine Profile

Station Mapping allows you to bind a specific station to a Virtual Machine clone.

  1. The first step is to create a Virtual Machine profile. To do so, click on "New Profile" button. Select the profile type as "Virtual Machine" and give a name to this profile.

  2. UCC Station Mapping VM.png
  3. Choose a 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 for more details.
    • When stations are mapped to this profile, "clones" of the master VM will be created automatically.
  4. Choose the audio controller from the drop-down list based on the Guest OS.
  5. Choose whether the clone(s) should be locked or writable by either clicking in the checkbox next to "Auto-Reset VM" or leaving it blank, respectively.
    • Auto-Reset (locked) clones automatically revert to the Master VM state (when the clone was last created or last re-synchronized) when the VM (or the host) is rebooted. This is best for kiosk mode.
    • Writable (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.


Map Stations to Virtual Machine Profiles

UCC Map VMStation.png

Once profiles are created, stations can be "mapped" or assigned to those profiles by simply dragging-and-dropping the station icons to the desired profile.

To change the profile configuration (e.g.,to enable Auto-Reset state), click on the profile name to open the "Edit Profile" window.



Please Note: It is recommended not to map host PC to VM profile.

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.

Considerations When Mapping Virtual Machines

  • Ensure that sufficient system resources, especially RAM, is available for all cloned station maps. For optimal setup we generally recommend that administrators should double the minimum RAM to allow for extra capacity (due to failover or growth) or if you anticipate that users may perform memory intensive tasks on the host PC.
    • For example, if the master VM has been allocated 512 MB, and there are 15 stations, the system must have at least 8GB RAM available. Remember that the host PC requires between 2 -3 GB of RAM itself, and that RAM requirements increase with greater numbers of stations.
  • Userful recommends Quad Core Processor for the host PC.
  • The BIOS of the host PC must be configured to enable the hardware virtualization CPU setting.
  • Though not required, performance will be better with a solid state drive (SDD). In particular, it is recommended to store the VM images on SSD.
  • If cloned VMs are to be bound to an Active Directory domain:
    • The Master VM must not be bound to an Active Directory domain prior to cloning, and
    • "Writable" clones must be used. The reason is that (for security purposes) Windows performs automatic machine password changing at regular intervals. You can disable this automatic password changing according a Microsoft KB article: http://support.microsoft.com/kb/154501.
  • All Master VM image(s) should be created and stored under the same user account, "administrator" (or any other user who will own the VM images).
  • If you access the internet through a proxy, it is important to configure your golden master image with the correct proxy settings.

Re-synchronizing Virtual Machine Clones

When a Master VM is mapped to stations, a "clone" is created for each mapped station. Both the cloned VMs and the original golden master VM can be viewed and managed within the Oracle VM VirtualBox Manager.

VMs-in-Manager.png

The image to the right is an example of how Master, Unlocked Clones, and Locked (or Read-only) Clones appear in the VirtualBox Manager window.

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.

Please 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 (that is, to all stations that have been mapped to run a VM based off that master image), Click Resyn Clone button under Control Center > Virtual Machines. The clones will automatically be re-created.

Troubleshooting

If anything bad or unexpected happens during the installation process, or with normal usage, you can reset either individual stations, or the entire Control Center/Station Mapping interface with the following steps:

  1. Force a station to reload its Station Mapping configuration.
    • If a station is not being mapped correctly, press Ctrl+Alt+Backspace to force it to restart.
  2. Recreate the Station Mapping Clone.
    • If Ctrl+Alt+Backspace does not work, you can try to recreate the clone itself.
    1. Power-off the faulty zero-client device.
    2. As the user who owns the VMs, Logon onto the host.
    3. Launch VirtualBox.
      1. Manually delete the faulty numbered VM clones named "<VM> Clone ##" (Hint: It probably has the VirtualBox Status "Aborted".)
    4. Power-on the faulty zero-client device.
    • When the station powers back on, the Cloned VM will be re-created from the master.
  3. Recreate the master VM.
    1. Power-off all zero-client devices assigned as a Virtual Machine.
    2. As the user who owns the VMs, Logon onto the host.
    3. Launch VirtualBox.
      1. Manually delete all numbered VM clones named "<VM> Clone ##".
      2. Manually delete the master VM.
      3. Recreate the master VM using the same name.
      4. Boot the new master VM at least once, to validate if its ready to be cloned.
    4. Power-on the zero-client devices.
    Once all the stations power back on, the system will begin recloning VMs from the re-created Master.
  4. Recreate entire VirtualBox environment.
    1. Power-off all zero-client devices assigned as a Virtual Machine
    2. As the user who owns the VMs, Logon onto the host.
    3. Delete the following paths.
      • /home/user/.VirtualBox/
      • /home/user/VirtualBox VMs/
    4. Launch VirtualBox.
      1. Recreate the master VM using the name as before.
      2. Boot the new master VM at least once, to validate if its ready to be cloned.
    5. Power-on the zero-client devices.
    • Once all the stations power back on, the system will begin recloning VMs from the re-created master.
  5. Reset the Station Mapping database.
    1. Launch the Userful Control Center.
      1. Go to Help and Support.
      2. Reset Userful Multiplatform.
      3. Click Apply.
    2. Reboot the host PC/Server.
    3. Launch the Userful Control Center.
      1. Go to Station Mapping.
      2. Create a new Virtual Machine profile.
      3. Assign stations to the new Virtual Machine profile.
      4. Click Apply.