A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://docs.citrix.com/en-us/citrix-virtual-apps-desktops/install-configure/machine-catalogs-manage below:

Manage machine catalogs | Citrix Virtual Apps and Desktops 7 2503

Manage machine catalogs

Note:

You can manage your Citrix Virtual Apps and Desktops deployment using two management consoles: Web Studio (web-based) and Citrix Studio (Windows-based). This article covers only Web Studio. For information about Citrix Studio, see the equivalent article in Citrix Virtual Apps and Desktops 7 2212 or earlier.

Introduction

You can add or remove machines from a machine catalog, rename, change the description, or manage a catalog’s Active Directory computer accounts.

Maintaining catalogs can also include making sure that each machine has the latest OS updates. Including antivirus updates, operating system upgrades, or configuration changes.

For information about creating and managing connections to host hypervisors, see Connections and resources.

Note:

MCS does not support Windows 10 IoT Core and Windows 10 IoT Enterprise. Refer to the Microsoft site for more information.

About persistent instances

When updating an MCS catalog created using persistent, or dedicated instances, any new machines created for the catalog use the updated image. Pre-existing instances continue to use the original instance. The process of updating an image is done the same way for any other type of catalog. Consider the following:

Manage machine catalogs

You can manage a machine catalog in two ways:

Use Web Studio

This section details how you can manage catalogs using Web Studio:

View catalog details
  1. Use the search function to locate a specific machine catalog. Refer to Search for instances for instructions.
  2. From the search results, select a catalog as necessary.
  3. Refer to the following table for descriptions of the catalog columns.
  4. Click a tab in the bottom details pane for more information about this catalog.
