Citrix Provisioning

Using the Streamed VM Setup Wizard

The Citrix Provisioning Streamed VM Setup Wizard deploys a streamed virtual disk to several cloned virtual machines (VMs).

Use the wizard to:

  • Create VMs on a supported hosted hypervisor from an existing template:
    • Citrix Hypervisor
    • Hyper-V via SCVMM
    • ESX via vCenter
  • Create Citrix Provisioning target devices within a collection
  • Assign a virtual disk image that is in standard image mode to the VMs

Before running the wizard, be sure that the following prerequisites are met:

  • One or more hypervisor hosts exist with a configured template.

  • A Device Collection exists in the Citrix Provisioning site.

  • A virtual disk in standard image mode exists, associated with the selected VM template.

  • Template VM Requirements:

    • Boot order: Network/PXE first in list (as with physical machines).

    • Hard disks: If using local write cache, an NTFS formatted disk large enough for the cache must exist. Otherwise, no hard disks are required.

    • 网络:静态的MAC地址。如果使用Citrix忧郁ervisor, address cannot be 00-00-00-00-00-00

  • The Citrix Provisioning console user account was added to a provisioning site admin group or above.

  • When creating accounts in the console, you need permissions to create the Active Directory account. To use an existing one, consider that the Active Directory account must exist in a known OU for selection.

  • If you are importing an Active Directory .CSV file, use the following format:,,. The .CSV file must contain the column header. For example:

    Name,Type,Description,

    PVSPC01,Computer,,

    The trailing comma must be included to signify three values, even if there is no description. This method is the same formatting used by Active Directory Users and Computers MMC when exporting the contents of an organizational unit.

  • If you are running a vCenter server on alternate ports, the following registry modifications must be made to connect to it from Citrix Provisioning:

    • Create a new keyHKLM\Software\Citrix\CitrixProvisioning\PlatformEsx

    • Create a string in thePlatformEsxkey named服务器ConnectionStringand set it tohttp://{0}:PORT\#/sdk

      Note:

      If you are using port 300, ServerConnectionString=http://{0}:300/sdk

This wizard creates VMs, associates Citrix Provisioning target devices to those VMs, and assigns a shared virtual disk to them.

The wizard is run directly from a Citrix Provisioning console.

  1. Right-click on the坐eicon in theConsoletree panel, then select theStreamed VM Setup Wizard…menu option. TheWelcome to the Streamed VM Setup Wizarddialog appears.

  2. ClickNextto begin the setup.

  3. 选择虚拟机监控程序连接的类型,然后enter the required connection credentials.

  4. ClickNextto verify the connection.

    Note:

    For convenience, the most recently used hypervisor and user name are cached in the registry of the local machine running this instance of the provisioning console.

    XenServer 5.5 Update 2 hypervisors are not supported in the 5.6.1 Streamed VM Setup Wizard. System Center Virtual Machine Management (SCVMM) servers require PowerShell 2.0 to be installed.

  5. Optional. On theHypervisor clusterscreen, select the hypervisor host or cluster to host the VMs, then clickNext.

  6. Select one VM template from the specified host, then clickNext.

  7. On theCollection and vDiskpage, select the collection in which to add VMs.

  8. Select a single shared virtual disk within to assign to VMs within that collection, then clickNext.

  9. Set the number of VMs to create, the number of vCPUs, and the amount of Memory used by each new virtual machine.

  10. Select the radio button next to one of the following methods, then clickNext:

    • Create accounts
    • Import existing accounts

    Note:

    The Active Directory administrator must delegate rights to the Citrix Provisioning console user to allow Active Directory account creation.

    The domain and OU default to those rights of the current user.

    New computer names that are created are first validated that they do not exist as computers in Active Directory, VMs, or target devices.

    Citrix Provisioning supports provisioning of target devices in untrusted domains.

    If the domain is not trusted, underDomain Authentication, do the following:

    1. SelectDomain requires additional credentials.
    2. Enter the domain name, username, and password for the untrusted domain.
    3. ClickTest the credentials. This action validates the domain name and the credentials.
    4. After you get a green check mark, proceed to the next page.

    Untrusted domain

  11. If theCreate new accountsmethod is selected:

    • ClickNext. The Active Directory accounts and location screen appears.
    • Select the appropriate domain from theDomainmenu, then select from the OUs listed for that Domain.
    • In theAccount naming schememenu, select a valid naming scheme consisting of at least one hash symbol (#) that is 15 characters or less. Also, select a number/character fill option that dynamically replaces the hash symbols in the specified naming scheme, incrementing by one for each VM as they are created.

    IfImport existing accountsis selected:

    • ClickNext. The Active Directory accounts and location page appears.
    • ClickBrowseto browse for an Active Directory Organizational Unit to import Active Directory account names, or clickImportto import account names from a CSV file.

    Note:

    The Required count displays the number of virtual machines previously specified to be created. TheAdded countdisplays the number of validated entries added to the list.

  12. Review all configuration settings, and then clickNextto confirm and finish configurations.

    Note:

    ClickingCancelcancels the configuration of any additional machines, and the quantity of successfully configured machines displays under the Progress bar. Progress is retained if the wizard fails or is canceled in the middle of an operation. Cleanup existing progress manually, which includes removing the following:

    • Citrix Provisioning target devices created in the selected collection.
    • VMs created in any of the selected hosts hypervisors.
    • Active Directory computer accounts that were created.

Important:

When using the setup wizard to specify names associated with storage devices, do not use a comma. Citrix Virtual Apps and Desktops retains names associated with storage devices, separated by commas. For example, Storage 1, Storage 2, Storage 3. If a storage name includes a comma, for instance,Storage1,East, Citrix Provisioning erroneously recognizes it as two separate storage devices.

Tip:

有可能从si移动目标设备te to site might cause them to be deleted in the future. This risk increases if the target device was created using the Streamed VM Setup Wizard. Citrix recommends that you avoid moving target devices from site to site.

Using the Streamed VM Setup Wizard

In this article