Citrix CCA-V: Managing – Notes2

Manage Device Collections, Target Devices, and vDisks

Convert Private Mode vDisk to Standard Mode vDisk

Power down the VM to remove the lock associated with the VM.  In the Provisioning Services Console open the vDisk Properties and change Access Mode from Private Image to Standard Image.

Automation process for creating multiple VMs for Machine Catalog

Launch Streamed VM Setup Wizard

  • Requirements: Hypervisor connection and plate VM
  • Existing Provisioning Services Device Collection
  • A standard-mode vDisk for the selected VM template

A template VM in XenServer needs to be created prior because a container needs to exist for the settings that correspond with VM hardware.

In XenCenter:

  1. Create new VM.
  2. Name it Master Template
  3. Boot from Network
  4. Diskless VM
  5. Do not start automatically
  6. Convert to Template

In Provisioning Services Console:

  1. Launch Streamed VM Setup Wizard
  2. Hypervisor connection to Citrix XenServer (or other Hypervisor)
  3. Select template
  4. Select vDisk
  5. Identify Collection
  6. Select number of VMs to create
  7. Choose to Create New Accounts in AD
  8. Choose proper AD OU and specify naming scheme (pvsdesktop##)

Process takes less than MCS.

In Citrix Studio Create Machine Catalog that interfaces with Provisioning Services:

  1. Create Machine Catalog
  2. Desktop OS Catalog
  3. Citrix Provisioning Services
  4. Choose Random Desktop
  5. Identify Provisioning Services server to connect to
  6. Identify Site and Collection
  7. Name Machine Catalog
  8. Associate with Delivery Group to deliver desktops to users

To add machines at a later time, run the Streamed VM Setup Wizard and add additional VMs.  Afterward, add them in Citrix Studio Machine Catalog.

Automation using XenDesktop Setup Wizard – create VMs in Provisioning Services and create Machine Catalogs in Citrix Studio

XenDesktop Setup Wizard can be launched in Provisioning Services Console under Site.

Requirements:

  1. XenDesktop Controller with permissions for current user
  2. Configured XenDesktop Host Resources
  3. Standard-mode vDisk for the selected VM template

Steps:

  1. Launch XenDesktop Setup Wizard
  2. Connect to XenDesktop Controller
  3. Select XenDesktop Host Resources
  4. Select VM template and identify VDA version
  5. Choose the vDisk
  6. Create a new catalog or use an existing catalog
  7. Select the number of machines to create
  8. Choose the boot mode
  9. Select the AD OU

 

Update Tasks

vDisk Update Management Tool – to be discussed later

Updating a Base vDisk in Provisioning Services Console

  • Create new vDisk Version – Creating a new vDisk Version, creates a new differencing disk off of the base disk.

The differencing disk becomes a location on which to apply changes to.

The new version is created as a maintenance version.

  • In device collections, a target device can be selected and the Type can be changed from Production to Maintenance.  Once the VM is started up, it provides a menu from which to boot into maintenance mode.  The VM is then operating off of the differencing disk.  It provides for changes without impacting the base disk used by other users.
  • After updating the VM it should be powered down.
  • In Provisioning Services vDisk Pool, there are now two version.  The maintenance version has been updated.  Click Promote to Test or promote it to Production.  The base version still exists.  Users need to reboot the VM to be using the new version.  Once all VMs have been rebooted, the Merge function is used to get rid of unnecessary .vhd files by selecting Merged Base  and Production.

The two previous versions will have a red X and can be kept in case you need to revert back.

 

 

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s