-
-
-
-
Power manage AWS VMs
-
-
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!
Power manage AWS VMs
For information on required permissions, see About AWS permissions.
AWS on-demand provisioning
With this on-demand provisioning, the OS disk gets deleted when you shut down a non-persistent VM. After you power on the VM, a new VM is created from the master image which has an OS disk and ID disk.
To determine if a VM has on-demand feature enabled or not, run Get-ProvVM
PowerShell command. If the property CustomVMData
has all VM specific values, implies that the VM has on-demand feature enabled.
Instance Hibernation
The hibernation process stores the in-memory state of the instance, along with its private, and elastic IP addresses, allowing it to pick up exactly where it left off.
When an instance is instructed to hibernate, it writes the in-memory state to a file in the root EBS volume, and then shuts itself down. An Amazon EBS volume is a durable, block-level storage device that you can attach to your instances. After you attach a volume to an instance, you can use it as you would use a physical hard drive. Encrypt the root EBS volume of the instance. The encryption ensures proper protection for sensitive data when it is copied from memory to the EBS volume. For information on EBS encryption, see Amazon EBS encryption.
Following are the limitations of the supported instance hibernation:
- Instance memory (RAM) of only up to 150 GB is supported
- UEFI boot mode is not supported
- The General Purpose SSD and Provisioned IOPS SSD are only supported as EBS volume types.
Create hibernation supported VMs
To create hibernation supported VMs:
- Create a host connection. See Connection to AWS.
- Launch an instance with EBS root encrypted and the Stop-Hibernate property enabled. For more information, see:
- Use this instance as a master image to create an AMI.
-
Prepare the master image:
- Install a VDA on the master image. Citrix recommends installing the latest version to allow access to the newest features. Failure to install a VDA on the master image causes the catalog creation to fail. For more information on how to install a VDA, see Install VDAs.
- Join the master image to the domain where applications and desktops are members. Ensure that the master image is available on the host where the machines are created.
- Create an AMI from that instance. For information on creating an AMI from an instance, see Create an AMI from an Amazon EC2 Instance.
-
Create a machine catalog using
New-ProvScheme
command. Set theAwsCaptureInstanceProperties
custom property as True.New-ProvScheme -AdminAddress "xxx" -CleanOnBoot -CustomProperties "AwsCaptureInstanceProperties,true;" -HostingUnitName "xxx" -IdentityPoolName $catalog_name -InitialBatchSizeHint 1 -MasterImageVM "xyz.template" -NetworkMapping @{"0"="XDHyp:\HostingUnits\MyConn\\us-east-2a.availabilityzone\10.0.0.0``/24 (vpc-0f1771e45671aedcd).network"} -ProvisioningSchemeName $catalog_name -RunAsynchronously -Scope @() -SecurityGroup @("xxx") -ServiceOffering "xxx" <!--NeedCopy-->
For information on creating machine catalog using PowerShell commands, see https://developer-docs.citrix.com/projects/citrix-daas-sdk/en/latest/.
VMs that can be hibernated are created if:
- You select an AMI created from a master image that has the Stop-Hibernate property enabled.
- The master VM is domain joined and has the VDA installed.
- You select the correct VM size (service offering) that can handle hibernation.
The New-ProvScheme command fails with an appropriate error message if:
- The master VM is hibernation enabled but the service offering is not capable of handling hibernation.
- If the master VM is not domain joined and has no VDA installed.
Hibernation status of service offerings and AMI
To get the hibernation status of the service offerings and AMI (templates), run the following commands:
Get-HypConfigurationObjectForItem 'XDHyp:\HostingUnits\MyConn\WIN2016-ADDC-2021.09.10.145334-a1968709-10c4-47d5-9642-21e743159a7b (ami-0e6c5b33a52d2a6b6).template'
Get-HypConfigurationObjectForItem 'XDHyp:\HostingUnits\MyConn\R6i Sixteen Extra Large Instance.serviceoffering'
Update service offering of an existing hibernation supported provisioning scheme
-
Run the
Set-ProvScheme
command. For example,Set-ProvScheme -ProvisioningSchemeName <String> -ServiceOffering <String> <!--NeedCopy-->
The system displays an exception message if the service offering is not compatible.
Create machine catalog with hibernation support
When creating machine catalogs, you can use a machine profile that supports hibernation.
- In the catalog creation wizard, follow the instructions till the selection of the machine profile.
- On the Machine Template page, click Select a machine profile and select a machine profile.
-
On the Virtual Machine page, click the Edit icon and select a VM.
Note:
If the machine profile is hibernation enabled, the system displays only those VMs that can be hibernated.
-
Follow the onscreen instructions to complete all settings. The Summary page displays the hibernation status of the catalog.
Note:
In the edit machine catalog, when you change the machine profile to a hibernation-enabled one, you are be asked to reconfigure your VMs accordingly.
Update machine catalog that supports hibernation
If you try to update an existing machine catalog with a machine catalog that does not support hibernation, the update fails with an appropriate error message.
Power management of hibernated VMs
You can do the following power management operations on the hibernated VMs:
- Suspend the VM from the running state.
- Resume VM from the suspended state.
- Restart VM from the suspended state.
To see the power management options, in Studio, right-click the hibernated VMs.
You can also see the power state as Suspending and Suspended for each VM as per the power operations you perform on the VMs.
Share
Share
In this article
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.