M365Con 2027 – 無料オンラインカンファレンス · 11–22 Jan 2027 · 120 sessions m365con.net

Drain mode (Azure Virtual Desktop)

Concept

ドレインモードは、メンテナンスのためにAzure Virtual Desktopのセッションホストを切り離す機能です。新しいユーザーセッションは受け付けず、既存のセッションは、ユーザーがサインアウトするか、管理者がセッションを終了するまで有効なままになります。

Short description written with AI from the facts on this page. You can improve it with the edit button below.

✦ CONCEPTDrain mode (AzureVirtual Desktop)M365.FM
Title graphic: Drain mode (Azure Virtual Desktop) (Concept)

関係

Drain mode (Azure Virtual Desktop)は、より広いテーマであるSession host (Azure Virtual Desktop)に含まれます。Drain mode (Azure Virtual Desktop)はHost pool (Azure Virtual Desktop)と密接に関連しています。

Description

Drain mode isolates an Azure Virtual Desktop session host so that maintenance can be done without disrupting the service. A session host in drain mode accepts no new user sessions, and new connections are redirected to the next available session host. Existing connections stay active until the user signs out or an administrator ends the session. Once no sessions remain, maintenance can start. Administrators can still connect to the server directly, without going through the Azure Virtual Desktop service.

Drain mode is set per session host. In the Azure portal, select the host pool, open Session hosts and choose Turn drain mode on or Turn drain mode off. In Azure PowerShell, Update-AzWvdSessionHost is called with the AllowNewSession parameter, set to false to drain and to true to accept new sessions again. Learn lists a host pool with at least one session host and the Desktop Virtualization Session Host Operator role as prerequisites, and advises waiting at least 60 seconds before refreshing the portal, because the displayed status can otherwise appear out of sync.

Drain mode interacts with scaling. On pooled host pools, Azure Virtual Desktop autoscale puts a session host into drain mode before it turns the host off and overwrites existing drain mode settings, so Learn advises exclusion tags when updating VMs. A VM that carries the exclusion tag is left alone: autoscale does not turn it on or off or change its drain mode. Nerdio Manager describes a rolling drain mode among its dynamic host pool auto-scaling settings.

TypeConcept
KindFeature
DocumentationDrain mode (Azure Virtual Desktop) – Microsoft Learn learn.microsoft.com
Relationship map of Drain mode (Azure Virtual Desktop): linked topics

関連テーマの概要

Drain mode (Azure Virtual Desktop)に関連するテーマと簡単な説明:

Drain mode (Azure Virtual Desktop)のすべての関係(関係の種類別):

Broader topic

Drain mode (Azure Virtual Desktop)の上位テーマ:

Related to

Drain mode (Azure Virtual Desktop)の関連テーマ:

Glossary

Community wiki

Short info above, community knowledge below: add practical tips, examples or corrections. New contributions are reviewed first; trusted members publish directly.

Experts and companies for this topic

Nobody has listed this topic yet. Add it to your profile.

Sources

Maintained by Mirko Peters (Microsoft MVP) · Last updated: