Power policies control how a virtual machine behaves when the associated remote desktop is not in use.
You set power policies when you create or edit a desktop pool. Power Policies describes the available power policies.
Power Policy | Description |
---|---|
Take no power action | Horizon 7 does not enforce any power policy after a user logs off. This setting has two consequences.
|
Ensure machines are always powered on | The virtual machine remains powered on, even when it is not in use. If a user shuts down the virtual machine, it immediately restarts. The virtual machine also restarts after an administrative task such as refresh, recompose, or rebalance is completed. Select Ensure machines are always powered on if you run batch processes or system management tools that must contact the virtual machines at scheduled times. |
Suspend | The virtual machine enters a suspended state when a user logs off, but not when a user disconnects. You can also configure machines in a dedicated pool to be suspended when a user disconnects without logging off. To configure this policy, you must set an attribute in View LDAP. See Configure Dedicated Machines To Be Suspended After Users Disconnect. When multiple virtual machines are resumed from a suspended state, some virtual machines might have delays in powering on. Whether any delays occur depends on the ESXi host hardware and the number of virtual machines that are configured on an ESXi host. Users connecting to their desktops from Horizon Client might temporarily see a desktop-not-available message. To access their desktops, users can connect again. |
Power off | The virtual machine shuts down when a user logs off, but not when a user disconnects. This policy is not applicable for automated pools with floating assignments. |
For manual pools with machines that are managed by vCenter Server, Horizon 7 ensures that a spare machine is powered on so that users can connect to it. The spare machine is powered on no matter which power policy is in effect.
When you configure an automated pool with floating assignments, the machine is not powered off even with the power policy set to Power off when the maximum number of machines is equal to the number of spare (power on) machines.
When Horizon 7 Applies the Power Policy describes when Horizon 7 applies the configured power policy.
Desktop Pool Type | The power policy is applied ... |
---|---|
Manual pool that contains one machine (vCenter Server-managed virtual machine) | Power operations are initiated by session management. The virtual machine is powered on when a user requests the desktop and powered off or suspended when the user logs off.
Note: The
Ensure machines are always powered on policy always applies, whether the single-machine pool uses floating or dedicated assignment, and whether the machine is assigned or unassigned.
|
Automated pool with dedicated assignment | To unassigned machines only. On assigned machines, power operations are initiated by session management. Virtual machines are powered on when a user requests an assigned machine and are powered off or suspended when the user logs off.
Note: The
Ensure machines are always powered on policy applies to assigned and unassigned machines.
|
Automated pool with floating assignment | When a machine is not in use and after a user logs off. When you configure the Power off or Suspend power policy for a floating-assignment desktop pool, set Automatically logoff after disconnect to Immediately to prevent discarded or orphaned sessions. |
Manual pool with dedicated assignment | To unassigned machines only. On assigned machines, power operations are initiated by session management. Virtual machines are powered on when a user requests an assigned machine and are powered off or suspended when the user logs off.
Note: The
Ensure machines are always powered on policy applies to assigned and unassigned machines.
|
Manual pool with floating assignment | When a machine is not in use and after a user logs off. When you configure the Power off or Suspend power policy for a floating-assignment desktop pool, set Automatically logoff after disconnect to Immediately to prevent discarded or orphaned sessions. |
How Horizon 7 applies the configured power policy to automated pools depends on whether a machine is available. See How Power Policies Affect Automated Desktop Pools for more information.