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!
创建 VMware 目录
创建计算机目录介绍了用于创建计算机目录的向导。
注意:
在创建 VMware 目录之前,您需要完成与 VMware 的连接的创建。请参阅与 VMware 的连接。
使用计算机配置文件创建计算机目录
您可以使用计算机配置文件创建 MCS 计算机目录。计算机配置文件输入的来源是 VMware 模板。计算机配置文件从 VMware 模板中捕获硬件属性并将其应用到目录中新配置的虚拟机。
注意:
- 主图像输入(快照)和计算机配置文件输入(VMware 模板)必须同时启用 vTPM 或同时禁用 vTPM。此规则适用于
New-ProvScheme
和Set-ProvScheme
。- 如果主映像启用了 vTPM,则 VMware 模板只能来自与主映像相同的虚拟机源。
- 加密存储策略仅支持完整克隆。
计算机配置文件中的 VMware 模板必须存在于目录生命周期中,才能向目录调配虚拟机。如果没有 VMware 模板,就无法预置新的虚拟机。删除 VMware 模板时,必须使用 Set-ProvScheme
命令提供新模板。
- MCS 捕获 VMware 模板的属性。您可以使用
Get-Provscheme
命令创建引用 VMware 模板存储属性的新 VMware 模板。 - 或者,如果存在计算机目录和已配置的虚拟机,则也可以使用 MCS 配置的计算机来创建新的 VMware 模板
根据不同的操作系统,您可以创建具有不同配置的计算机目录:
- 如果在主映像上安装了 Windows 11,则需要为主映像启用 vTPM。因此,作为计算机配置文件来源的 VMware 模板必须附加 vTPM。
- 如果 Windows 10 安装在未附加 vTPM 的主映像上,则可以使用非 vTPM VMware 模板作为计算机配置文件来源来创建计算机目录。
还有另一种配置,您可以使用完整复制磁盘模式创建计算机目录,并将计算机配置文件模板应用于加密存储策略。
要使用以计算机配置文件作为输入的 PowerShell 命令创建计算机目录,请执行以下操作:
- 打开 PowerShell 窗口。
- 运行
asnp citrix*
以加载 Citrix 特定的 PowerShell 模块。 -
运行以下命令:
-
要创建一个附加 vTPM 的 VMware 模板作为计算机配置文件输入源并安装 windows11 主映像的计算机目录,请执行以下操作:
$identityPool = New-AcctIdentityPool -IdentityPoolName "<string>" -NamingScheme "<string>-###" -NamingSchemeType Numeric -Domain "<domain name" -ZoneUid "<Uid>" -Scope @() <!--NeedCopy-->
$provScheme =New-ProvScheme -CleanOnBoot -HostingUnitName "vSanRg" -IdentityPoolName "<string>" -InitialBatchSizeHint 1 -MasterImageVM "XDHyp:\HostingUnits<hosting unit name><snapshot name>.snapshot" -NetworkMapping @{"0"="XDHyp:\HostingUnits<hosting unit name>\\<network name>.network"} -ProvisioningSchemeName "<string>" -Scope @() -VMCpuCount 4 -VMMemoryMB 6144 -MachineProfile "XDHyp:\HostingUnits<hosting unit name><template name>.template" -TenancyType Shared -FunctionalLevel "L7_20" <!--NeedCopy-->
$catalog = New-BrokerCatalog -AllocationType "Static" -PersistUserChanges "OnLocal" -Description "<string>" -IsRemotePC $False -MinimumFunctionalLevel 'L7_9' -Name "<catalog name>" -ProvisioningType 'MCS' -Scope @() -SessionSupport "SingleSession" -ZoneUid "<Uid>" <!--NeedCopy-->
Set-BrokerCatalog -Name "<string>" -ProvisioningSchemeId $provScheme.ProvisioningSchemeUid.Guid <!--NeedCopy-->
-
要使用非 VTPM VMware 模板作为计算机配置文件源和 Windows10 安装的主映像创建计算机目录,请执行以下操作:
$identityPool = New-AcctIdentityPool -IdentityPoolName "<string>" -NamingScheme "<string>-###" -NamingSchemeType Numeric -Domain "<domain name>" -ZoneUid "<Uid>" -Scope @() <!--NeedCopy-->
$provScheme =New-ProvScheme -CleanOnBoot -HostingUnitName "<string>" -IdentityPoolName "<string>" -InitialBatchSizeHint 1 -MasterImageVM "XDHyp:\HostingUnits<hosting unit name><snapshot name>.snapshot" -NetworkMapping @{"0"="XDHyp:\HostingUnits<hosting unit name>\\<string>.network"} -ProvisioningSchemeName "<string>" -Scope @() -VMCpuCount 4 -VMMemoryMB 8192 -MachineProfile "XDHyp:\HostingUnits<hosting unit name><template name>.template" -TenancyType Shared -FunctionalLevel "L7_20" <!--NeedCopy-->
$catalog = New-BrokerCatalog -AllocationType "Static" -PersistUserChanges "OnLocal" -Description "<string>" -IsRemotePC $False -MinimumFunctionalLevel 'L7_9' -Name "<string>" -ProvisioningType 'MCS' -Scope @() -SessionSupport "SingleSession" -ZoneUid "<Uid" <!--NeedCopy-->
Set-BrokerCatalog -Name "<string>" -ProvisioningSchemeId $provScheme.ProvisioningSchemeUid.Guid <!--NeedCopy-->
-
要使用完整复制磁盘模式创建计算机目录,并应用加密存储策略的计算机配置文件模板,请执行以下操作:
$identityPool = New-AcctIdentityPool -IdentityPoolName "<string>" -NamingScheme "<string>-###" -NamingSchemeType Numeric -Domain "<domain name>" -ZoneUid "<Uid>" -Scope @() <!--NeedCopy-->
$provScheme =New-ProvScheme -HostingUnitName "<string>" -IdentityPoolName "<string>" -InitialBatchSizeHint 1 -MasterImageVM "XDHyp:\HostingUnits<hosting unit name><snapshot name>.snapshot" -NetworkMapping @{"0"="XDHyp:\HostingUnits<hosting unit name>\\<string>.network"} -ProvisioningSchemeName "<string>" -Scope @() -VMCpuCount 4 -VMMemoryMB 8192 -MachineProfile "XDHyp:\HostingUnits<hosting unit name><template name>.template" -TenancyType Shared -FunctionalLevel "L7_20" -UseFullDiskCloneProvisioning <!--NeedCopy-->
$catalog = New-BrokerCatalog -AllocationType "Static" -PersistUserChanges "OnLocal" -Description "<string>" -IsRemotePC $False -MinimumFunctionalLevel 'L7_9' -Name "<string>" -ProvisioningType 'MCS' -Scope @() -SessionSupport "SingleSession" -ZoneUid "<Uid>" <!--NeedCopy-->
Set-BrokerCatalog -Name "<string>" -ProvisioningSchemeId $provScheme.ProvisioningSchemeUid.Guid <!--NeedCopy-->
-
要更新计算机配置文件,请使用
Set-ProvScheme
命令。例如:Set-ProvScheme -ProvisioningSchemeName 'name' -IdentityPoolName 'name' -MachineProfile 'XDHyp:\HostingUnits<hosting unit name><template name>.template <!--NeedCopy-->
-
故障排除
如果目录创建失败,请参阅 CTX294978。
下一步的去向
- 如果这是创建的第一个目录,系统将引导您创建交付组。
- 要查看整个配置过程,请参阅规划和构建部署。
- 要管理目录,请参阅管理计算机目录和管理 VMware 目录。
更多信息
共享
共享
在本文中
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 Do Not Agree to exit.