Provisioning endpoints

Create a Provision Endpoint to designate an endpoint to run the following Provision services:

The TaniumPXE service on Provision Endpoints provide these functions during provisioning processes. You can deploy the TaniumPXE service to Windows, Windows Server, macOS, and Linux endpoints.

Important: Deploy the TaniumPXE service on trusted networks where measures are implemented to prevent unauthorized access to booting machines and the TaniumPXE server.
Note: If you need to provision bare-metal endpoints over the Internet without direct line-of-sight connectivity to your corporate network, see .

Before you begin

If the Provision Endpoint is peered with other Tanium Clients, deploying large OS bundles to the Provision Endpoint can cause excessive local network traffic and result in other Tanium downloads taking significantly longer for peers. For best result, add the Provision Endpoint Tanium Client IP address to the Isolated Subnets list. For more information, see Configuring Tanium Client peering.

Create a Provision Endpoint

  1. Configure PXE settings if needed.
  2. From the Main menu, go to Modules > Provision > Provision Endpoints and then click Create Provision Endpoint.
    Tip: You can also click Create Provision Endpoint from the Quick Links section of the Provision Overview page.
  3. In the Satellite Endpoints section, select one or more satellites or click Create Satellite to create one in Direct Connect.
  4. In the Features section, select the features to apply to the Provision Endpoint.
    • Preboot Execution Environment (PXE): Configures the Tanium PXE Service on this endpoint to respond to PXE and HTTP(s) boot requests and host PXE and HTTP(s) boot files.

    • Content Caching: Configures the Provision Endpoint to download and host OS Bundle files for the bundles distributed to this endpoint. This option is automatically selected when Preboot Execution Environment (PXE) is selected. For more information about content caching, including how to prestage content to reduce bandwidth usage, see Cache OS bundle content.

      Note: You can create a Provision Endpoint with only Content Caching selected (and PXE cleared), but content caching by itself is useful only when a Provision Endpoint is located in a cloud-hosted environment or a DMZ (edge endpoint) where you need access to the content but are not able to PXE boot. Content Caching without PXE is also useful if you only want to use bootable media (USB/ISO).
  5. In the OS Bundles section, select one or more OS bundles and then click Save and Deploy Now.

The required TaniumPXE service and related files are deployed automatically using Tanium Endpoint Configuration.

Note: This process can take several minutes. The Provision Endpoints page is updated when the process is complete.

After you create and deploy a Provision endpoint, you can boot endpoints on that network segment from a PXE network. The deployed Tanium PXE service detects the PXE boot request and responds with the required information.

Note: If you have more than one PXE server in the same local network, the first PXE server to respond to the PXE boot request might not be the expected Tanium PXE service. For more information, see Error: PXE boot does not boot to the Tanium PXE service.

Initiate PXE network boot

To initiate the PXE network boot process, select one or more keys during the device power-on sequence, which vary by manufacturer. For example, on a Lenovo device, you must select the Enter key and then F12 to get to a boot menu where you can choose the PXE boot (IPv4) option.

After a PXE response is sent, a Grand Unified Bootloader (GRUB) loader screen displays for a few seconds before the Linux boot environment is downloaded and boots. After it initializes, the deployment wizard prompts you to begin the provisioning process.

If you are prompted for a password, enter the Provision Password. For more information, see Configure Provision Authentication settings.

(Optional) Wipe the drive

You can optionally wipe the drive during a PXE boot and either shut down or display a summary screen when the wipe is completed.

  1. From the boot menu, click Wipe.
    Figure 1. Boot menu
    deployment_screen
  2. Select the number of passes. You can configure 1-25 passes.
    Figure 2. Wipe pass count
    deployment_wipe
  3. To shut down the system after the wipe is complete, select the Shutdown when complete option.
    Note: To display a summary screen after the wipe is complete, do not select this option.

(Optional) Configure DHCP scope options

Note: If you need to specify DHCP scope options, use DHCP/BOOTP helpers to ensure that the DHCP and PXE requests are forwarded to the Tanium PXE computer or network segment.

If the Provision endpoint is on a different subnet than the devices that need to be provisioned, configure DHCP relays (such as IP Helpers on Cisco routers/switches). If DHCP relays do not work or are unavailable, then configure DHCP scope options.

For DHCP scope options, you need to configure options 66 and 67. The following table identifies the values for options 66 and 67 based on the boot type and client architecture.

Important: Additional, complex DHCP server configuration might be required to support all possible clients.

Boot type

Client architecture

Option 66

Option 67

PXE boot

64-bit Intel/AMD Legacy BIOS

<Provision-endpoint-IP-address>

lpxelinux.0

64-bit Intel/AMD EFI

<Provision-endpoint-IP-address>

shimx64.efi

64-bit ARM EFI

<Provision-endpoint-IP-address>

shimaa64.efi

HTTP boot

64-bit Intel/AMD EFI

Not applicable

http://<Provision-endpoint-IP-address>:<HTTP-caching-port>/cache/default/shimx64.efi

64-bit ARM EFI

Not applicable

http://<Provision-endpoint-IP-address>:<HTTP-caching-port>/cache/default/shimaa64.efi

For example, a Provision endpoint has an IP address of 1.2.3.4 and uses the default port settings. You configure options 66 and 67 with the following values. The DHCP server evaluates the Client Class and Client Architecture Numeric Value attributes, which are part of the DHCP Request, to determine the appropriate option 66 and 67 values to use.

Boot type

Client architecture

Client Class

Client Architecture Numeric Value

Option 66

Option 67

PXE boot

64-bit Intel/AMD Legacy BIOS

PXEClient

0x00 (0)

1.2.3.4

lpxelinux.0

64-bit Intel/AMD EFI

PXEClient

0x07 (7)

1.2.3.4

shimx64.efi

64-bit ARM EFI

PXEClient

0x0b (11)

1.2.3.4

shimaa64.efi

HTTP boot

64-bit Intel/AMD EFI

HTTPClient

0x07 (7)

Not applicable

http://1.2.3.4:17519/cache/default/shimx64.efi

64-bit ARM EFI

HTTPClient

0x0b (11)

Not applicable

http://1.2.3.4:17519/cache/default/shimaa64.efi

Different DHCP servers have different ways to specify DHCP scope options that vary based on client attributes. To implement these settings, see the documentation of your DHCP server software. If DHCP relays are used to forward DHCP discover packets to the Provision endpoint, the Provision endpoint automatically responds with the correct option 66 and 67 values for the type of client making the DHCP request.

Create bootable USB media for deployments

To create bootable USB media for Unified Extensible Firmware Interface (UEFI) devices, use the USBKey.ps1 script that you previously extracted from the utility.zip file in Download provided files for Provision.

