Managing maintenance windows

Maintenance windows overview

Maintenance windows control when deployments can start on targeted endpoints. By default, a deployment starts only while a maintenance window is open on the endpoint, regardless of the deployment's own start and end time. After a deployment starts, the deployment continues to completion, even if the maintenance window closes.

To start a deployment outside a window, select Override maintenance windows in the deployment options. Before you deploy software, create at least one maintenance window that targets your endpoints. Without one, deployments that do not use the override option cannot start.

You can configure maintenance windows for the times that are best for your environment. Apply maintenance windows by enforcing them against computer groups. Multiple maintenance windows can affect a computer group, creating several times that deployment activity is permitted.

Important: If a maintenance window does not repeat and it is the only one enforced against a computer group, deployments cannot start after the window closes.

Create a maintenance window

You can open multiple maintenance windows to customize when deployments run on your endpoints. For example, you can create windows that allow deployments during periods of low network activity or outside of core working hours.

  1. In Tanium Atlas, enter the following chat prompt: Create a deploy maintenance window.
  2. When Atlas asks for details, enter the following in the chat:
    • Name: A name for the window.
    • Recurrence: How often the window repeats. If you don't want the window to repeat, enter No repeat. To repeat the window, describe the schedule and the number of days, weeks, months, or years between windows:

      • Daily.
      • Weekly, and the days of the week.
      • Monthly on a date, such as the 10th.
      • Monthly on a weekday, such as the second Tuesday. The start date sets the weekday.
      • Yearly.
      Note: Repeating windows do not have an end date. To stop a repeating window, see Delete a maintenance window.
    • Time zone: You can use each endpoint's local time or a specific time zone and UTC offset, such as America/Chicago and -06:00. A window with a specific time zone keeps a fixed UTC offset and does not adjust for Daylight Saving Time.
    • Start time: The date and time the window starts. For a repeating window, the start date sets the first occurrence. For a monthly window on a weekday, use a start date at least one day in the future.
    • End time: The date and time the window ends. For a repeating window, the time between the start and the end sets the length of each occurrence.

      Important: Atlas can misread the time zone of a start or end time. Before you approve, check that the times in the details are the ones you intended.
    • Target group: The computer group to enforce the window on. Maintenance windows can only target management-rights enabled computer groups.

      Note: Maintenance window computer groups must be assigned RBAC permissions for the user or group to appear in the list. For more information, see RBAC overview.
  3. When Atlas asks you to approve creating the window, review the details, and then choose Approve once. Atlas creates the window and enforces it on the group in the same step.

Maintenance window options

If you want . . .

After the date and time, select . . .

A one-time window

Recurrence: Does Not Repeat

A window that repeats every few days

For example, every 3 days

Recurrence: Daily

Frequency: The number of days between windows

A window that repeats on the same days of the week

For example, every Saturday and Sunday

Recurrence: Weekly

Frequency: The number of weeks between windows

Days of the Week to Repeat On: The days of the week

A window that repeats on the same date each month

For example, every 10th day of the month

Recurrence: Monthly

Frequency: The number of months between windows

Day of the Month: The date of the month (such as 10th)

A window that repeats on the same day of the week each month

For example, every second Tuesday of each month

Recurrence: Monthly

Frequency: Every month

Day of the Week: The day of the week

Starting On: The week number and day (such as Second and Tuesday)

Day Offset: 0

A window that repeats on the same day of the week every <#> months

For example, every second Tuesday every 3 months

Recurrence: Monthly

Frequency: The number of months between windows

Day of the Week: The actual day of the week is determined by day selected in the Effective Date field

A window that repeats on the same date of the month, every <#> months

For example, every 10th day every 3 months

Recurrence: Monthly

Frequency: The number of months between windows

Day of the Month: The actual date of the month is determined by date selected in the Effective Date field

A window that repeats relative to a specified day each month

For example, three days after the second Tuesday of each month

Recurrence: Monthly

Frequency: Every month

Day of the Week: The day of the week

Starting On: The week number and day (such as Second and Tuesday)

Day Offset: The number of days (± 25) from the specified Starting On day

Note: You can only set relative maintenance windows (Day Offset) when the frequency is set to Every month.

A window that repeats on the same date every year

Recurrence: Yearly

Effective Date: The date of the year

Edit a maintenance window

Edit maintenance windows to change any of the window settings, such as start and end times or targeting criteria.

  1. In Tanium Atlas, enter the following chat prompt: Edit a deploy maintenance window.
  2. When Atlas lists your maintenance windows, enter the name or ID of the window to edit and the changes to make, such as a new name, start or end time, recurrence, time zone, or target group.
  3. When Atlas asks you to approve the change, review the details, and then choose Approve once.

Override a maintenance window

You can run a deployment outside of a maintenance window by configuring the Override maintenance windows option during a deployment. For more information, see Manual deployment overview.

Delete a maintenance window

When you delete a maintenance window, the maintenance window is removed from all targeted endpoints.

  1. In Tanium Atlas, enter the following chat prompt: Delete a deploy maintenance window.
  2. When Atlas lists your maintenance windows, enter the name or ID of the window to delete.
  3. When Atlas asks you to approve the deletion, review the details, and then choose Approve once.