10.6. Desktops and Pools

10.6.1. How Do I Make a Desktop Available to a User at All Times?
10.6.2. Starting a Desktop Fails With "No suitable Hosts to Start a Desktop for Desktop Provider <Name>" Errors
10.6.3. What Is the Difference Between Personal and Flexible Desktop Assignments?
10.6.4. Oracle VDI Fast Preparation Is failing
10.6.5. Can I Use Wild Cards in Token Names to Represent a Group of Thin Clients in Order to Assign These Thin Clients to a Pool?
10.6.6. The Audio in My Ubuntu Desktop Is Playing Too Slowly. What Should I Do?
10.6.7. Audio Does Not Play After Changing the Audio Configuration for Oracle VM VirtualBox Hosted Desktops in Oracle VDI Manager
10.6.8. How Do I Specify USB Redirection for Sun Ray?
10.6.9. What Are the Differences Between MS-RDP and VRDP?
10.6.10. Cloning Fails if the Sysprep Timezone Setting Does not Match the Host Timezone

10.6.1. How Do I Make a Desktop Available to a User at All Times?

Make sure the user's desktop has a personal assignment instead of a flexible assignment. For more about desktop assignment types, see Section 10.6.3, “What Is the Difference Between Personal and Flexible Desktop Assignments?”.

10.6.2. Starting a Desktop Fails With "No suitable Hosts to Start a Desktop for Desktop Provider <Name>" Errors

The error 'No suitable hosts to start a desktop for Desktop Provider <ProviderName>.' indicates that there were no hosts with sufficient memory in your desktop provider.

Check the available memory on your hosts using Oracle VDI Manager under the Desktop Provider > Hosts tab.

10.6.3. What Is the Difference Between Personal and Flexible Desktop Assignments?

  • Personal Assignment: Desktops which have been personally assigned to users are owned by these users (similar to the personal computers under their desks). Thus they will never be recycled and will never become available for other users. (However, an administrator can explicitly remove the assignment and re-assign a desktop to a different user.)

  • Flexible Assignment: Desktops which have been flexibly assigned are temporarily owned by users. Once users log out of their desktops or their desktops are no longer in use, they will be recycled and become available for other users. As part of the recycle process the desktop assignment will be removed.

Personal assignments are created when you select a specific desktop in the Oracle VDI Admin GUI and assign it explicitly to a user.

If you assign a user (or a group of users) to a pool, the desktop assignments are created on demand the first time the user requests a desktop (or connects to a desktop). The type of assignment (personal or flexible) depends on the pool settings. You can configure this individually for each pool on the Pool - Settings subcategory (see the Desktop Assignment section).

In addition to the assignment type, you can also specify how each pool is filled with desktops. Here you have the choice to manually import desktops, or to clone desktops automatically from a specified template (see the Cloning subcategory).

When you create a new pool we provide default settings for the assignment and cloning configurations. For convenience, the pool wizard offer "Manual", "Dynamic", and "Growing" pool types which only differ in their default settings. You can change the pool settings at any point. The pool type is not stored anywhere - it just defines the initial pool settings and is offered as a shortcut. The main differences in the pool types are as follows:

  • Dynamic pool: Desktops are cloned from a template. Flexible desktop assignment is the default.

  • Growing pool: Desktops are cloned from a template. Personal desktop assignment is the default.

  • Manual pool: Cloning disabled (you have to manually fill this pool via importing desktops). Personal desktop assignment is the default.

Recycling of desktops will only happen for flexibly assigned desktops. This is independent from the desktop provider.

10.6.4. Oracle VDI Fast Preparation Is failing

FastPrep can fail for numerous reasons, but the most common are networking and user permissions. Always ensure that your template (and clones) can correctly resolve the domain name used. Also ensure that the domain and desktop administrators provided have the appropriate permissions.

In the event that FastPrep fails a Windows system error code is usually returned. These error codes can be checked on MSDN:

http://msdn.microsoft.com/en-us/library/ms681381(VS.85).aspx

Some examples are:

1326 = Logon failure: unknown user name or bad password.

- Check your domain administrator and password

1355 = The specified domain either does not exist or could not be contacted.

- Verify the spelling of your domain and ensure the desktop can resolve the domain name. This is typically caused by incorrect DNS settings. If using Oracle VM VirtualBox NAT networking, ensure the host has the correct DNS server in /etc/resolv.conf.

10.6.5. Can I Use Wild Cards in Token Names to Represent a Group of Thin Clients in Order to Assign These Thin Clients to a Pool?

No, but Oracle VDI defines two special tokens to assign all Sun Ray Clients or all Smart Cards to a pool.

AnySunRayClient.000 is a predefined token to assign all Sun Ray Clients (Sun Ray hardware and Oracle Virtual Desktop Client) together to a pool. The user will get a desktop from the pool if the Sun Ray Client is used without a Smart Card.

AnySmartCard.000 is a predefined token to assign all Smart Cards to a pool. The user will get a desktop from the pool if the Sun Ray Client is used with a Smart Card.

Alternatively, you can create tokens in bulk and have them associated to users by using the Oracle VDI CLI as described in Section 6.8.3, “How to Assign Tokens to Users”. Then you can make pool assignments based on existing groups of users in your user directory, or groups you would define especially for Oracle VDI installations using Custom Groups.

10.6.6. The Audio in My Ubuntu Desktop Is Playing Too Slowly. What Should I Do?

The alsa driver in the guest desktop tries to autodetect the ac97 hardware clock. This method does not work with Oracle VM VirtualBox ac97 emulation. Sometimes the driver gets results which look sane but are actually not, and calculates the clock frequency based on that, getting a wrong value. The ac97_clock option in alsa_base.conf disables autodetection.

To disable the autodetection:

  1. Run the following in the command line of the Ubuntu desktop.

    # sudo gedit /etc/modprobe.d/alsa-base.conf
  2. Add following line to the end of the alsa-base.conf file.

    options snd-intel8x0 ac97_clock=48000
  3. Restart the desktop.

10.6.7. Audio Does Not Play After Changing the Audio Configuration for Oracle VM VirtualBox Hosted Desktops in Oracle VDI Manager

If you change a desktop's configuration (for example. audio) from Oracle VDI Manager, the changes will not take effect until the desktop has been unregistered/re-registered on an Oracle VM VirtualBox host. Simply restarting the desktop from within will not result in this behavior. To force the unregister/register, choose either Power Off or Shutdown from Oracle VDI Manager and then choose Start.

10.6.8. How Do I Specify USB Redirection for Sun Ray?

You can adapt the Kiosk session parameters using the Sun Ray Admin GUI. See Section 7.2.1, “About the Oracle VDI Sun Ray Kiosk Session” and Section 7.2.2, “How to Adapt the Bundled Sun Ray Kiosk Session” for details. Add the desired drive mapping after any other uttsc specific settings: <specific settings for desktop selector> - <any other uttsc specific settings> -r disk:<drive name>=<path>

10.6.9. What Are the Differences Between MS-RDP and VRDP?

For more detailed information about the differences, refer to the Section 6.1.7, “Choosing Between VRDP and MS-RDP”.

10.6.10. Cloning Fails if the Sysprep Timezone Setting Does not Match the Host Timezone

The Sysprep process removes a template's timezone setting before cloning and uses the default Sysprep setting (GMT) instead. If the virtualization host is in a different timezone than GMT, the mismatch causes cloning to fail. The workaround for this issue is:

  1. Disable cloning in the pool's Cloning tab.

  2. Click Edit in the System Preparation section of the Cloning tab.

  3. In the Edit System Preparation window, change the TimeZone setting from 85 to the appropriate code for your timezone.

    For example, the timezone code for India Standard Time is 190.

  4. Click Save.

  5. Enable cloning in the pool and check if the problem is still reproducible.