Prerequisites

  • Make sure that your USB media is at least 1 GB in size.

  • Install both the Windows ADK and WinPE add-on on the computer that you use to create the bootable USB media. For more information, see Before you begin: Preparing OS bundle content.

  • If you are rebuilding a USB media that you previously used for offline provisioning, fully wipe the USB media before you run the USBKey.ps1 script again.

    Important:

    On a USB media that is less than 32 GB, running the USBKey.ps1 script without the -Bundles parameter formats the boot partition but leaves the previous PROV-DATA partition in place. The PROV-DATA partition can cause the boot process to fail with an unexpected error occurred message. Here is an example of how to reformat USB media in a terminal:

    CODE
    diskpart
    list disk
    select disk <N>
    clean
    exit
  1. Open a command prompt and navigate to the folder that contains the USBKey.ps1 script, such as C:\Users\Administrator\Documents\utility\USBKey.
  2. Run the USBKey.ps1 script and include any of the necessary parameters:
    ExecutionPolicy

    The Powershell execution policy. Always use Bypass.

    TPXEHost

    The Tanium Provision Endpoint that downloads the content onto the USB key and the server that the endpoint (booting from the USB key) contacts during the boot process.

    AnchorHost

    The Tanium Provision Endpoint that the endpoint (booting from the USB key) contacts during the boot process. For example, you might specify an AnchorHost parameter when you are building a USB key for a remote site.

    • If you do not specify the AnchorHost parameter, the TPXEHost parameter value is used for both downloading content and contact during the boot process.

    • To allow provisioning without a network connection, use the value 127.0.0.1.

    Bundles

    A comma-delimited list of BundleIDs to include in the boot media. For more information about how to find BundleIDs, see View OS bundle details.

    Destination

    The location where to write the content to the USB key.

    Here are some example commands for different scenarios:

    • If you want to get the USB content from the Tanium PXE server at the specified IP address and write that content to the USB key at the specified drive, run the script with the -TPXEHost and -Destination parameters:

      CODE
      Powershell.exe -ExecutionPolicy Bypass .\USBKey.ps1 -TPXEHost 10.1.2.3 -Destination D:
    • If you want to get the USB content from the Tanium PXE server at the specified IP address and write that content to the ISO at the specified drive, run the script with the -TPXEHost and -Destination parameters and specify the ISO file name:

      CODE
      Powershell.exe -ExecutionPolicy Bypass .\USBKey.ps1 -TPXEHost 10.1.2.3 -Destination D:\Media.iso
    • If you want to get the USB content from the Tanium PXE server at the specified IP address, but configure the USB key to pull the content from an alternate IP address during the boot process, run the script with the -TPXEHost, -AnchorHost, and -Destination parameters:

      CODE
      Powershell.exe -ExecutionPolicy Bypass .\USBKey.ps1 -TPXEHost 10.1.2.3 -AnchorHost 10.1.5.1 -Destination D:
    • If you want to specify the bundles to include on the USB media to allow provisioning without network access to a Tanium PXE server, run the script with the -TPXEHost, -AnchorHost 127.0.0.1, -Destination, and -Bundles parameters.

      CODE
      Powershell.exe -ExecutionPolicy Bypass .\USBKey.ps1 -TPXEHost 10.1.2.3 -AnchorHost 127.0.0.1 -Destination D: -Bundles 1,2,3
      Important: USB media created from an ISO file (instead of directly created by the USBKey.ps1 script) does not function without network access to a Tanium PXE server. The -Bundles parameter copies the OS bundle content to the ISO, but the content is not accessible in the boot environment.
      Important: For isolated endpoints without network connectivity, using OS bundles that include an ODJService or AdminPassword setting is not supported. For more information, see Troubleshooting: Bootable media hangs with [ERR_INVALID_URL] log message.
    • If you want to specify the bundles to include on the USB media, and the bundles include the ODJService or AdminPassword setting, run the script with the -TPXEHost, -AnchorHost, -Destination, and -Bundles parameters.

      CODE
      Powershell.exe -ExecutionPolicy Bypass .\USBKey.ps1 -TPXEHost 10.1.2.3 -AnchorHost 10.1.5.1 -Destination D: -Bundles 1,2,3
      Note: Ensure that you provide a reachable AnchorHost .
    • To encrypt and protect the bundle data with a specified password, first specify a password in a SecureString object. Then run the USBKey.ps1 script with the -TPXEHost, -Destination, -Bundles, and -BitLockerPassword parameters. To save time, include the -Used switch parameter to encrypt only used space. For example:

      1. Start a new instance of Powershell with the execution policy set to Bypass:

        CODE
        Powershell.exe -ExecutionPolicy Bypass
      2. In the new Powershell instance, save the password to a special variable:

        CODE
        $password = ConvertTo-SecureString -String "P@ssword" -AsPlainText –Force
      3. Run the usbkey.ps1 script using the previously-set password variable as input:

        CODE
        .\USBKey.ps1 -TPXEHost 10.1.2.3 -Destination D: -Bundles 1,2,3 -BitLockerPassword $password –Used
      4. Exit Powershell.

  3. If the script prompts for a password, enter the Technician Access Password. For more information, see Configure Provision Authentication settings.

    The script reformats and labels the USB key with a default label of PROVISION and then downloads the required boot files from the specified Provision Endpoint.

  4. After the script finishes, eject and use the USB key to boot a physical device.

To boot the device from USB media, you must select one or more keys during the device power-on sequence, which varies by manufacturer. For example, on a Lenovo device, you must select the Enter key and then F12 to get to a boot menu where you can choose the USB key.

