-
-
WebSocket communication between VDA and Delivery Controller™
-
-
Create prepared image machine catalogs
-
Create a prepared image for Amazon WorkSpaces Core Managed Instances
-
Create a catalog of Amazon WorkSpaces Core Managed Instances
-
Create a prepared image machine catalog in AWS EC2
-
Create a prepared image machine catalog in Red Hat OpenShift
-
-
Migrate workloads between resource locations using Image Portability Service
-
-
-
-
This content has been machine translated dynamically.
Dieser Inhalt ist eine maschinelle Übersetzung, die dynamisch erstellt wurde. (Haftungsausschluss)
Cet article a été traduit automatiquement de manière dynamique. (Clause de non responsabilité)
Este artículo lo ha traducido una máquina de forma dinámica. (Aviso legal)
此内容已经过机器动态翻译。 放弃
このコンテンツは動的に機械翻訳されています。免責事項
이 콘텐츠는 동적으로 기계 번역되었습니다. 책임 부인
Este texto foi traduzido automaticamente. (Aviso legal)
Questo contenuto è stato tradotto dinamicamente con traduzione automatica.(Esclusione di responsabilità))
This article has been machine translated.
Dieser Artikel wurde maschinell übersetzt. (Haftungsausschluss)
Ce article a été traduit automatiquement. (Clause de non responsabilité)
Este artículo ha sido traducido automáticamente. (Aviso legal)
この記事は機械翻訳されています.免責事項
이 기사는 기계 번역되었습니다.책임 부인
Este artigo foi traduzido automaticamente.(Aviso legal)
这篇文章已经过机器翻译.放弃
Questo articolo è stato tradotto automaticamente.(Esclusione di responsabilità))
Translation failed!
Create a prepared image machine catalog in AWS EC2
Create prepared images and use the prepared images to create an MCS machine catalog using:
- Studio
- PowerShell commands
The key steps to create an MCS machine catalog using the prepared image are:
- Create the image definition and the initial image versions.
- Use the image version as a prepared image to create a catalog
Create an image definition and initial image version
Use Studio
To create an image definition and the initial image version, do the following:
- From Studio, go to the Images node, and click Create Image Definition. Click Next on the Introduction page.
- On the Image Definition page, specify the OS type and Session type for the image definition.
-
On the Image page, select Resources (only the resources applicable for the set connection are listed), a master image to use as a template for creating the image version, and a machine profile for capturing hardware properties from. Select a machine profile to capture hardware properties from a VM instance or launch template version.
Note:
- Before selecting an image, verify that the master image has VDA 2311 or later installed and the MCSIO driver is installed on the VDA.
- The Instance Metadata Service (IMDS) V1 and V2 are both supported.
- On the Machine Specification page, select a machine size. The machine size of the machine profile (selected on the Image page) is selected by default.
- On the NICs page, select or add NICs for the preparation image. For each NIC, select an associated VPC subnet.
- On the Version Description page, enter a description for the initial image version created.
- On the Summary page, check the details of the image definition and the initial image version created. Enter a name and description for the image definition. Click Finish.
Create image versions
Image versions allow for the management of different iterations or updates to a particular image. This functionality enables you to maintain multiple versions of an image for different purposes.
To create image versions from the initial image version, do the following:
Note:
The hosting unit of all the image versions must be the same.
- Go to the Images node, select an image version or an image definition, and click Create Image Version.
- On the Image definition page, you can change the hosting unit, and reselect the master image and machine profile for that image version.
- If you want the configuration of the image version to be different from the initial configured image version, then configure the settings on the Machine Specification and NICs pages of the Create Image Version dialog.
- Add a description for the image version. Click Finish.
Note:
If the creation of the image version fails for any reason, the Troubleshoot tab at the bottom provides a Retry option.
Use PowerShell
The detailed PowerShell commands to create a prepared image version spec are as follows:
-
Check the available image definition names using the
Test-ProvImageDefinitionNameAvailable command. For example,Test-ProvImageDefinitionNameAvailable -ImageDefinitionName <string[]> <!--NeedCopy--> -
Create an image definition using the
New-ProvImageDefinitioncommand. For example,New-ProvImageDefinition -ImageDefinitionName image1 -OsType Windows -VdaSessionSupport MultiSession <!--NeedCopy--> -
Create a new configuration for image definition in the specified Hosting connection using the
Add-ProvImageDefinitionConnectioncommand.Add-ProvImageDefinitionConnection -ImageDefinitionName image1 -HypervisorConnectionName test-conn <!--NeedCopy--> -
Create an image version using the
New-ProvImageVersioncommand. For example,New-ProvImageVersion -ImageDefinitionName image1 -Description "version 1" <!--NeedCopy--> -
Add a master image version spec to the image version using the
Add-ProvImageVersionSpeccommand. For example,Add-ProvImageVersionSpec -ImageDefinitionName image1 -ImageVersionNumber 1 -HostingUnitName aws-MasterImagePath "XDHyp:\HostingUnits\aws\win10-2411-ami (ami-00123456789abcdef).template”" <!--NeedCopy-->Note:
You can add only one master image version spec to one image version for a hosting unit.
-
Create a prepared image version spec from the master image version spec using the
New-ProvImageVersionSpeccommand. TheSourceImageVersionSpecUidparameter is derived from theAdd-ProvImageVersionSpeccommand. For example,New-ProvImageVersionSpec -SourceImageVersionSpecUid 00000000-0000-0000-0000-00000000000 -MachineProfile 'XDHyp:\HostingUnits\aws\w2022-2411 (lt-00123456789abcdef).launchtemplate\lt-00123456789abcdef (1).launchtemplateversion' -RunAsynchronously <!--NeedCopy-->
Example of the complete set of Powershell commands to create image definition, image version, and prepared image version spec:
New-ProvImageDefinition -ImageDefinitionName image1 -OsType Windows -VdaSessionSupport MultiSession
Add-ProvImageDefinitionConnection -ImageDefinitionName image1 -HypervisorConnectionName aws-CustomProperties $CustomProperties
$imageVersion = New-ProvImageVersion -ImageDefinitionName image1 -Description "version 1"
$SourceImageVersionSpec = Add-ProvImageVersionSpec -ImageVersionUid $imageVersion.ImageVersionUid `
-HostingUnitUid $hostingunit.HostingUnitUid `
-MasterImagePath "XDHyp:\HostingUnits\aws\win10-2411-ami (ami-00123456789abcdef).template”
New-ProvImageVersionSpec -MachineProfile 'XDHyp:\HostingUnits\aws\w2022-2411 (lt-00123456789abcdef).launchtemplate\lt-00123456789abcdef (1).launchtemplateversion' -SourceImageVersionSpecUid $SourceImageVersionSpec.ImageVersionSpecUid
Add-ProvImageVersionSpecHostingUnit -ImageVersionSpecUid 00000000-0000-0000-0000-00000000000-HostingUnitName aws
$PreparedImageVersionSpec = Get-ProvImageVersionSpec -ImageVersionUid $imageVersion.ImageVersionUid | Where SourceImageVersionSpecUid-eq $SourceImageVersionSpec.ImageVersionSpecUid
<!--NeedCopy-->
Note:
- All image version specs in an image definition must belong to the same hosting unit.
- An image version can have only one master image version spec and one prepared image version spec.
- All image version specs must have a machine profile.
Create a machine catalog
Use Studio
Create a machine catalog from the Images node
Use the Create catalog option in the Images node to create a catalog using the image version.
Alternatively, you can select the version when creating a catalog in the Machine Catalogs node, linking to the prepared image option in the catalog creation workflow. See Create a machine catalog from the Machine Catalogs node.
To create an MCS machine catalog from the Images node, do the following:
- Select an image version and click Create catalog. Click Next on the Introduction page.
- On the Machine Management and Image pages, the settings are pre-selected based on the selected image version. On the Image page, enter a note for the selected prepared image.
- Complete the settings on the following pages.
- On the Summary page, check the details of the machine catalog. Enter a name and description for the machine catalog. Click Finish.
- Go to the Machine Catalogs node to see the created machine catalog.
Create a machine catalog from the Machine Catalogs node
To create an MCS machine catalog from the Machine Catalogs node, do the following:
- Click Machine Catalogs on the left navigation pane.
- Click Create Machine Catalog. The Machine Catalog Setup page appears.
- On the Machine Type page, select a machine type for the catalog, for example, Multi-session OS.
-
On the Machine Management page, select the following settings:
- Select Machines that are power managed (for example, virtual machines or blade PCs).
- Select Citrix provisioning technology. Then, select Citrix Machine Creation Services™.
- In the Resources field, select the resources (Availability Zone) that you configured while creating the host connection and click Next.
- On the Desktop experience page, select either random or static desktop that you want users to have when they log in. If a static desktop is selected, further specify whether you want to save changes that the user makes on the local disk (persistent or non-persistent).
-
On the Image page, click Select an image to select a prepared image for the machine catalog. Select the prepared version that you created. Click the image version name. To view more details about the selected image version, click the version number, which is underlined. Click Done.
The machine profile associated with the prepared image appears and its hardware properties (for example, instance type, tenancy type, network mappings, security groups, volume properties) are used to create machines in the catalogs. To change the machine profile source to another VM or launch template version click the edit button.
-
On the Virtual Machines page:
- Enter the number of VMs for the catalog.
- The default machine specification is displayed, which is based on the machine profile. To change it, select the edit icon and select a machine specification.
- On the NICs page, select the NICs (or ENIs) for the VMs.
- On the Machine Identities page, configure on-premises Active Directory or Microsoft Entra hybrid joined for the machines in the catalog by selecting the domain and creating new AD accounts for the VMs to be created in this machine catalog. The provisioned VMs are joined to the domain selected. Specify the account naming scheme for the new AD accounts to be created for the VMs. Click Next.
- On the Domain credentials page, click Enter credentials to provide the credentials for the selected domain. Enter admin-level username and password when prompted. You can also use a service account if you have domain credentials already saved previously by following our product docs.
- Click through the remaining pages until the Summary page. Enter a name for the machine catalog and select Finish to create the machine catalog.
Use PowerShell
Create a catalog using a prepared image version spec and machine profile
-
Create an MCS non-persistent machine catalog from the prepared image version spec using the
New-ProvSchemecommand. For example,New-ProvScheme -ProvisioningSchemeName <string> -ImageVersionSpecUid <Guid> -HostingUnitUid <Guid> -IdentityPoolUid <Guid> [-CleanOnBoot $true] [-MachineProfile <string>] [-ProvisioningSchemeType “MCS”] <!--NeedCopy--> -
Create an MCS persistent machine catalog from the prepared image version spec using the
New-ProvSchemecommand. For example,New-ProvScheme -ProvisioningSchemeName <string> -ImageVersionSpecUid <Guid> -HostingUnitUid <Guid> -IdentityPoolUid <Guid> [-CleanOnBoot $false] [-MachineProfile <string>] [-ProvisioningSchemeType “MCS”] <!--NeedCopy-->
Example of the complete set of Powershell commands to create a catalog:
$Catalog = New-BrokerCatalog -AllocationType "Random" -IsRemotePC $False -MinimumFunctionalLevel "L7_20" -Name "awscatalog" -PersistUserChanges "Discard" -ProvisioningType "MCS" -Scope @() -SessionSupport "MultiSession"
$IdentityPool = New-AcctIdentityPool -AllowUnicode -Domain "domainname" -IdentityPoolName "awscatalog" -IdentityType "ActiveDirectory" -NamingScheme "aws##" -NamingSchemeType "Numeric" -Scope @()
$PreparedImageVersionSpec = Get-ProvImageVersionSpec -ImageDefinitionName image1 -ImageVersionNumber 1 -Filter "PreparationType -eq 'Mcs'"
$Task = New-ProvScheme -ProvisioningSchemeName awscatalog -ImageVersionSpecUid $PreparedImageVersionSpec.ImageVersionSpecUid -HostingUnitName azure -IdentityPoolName awscatalog -CleanOnBoot -Scope @() -SecurityGroup @() -MachineProfile 'XdHyp:\HostingUnits\cvad-test-scalestress\us-east-1a.availabilityzone\machine-profile-instance i (i-0xxxxxxxx).vm' -RunAsynchronously
Get-ProvTask -TaskId $Task.TaskId
$ProvScheme = Get-ProvScheme -ProvisioningSchemeName awscatalog
Set-BrokerCatalog -Name $Catalog.Name -ProvisioningSchemeId $ProvScheme.ProvisioningSchemeUid
<!--NeedCopy-->
Where to go next
More information
Share
Share
This Preview product documentation is Citrix Confidential.
You agree to hold this documentation confidential pursuant to the terms of your Citrix Beta/Tech Preview Agreement.
The development, release and timing of any features or functionality described in the Preview documentation remains at our sole discretion and are subject to change without notice or consultation.
The documentation is for informational purposes only and is not a commitment, promise or legal obligation to deliver any material, code or functionality and should not be relied upon in making Citrix product purchase decisions.
If you do not agree, select I DO NOT AGREE to exit.