-
-
Migrate workloads between resource locations using Image Portability Service
-
-
-
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!
Create a Microsoft System Center Virtual Machine Manager catalog
Create machine catalogs describes the wizards that create a machine catalog. The following information covers details specific to Microsoft System Center Virtual Machine Manager (VMM) virtualization environments.
Note:
Before creating a VMM catalog, you need to finish creating a connection to VMM. See Connection to Microsoft System Center Virtual Machine Manager.
Create a master VM
- Install a VDA on the master VM, and select the option to optimize the desktop. This improves performance.
- Take a snapshot of the master VM to use as a backup.
- Create virtual desktops.
MCS on SMB 3 file shares
For machine catalogs created with MCS on SMB 3 file shares for VM storage, credentials must meet the following requirements to ensure that calls from the XenServer Communications Library (HCL) connect successfully to SMB storage.
- VMM user credentials must include full read write access to the SMB storage.
- Storage-virtual disk operations during VM lifecycle events are performed through the Hyper-V server using the VMM user credentials.
For more information on SMB 3, see Overview of file sharing using the SMB 3 protocol in Windows Server.
When using VMM 2012 SP1 with Hyper-V on Windows Server 2012: When using SMB as storage, enable the Authentication Credential Security Support Provider (CredSSP) from the Cloud Connector to individual Hyper-V machines. For more information, see CTX137465.
Using a standard PowerShell V3 remote session, the HCL in the Cloud Connector uses CredSSP to open a connection to the Hyper-V machine. This feature passes Kerberos-encrypted user credentials to the Hyper-V machine, and the PowerShell commands in the session on the remote Hyper-V machine run with the credentials provided (in this case, those of the VMM user), so that communication commands to storage work correctly.
The following tasks use PowerShell scripts that originate in the HCL. The scripts are then sent to the Hyper-V machine to act on the SMB 3.0 storage.
Consolidate Master Image: An image creates a new MCS provisioning scheme (machine catalog). It clones and flattens the master VM ready for creating new VMs from the new disk created (and removes dependency on the original master VM).
ConvertVirtualHardDisk on the root\virtualization\v2 namespace
Example:
$ims = Get-WmiObject -class $class -namespace "root\\virtualization\\v2";
$result = $ims.ConvertVirtualHardDisk($diskName, $vhdastext)
$result
<!--NeedCopy-->
Create differencing disk: Creates a differencing disk from the image generated by consolidating the image. The differencing disk is then attached to a new VM.
CreateVirtualHardDisk on the root\virtualization\v2 namespace
Example:
$ims = Get-WmiObject -class $class -namespace "root\\virtualization\\v2";
$result = $ims.CreateVirtualHardDisk($vhdastext);
$result
<!--NeedCopy-->
Upload identity disks: The HCL cannot directly upload the identity disk to SMB storage. Therefore, the Hyper-V machine must upload and copy the identity disk to the storage. Because the Hyper-V machine cannot read the disk from the Cloud Connector, the HCL must first copy the identity disk through the Hyper-V machine as follows.
- The HCL uploads the Identity to the Hyper-V machine through the administrator share.
-
The Hyper-V machine copies the disk to the SMB storage through a PowerShell script running in the PowerShell remote session.
A folder is created on the Hyper-V machine and the permissions on that folder are locked for the VMM user only (through the remote PowerShell connection).
- The HCL deletes the file from the administrator share.
- When the HCL completes the identity disk upload to the Hyper-V machine, the remote PowerShell session copies the identity disks to SMB storage, and then deletes it from the Hyper-V machine.
The identity disk folder is recreated if deleted to make it available for reuse.
Download identity disks: As with uploads, the identity disks pass through the Hyper-V machine to the HCL. The following process creates a folder that has only VMM user permissions on the Hyper-V server if it does not exist.
- The HyperV machine copies the disk from the SMB storage to local Hyper-V storage using a PowerShell script running in the PowerShell V3 remote session.
- HCL reads the disk from the Hyper-V machine’s administrator share into memory.
- HCL deletes the file from the administrator share.
Create catalog with a machine profile
You can use a machine profile to create and update an MCS machine catalog in System Center Virtual Machine Manager (SCVMM) environments. You can enable vTPM. You can also add custom tags of a machine profile VM to the provisioned VMs.
Important considerations
- Master image can only be a snapshot and not a VM.
- You can only use VM as the machine profile source.
- You can configure VTPM from the Hyper-V console and not from the SCVMM console.
- If the master image has vTPM enabled, then you must enable the vTPM on the machine profile source.
- vTPM is only supported on Generation 2 machines.
-
The following parameters overwrite the values captured in a machine profile if provided separately:
- VMCpuCount
- VMMemoryMB
- Disk storage
-
The custom tags are inherited only from the machine profile and not from the master image. The
CitrixProvisioningSchemeId
tag is added by default to the VM. If you do not want to include theCitrixProvisioningSchemeId
tag, then add the-NoVmTagging
parameter while creating a hosting unit. Example:New-Item -HypervisorConnectionName $ConnectionName ` -NetworkPath @($NetworkPath) ` -Path @($HostingUnitPath) ` -PersonalvDiskStoragePath @() ` -RootPath $RootPath ` -StoragePath @($StoragePath) ` -NoVmTagging <!--NeedCopy-->
- You can update an existing catalog using the
Set-ProvScheme
command.
Create a machine catalog using a machine profile
-
Create a VM to be a machine profile source. For more information, see Provision virtual machines in the VMM fabric. You cannot change the Generation once selected. You can do the following in SCVMM:
-
To enable vTPM:
- After you create the VM, log in to the Hyper-V host and find your VM under the Hyper-V Manager.
- Right-click the VM, then go to Settings.
- Under Security, select the Enable Trusted Platform Module checkbox.
-
- Open a PowerShell window.
- Run
asnp citrix*
to load the Citrix-specific PowerShell modules. - Create a Broker catalog. This catalog is populated with machines which are about to be created.
- Create an identity pool. This becomes a container for AD accounts created for the machines that are to be created.
-
Create a provisioning scheme with the machine profile. For example:
New-ProvScheme -HostingUnitName "<hostingunit name>" -IdentityPoolName "ID1" -MasterImageVM "XDHyp:\HostingUnits\HU1\<path to the checkpoint/snapshot>" -ProvisioningSchemeName "<catalogname>" -MachineProfile "XDHyp:\<path to the machine profile VM>" <!--NeedCopy-->
- Updates the Broker catalog with the unique Id of the provisioning scheme.
- Create and add VMs to the catalog.
Update an existing catalog
You can update an existing catalog using the Set-ProvScheme command. For example:
Set-ProvScheme -ProvisioningSchemeName "<catalogname>" -MachineProfile "XDHyp:\<path to the machine profile VM>"
<!--NeedCopy-->
Remove a VM
You can choose to remove a VM from a catalog but not delete the VM from the SCVMM. In this case, the CitrixProvisioningSchemeId
tag is only removed from the VM. The custom tags are not deleted from the VM. You can remove a VM using Studio or PowerShell commands.
Remove a VM using Studio
- Select and right-click the VM.
- Click Delete.
- Select Remove the virtual machines from the catalog but do not delete the virtual machines.
Using PowerShell commands
Remove-ProvVM
with ForgetVM
parameter. For more information, see:
Where to go next
- If this is the first catalog created, you are guided to create a delivery group.
- To review the entire configuration process, see Plan and build a deployment.
- To manage catalogs, see Manage machine catalogs and Manage a Microsoft System Center Virtual Machine Manager catalog.
More information
Share
Share
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.