Product Documentation

Target devices

After installing and configuring Citrix Provisioning components, a vDisk is created from a device’s hard drive by taking a snapshot of the OS and application image, and then storing that image as a vDisk file on the network. The device that is used during this process is referred to as a master target device. The devices that use those vDisks are called target devices.

Configuring target devices that use personal vDisks

Citrix XenDesktop with personal vDisk technology is a high-performance enterprise desktop virtualization solution that makes VDI accessible to workers who require personalized desktops using pooled-static virtual machines.

Target devices that use personal vDisks are created using the Citrix XenDesktop Setup Wizard. Within a Citrix Provisioning farm, the wizard creates and adds target devices with personal vDisks to an existing site’s collection and assigns an existing shared-mode vDisk to that device.

The wizard also creates virtual machines to associate with each device. A type of catalog in Citrix Desktop Studio that allows you to preserve the assignment of users to desktops (static assignment); the same users are assigned the same desktop for later sessions. In addition, the wizard creates a dedicated storage disk (before logon) for each user so they can store all personalization’s to their desktop. Personalizations include any changes to the vDisk image or desktop that are not made as a result of an image update, such as application settings, adds, deletes, modifications, documents.

Target devices that use personal vDisks can only inherit properties from another device that uses personal vDisks.

Tip:

Use the Device with Personal vDisk Properties dialog on the Provisioning Services console to configure, view, or modify the properties of a target device that uses a personal vDisk.

General tab

To update read-only fields, the device needs to be deleted and re-created with the XenDesktop Setup Wizard.

Menu option Description
Name The name of the target device or the name of the person who uses the target device. The name can be up to 15 bytes in length. However, the target device name cannot be the same as the machine name being imaged. This field is read-only. If the target device is a domain member, it should use the same name as in the Windows domain, unless that name is the same as the machine name being imaged. When the target device boots from the vDisk, the name displayed here becomes the target device machine name.
Description Provides a description to associate with this target device.
MAC The media access control (MAC) address of the network interface card that is installed in the target device. This field is read-only.
Port Displays the UDP port value. In most instances, you do not have to change this value. However, if target device software conflicts with any other IP/UDP software (that is, they are sharing the same port), you must change this value.
vDisk Name of the vDisk that this device uses. This field is read-only.
Change Use to change the vDisk assignment for this device. The Assign vDisk dialog displays with the currently assigned vDisk’s Store information. The vDisk you select must be from the same vDisk base image as the previous image.
Personal vDisk drive Drive letter from which the personal vDisk is accessed. Default is P: (range allowed is between E: to U: and W: to Z:). This field is read-only.

Personality tab

Menu option Description
Name and string There is no fixed limit to the number of names you can add. However, the maximum name length is 250 characters and the maximum value length is 1000 characters. Use any name for the field Name, but do not repeat a field name in the same target device. Field names are not case sensitive. In other words, the system interprets “FIELDNAME” and “fieldname” as the same name. Blank spaces entered before or after the field name are automatically removed. A personality name cannot start with a $. This symbol is used for reserved values such as $DiskName and $WriteCacheType.

Status tab

The following target device status information appears:

  • Status: current status of this device (active or inactive).
  • IP Address: provides the IP Address or unknown.
  • Server: the Provisioning Server that is communicating with this device.
  • Retries: the number of retries to permit when connecting to this device.
  • vDisk: provides the name of the vDisk or displays as unknown.
  • vDisk version: version of this vDisk currently being accessed.
  • vDisk full name: the full file name for the version currently being accessed.
  • vDisk access: identifies that the version is in Production (it cannot be in Maintenance or Test).
  • License information; depending on the device vendor, displays product licensing information (including; n/a, Desktop License, Datacenter License, XenApp License, or XenDesktop License).

Logging tab

Select the logging level or select Off to disable logging:

  • Off — Logging is disabled for this Provisioning Server.
  • Fatal— Logs information about an operation that the system could not recover from.
  • Error— Logs information about an operation that produces an error condition.
  • Warning— Logs information about an operation that completes successfully, but there are issues with the operation.
  • Info— Default logging level. Logs information about workflow, which generally explains how operations occur.
  • Debug— Logs details related to a specific operation and is the highest level of logging. If logging is set to DEBUG, all other levels of logging information are displayed in the log file.
  • Trace— Logs all valid operations.

Personal vDisk test mode

Use the personal vDisks test device to test vdisk updates for a device that uses personal vDisks within a test environment. Using the PvD production environment, you can then test for compatibilty with your actual environment.

Considerations

  • Personal vDisk devices can be test or production devices.
  • Provisioning Services displays an appropriate error message when trying to boot a private image or a maintenance version with a personal vDisk device. Only devices without personal vDisks disk can boot a private image or maintenance version.
  • You can change the vDisk assignment in the Provisioning Services console with these methods:
    • Change assignment with Target Device properties vDisk tab.
    • Copy and paste target device properties.
    • Drag and drop a vDisk to a collection or a view.
  • Informational warning displays when changing vDisk assignment for personal vDisk devices.
  • Changing personal vDisk device type requires additional privileges for the soap/stream services user.
    • Local administrator on the Provisioning Services server system.
    • XenDesktop full administrator.
    • Full permission to the XenDesktop database (this is a XenDesktop requirement).
  • For merging, Provisioning Services automatically reboots devices and personal vDisk runs inventory when needed.
  • Citrix recommends that you dedicate a small group of personal vDisk devices for test mode in their own catalog. Also, keep this desktop group in maintenance mode when not used; otherwise, XenDesktop power management is in control and turns devices on and off. This might potentially interfere with merging.
  • By default, Studio does not show the personal vDisk stage. You should add that column.
  • The personal vDisks test mode environment requires that two catalogs are available: one for personal vDisk test devices and the other for personal vDisk production devices. If you want to use this feature in an environment where both personal vDisk test and production devices exist in one catalog, changing a production personal vDisk device to test causes all devices in that catalog to reboot. Change the production personal vDisks devices to test devices before creating any test version vDisk.

Assign or reassign a vDisk to a target device that uses a personal vDisk

You can assign a different vDisk to a target device that uses a personal vDisk if that vDisk is from the same base (.vhdx) vDisk lineage. For example, to update an existing vDisk you can make a copy of the target device’s currently assigned vDisk, update the new vDisk, then assign the updated vDisk to the device.

To assign or reassign a vDisk:

  1. On the Device with Personal vDisk Properties dialog’s General tab, click Change…. By default, the Assign vDisk dialog displays with the current vDisks Store location and lists all vDisks available from that Store, with the exception of the currently assigned vDisk.
  2. In the Filter section, you have the option to:

    a. Change the Store location from which to select vDisks from.

    b. Filter vDisks that display in the list based on the server’s that can deliver them.

  3. Select the vDisk to assign to this target device.

Adding target devices to the database

To create new target device entries in the Provisioning Services database, select one of the following methods:

  • Using the Console to Manually Create Target Device Entries
  • Using Auto-add to Create Target Device Entries
  • Importing Target Device Entries

After the target device exists in the database, you can assign a vDisk to the device. Refer to assign a vDisk to the device for more details.

Using the Console to manually create target device entries

  1. In the Console, right-click on the Device Collection where this target device is to become a member, then select the Create Device menu option. The Create Device dialog appears.
  2. Type a name, description, and the MAC address for this target device in the appropriate text boxes.

    Note:

    If the target device is a domain member, use the same name as in the Windows domain. When the target device boots from the vDisk, the machine name of the device becomes the name entered. For more information about target devices and Active Directory or NT 4.0 domains, refer to “Enabling Automatic Password Management”.

  3. Optionally, if a collection template exists for this collection, you have the option to enable the checkbox next to Apply the collection template to this new device.
  4. Click the Add device button. The target device inherits all the template properties except for the target device name and MAC address.
  5. Click OK to close the dialog box. The target device is created and assigned to a vDisk.

Importing target device entries

Target device entries can be imported into any device collection from a .csv file. The imported target devices can then inherit the properties of the template target device that is associated with that collection. For more details, refer to Importing Target Devices into Collections.

Using the Auto-Add Wizard

The Auto-Add Wizard automates the configuration of rules for automatically adding new target devices to the Provisioning Services database using the Auto-Add feature.