Refresh an existing operating system

To refresh an existing operating system, including user state migration, create an OS refresh deployment.

Note: Linux OS bundles can be used to perform bare-metal Linux provisioning or to refresh Windows endpoints to Linux. Refreshing a Linux endpoint with a Linux OS bundle is not supported.
Note: (Windows) During the OS refresh process, BitLocker is suspended to allow the refresh to complete successfully. Provision does not create new BitLocker key protectors or escrow recovery keys. As a result, BitLocker remains suspended after the OS refresh.
  1. Create an OS bundle if needed.
  2. From the Main menu, go to Modules > Provision > OS Refresh Deployments and then click Create OS Refresh Deployment.
    Tip: You can also click Create OS Refresh Deployment from the Quick Links section of the Provision Overview page.
  3. In the Deployment Overview section, enter a name and optional description.
  4. In the Deployment Details section, configure the following details.
    1. Software to Deploy: Select a bundle that does not use prompts. OS refresh deployments do not support prompts.
    2. Select Targets: Define the targeting criteria: computer groups, filter question, or computer names.
    3. Deployment Type: Select the deployment frequency.
      • One-Time: Run the OS refresh deployment one time during the period for the targeted endpoints. If an OS refresh fails, the deployment does not retry.

      • Ongoing: Continues to evaluate endpoints and runs the OS refresh deployment as needed. For example, when a new endpoint joins the targeted group, the deployment runs on the new endpoint. If OS refresh fails, the deployment is reissued after approximately 3 hours plus the Distribute Over Time interval.

    4. Start Time: Set the time to start the deployment on the endpoint.
    5. End Time: Set the latest time that the deployment can start.
    6. Time Zone: Select whether to follow endpoint local time or a UTC offset.
    7. Distribute Over Time: Enable to randomize the deployment start time on each endpoint by an amount of time up to the value configured.
  5. Click Preview To Continue, review the Deployment Preview details, and then click Deploy.
    Tip: You can also create a deployment from the OS Bundles page by selecting an OS bundle, clicking More options, and then clicking Deploy to Existing Endpoints.
  6. (Windows) Re-enable BitLocker where required. Use your organization’s BitLocker management solution to restore disk encryption and ensure recovery keys are properly escrowed. If you use Tanium Enforce to manage BitLocker, see Tanium Enforce User Guide.
  7. (Optional) To edit an OS refresh deployment, select a deployment and then click Edit edit_button.

Monitor a deployment

You can monitor deployments from either the OS Refresh Deployments page or with the Tanium Provision - Deployment Progress sensor.

Monitor deployment progress on endpoints

  1. From the Main menu, go to Modules > Provision > OS Refresh Deployments.
  2. To view deployment progress, choose one of the following options.

    1. (Optional) To view the Deployment Progress on Endpoints, click Expand caret-right next to a deployment.

    2. (Optional) To view additional Status and Deployment Details, click the name of a deployment.

    Tip: You can also click each of the Running, Complete, or Failed statuses to view additional details in Interact.

Monitor in-progress deployments from the Tanium PXE server

To monitor in-progress deployments and deployments that completed in the last 48 hours, ask the following question in Interact:

PYTHON
Get Tanium Provision - Deployment Progress?maxAge=50 from all machines with Tanium Provision - Deployment Progress:Source equals Tanium PXE

View historical deployment information from deployed clients

To see historical information on clients that were deployed by Provision, ask the following question in Interact:

PYTHON
Get Tanium Provision - Deployment Progress?maxAge=50 from all machines with Tanium Provision - Deployment Progress:Source equals Client

View Provision Endpoint details

You can view Provision Endpoint details.

  1. From the Main menu, go to Modules > Provision > Provision Endpoints.
  2. On the Provision Endpoints page, click Additional Data ExpandSidePanelIcon next to the endpoint.

Remove the TaniumPXE service from endpoints

  1. From the Main menu, go to Modules > Provision >Provision Endpoints.
  2. Select one or more endpoints and then click Delete trash_button.