Using scheduler
The
Scheduler
tab allows you to schedule a maintenance time window for one or more hosts or host pools by taking it offline at the specified time for a specified period of time. It also allows you to schedule a reboot of one or more hosts or entire host pools.
Note:
When the scheduled event is triggered, affected hosts are disabled in Parallels RAS and their status is displayed as "Disabled (scheduler)" or "Pending reboot (scheduler)". You can cancel these states by right-clicking a host on the
Hosts
tab and choosing
Control
>
Cancel disabled state (scheduler)
or
Control
>
Cancel pending reboot (scheduler)
.
To configure a maintenance time window:
-
Click
Tasks
>
Add
>
Disable Host
or
Disable Host pool
. Both scenarios are configured similarly.
-
On the
General
tab, select the
Enable Schedule
option.
-
Specify a name for this schedule and an optional description.
-
Select a host or a host pool (depending on which action you selected) in the
Available
list and click
Add
. The host (or host pool) will appear in the
Target
list.
-
Select the
Trigger
tab and specify start date and time, duration, and recurrence settings for this event. To make this a one-time event, select "Never" in the
Recur
field.
-
Select the
Options
tab. Here you can configure a message that will be sent to users before the host goes offline. Click
Tasks
>
Add
and specify the message title, body, and the time period when it should be sent.
-
The
On disable
option on the
Options
tab allows you to specify what should happen to current sessions when a scheduled task triggers. Select a desired option from the drop-down list.
-
Click
OK
to save the schedule.
To configure a scheduled reboot:
-
Click
Tasks
>
Add
>
Reboot Host
or
Reboot Host pool
.
-
Specify the schedule properties the same way as described above for the "Disable host" task. The only difference is the
Options
tab, which contains the following additional options for the "reboot" tasks:
-
Enable Drain Mode
and
Force server reboot after:
The two options work together. If you enable the drain mode, the following will happen. When the task triggers, new connections to a host are refused but active connections will continue to run. The server will be rebooted when all active users close their sessions or when
Force server reboot after
time is reached, whichever comes first. For active users not to lose their work, create a message that will advise them to save their work and log off.
-
Enforce schedule for currently inactive hosts
: This option is enabled when the
Enable Drain Mode
option is selected. If selected, inactive hosts will be rebooted too.
-
Click
OK
to save the schedule.
For a more detailed explanation of how to use the scheduler, please see
RD Session Hosts > Using scheduler
. The topic describes how to use scheduler with RD Sessions Hosts, but the functionality is the same.
|