The Auto-Add Wizard can be started at the Farm, Site, Collection or Device level. When started at a level lower than Farm, the wizard uses that choice as the default choice. For example, if it is started on a particular target device, it will:

  • Select the Site for that Device as the Default Site choice in the combo-box.
  • Select the Collection for that Device as the Default Collection choice in the combo-box.
  • Select that Device as the Template Device choice in the combo-box.

The wizard displays each page with choices pre-selected based on the location that the Auto-Add Wizard was started from.

A Farm Admininistrator has the ability to turn Auto-Add on or off and to select the default Site.

A Site Admininistrator only has the ability to select the default site if the current default site is a site in which that administrator is the Site Administrator. If the Site Administrator is not the Administrator of the currently selected default Site, then that administrator can only configure the sites they has access to.

To configure Auto-Add settings (the default collection of a site, template device for the default collection and target device naming rules):

  1. On the Console, right-click on the farm, then select the Auto-Add wizard. The Welcome to the Auto-Add Wizard page appears.

  2. Click Next. The Enable Auto-Add dialog appears.

    Note:

    Only a farm administrator can change settings on this page.

  3. Check the box next to Enable Auto-Add to enable this feature, then click Next. The Select Site page appears.

    Note:

    Site administrators can only select sites to which they have permissions.

  4. From the Site drop-down list, select the site where devices should be added, then select Next. The Select Collection page displays with the default collection selected.

  5. Accept the default collection or select a different collection from the Collection drop-down list, then click Next. The Select Template Devices page appears.

  6. Select the device to use as a template, so that new devices being added will inherit the existing target device’s basic property settings, then click Next.

  7. To view the selected device’s properties, click Properties. A read-only dialog displays the selected device’s properties. Close the dialog after reviewing the properties.

  8. Click Next. The Device Name page displays.

  9. Enter a static prefix that helps identify all devices that are being added to this collection. For example: ‘Boston’ to indicate devices located in Boston.

    Note:

    The prefix can be used in combination with the suffix, but is not required if a suffix is provided. The entire device name can have a maximum of 15 characters (the prefix length + number length + suffix length). For example, the following device names are considered valid:

    • Boston000Floor2 (prefix, incrementing number length, and suffix provided; the maximum of 15 characters has been reached)
    • Boston000 (no suffix is provided)
    • 000Floor2 (no prefix is provided)

    The prefix cannot end with a digit.

  10. Enter the length of the incrementing number to associate with the devices being added to this collection. This number is incremented as each device is added. For example, if the number length is set to ‘3’, Provisioning Services starts naming at ‘001’ and stops naming or adding devices after the number reaches ‘999’.

Note:

Enable the Zero fill option to automatically add the necessary number of preceeding zeros to a numbers length. For example, if the numbers length is set to ‘4’, than the first target device number would be assigned as ‘0001’.

The number length must have a minimum of three digits and a maximum of 9 digits.

Enter a static suffix that helps to identify all devices being added to this collection. For example: Boston001Floor2 might be helpful to indicate the floor where these devices reside.

The suffix can be used in combination with the prefix, but is not required if a prefix is provided.

The entire device name can have a maximum of 15 characters (the prefix length + number length + suffix length).

The suffix cannot start with a digit.

The prefix and suffix combination must be unique in each collection.

1.Click Next. The Finish dialog appears.

1.Review all Auto-Add wizard settings, then click Finish. Auto-Add is now configured.

Disabling a target device

The Disable Target Device feature prevents a new target devices from booting. When enabled, each time a new target device boots, if the Auto-add option is enabled, a new record is automatically created in the database and the following message appears on the target device:

This target device has been disabled. Please Contact your system administrator.

Once contacted, the system administrator can validate the target device. After the administrator disables the option, the target device can boot successfully.

To disable or enable a target device, in the Console, right-click on the target device, then select the Disable or Enable menu option.

Tip:

To disable all target devices as they are added to a collection, enable the Disable target device option on the template target device.

Deleting a target device

To delete a target device:

  1. In the Console, right-click on the target devices you want to delete within the collection (multiple selections can be made in the Details view), then select the Delete menu option.
  2. Click Yes to confirm the delete request. The target device is deleted from the collection and any associated views. However, the vDisk image file for the target device still exists.