Column Description Machine Catalog The name and the allocation type of the catalog. Allocation types include:
  • Random: Machines in the catalog are allocated to a user randomly.
  • Permanent: Machines in the catalog are allocated to a user permanently.
  • Machine Type The supported session type of the machines in the catalog. Possible values include:
  • OS type: Multi-session OS (Virtual); User data: Discard.
  • OS type: Multi-session OS (Virtual); User data: On local disk
  • OS type: Single-session OS (Remote PC Access)
  • OS type: Single-session OS (Virtual); User data: Discard
  • OS type: Single-session OS (Virtual); User data: On local disk
  • Machine Count The machine count in the catalog and the provisioning method. Possible provisioning methods include: Machine creation services (MCS machine), Manual, and Citrix provisioning services. Allocated Count The number of machines in the catalog assigned to a delivery group. Folder The location of the catalog within the Machine Catalogs tree. It displays the name of the folder that the catalog is in (including the trailing backslash), or - if the catalog is at the root level. VDA Upgrade VDA Upgrade State. Possible values include: Not configured, Scheduled, Available, and Up to date. Image Status The image update status of the catalog. Applicable only to non-persistent machine catalogs. Possible values include: Fully updated, Partially updated, Pending updates, Preparing Add machines to a catalog

    Before you start:

    To add machines to a catalog:

    1. Sign in to Web Studio.
    2. Select Machine Catalogs in the left pane.
    3. Select a machine catalog and then select Add machines in the action bar.
    4. Select the number of virtual machines to add.
    5. If there are insufficient existing Active Directory accounts for the number of VMs you are adding, select the domain and location where the accounts are created. Specify an account naming scheme, using hash marks to indicate where sequential numbers or letters appear. Do not use a forward slash (/) in an OU name. A name cannot begin with a number. For example, a naming scheme of PC-Sales-## (with 0-9 selected) results in computer accounts named PC-Sales-01, PC-Sales-02, PC-Sales-03, and so on.
    6. If you use existing Active Directory accounts, either browse to the accounts or click Import and specify a .csv file containing account names. Make sure that there are enough accounts for all the machines you’re adding. Web Studio manages these accounts. Either allow Web Studio to reset the passwords for all the accounts, or specify the account password, which must be the same for all accounts.

    The machines are created as a background process, and can take much time when creating many machines. Machine creation continues even if you close Web Studio.

    Delete machines from a catalog

    After you delete a machine from a machine catalog, users can no longer access it, so before deleting a machine, ensure that:

    To delete machines from a catalog:

    1. Sign in to Web Studio.
    2. Select Machine Catalogs in the left pane.
    3. Select a catalog and then select View Machines in the action bar.
    4. Select one or more machines and then select Delete in the action bar.

    Choose whether to delete the machines being removed. If you choose to delete the machines, indicate if the Active Directory accounts for those machines are kept, disabled, or deleted.

    Edit a catalog
    1. On the Description page, change the catalog description.
    2. Select Machine Catalogs in the left pane.
    3. Select a catalog and then select Edit Machine Catalog in the action bar.
    4. On the Scopes page, change the scopes.
    5. On the NIC page, perform the following actions:

      Only those subnets present in the host associated with the catalog appear in the Associated Network field.

      You can only add NIC to Azure machine catalogs without machine profiles.

      Note:

      • For AWS machine catalogs, you cannot map the same subnet to more than one NIC.
      • For machine catalogs with machine profiles, the number of NICs on the catalog must be equal to the number of NICs on the machine profile.
      • This feature is not supported for IBM Cloud hypervisors.
      • This feature is supported only for Nutanix Prism Element in case of Nutanix hypervisors.
    6. You might see other pages depending on the catalog type.

      For catalogs created using an Azure Resource Manager image, the following pages are visible. Keep in mind that changes you make apply only to machines you add to the catalog later. Existing machines remain unchanged.

      Note:

      If the newly selected setting doesn’t support the current machine size, a warning dialog box appears, informing you that changing the setting resets the machine size setting. If you choose to continue, a red dot appears next to the Virtual Machines menu, prompting you to select a new machine size.

      For Remote PC Access catalogs, the following pages are visible:

    7. Click Apply to apply the changes you made and click Save to exit.
    Rename a catalog
    1. Sign in to Web Studio.
    2. Select Machine Catalogs in the left pane.
    3. Select a catalog and then select Rename Machine Catalog in the action bar.
    4. Enter the new name.
    Move a catalog to a different zone

    If your deployment has more than one zone, you can move a catalog from one zone to another.

    Moving a catalog to a different zone, other than the hypervisor containing the VMs in that catalog, affects performance.

    1. Sign in to Web Studio.
    2. Select Machine Catalogs in the left pane.
    3. Select a catalog and then select Move in the action bar.
    4. Select the zone where you want to move the catalog.
    Delete a catalog

    Before deleting a catalog, ensure that:

    To delete a catalog:

    1. Sign in to Web Studio.
    2. Select Machine Catalogs in the left pane.
    3. Select a catalog and then select Delete Machine Catalog in the action bar.
    4. Indicate whether the machines in the catalog are deleted. If you choose to delete the machines, indicate whether the Active Directory computer accounts for those machines are retained, disabled, or deleted.
    Convert legacy MCS catalogs in Azure to machine profile-based catalogs

    To convert a non-machine profile-based machine catalog to a machine profiled-based machine catalog, complete the following steps:

    1. On the Machine Catalogs page, right-click the Machine Catalog name that you want to convert, and then select Edit Machine Catalog.
    2. On the Edit Machine Catalog > Machine Profile page, select the Use a machine profile (mandatory for Azure Active Directory) check box.
    3. Click Select a machine profile.
    4. On the Select a machine profile page, select a virtual machine or launch template to use as a machine profile.
    5. If some current settings differ from the new machine profile settings, select the required option for the settings you want to use and click Continue.
    6. Click Apply.

    Note:

    Currently, this feature is supported only for Azure, AWS, and VMware.

    Manage Active Directory computer accounts in a catalog

    To manage Active Directory accounts in a machine catalog, you can:

    To manage Active Directory accounts:

    1. Sign in to Web Studio.
    2. Select Machine Catalogs in the left pane.
    3. Select a catalog and then select Manage AD accounts in the action bar.
    4. Choose whether to add or delete computer accounts. If you add accounts, specify what to do with the account passwords: either reset them all or enter a password that applies to all accounts.

      You might reset passwords if you do not know the current account passwords; you must have permission to perform a password reset. When entering a password, the password is changed on the accounts as they are imported. When deleting an account, choose whether the account in Active Directory is kept, disabled, or deleted.

    Indicate if Active Directory accounts are retained, disabled, or deleted when you remove machines from a catalog or delete a catalog.

    Update a catalog

    We recommend that you save copies or snapshots of master images before updating the machines in the catalog. The database keeps a historical record of the master images used with each machine catalog. Roll back, or revert, machines in a catalog to use the previous version of the master image. Perform this task if users encounter problems with updates you deployed to their desktops. This minimizes user downtime. Do not delete, move, or rename master images. You cannot revert a catalog to use them.

    After a machine is updated, it restarts automatically.

    Update or create a master image

    Before you update the machine catalog, either update an existing master image or create one on your host hypervisor.

    1. On your hypervisor, take a snapshot of the current VM and give the snapshot a meaningful name. This snapshot can be used to revert (roll back) machines in the catalog, if needed.
    2. If necessary, power on the master image, and log on.
    3. Install updates or make any required changes to the master image.
    4. Power off the VM.
    5. Take a snapshot of the VM. Give it a meaningful name that is recognized when the catalog is updated in Web Studio. Although Web Studio can create a snapshot, Citrix recommends that you create it using the hypervisor management console. Then select that snapshot in Web Studio. This process enables you to provide a meaningful name and description rather than an automatically generated name. For GPU master images, you can change the master image only through the XenServer console.
    Change the master image

    To prepare and roll out the update to all machines in a catalog:

    1. Sign in to Web Studio.
    2. Select Machine Catalogs in the left pane.
    3. Select a catalog and then select Change Master Image in the action bar.
    4. On the Image page, select the host and the image you want to roll out.

      Tip:

      For an MCS-created catalog, you can annotate its image by adding a note for the image. A note can contain up to 500 characters. Each time you change the master image, a note-related entry is created whether you add a note. If you update a catalog without adding a note, the entry appears as null (-). To view note history for the image, select the catalog, click Template Properties in the low pane, and then click View note history.

    5. On the Rollout Strategy page, choose when the machines in the machine catalog are updated with the new master image: on the next shutdown or immediately.

      Note:

      The Rollout Strategy page is not available for persistent VMs because rollout is only applicable to non-persistent VMs.

    6. Verify the information on the Summary page and then click Finish. Each machine restarts automatically after it is updated.

    To track the update progress, locate the catalog in Machine Catalogs to view the inline progress bar and the step-by-step progress graph.

    When updating a catalog using PowerShell SDK directly, rather than Web Studio, specify a hypervisor template (VMTemplates). Use this as an alternative to an image or a snapshot of an image.

    To roll out a new master image to Azure based machine catalog:

    1. From Web Studio, select Machine Catalogs in the left pane.
    2. Select an Azure catalog and then select Change Master Image in the action bar.
    3. On the Change Master Image page, select an image under Master image. The blade lists all the images that belong to the same region as those of Resources.

    Rollout strategy:

    Updating images on the next shutdown will immediately affect any machines not currently in use, that is, machines that do not have an active user session. A system that is in use receives the update when the current active session ends. Consider the following:

    Tip:

    Limit the number of machines being rebooted by using the advanced settings for a host connection. Use these settings to modify the actions taken for a given catalog; advanced settings vary depending on the hypervisor.

    Roll back the master image

    After you roll out an updated or new master image, you can roll it back. This process might be necessary if issues occur with the newly updated machines. When you roll back, machines in the catalog are rolled back to the last working image. Any new features that require the newer image are no longer available. As with the rollout, rolling back a machine includes a restart.

    1. Sign in to Web Studio.
    2. Select Machine Catalogs in the left pane.
    3. Select the catalog and then select Roll Back Master Image in the action bar.
    4. Specify when to apply the earlier master image to machines, as described in the preceding section for the rollout operation.

    The rollback is applied only to machines that need to be reverted. Machines that are not updated with the new or updated master image do not receive notification messages and are not forced to log off.

    To track the rollback progress, locate the catalog in Machine Catalogs to view the inline progress bar and the step-by-step progress graph.

    Change the functional level or undo the change

    Change the functional level for the machine catalog after you upgrade the VDAs on the machines to a newer version. Citrix recommends upgrading all VDAs to the latest version to enable access to all the newest features.

    Before changing the functional level for a machine catalog:

    To change the functional level for a catalog:

    1. Sign in to Web Studio.
    2. Select Machine Catalogs in the left pane.
    3. Select the catalog. The Details tab in the lower pane displays version information.
    4. Select Change Functional Level. If Web Studio detects that the catalog needs upgrading, it displays a message. Follow the prompts. If one or more machines cannot be upgraded, a message explains why. To ensure that all machines function properly, Citrix recommends you resolve machine issues before clicking Change to proceed.

    After the catalog change completes, you can revert the machines to their previous VDA versions by selecting the catalog and then selecting Undo Functional Level Change in the action bar.

    Clone a catalog

    Before cloning a catalog, be aware of the following considerations:

    Note:

    If you select an Azure catalog to clone and select a Master image, the blade lists all the images that belong to the same region as those of Resources.

    1. Sign in to Web Studio, and then select Machine Catalogs in the left pane.
    2. Select a catalog and then select Clone in the action bar.
    3. In the Clone Selected Machine Catalog window, view the settings for the cloned catalog and configure settings as applicable. Select Next to proceed to the next page.
    4. On the Summary page, view a summary of the settings and select Finish to start cloning.
    5. If necessary, select Hide progress to run the cloning in the background.
    Organize catalogs using folders

    You can create folders to organize catalogs for easy access. For example, you can organize catalogs by image type or by organization structure.

    Tip:

    You can set your preferred default view (folder or list view) for the Machine Catalogs node by clicking the Folder icon in the upper right of the action bar.

    Create a catalog folder

    Before you start, first plan how to organize your catalogs. Consider the following:

    To create a catalog folder, follow these steps:

    1. Select Machine Catalogs in the left pane.
    2. In the folder hierarchy, select a folder and then select Create Folder in the Action bar.
    3. Enter a name for the new folder, and then click Done.

    Tip:

    If you create a folder in an unintended location, you can drag it to the correct location.

    Move a catalog

    You can move a catalog between folders. Detailed steps are as follows:

    1. Select Machine Catalogs in the left pane.
    2. View catalogs by folder. You can also turn on View all above the folder hierarchy to view all catalogs at a time.
    3. Right-click a catalog and then select Move Machine Catalog.
    4. Select the folder to which you want to move the catalog, and then click Done.

    Tip:

    You can drag a catalog to a folder.

    Manage catalog folders

    You can delete, rename, and move catalog folders.

    You can delete a folder only if it and its subfolders don’t contain catalogs.

    To manage a folder, follow the below steps:

    1. Select Machine Catalogs in the left pane.
    2. In the folder hierarchy, select a folder, and then select an action in the Action bar as needed:

    3. Follow onscreen instructions to complete the remaining steps.
    Retry catalog creation

    Note:

    This feature applies only to MCS catalogs.

    Failed catalogs are marked with an error icon. To see the details, go to the Troubleshoot tab of each catalog. Before retrying catalog creation, be aware of the following considerations:

    To retry creating a catalog, do the following:

    1. From Web Studio, select Machine Catalogs in the left pane.
    2. Select the catalog and then go to its Troubleshoot tab.
    3. Click the retry hyperlink to retry creating the catalog.
    4. In the wizard that appears, change settings where necessary. If there is no need to make changes, you can go to the Summary page directly.
    5. After you finish, select Finish to start the creation.
    Enroll non-MCS provisioned VDAs using tokens

    You can now generate and manage enrollment tokens for non-MCS-provisioned VDAs. This implementation allows VDA registration over WebSocket without provisioning the VDAs with MCS. This feature also supports Linux Virtual Delivery Agent, Citrix Virtual Delivery Agent for macOS, and non-domain joined VDAs with Citrix Virtual Apps and Desktops.

    Before you begin
    1. Configure your site. For more information, see Create a site.
    2. Install TLS certificates on the Delivery Controllers. For more information, see Install TLS server certificates on Controllers.
    3. Install root CA and intermediate CA on VDA to trust the Delivery Controller.
    4. Enable WebSocket connection on the Delivery Controller. Run the following command on each Delivery Controller present on your site:

      New-ItemProperty "HKLM:\SOFTWARE\Citrix\DesktopServer\WorkerProxy" -Name "WebSocket_Enabled" -PropertyType "DWord" -Value 1 -Force
      <!--NeedCopy-->
      

      Note:

      Ensure that you restart the Delivery Controllers after enabling the WebSocket.

    Generate enrollment tokens

    After you decide to enable token-based enrollment for non-Citrix provisioned machines, you must first generate tokens on a per-machine catalog basis, and then share them with VDA installation administrators.

    An enrollment token features:

    To generate a token for a catalog using Web Studio, follow these steps:

    1. In Web Studio > Machine Catalogs, locate a non-MCS-provisioned catalog, which has Provisioning method: Manual displayed in the Machine Count column.
    2. Right-click the catalog, and then select Manage Enrollment Tokens.
    3. On the Generate enrollment token page that appears, provide the following token information:
    4. Click Generate.
    5. In the Token successfully generated window that appears, copy the token and save it in a safe place, or click Download to download it to the Downloads folder.

      A token record appears in the token list.

    6. Share the token with VDA installation administrators.

      For more information about how to install VDA and a token on machines, see Install VDAs.

    Manage tokens

    You have two options to revoke a token and make it unavailable for VDA enrollment:

    Note:

    Expired tokens are automatically deleted in 14 days.

    Enroll machines to catalogs using the WebSocket VDA enrollment tool

    The WebSocket VDA enrollment tool facilitates token-based enrollment for VDA machines. This tool helps you convert a connection to a WebSocket connection by adding the VDA to the machine catalog using the enrollment token.

    Note:

    This tool is designed to enroll VDA machines that haven’t been enrolled in any machine catalog.

    Follow the instructions to run the enrollment tool:

    1. Log in to the VDA.
    2. Locate the tool EnrollMachine.exe, in C:\Program Files\Citrix\Virtual Desktop Agent\Web Socket Vda Enrollment Tool.
    3. Run the tool with the appropriate input parameters. For example, EnrollMachine.exe -websocket_token_string:xxxxxxxxx

    The following table describes the input parameters of the enrollment tool:

    Parameter Name Required Description Example -websocket_token_stdin Yes Reads the enrollment token. .\EnrollMachine.exe -websocket_token_stdin -websocket_token_string Reads the enrollment token directly from the command line parameter. .\EnrollMachine.exe -websocket_token_string:<token> -websocket_token_file:[token-file-path] Reads the enrollment token from the path provided. .\EnrollMachine.exe -websocket_token_file:C:\token\test2.txt log:[log-file-path] No Shows the Enrollment tool logs. .\EnrollMachine.exe log:[C:\ProgramData\Citrix\EnrollMachine\EnrollMachine.txt] -help No Shows a brief help text. .\EnrollMachine.exe -help

    After successful enrollment, you will receive a success message on the tool and in the logs. Ensure to sign in to the Web Studio to verify that the VDA machine is added to the catalog and that the status of the machine is registered.

    Troubleshooting

    By default, you can find the logs of the enrollment tool at:

    C:\ProgramData\Citrix\EnrollMachine\EnrollMachine.txt

    If you have specified a different path for the logs, you can use log:[log-file-path] to retrieve your logs.

    The following table lists the codes returned by the enrollment tool:

    Code String Description 0 Success VDA is successfully added to the machine catalog. -1 InvalidArgument The input parameter in the enrollment token is invalid. -2 BrokerAgentNotFound The broker agent service is not found. -3 TokenInvalid The token entered is invalid. -4 TokenMissingRequiredClaims The required claims for the token are missing, for example, CustomerId, or Enrollment URIs. -5 InternalError A general error has occurred. -6 TimedOut The task has timed out. -7 FailedToDetermineMachineADJoinedStatus The service that returns the machine AD joined status failed. -8 ADMachineFailedToFindSid The service that returns the AD machine Sid failed. -9 EnrollRequestFailed The request failed due to an HTTP error. -10 EnrollResponseMissingRequiredFields The enrollment tool response is missing the parameter VirtualSiteId. -11 InsufficientPermission You do not have the required permission to run the task. -12 FailedToDetermineMachineAadJoinedStatus The service that checks the machine AD join status throws an error. -13 AadMachineFailedToFindDeviceId The additional parameter AAD device id added by the system is empty. -14 AadDeviceIdNotValid The additional parameter AAD device id added by the system is not a valid guid. -15 NoValidMacAddress Invalid MAC address. -16 FailedToGetComputerHostNameForVdaInstanceName Failed to get the computer host name to set the additional parameter VdaInstanceName. -17 VirtualDesktopAgentRegistryKeyFailedToOpen Failed to open the VDA registry key to write the list of Delivery controllers. -18 Failed Token reached the max count Failed Token reached the max count. Use PowerShell

    This section details how you can manage catalogs using PowerShell:

    Retrieve warnings and errors associated with a catalog

    You can get historical errors and warnings to understand issues with your MCS machine catalog and fix those issues.

    Using PowerShell commands, you can:

    To run the PowerShell commands:

    1. Open a PowerShell window.
    2. Run asnp citrix* to load the Citrix-specific PowerShell modules.

    To get a list of errors and warnings:

    Run Get-ProvOperationEvent command.

    To change the state of errors or warnings from New to Acknowledged:

    Run Confirm-ProvOperationEvent command.

    To delete the errors or warnings:

    Run Remove-ProvOperationEvent command.

    For more information, see Citrix PowerShell SDK.

    Delete machines without hypervisor access

    When deleting a VM or a provisioning scheme, MCS needs to remove tags from the VM, and sometimes from the base disk as well, so that the resources included in the deletion options are no longer tracked or identified by MCS. However, some of these resources are only accessible through hypervisor. Use the PurgeDBOnly option in Remove-ProvVM PowerShell to delete VM resource objects such as VM, base disk, image in ACG, and so on from the database even when there is no hypervisor access.

    This option is enabled on:

    Limitations

    You cannot use the commands -PurgeDBOnly and -ForgetVM at the same time.

    Use the PurgeDBOnly command

    When running the PowerShell command Remove-ProvVM -ProvisioningSchemeName SCVMM-MC -VMName SCVMM01 -ForgetVM the deletion operation might fail in the following scenarios:

    Note:

    Remove-provVM -ForgetVM targets only persistent VMs. If one of the VMs in the list is non-persistent, the operation fails.

    When the operation fails because the hypervisor is unreachable, the following prompt appears:

    Try to use -PurgeDBOnly option to clean DDC database.

    Use the -PurgeDBOnly option in the Remove-ProvVM PowerShell command to delete references of a VM from MCS database. For example,

    Remove-ProvVM -ProvisioningSchemeName SCVMM-MC -VMName SCVMM01 -PurgeDBOnly

    Add descriptions to an image

    You can add informative descriptions about changes related to image updates for machine catalogs. Use this feature to add a description when creating a catalog, or when you update an existing master image for a catalog. You can also display information for each master image in the catalog. Use the following commands to add or view image descriptions:

    To track the rollback progress, locate the catalog in Machine Catalogs to view the inline progress bar and the step-by-step progress graph.

    You cannot roll back in certain scenarios, including the following. (The Roll Back Master Image option is not visible).

    Reset OS disk

    Use the PowerShell command Reset-ProvVMDisk to reset the OS disk of a persistent VM in an MCS created machine catalog. Currently, this feature is applicable to AWS, Azure, XenServer, Google Cloud. SCVMM, and VMware virtualization environments.

    To successfully run the PowerShell command, make sure that:

    Perform the following steps to reset the OS disk:

    1. Open a PowerShell window.
    2. Run asnp citrix* to load the Citrix-specific PowerShell modules.
    3. Run the PowerShell command Reset-ProvVMDisk in any one of the following ways:

    4. A confirmation prompt appears that lists the VMs to be reset along with a warning message that it is an unrecoverable operation. If you do not provide an answer and press Enter, no further action takes place.

      Note:

      Do not take VMs out the of the maintenance mode or power them on until the completion of the reset process.

      You can run the PowerShell command -WhatIf to print the action it would take and exit without performing the action.

      You can also bypass the confirmation prompt using one of the following methods:

    5. Run Get-ProvTask to get the status of the tasks returned by Reset-ProvVMDisk command.
    Change the network setting for an existing provisioning scheme

    You can change the network setting for an existing provisioning scheme so that the new VMs are created on the new subnetwork. Use the parameter -NetworkMapping in the Set-ProvScheme command to change the network setting.

    Note:

    This feature is supported on Citrix Virtual Apps and Desktops 2203 LTSR CU3 and later versions.

    To change the network setting for an existing provisioning scheme, do the following:

    1. In the PowerShell window, run the command asnp citrix* to load the PowerShell modules.
    2. Run (Get-Provscheme -ProvisioningSchemeName "name").NetworkMaps to get to the network path that you want to change.
    3. Assign a variable to the new network setting. For example:

      $NewNetworkMap = @{"0"= "XDHYP:\HostingUnits\MyNetworks\Network 0.network"}
      <!--NeedCopy-->
      
    4. Run Set-ProvScheme -ProvisioningSchemeName "name" -NetworkMapping $NewNetworkMap.
    5. Run (Get-Provscheme -ProvisioningSchemeName "name").NetworkMaps to verify the new network setting for the existing provisioning scheme.
    Manage versions of a machine catalog

    When an MCS machine catalog is updated with the Set-ProvScheme command, the current configuration is saved as a version. You can then manage the various versions of the machine catalog using PowerShell commands. You can:

    A version includes the following information of a machine catalog:

    Run the following commands (provided as examples) to manage the various versions of a machine catalog.

    If the number of versions reaches the maximum number of versions, then a new version cannot be created if older versions are in use by any of the VMs in the machine catalog. In that case, do one of the following:

    Convert a non-machine profile-based machine catalog to machine profile-based machine catalog

    You can use a VM, template spec (in case of Azure), or launch template (in case of AWS) as a machine profile input to convert a non-machine profile-based machine catalog to machine profile-based machine catalog. New VMs added to the catalog take property values from the machine profile unless overwritten by explicit custom property.

    Note:

    An existing machine profile-based machine catalog cannot be changed to a non-machine profile-based machine catalog.

    To do this:

    1. Create a persistent or non-persistent machine catalog with VMs and without a machine profile.
    2. Open the PowerShell window.
    3. Run the Set-ProvScheme command to apply the property values from the machine profile to the new VMs added to the machine catalog. For example:

    Repair the identity information of active computer accounts

    You can reset the identity information of active computer accounts that have identity-related problems. You can choose to reset only the machine password and trust keys, or reset all configuration of the identity disk. This implementation is applicable to both persistent and non-persistent MCS machine catalogs.

    Note:

    Currently, the feature is supported for AWS, GCP, Azure, SCVMM, XenServer, and VMware virtualization environments.

    Conditions

    Ensure the following to successfully reset the identity disk:

    Reset identity disk

    To reset identity disk:

    1. Open the PowerShell window.
    2. Run asnp citrix* to load the Citrix-specific PowerShell modules.
    3. Reset the identity information.

    4. Type y to confirm the action. You can also skip the confirmation prompt using the -Force parameter. For example:

      Reset-ProvVMDisk -ProvisioningSchemeName <name> -VMName <name> -Identity -Force
      <!--NeedCopy-->
      
    5. Run Get-ProvVM -ProvisioningSchemeName <name -VMName <name> to check the updated identity disk setting. The attributes of the identity disk (for example, IdentityDiskId) must be updated. The StorageId and IdentityDiskIndex must not change.
    Change cache configuration on an existing machine catalog

    After creating a non-persistent catalog with MCSIO enabled, you can use the Set-ProvScheme command to modify the following parameters:

    This feature is currently applicable to:

    Requirements

    The requirements to modify the cache configuration are:

    Change the cache configuration

    Run the Set-ProvScheme command. For example:

    Set-ProvScheme -ProvisioningSchemeName $provScheme.ProvisioningSchemeName -WriteBackCacheDisk32 -WriteBackCacheMemorySize 128
    <!--NeedCopy-->
    

    Note:

    Specify the VDA installer location through PowerShell cmdlets which reduces your effort from providing network rules to allow each VDA to go and fetch the new VDA installer from the Citrix Managed Azure CDN.

    PowerShell cmdlets

    Two new optional parameters added to New-VusCatalogSchedule and New-VusMachineUpgrade cmdlets that allow you to use installers from a local file share

    Prerequisites

    The network shares containing VDA installer packages must have read access for the VDA Upgrade Agent service which runs as Local System (NT AUTHORITY\SYSTEM principal).

    1. Download the VDA installer and place it in the shared file.

      Note:

      With Virtual Upgrade Service, you can select from either the Current Release track or the LTSR track.

      For Example: If the machine catalog is set to Current Release that is 2311, and the VDA version is 2305, you must upgrade the VDA to version 2311.

      1. Navigate to the Downloads page on our website.
      2. Select Citrix Virtual Apps and Desktops as the product.
      3. Select Citrix Virtual Apps and Desktops 7 2311, All Editions.
      4. Select the VDA installer from the Components that are on product ISO but also packaged separately expandable.
    2. Select the relevant VDA installer based on the catalog type.

    Note:

    The version of the file share installer has to exactly match the version of the latest installer version published by VUS to the cloud.

    Storage migration of VMs

    You can move the disk storage of existing VMs from an old storage to a new storage in VMware and XenServer environments. During migration, MCS retains the VM capabilities such as power management, reset OS disk, and so on. You can also add new VMs to the machine catalog using the new disk storage. To do this, use the PowerShell command Move-ProvVMDisk.

    You can migrate full clone persistent VMs and non-persistent VMs.

    The new storage must satisfy the following conditions:

    Migrate the disk storage

    To migrate the disk storage:

    1. Add a destination storage to an existing hosting unit. You can run the PowerShell command Add-Hyphostingunitstorage to add the destination storage:

      If you do not want to add new VMs to the old storage, then change the old storage to Superseded. You can do this using Studio or PowerShell commands. For Studio, see Edit storage. Alternatively, run Set-Hyphostingunitstorage and set Superseded as true to disable new VM creation in the old storage.

      Note:

      For non-persistent VMs:

      • If WBC is used, then configure the WBC destination storage in the hosting unit.
      • If OS destination storage is configured, then WBC (if used) must be compatible with OS destination storage.
      • If OS destination storage is not configured, then WBC (if used) must be compatible with the current OS storage.
    2. Turn off the VMs and turn on the Maintenance Mode.
    3. Get the information about the provisioning scheme, hosting unit, OS disk storage, and WBC disk storage.

    4. Migrate the OS disk, Identity disk, and WBC disk (applicable to non-persistent VMs) to the destination storage using the Move-ProvVMDisk PowerShell command.

      Note:

      • Always provide the OS and Identity disks in the DiskType and DestinationStorageId parameters.
      • The DestinationStorageId for OS disk and Identity disk must be the same.

      Example:

      Persistent VMs:

      (Get-ProvVM -ProvisioningSchemeName xxxxx) | Move-ProvVMDisk -ProvisioningSchemeName "myFullCloneProvScheme" -VMName "machine01" -DiskType OS,Identity -DestinationStorageId datastore1,datastore1
      <!--NeedCopy-->
      

      Important:

      For persistent VM, all disks are moved. You cannot select which disks to move.

      Non-persistent VMs:

      (Get-ProvVM -ProvisioningSchemeName xxxxx) | Move-ProvVMDisk -ProvisioningSchemeName "myCleanOnBootProvScheme" -VMName "machine01" -DiskType OS,Identity,WBC -DestinationStorageId None,None,datastore1
      <!--NeedCopy-->
      

      Important:

      • If you don’t want to migrate a specific disk, set the value as None for the DestinationStorageId parameter.
      • If the VM has WBC disk, then add the WBC disk in DiskType parameter and add the required information in DestinationStorageId parameter.
    Migrate existing MCS provisioned catalogs to prepared image machine catalog

    You can convert an existing MCS provisioned machine catalog into a prepared image machine catalog using a PowerShell command Set-ProvSchemeImage. However, you cannot revert to the legacy catalog after migration. Currently, this feature is applicable to Azure and VMware virtualization environments.

    Limitations

    Consider the following limitations:

    Migrate to prepared image machine catalog

    To migrate, do the following:

    1. Create an image definition and image versions using Studio or PowerShell commands. See the steps to create image definitions and image versions in:

    2. Run Get-ProvScheme command to get the provisioning scheme UID. For example:

      Get-ProvScheme -ProvisioningSchemeName <name> | select ProvisioningSchemeName, ProvisioningSchemeUid
      <!--NeedCopy-->
      
    3. Run Get-ProvImageVersionSpec command to get the Image definition name, image version spec uid. For example:

      Get-ProvImageVersionSpec -ImageDifinitionName <name> -Filter {IsPrepared -eq $true} | select ImageDefinitionName ImageVersionSpecUId
      <!--NeedCopy-->
      
    4. Run Set-ProvSchemeImage command to migrate an existing MCS provisioned machine catalog into a prepared image machine catalog. For example:

      Set-ProvSchemeImage -ProvisioningSchemeName [ProvisioningSchemeName] -ImageVersionSpecUid [ImageVersionSpecUid]
      <!--NeedCopy-->
      
    5. Run Get-ProvScheme command to check that the catalog is migrated. For example:

      Get-ProvScheme -ProvisioningSchemeName <name> | select ProvisioningSchemeName, ProvisioningSchemeUid, ImageVersionSpecUid
      <!--NeedCopy-->
      
    Troubleshoot Where to go next

    For information on managing specific cloud services catalogs, see:


    RetroSearch is an open source project built by @garambo | Open a GitHub Issue

    Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

    HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.3