Managing deployment plans for ring deployments

A deployment plan defines the sequence of rings (ring set) that an adaptive action must progress through to complete successfully, along with the target endpoints and progression criteria for each ring, as described in Ring-based deployment. You assign the plan when you configure an action deployment, such as for remediating an emerging issue. Use the Deployment Plans page to view the settings of existing plans, create or edit plans to suit your environment, and delete plans that are no longer used.

Note: For the role permissions that you require to view and manage deployment plans, see Manage deployment plans.

Deployment plan types

Choose a deployment plan type based on how you want to select the endpoints that an action targets. The plan type that you choose applies to all the rings in a plan; you cannot select different types for different rings in the same plan.

Custom deployment plans

In a custom deployment plan, each ring targets endpoints based on filter group assignments. Use this plan type if targeting endpoints with particular characteristics matters more than targeting a sample that is representative of all your endpoints. For example, the first ring might target only the endpoints that are members of a filter group that is designated for testing actions.

Dynamic deployment plans

In a dynamic deployment plan, each ring targets endpoints based on a percentage of all the endpoints that are targeted across all rings. Deployment ends for a ring when the specified percentage of endpoints finish running the action. The Tanium Server selects the target endpoints at random in each ring when the action starts deploying in that ring. The selection does not persist for a ring across multiple deployments of the same action. Each time you redeploy the action, the Server randomly selects a new set of endpoints for each ring.

Use a dynamic plan if, for each ring, targeting a representative sample of endpoints matters more than specific characteristics of the endpoints. For example, if your environment has 10,000 endpoints and the first ring targets 10%, the action deploys to a random selection of 1,000 endpoints regardless of whether they are servers or non-servers, physical or virtual, Windows or Linux. Targeting representative samples is useful for predicting how actions will affect larger populations of endpoints. The higher the percentage of endpoints that a ring targets, the more closely the ring represents your whole environment and the more accurately you can predict action outcomes for the environment.

Note: When you configure progression criteria for a dynamic deployment plan, specify the Execution Success Rate instead of the Minimum Endpoints. For more information, see Endpoint targeting.

View deployment plans

Viewing deployment plans can help you to determine if new plans are necessary and to manage or troubleshoot existing plans. For example, you might review the progression criteria of a plan to investigate why actions that use it are stalling in a particular ring.

  1. From the Main menu, go to Administration > Actions > Deployment Plans.

    The Deployment Plans page lists all the plans that you have permissions to access. The page shows some settings for all the plans, such as the Name and Content Set assignment. The page also shows attributes that are useful for auditing, such as the name of the user (Author) who created the plan and the date/time when any user Last Modified the plan.

  2. (Optional) Use any of the following filtering options to find specific plans if the grid is long.
    Tip: You can sort Sort Up Sort Down the grid by the plan Name, the plan Type, and the time when a user Last Modified the plan.
    • Ring Type: Select an option to see only Custom plan Custom plans, only Dynamic plan Dynamic plans, or All types of plans. For more information, see Deployment plan types.
    • Filters  Expand (attribute filters): Expand Expand the Filters section and select one or more plan attributes: Content Set assignment, Preferred For, or Created By (user). For information about the Preferred For attribute, see Preferred for Deployment Type.
    • Filter by Name: Enter an alphanumeric string that contains all or part of a plan name.
  3. (Optional) Click the Name of a plan to open it and view its Rings and Progression Criteria and deferred endpoints. For more information, see Configure rings, progression criteria, and deferred endpoints.

Create a deployment plan

Create a deployment plan for each set of action deployments that require the same rings, progression criteria, and deferred endpoints. You can create up to 150 plans.

Before you begin

Perform the following tasks before creating a deployment plan.

  • Review existing plans

    Review existing deployment plans to determine if you need new plans for the actions that you expect to deploy. For more information, see View deployment plans. If you need a new plan that is similar to an existing plan, cloning a plan is easier than creating a plan from scratch. For more information, see Clone a deployment plan.

  • Review and create filter groups

    Review existing filter groups to determine if they include all the endpoints that you plan to assign to specific rings or defer to the last ring in custom deployment plans. Create new filter groups if necessary. For more information, see Managing filter groups for filtering questions and results.

  • Assign role permissions

    Ensure that users who select plans for deployments have the permissions Deployment Plan read, Progression Criteria Set read, and Ring Set read for the content sets that you will assign to deployment plans. To update user roles, see Configure role permissions.

Add a deployment plan

Configure the deployment plan overview

On the Create/Edit Deployment Plan page, define the basic attributes of the plan in the Overview section.

  1. From the Main menu, go to Administration > Actions > Deployment Plans.
  2. In the Create Plan dropdown list, select Custom plan Custom or Dynamic plan Dynamic as the plan type. For more information, see Deployment plan types.
  3. Configure the following plan settings.
    Table 1. Deployment plan settings

    Setting

    Description

    Name

    Enter a name to uniquely identify the deployment plan. For example, you might name the plan emerging-issues if you intend it for actions that remediate issues for which Tanium Guardian provides alerts.

    Description

    (Optional) Enter a description of the plan to help other users understand its purpose. For example, you might enter Use this plan only for Guardian emerging issues if you do not want users to select the plan for other deployment types.

    Content Set

    Select a content set that is accessible to users who select the plan for deployments. The users must be assigned a role with the permissions Deployment Plan read, Progression Criteria Set read, and Ring Set read applied to the content set.

    Preferred for Deployment Type

    Select the deployment types for which this plan is preferred. When users configure a deployment of any type, they can select any plan in the Deployment Plan dropdown list. The preferred plans for the deployment type appear at the top of the list for convenience. The list shows other plans in alphabetical order. For a description of the deployment types, see Deployment types.

  4. Add rings and (optionally) deferred endpoints, as described in Configure rings, progression criteria, and deferred endpoints.

Configure rings, progression criteria, and deferred endpoints

On the Create/Edit/Clone Deployment Plan page, use the Rings and Progression Criteria section to add rings, configure target endpoints and progression criteria for each ring, and optionally defer a subset of the target endpoints to the last ring. Each plan requires 1 to 15 user-defined rings and the predefined last ring (All Targeted Computers). The ring set pane shows the rings that you add in Start to End order. The pane shows the optional Deferred Endpoints below all the rings. You can select a ring in the ring set pane to view or edit the settings of that ring in the Definition pane. You cannot view or edit the All Targeted Computers ring because it is non-editable and it has no progression criteria because it is always the last ring.

  1. (Optional) Select Custom plan Custom or Dynamic plan Dynamic to change the plan type. For more information, see Deployment plan types.
  2. For each ring in the deployment plan, click Add Ring and configure the following settings.
    Tip: To add a ring that has many settings in common with an existing ring, select the existing ring in the ring set pane and click Duplicate Duplicate in the Definition pane.
    Table 2. Rings and progression criteria

    Setting

    Description

    Name

    Enter a name to identify the ring. The name must be unique within the deployment plan but does not have to be unique among different plans.

    Assigned Endpoints

    Assign endpoints based on the plan type:

    • Custom plan Custom: Click Select Filter Groups, select the filter groups that contain the endpoints for the ring, and click Save. To remove a filter group from your selections, click the X.

    • Dynamic plan Dynamic: Specify the percentage of endpoints that the ring targets relative to the total number of endpoints that the action targets across all rings.

    For important considerations related to targeting endpoints, see Endpoint targeting.

    Default Criteria for Progression

    • Wait

      Enter the time that a deployment must wait in the ring before the Tanium Server evaluates the other progression criteria. A Wait value is required, but you can enter 0 to specify no wait before the Server starts evaluating the criteria.

      Note: Criteria evaluation is more likely to accurately represent endpoint states if the wait is longer.
    • Evaluation Criteria

      Deployments must match all the criteria that you specify to progress to the next ring. To add a criterion, select Add > <Criterion> and enter a value. Optionally, select Ignore pending endpoints for either or both of the Execution Success Rate and Minimum Endpoints criteria to evaluate results only from endpoints that have returned a Completed or Failed status for the action.

      For more information about specific criteria, important considerations when configuring criteria, and the Ignore pending endpoints option, see Ring progression criteria.

    • Method of Evaluation

      The following options are available only for Deploy (software) deployments. Progression criteria evaluations occur only once for Tanium platform and Guardian deployments.

      • Evaluate once: The Tanium Server evaluates the criteria only once to determine whether the deployment can proceed to the next ring. Some Tanium Clients might return action status data after the evaluation ends but that post-evaluation data does not affect ring progression.

      • Evaluate periodically: The Tanium Server evaluates the criteria every five minutes until the end of the Reevaluation Duration that you specify. If the Reevaluation Duration is shorter than five minutes, the criteria are evaluated only twice: at the start and at the end of the duration. The deployment progresses at whichever interval the evaluation first produces a pass status. Client results that return after that interval do not affect ring progression. The periodic option is useful in cases where the software deployment might take longer than expected on endpoints. In such cases, a one-time only evaluation might produce a result that does not accurately represent the probability of success for that deployment.

        Note: Periodic evaluations do not affect endpoint resources more than a one-time evaluation because the Tanium Server queries Tanium Data Service (TDS) for the periodic criteria updates instead of issuing new questions to endpoints.

    Start-to-End order

    In the ring set pane, the predefined All Targeted Computers ring is always last. To change the order of the other rings, drag their Drag icons. For important considerations related to the number and order of rings, see Ring-based deployment.

  3. (Optional) Click Defer Endpoints, click Select Filter Groups, and select the filter groups that contain the endpoints you want to defer to the last ring. Click X on a filter group if you need to remove that group from your selections. For more information, see Deferred endpoints.
  4. Go to Preview and save the deployment plan.

Preview and save the deployment plan

Perform the following steps to see a preview of the endpoint counts that each ring targets in a deployment plan and then save the plan if the counts are correct.

Note: The Preview Deployment Plan section shows accurate counts only after you select a Content Set for the deployment plan and select Assigned Endpoints for each user-defined ring.
  1. On the Create/Edit/Clone Deployment Plan page, go to the Preview Deployment Plan section and verify that the endpoint targeting is correct for each ring. The section shows the count of endpoints that are both targeted and online in each ring.

    Tip: In a custom deployment plan, you can list the endpoints in a ring by clicking the endpoint count. Interact then issues the question Get Computer Name from all machines with <filter group expression> equals True. The <filter group expression> comprises the membership expressions of the filter groups that are selected for the Assigned Endpoints in the ring. The <filter group expression> also specifies the deferred endpoints to exclude from the results. Interact opens the Question Results page in a new browser tab to show the results.
    Note: Endpoint targeting during deployment might differ from the assigned endpoints in a deployment plan based on the targeting that is configured for the deployment. For more information, see Endpoint targeting.
  2. Click Save to finish adding or updating the deployment plan if the targeting is accurate. Otherwise, edit the targeting as described in Configure rings, progression criteria, and deferred endpoints and then repeat the preceding step to preview the plan.

Clone a deployment plan

Cloning a deployment plan is easier than creating a plan from scratch if you want a new plan that has many settings in common with an existing plan. To determine if any existing plan resembles the plan you want to create, see View deployment plans. If the clone will differ from the original plan in terms of target endpoints, deferred endpoints, or content set assignment, see Before you begin before cloning. Perform the following steps to clone a deployment plan. You can clone only one plan at a time.

  1. From the Main menu, go to Administration > Actions > Deployment Plans.

  2. Perform one of the following steps based on if you want to review the plan settings before deciding whether to clone the plan:

    • Review: Click the plan Name, review the plan details, and click Clone.

    • No review: Select the plan and click Clone.

  3. Edit the settings and click Save. For more information, see Deployment plan settings and Configure rings, progression criteria, and deferred endpoints.

Edit a deployment plan

You can edit all the settings for user-defined User-defined deployment plans. For Tanium Managed Tanium-managed plans, you can edit the Content Set and Preferred for Deployment Types selections only.

When you edit a deployment plan that is assigned to an action, the changes apply to future deployments of the action, not to deployments that are in progress.

If you want to edit the target endpoints, deferred endpoints, or content set assignment of a deployment plan, see Before you begin before proceeding.

Perform the following steps to edit a deployment plan. You can edit only one plan at a time.

  1. From the Main menu, go to Administration > Actions > Deployment Plans.
  2. Select the plan and click Edit Edit.
  3. Edit the settings and click Save. For more information, see Deployment plan settings and Configure rings, progression criteria, and deferred endpoints.

Delete a deployment plan

You can delete user-defined User-defined deployments but not Tanium Managed Tanium-managed deployment plans. Deleting a deployment plan unassigns it from actions, but the change applies only to future deployments of those actions. Deployments that are in progress continue to use the plan that was assigned before you deleted the plan. You must assign a new plan to the actions that used the deleted plan to enable future deployments of those actions.

  1. From the Main menu, go to Administration > Actions > Deployment Plans.
  2. Perform one of the following steps based on if you want to review the plan settings before deciding whether to delete the plan:
    • Review: Click the plan Name, review the plan details, and click Delete Delete.
    • No review: Select one or more plans and click Delete.