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.
קשרים
הנושא הרחב של 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.
| Type | Concept |
|---|---|
| Kind | Feature |
| Documentation | Drain mode (Azure Virtual Desktop) – Microsoft Learn learn.microsoft.com |
נושאים קשורים בקצרה
נושאים הקשורים ל-Drain mode (Azure Virtual Desktop), כל אחד עם הסבר קצר:
- Session host (Azure Virtual Desktop) – חלק מ-Azure Virtual Desktop
מארח סשן הוא מכונה וירטואלית הרשומה ב-Azure Virtual Desktop, ומשתמשים מתחברים אליה לסשנים שלהם. מאגר מארחים הוא אוסף של מארחי סשן, וכולם אמורים להיווצר מאותה תמונה. - Host pool (Azure Virtual Desktop) – נושא משנה של Azure Virtual Desktop
מאגר מארחים (host pool) ב-Azure Virtual Desktop הוא אוסף של מכונות וירטואליות של Azure הרשומות כמארחי סשנים. מאגרי מארחים הם מסוג משותף (pooled), שבו מספר משתמשים חולקים את אותן מכונות, או מסוג אישי (personal), שבו לכל משתמש מוקצית מכונה ייעודית.
כל הקשרים של Drain mode (Azure Virtual Desktop), מקובצים לפי סוג הקשר:
Broader topic
הנושאים הרחבים של Drain mode (Azure Virtual Desktop):
Related to
נושאים הקשורים ל-Drain mode (Azure Virtual Desktop):
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
- Drain mode (Azure Virtual Desktop) – Microsoft Learn learn.microsoft.com
Maintained by Mirko Peters (Microsoft MVP) · Last updated: