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!
创建 XenServer® 目录
创建计算机目录 介绍了用于创建计算机目录的向导。以下信息涵盖了 XenServer (以前称为 Citrix Hypervisor) 虚拟化环境的特定详细信息。
注意:
在创建 XenServer 目录之前,您需要完成与 XenServer 的连接创建。请参阅 连接到 XenServer。
使用支持 GPU 的 XenServer 创建计算机目录
支持 GPU 的计算机需要专用的主映像。这些 VM 需要支持 GPU 的显卡驱动程序。配置支持 GPU 的计算机以允许 VM 使用 GPU 进行操作的软件运行。
- 在 XenCenter® 中,创建具有标准 VGA、网络和 vCPU 的 VM。
- 更新 VM 配置以启用 GPU 使用(直通或 vGPU)。
- 安装受支持的操作系统并启用 RDP。
- 安装 Citrix VM Tools 和 NVIDIA 驱动程序。
- 关闭虚拟网络计算 (VNC) 管理控制台以优化性能,然后重新启动 VM。
- 系统将提示您使用 RDP。使用 RDP 安装 VDA,然后重新启动 VM。
- (可选)为 VM 创建快照,作为其他 GPU 主映像的基线模板。
- 使用 RDP 安装在 XenCenter 中配置并使用 GPU 功能的客户特定应用程序。
使用 PowerShell 创建基于计算机配置文件的计算机目录
当您创建目录以使用 MCS 预配计算机时,可以使用计算机配置文件从虚拟机捕获硬件属性,并将其应用于目录中新预配的 VM。如果未使用 MachineProfile
参数,则硬件属性将从主映像 VM 或快照中捕获。
注意:
当前,您只能使用快照作为计算机配置文件输入。
启用 MCSIO 后,您可以在创建 MCS 目录后更新内存和磁盘缓存大小。您可以显式配置以下参数以覆盖计算机配置文件输入中的参数值:
VMCpuCount
VMMemory
NetworkMapping
使用计算机配置文件创建目录
- 打开 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\ExampleMachineProfileVm.vm\ExampleMachineProfileSnapshot.snapshot" <!--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
命令不会更改目录中现有 VM 的计算机配置文件。只有添加到目录中的新创建的 VM 才具有新的计算机配置文件。- 您无法将基于计算机配置文件的计算机目录转换为非基于计算机配置文件的计算机目录。
-
运行
Set-ProvScheme
命令。例如:Set-ProvScheme -ProvisioningSchemeName "ExampleCatalog" -MachineProfile "XDHyp:\HostingUnits\ExampleHostingUnit\ExampleMachineProfileVm.vm\ExampleMachineProfileSnapshot.snapshot" <!--NeedCopy-->
有关 Set-ProvScheme 命令的更多信息,请参阅 Set-ProvScheme。
后续步骤
- 如果这是创建的第一个目录,系统将引导您创建交付组。
- 要查看整个配置过程,请参阅规划和构建部署。
- 要管理目录,请参阅管理计算机目录和管理 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.