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!
创建 Xen 服务器目录
《创建计算机目录》(/zh-cn/citrix-virtual-apps-desktops/2402-ltsr/install-configure/machine-catalogs-create.html) 描述了用于创建计算机目录的向导。以下信息涵盖了 XenServer 虚拟化环境的特定详细信息。
注意:
在创建 XenServer 目录之前,您需要完成 XenServer 连接的创建。请参阅《连接到 XenServer》(/zh-cn/citrix-virtual-apps-desktops/2402-ltsr/install-configure/connections/connection-citrix-hypervisor.html)。
使用 XenServer 连接创建计算机目录
支持 GPU 的计算机需要专用的主映像。这些虚拟机需要支持 GPU 的显卡驱动程序。配置支持 GPU 的计算机,以允许虚拟机使用 GPU 进行操作的软件运行。
- 在 XenCenter® 中,创建具有标准 VGA、网络和 vCPU 的虚拟机。
- 更新虚拟机配置以启用 GPU 使用(直通或 vGPU)。
- 安装受支持的操作系统并启用 RDP。
- 安装 思杰虚拟机工具 和 英伟达 驱动程序。
- 清除虚拟网络计算 (VNC) 管理控制台以优化性能,然后重新启动虚拟机。
- 系统将提示您使用 RDP。使用 RDP 安装 VDA,然后重新启动虚拟机。
- (可选)为虚拟机创建快照,作为其他 GPU 主映像的基线模板。
- 使用 RDP 安装在 XenCenter 中配置并使用 GPU 功能的客户特定应用程序。
局限性
- If a Citrix Virtual Apps and Desktops deployment with its VMs hosted on Citrix Hypervisor 8.2 uses multiple GFS2 SRs in a single MCS catalog, the VMs in the catalog cannot access the VDIs during deployment. The error “VDI is currently in use” is reported.
- XenServer 不支持使用 GFS2 SR 的 MCS 完全克隆虚拟机。
有关详细信息,请参阅限制。
使用计算机配置文件创建计算机目录
创建目录以使用 MCS 预配计算机时,可以使用计算机配置文件从虚拟机捕获硬件属性,并将其应用于目录中新预配的 VM。如果未使用 MachineProfile 参数,则硬件属性将从主映像 VM 或快照中捕获。
注意:
目前,您只能使用 VM 作为计算机配置文件输入。
您可以显式地配置以下参数,以便覆盖计算机配置文件输入中的参数值:
VMCpuCountVMMemoryNetworkMapping
要使用计算机配置文件创建目录:
- 打开 PowerShell 命令行窗口。
- 运行
asnp citrix*。 -
创建身份池。身份池是用于存储要创建的 VM 的 Active Directory (AD) 帐户的容器。例如:
New-AcctIdentityPool -Domain "citrix-xxxxxx.local" -IdentityPoolName "ExampleIdentityPool" -NamingScheme "abc1-##" -NamingSchemeType "Numeric" -Scope @() -ZoneUid "xxxxxxxx" <!--NeedCopy--> -
在 Active Directory 中创建所需的 AD 计算机帐户。
$password = "password123" | ConvertTo-SecureString -AsPlainText -Force New-AcctADAccount -IdentityPoolName "ExampleIdentityPool" -Count 10 -ADUserName "citrix-xxxxxx\admin1" -ADPassword $password Set-AcctAdAccountUserCert -IdentityPoolName "ExampleIdentityPool" -ADUserName "citrix-xxxxxx\admin1" -ADPassword $password <!--NeedCopy--> -
运行
New-ProvScheme命令以创建目录。例如:New-ProvScheme -CleanOnBoot -HostingUnitName "ExampleHostingUnit" -IdentityPoolName "ExampleIdentityPool" -InitialBatchSizeHint 2 -CustomProperties '<CustomProperties xmlns="http://schemas.citrix.com/2014/xd/machinecreation" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <Property xsi:type="StringProperty" Name="UseManagedDisks" Value="true" /> </CustomProperties>' -MasterImageVM "XDHyp:\HostingUnits\ExampleHostingUnit\ExampleVDA.vm\ExampleVDA.snapshot" -ProvisioningSchemeName "ExampleCatalog" -Scope @() -SecurityGroup @() -MachineProfile "XDHyp:\HostingUnits\ExampleHostingUnit\ExampleMachineProfile.vm" <!--NeedCopy--> -
将预配方案注册为代理目录。例如:
$ConfigZone = Get-ConfigZone | Where-Object { $_.Name -eq "xxxxxx" } New-BrokerCatalog -Name "MPLT1" -AllocationType Random -Description "Machine profile catalog" -ProvisioningSchemeId fe7df345-244e-4xxxx-xxxxxxxxx -ProvisioningType Mcs -SessionSupport MultiSession -PersistUserChanges Discard -ZoneUid ($ConfigZone.Uid) <!--NeedCopy--> - 将 VM 添加到目录。
要使用新的计算机配置文件更新目录:
-
运行
Set-ProvScheme命令。例如:Set-ProvScheme -ProvisioningSchemeName "ExampleCatalog" -MachineProfile "XDHyp:\HostingUnits\ExampleHostingUnit\ExampleMachineProfileVm.vm\ExampleMachineProfileSnapshot.snapshot" <!--NeedCopy-->For more information on the Set-ProvScheme command, see Set-ProvScheme.
注意:
- 在此情况下,
Set-ProvScheme命令不会更改目录中现有 VM 的计算机配置文件。只有添加到目录中的新创建 VM 才具有新的计算机配置文件。- 您无法将基于计算机配置文件的计算机目录转换为非基于计算机配置文件的计算机目录。
后续步骤
- 如果这是创建的第一个目录,Web Studio 将引导您创建交付组
- 要查看整个配置过程,请参阅安装和配置
- 要管理目录,请参阅管理计算机目录和管理 XenServer 目录
更多信息
共享
共享
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.