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 的连接创建。请参阅 连接到 VMware。
创建主 VM
使用主 VM 在计算机目录中提供用户桌面和应用程序。在您的虚拟机管理程序上:
- 在主 VM 上安装 VDA,选择优化桌面的选项,这可以提高性能。
- 为主 VM 创建快照以用作备份。
注意:
您可以使用 MCS 在 vSAN 8.0 环境中预配 VM。
使用计算机配置文件创建计算机目录
您可以使用计算机配置文件创建 MCS 计算机目录。计算机配置文件输入的源是 VMware 模板。计算机配置文件捕获 VMware 模板中的硬件属性,并将其应用于目录中新预配的 VM。
注意:
- 主映像输入(快照)和计算机配置文件输入 (VMware 模板) 必须同时启用 vTPM 或同时禁用 vTPM。此规则适用于
New-ProvScheme和Set-ProvScheme。- 如果主映像启用了 vTPM,则 VMware 模板只能来自与主映像相同的 VM 源。
- 加密存储策略仅支持完全克隆。
- 基于计算机配置文件的目录利用提供的 VMware 模板收集存储控制器信息,并依赖于附加的虚拟磁盘。该模板必须包含一个虚拟磁盘,该虚拟磁盘是检索用于配置虚拟机虚拟磁盘的存储控制器信息所必需的。
计算机配置文件中的 VMware 模板必须在目录生命周期内存在,才能允许向目录预配 VM。如果没有 VMware 模板,您将无法预配新的 VM。当 VMware 模板被删除时,您必须使用 Set-ProvScheme 命令提供一个新模板。
- MCS 捕获 VMware 模板的属性。您可以使用 Get-Provscheme 命令创建新的 VMware 模板,引用 VMware 模板的存储属性。
- 或者,如果计算机目录和已预配的 VM 存在,则 MCS 预配的计算机也可以用于创建新的 VMware 模板。
- 启用 MCSIO 后,您可以在创建 MCS 目录后更新内存和磁盘缓存大小。
根据不同的操作系统,您可以创建具有不同配置的计算机目录:
- 如果主映像上安装了 Windows 11,则要求主映像启用 vTPM。因此,作为计算机配置文件源的 VMware 模板必须附加 vTPM。
- 如果主映像上安装了 Windows 10 且未附加 vTPM,则可以使用非 vTPM VMware 模板作为计算机配置文件的源来创建计算机目录。
还有另一种配置,您可以使用完整复制磁盘模式创建计算机目录,并应用带有加密存储策略的计算机配置文件模板。
要使用 PowerShell 命令并以计算机配置文件作为输入来创建计算机目录,请执行以下操作:
- 打开 PowerShell 窗口。
- 运行
asnp citrix®*。 -
运行以下命令:
-
要创建计算机目录,其中 vTPM 附加的 VMware 模板作为计算机配置文件输入的源,并且主映像安装了 Windows 11:
$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 模板作为计算机配置文件的源,并且主映像安装了 Windows 10:
$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-->
检查多个 NIC
当您使用计算机配置文件以及 New-ProvScheme 和 Set-ProvScheme 命令中的 NetworkMapping 参数时,在对多个 NIC 进行预检期间会收到各种错误消息。
多个 NIC 的预检清单如下:
- 仅使用并验证计算机配置文件模板中的 NIC 计数。这些 NIC 指向的网络不会用于或针对托管单元网络进行验证。
- 如果计算机配置文件模板中的 NIC 计数大于托管单元中的网络数量,则会收到错误消息。
-
如果计算机配置文件模板中的 NIC 计数为零,则会收到错误消息。 当计算机配置文件模板中的 NIC 计数为 1 时:
- 如果在
New-ProvScheme或Set-ProvScheme命令中未指定网络映射,并且托管单元网络为 1,则使用托管单元网络。 - 如果指定了网络映射,则在有效的情况下使用指定的网络映射。
- 如果在
-
当计算机配置文件模板中的 NIC 计数大于 1 或托管单元网络计数大于 1 时:
- 命令中需要有效的网络映射,并且应为每个 NIC 提供映射(即,NetworkMapping 计数应与计算机配置文件 NIC 计数相同)。
- 不能将多个 NIC 映射到托管单元中的同一网络。
-
NetworkMapping计数和计算机配置文件 NIC 计数必须小于或等于托管单元网络计数。 - 必须为从 0 到 n-1 的每个 ID 提供
NetworkMapping,其中 n 是计算机配置文件模板中的网络适配器数量。
故障排除
如果目录创建失败,请参阅 CTX294978。
后续步骤
- 如果这是创建的第一个目录,Web Studio 将引导您 创建交付组
- 要查看整个配置过程,请参阅 安装和配置
- 要管理目录,请参阅 管理计算机目录 和 管理 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 I DO NOT AGREE to exit.