Create a Citrix Hypervisor catalog
Create machine catalogsdescribes the wizards that create a machine catalog. The following information covers details specific to Citrix Hypervisor virtualization environments.
Note:
Before creating a Citrix Hypervisor catalog, you need to finish creating a connection to Citrix Hypervisor. SeeConnection to Citrix Hypervisor.
Create a machine catalog using a Citrix Hypervisor connection
GPU-capable machines require a dedicated master image. Those VMs require video card drivers that support GPUs. Configure GPU-capable machines to allow the VM to operate with software that uses the GPU for operations.
- In XenCenter, create a VM with standard VGA, networks, and vCPU.
- 更新虚拟机配置to enable GPU use (either Passthrough or vGPU).
- Install a supported operating system and enable RDP.
- Install Citrix VM Tools and NVIDIA drivers.
- Turn off the Virtual Network Computing (VNC) Admin Console to optimize performance, and then restart the VM.
- You are prompted to use RDP. Using RDP, install the VDA and then restart the VM.
- Optionally, create a snapshot for the VM as a baseline template for other GPU master images.
- Using RDP, install customer-specific applications that are configured in XenCenter and use GPU capabilities.
Create a machine catalog using a machine profile
When you create a catalog to provision machines using MCS, you can use a machine profile to capture the hardware properties from a virtual machine and apply them to newly provisioned VMs in the catalog. If theMachineProfile
parameter is not used, the hardware properties are captured from the master image VM or snapshot.
Note:
目前,您可以只使用一个VM教授作为一个机器ile input.
You can explicitly configure the following parameters to overwrite the values of the parameters in the machine profile input:
VMCpuCount
VMMemory
NetworkMapping
To create a catalog with a machine profile:
- Open the PowerShell window.
- Run
asnp citrix*
. Create an identity pool. The identity pool is a container for the Active Directory (AD) accounts for the VMs to be created. For example:
New-AcctIdentityPool -Domain "citrix-xxxxxx.local" -IdentityPoolName "ExampleIdentityPool" -NamingScheme "abc1-##" -NamingSchemeType "Numeric" -Scope @() -ZoneUid "xxxxxxxx"
Create the required AD computer accounts in Active Directory.
$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
Run the
New-ProvScheme
command to create a catalog. For example:New-ProvScheme -CleanOnBoot -HostingUnitName "ExampleHostingUnit" -IdentityPoolName "ExampleIdentityPool" -InitialBatchSizeHint 2 -CustomProperties '
Register provisioning scheme as a broker catalog. For example:
$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)
- Add VMs to the catalog.
To update a catalog with a new machine profile:
Run the
Set-ProvScheme
command. For example:Set-ProvScheme -ProvisioningSchemeName "ExampleCatalog" -MachineProfile "XDHyp:\HostingUnits\ExampleHostingUnit\ExampleMachineProfileVm.vm\ExampleMachineProfileSnapshot.snapshot"
For more information on the Set-ProvScheme command, seeSet-ProvScheme.
Note:
- The
Set-ProvScheme
command in this case does not change the machine profile of the existing VMs in the catalog. Only the newly created VMs added to the catalog have the new machine profile.- You cannot convert a machine profile-based machine catalog to non-machine profile-based machine catalog.
Where to go next
- If this is the first catalog created, you are guided tocreate a delivery group.
- To review the entire configuration process, seePlan and build a deployment.
- To manage catalogs, seeManage machine catalogsandManage a Citrix Hypervisor catalog.