Installing and managing an Appliance Array

An Appliance Array manages the connections and establishes trust between the Tanium Appliances that contain the components of a Tanium deployment. The Appliance Array makes it easy to set up and manage the Appliances.

A typical Appliance Array contains the following Appliances:

  • A primary Tanium Server Appliance with an active database

  • A secondary Tanium Server Appliance with a passive database

  • A Tanium Module Server Appliance

  • An optional standby Tanium Module Server Appliance

  • One or more Tanium Zone Server Appliances

After you add members to an Appliance Array, you assign and install roles for the Tanium Core Platform components for the Tanium Server, Tanium Module Server, or Tanium Zone Server on the individual Appliances.

When you create an Array on an Appliance, the Appliance becomes an Array Manager of the Array.

  • An Array Manager can add members, remove members, and refresh the Array.

  • When you install a Tanium Server role on an Appliance in the Array, the corresponding Appliance becomes an Array Manager of the Array. Any other Appliances without a Tanium Server role become simply Array members; this could include the Appliance where the Array was created. You might need to refresh the Array on the affected Appliances to see the change.

    Note:

    In the following scenarios, a Tanium Server can be a member of an Array without having Array Manager capabilities:

    • You add a member to an Array with no role and install Tanium Server directly on the member, rather than through the Array.

    • You add an existing Tanium Server to an Array.

    To promote a Tanium Server Appliance that is not already an Array Manager, see Promote a Tanium Server to Array Manager.

    Note: Configure both Tanium Servers in a cluster as Array Managers. This is done automatically if you install the Tanium Server role on an Appliance in an Array.

Use the Appliance Array menu to create an Array, add Appliances to the Array, assign Tanium roles to the Appliances, and then install the roles on all Appliances from a single menu. If you need to add an additional Appliance later on, you can add the Appliance to the Array, and then assign and install a role to use with your existing installation.

Note: SSH communication is required for managing an Appliance Array. If you are deploying a Tanium Zone Server in a network that does not allow SSH communication, you can install the Zone Server separately after you install the Array.

Before you begin

  • Power on all Appliances.

  • For a physical Tanium Appliance, perform the steps listed in the to install the Tanium Appliances.

  • Configure basic network, host, and user settings on all Appliances.

  • If the tanadmin user is set up for SSH key authentication on all Appliances, copy the public key for the tanadmin user on the primary Appliance to the tanadmin user accounts on the remaining Appliances.

    • For information about how to use TanOS menus to add a public key for a user account, see Add authorized keys.

    • For information about how to use the CLI to add a public key for a user account, see the add pubkeys command at TanOS management commands.

  • Make sure all Appliances are running TanOS 1.6.0 or later.

  • Make sure all Appliances are running the same version of TanOS.

  • Make sure your network security administrator has configured security rules to allow communication on the TCP ports that the Tanium Core Platform components use. In addition to the ports that are used by individual Tanium Servers, a Tanium Server in a Tanium cluster sends and receives cluster-related data over an IPsec connection. The network security rules must allow ESP (IP protocol 50) and IKE (500/udp, 4500/udp).

(Optional) Import keys

The Tanium Server includes a pki.db file that contains the root keys, Tanium Server TLS keys, and message-signing keys for the Tanium Server. If you migrate from a Windows installation, or if you restore the Tanium Server Appliance from a backup, you can reuse the previous pki.db file.

Note: For a Tanium cluster, import the pki.db only to the Appliance that you are using for the primary Tanium Server. The Array setup manages trust between the Tanium Servers automatically. You need the pki.db file only from the primary Tanium Server in an existing deployment or backup.
  1. Obtain a copy of the pki.db file from your existing Tanium Server or from a backup file.
  2. Use SFTP to copy the pki.db file to the /incoming folder on the Appliance before the install.

Create the Array

  1. Sign in to the primary Tanium Server Appliance as a user with the tanadmin role.
  2. Enter 1-M (Tanium Installation > Appliance Array).
  3. Enter C and follow the prompts to create an Array.
    CODE
    >>> Installation -> Appliance Array -> Create Array <<< 
    
     This activity creates a new array, with the current appliance being the
     initial Array Manager. Other appliances can then be added to this
     array, provided that either:
       A. The added member has no role (i.e. is not yet a TS, TMS, etc.); or
       B. The Array Manager has a TS (All-in-One or TaniumServer)
    
     Please enter the name of the array: Tanium Appliance Array
     Select the address other members would use to contact this appliance
              1: 10.10.10.60
    
     Please select: 1
     Successfully created the Appliance Array
    
     Press enter to continue
  4. Press the Enter key to go to the Appliance Array menu. The Appliance Array menu refreshes with the new Array.

    TanOS assigns the new (pending) role for the Appliance as a Tanium Server.

    CODE
    ------------------------------------------------------
    
            >>> Installation -> Appliance Array <<< 
    
     Array Name:              Tanium Appliance Array
     Array UUID:              0f6c41f1-409c-4515-9b8a-f4e5b6798695
     Number of Array Members: 1
    
           Hostname        Current Role           Platform    New Role
        1: ts1             None                   None        Tanium Server 
    
        A: Add Member
        F: Refresh Appliance Array
        I: Install Pending Role Changes
        X: Reset Appliance Array
    
        R: Return to previous menu
    
    ------------------------------------------------------

Add members to the Array

Before you begin: If the tanadmin user is set up for SSH key authentication on all Appliances, copy the public key for the tanadmin user on the primary Appliance to the tanadmin user accounts on the remaining Appliances. For information about how to use TanOS menus to add a public key for a user account, see Add authorized keys. For information about how to use the CLI to add a public key for a user account, see the add pubkeys command at TanOS management commands.

Tip:

If you have instead configured separate public keys for the tanadmin user on each Appliance, you can use agent forwarding to authenticate with the added Array members by including the -A SSH option when you connect to an Array Manager. This avoids entering the password for new Array members. For example:

CODE
ssh -A user@Array_manager

Agent forwarding requires an SSH agent (such as ssh-agent in OpenSSH) to be running on your local host. For more information, see the documentation for your SSH client.

Perform the following steps to add the other Appliances to the Array.

  1. Enter A from the Appliance Array menu on the primary Tanium Server Appliance.
  2. Follow the prompts to add the Appliance to the Array.
    CODE
    >>> Installation -> Appliance Array -> Add Member <<< 
    
     This activity adds a remote TanOS appliance to the array. Doing so requires
     logging into the remote appliance to gather information and provide that
     appliance with information about the array. You may be asked to enter the
     password for tanadmin on the remote appliance.
     Only TanOS 1.6 and later can be added to an Appliance Array.
     Initial config must have been run on the remote appliance.
    
     Please enter the remote appliance address: 10.10.10.61
     If prompted, please enter the password for tanadmin@10.10.10.61 
     Password: 
     
     The authenticity of host '10.10.10.61 (10.10.10.61)' can't be established.
     ECDSA key fingerprint is SHA256:v95SkzzNuh9kP6WTxkXXC9iIAKWfpy+PZss7UoSz1Dk.
     ECDSA key fingerprint is MD5:ab:b8:80:86:fb:6b:25:15:00:85:23:09:36:3d:f9:c5.   
     Are you sure you want to continue connecting (yes/no)?
    			
     Successfully added host 10.10.10.61 to the Appliance Array
    
     Press enter to continue
    Tip: During the process of adding a member to the Array, the Array Manager asks you to confirm the ECDSA fingerprint of the new member. To verify that the fingerprint is correct, log in to the Appliance you are adding to the Array, view the SSH fingerprints, and confirm that the fingerprint listed for ECDSA matches the fingerprint that the prompt displays. For more information, see View SSH fingerprints. Alternatively, you can use the following CLI command: ssh -qt user@new-appliance show ssh-host-fingerprints
  3. Press the Enter key to go to the Appliance Array menu.

    The Appliance Array menu refreshes with the new member.

    CODE
    ------------------------------------------------------
    
            >>> Installation -> Appliance Array <<< 
    
     Array Name:              Tanium Appliance Array
     Array UUID:              0f6c41f1-409c-4515-9b8a-f4e5b6798695
     Number of Array Members: 2
    
           Hostname        Current Role           Platform    New Role
        1: ts1             None                   None        Tanium Server 
        2: ts2             None                   None        No Change
    
        A: Add Member
        F: Refresh Appliance Array
        I: Install Pending Role Changes
        X: Reset Appliance Array
    
        R: Return to previous menu
    
    ------------------------------------------------------

Repeat these steps to add the remaining Appliances to the Array.

CODE
------------------------------------------------------

        >>> Installation -> Appliance Array <<< 

 Array Name:              Tanium Appliance Array
 Array UUID:              0f6c41f1-409c-4515-9b8a-f4e5b6798695
 Number of Array Members: 4

       Hostname        Current Role           Platform    New Role
    1: ts1             None                   None        Tanium Server 
    2: ts2             None                   None        No Change
    3: tms1            None                   None        No Change
    4: tzs1            None                   None        No Change

    A: Add Member
    F: Refresh Appliance Array
    I: Install Pending Role Changes
    X: Reset Appliance Array

    R: Return to previous menu

------------------------------------------------------
Tip: If you are creating a Tanium cluster or using a standby Module Server, make sure you add members to the Array for the second Tanium Server and standby Module Server. For more information, see Configuring a Tanium cluster.

Assign roles

Use the Appliance Array menu to assign a Tanium Server, Tanium Module Server, or Tanium Zone Server role to each Appliance.

  1. Return to the Appliance Array menu on the primary Tanium Server Appliance.
  2. Enter the line number for an Appliance without a pending New Role.

    The Manage Member menu appears.

    CODE
    >>> Appliance Configuration -> Appliance Array -> Manage Member <<< 
    
     Serial Number:      VMware-564d7441f288a8d6-a4da1a1bac78aaa5
     Name:               ts2
     FQDN:               ts2.tam.local
     TanOS Version:      1.9.0.1234 
     Role:               None
     Pending Role:       No Change
    
        T: Assign Role: TaniumServer
        M: Assign Role: TaniumModuleServer
        Z: Assign Role: TaniumZoneServer
        U: Cancel Pending Role Change
    
        D: Delete Member
    
        R: Return to previous menu
    
    ------------------------------------------------------
  3. Enter T, M, or Z to assign the corresponding role to the Appliance.

    The Appliance Array menu refreshes with the new pending role.

    CODE
    ------------------------------------------------------
    
            >>> Installation -> Appliance Array <<< 
    
     Array Name:              Tanium Appliance Array
     Array UUID:              0f6c41f1-409c-4515-9b8a-f4e5b6798695
     Number of Array Members: 4
    
           Hostname        Current Role       Platform       New Role
        1: ts1             None               None           Tanium Server 
        2: ts2             None               None           Tanium Server 
        3: tms1            None               None           No Change
        4: tzs1            None               None           No Change
    
        A: Add Member
        F: Refresh Appliance Array
        I: Install Pending Role Changes
        X: Reset Appliance Array
    
        R: Return to previous menu  RR: Return to top
    
    ------------------------------------------------------

Repeat these steps to assign roles to the remaining Appliances in the Array.

CODE
------------------------------------------------------

        >>> Installation -> Appliance Array <<< 

 Array Name:              Tanium Appliance Array
 Array UUID:              0f6c41f1-409c-4515-9b8a-f4e5b6798695
 Number of Array Members: 4

       Hostname        Current Role     Platform      New Role
    1: ts1             None             None          Tanium Server 
    2: ts2             None             None          Tanium Server 
    3: tms1            None             None          Tanium Module Server 
    4: tzs1            None             None          Tanium Zone Server 

    A: Add Member
    F: Refresh Appliance Array
    I: Install Pending Role Changes
    X: Reset Appliance Array

    R: Return to previous menu

------------------------------------------------------
Important: If you close the Appliance Array menu before you install Tanium, you must reassign roles.

Configuring a Tanium cluster

If you add two Tanium Servers to an Appliance Array, TanOS automatically configures a Tanium cluster.

Note: Use a redundant cluster of Tanium Servers to ensure continuous availability in the event of an outage or scheduled maintenance.
Important: Monitor the replication status between Tanium Servers to make sure that the cluster is healthy and providing redundancy. A Database Replication error in the health check indicates an issue with replication in the Tanium Server cluster. To manually check replication status, see Managing the Tanium Core Platform on TanOS and Monitoring and maintaining the Tanium Appliance. As a best practice, configure a monitoring method that quickly alerts you to issues. For more information, see Monitoring and maintaining the Tanium Appliance.
Note: A Tanium cluster does not scale Tanium capacity or improve performance.

For information about managing replication and failover in an existing Tanium cluster, see Manage a Tanium cluster. For information about using a Tanium cluster as part of a backup and redundancy plan, see Use a Tanium Server cluster for redundancy.

In a Tanium cluster deployment:

  • The Tanium Server application setup is active-active and the database component is active-passive.

  • Tanium Clients use a Tanium Server list to automatically find a backup Server in the event the first Tanium Server that is assigned to them is unavailable due to an outage or scheduled maintenance.

  • The Tanium Servers read and write to the active database on the first Appliance. Data is asynchronously replicated from the first Appliance database to the second Appliance database.

  • The local authentication user configuration is actively synchronized between the two Appliances.

  • IPsec ensures end-to-end security between the two Appliances.

  • Each Tanium Server has a Tanium Console with its own URL.

  • Tanium solutions are installed on a shared Module Server, and you only need to import solutions on one Tanium Console.

  • Each Tanium Server passes messages (such as answers to questions) to the other Tanium Servers.

  • Package files that are uploaded to one Server are synchronized to the other Tanium Servers.

Tanium cluster requirements and limitations

A Tanium cluster deployment has the following requirements:

  • Each Tanium Server must run the same software version, including build number. For example, if you are installing Tanium Core Platform 7.8.4.2345 on one Tanium Server, you must install 7.8.4.2345 on all Servers; you cannot install 7.8.4.1234 on a different Tanium Server.

  • Each Tanium Server in the Tanium cluster must meet or exceed the requirements for the total number of endpoints targeted by your deployment. Each must be able to independently handle load from the full deployment in the event of failure.

  • The Tanium cluster members must be able to connect to each other via a reliable Ethernet connection. Connections require a minimum throughput of 1 Gbps and a maximum round-trip latency of 30 ms.

  • Each Tanium cluster member must be able to access the Internet to download files from designated domains. Access can be either direct or made through a proxy server.

  • Each Tanium cluster member must be able to connect to the shared Module Server.

Configuring a standby Module Server

If you add two Module Servers to an Appliance Array, you can schedule a Module Server sync to use the second Module Server as a standby. For information about managing synchronization of a secondary Module Server, see Manage the standby Module Server. For information about using a standby Module Server as part of a backup and redundancy plan, see Use a standby Module Server for redundancy.

Important: A second Module Server does not function as a standby Module Server until you schedule the Module Server sync.

Install Tanium roles

Perform the following steps to install the Tanium Core Platform components on the Appliances in the Appliance Array. When you use the following process to install Tanium through an Appliance Array, the installation process automatically copies the required RPM file from the primary Tanium Server to each Appliance in the Array.

Before you begin

The installation package for Tanium Core Platform is a ZIP file (<tanium.version>_linux_server_package_8.zip) that includes files for the Tanium Server, Tanium Module Server, and Tanium Zone Server. Use one of the following methods to access the installation package:

  • Obtain the token URL from Tanium Support to gain access to the installation packages for Tanium Core Platform. You can download the installation package from the token URL directly to the Appliance during role installation.

  • Download the installation package from the Artifacts section of your Tanium Account, and then use SFTP to copy the ZIP file to the /incoming folder of the primary Tanium Server Appliance. For more information, see View Tanium artifacts and Reference: Transfer files to and from the Appliance.

    Note: This method is necessary if you have a proxy server that your Tanium Server must use to reach the internet, or if you are in an air-gapped environment. After you install Tanium, you can configure proxy settings from Tanium Console, which are used for future upgrades.

Install roles

  1. From the Appliance Array menu, enter I.
  2. Follow the prompts to install pending roles.
    • When prompted, enter the line number of the Tanium Core Platform version that you want to install.
    • If you install roles to a new Array, specify a password for the initial Tanium Console admin user (tanium) when prompted.
    • If the Array already contains an Appliance with the Tanium Server role, specify a Tanium Console user and password with administrative credentials when prompted.
    • If you have the token URL, enter T and then enter the URL.
    • If you copied the pki.db file to the /incoming folder on the Appliance, the installer discovers the file and prompts you to install it. Enter YES to continue.

TanOS installs the components of the Tanium Core Platform on the selected Appliances.

Tip: After you install the Tanium roles to the Appliances, you can add more Appliances to the Array. To do so, add the Appliance to the Array, assign a role to the Appliance, install the pending role, and then perform any additional required configuration for the Tanium role.

Additional management tasks for an Appliance Array

Promote a Tanium Server to Array Manager

An Array Manager is a Tanium Server that can sign in to and issue commands to other Array members. The following Tanium Servers are automatically assigned the Array Manager designation:

  • The Tanium Server on which you set up the Array. For more information, see Create the Array.

  • Up to two Tanium Servers in an Array that are upgraded from 1.6.x to 1.7x

  • An Appliance on which you install Tanium Server using the existing Array Manager

In the following scenarios, a Tanium Server can be a member of an Array without having Array Manager capabilities:

  • You add a member to an Array with no role and install Tanium Server directly on the member, rather than through the Array.

  • You add an existing Tanium Server to an Array.

Note: Configure both Tanium Servers in a cluster as Array Managers. This is done automatically if you install the Tanium Server role on an Appliance in an Array.

Use the following steps to promote a Tanium Server to Array Manager.

  1. On an Array Manager, sign in to the TanOS console as a user with the tanadmin role.
  2. Enter 1 to open the Tanium Installation menu.
  3. Enter M to open the Manage Appliance Array menu.
  4. Enter the line number of the Appliance to promote to Array Manager.
  5. Enter P to promote the Appliance to Array Manager.

Remove an Appliance from an Appliance Array

From an Array Manager of an Array, you can remove other Appliances from the Array, including other Array Managers.

Note: An Appliance cannot remove itself from an Array. To remove an Appliance, you must sign in to another Array Manager of the Array to perform the steps. To remove the last member of an Array, reset the Array.
  1. Sign in to the TanOS console as a user with the tanadmin role.
  2. Enter 1-M (Tanium Installation > Appliance Array).
  3. Enter the line number of the Appliance that you want to remove from the Array.
    PYTHON
    >>> Appliance Configuration -> Appliance Array -> Manage Member <<< 
    
     Report from remote appliance 'appliance-162-2' at '10.10.10.65'
    
     Serial Number:      be04e9e1-c5e7-46e5-975e-93320a8c8792
     Name:               appliance-162-2
     TanOS Version:      1.9.0.1234 
     Role:               Tanium Server
     TaniumServer:       7.8.4.1234 
    
              D: Delete Member
    
              R: Return to previous menu
    
    ------------------------------------------------------
  4. Enter D and follow the prompts to remove the Appliance from the Array.
    PYTHON
    >>> Appliance Configuration -> Appliance Array -> Delete Member <<< 
    
     Report from remote appliance 'appliance-162-2' at '10.10.10.65'
    
     Serial Number:      be04e9e1-c5e7-46e5-975e-93320a8c8792
     Name:               appliance-162-2
     TanOS Version:      1.9.0.1234 
     Role:               Tanium Server
     TaniumServer:       7.8.4.1234 
    
     This operation will remove a member from the array.
    
     1. The member will be asked to leave
     2. The controlling appliance will forget about the member
     3. All remaining members will be informed of the removal
    
     As a result all appliances associated with the array will be updated and
     will no longer recognize the appliance as part of the array.
    
     Are you sure you want to remove appliance-160-2 from the array? [Yes|No]:

Refresh an Appliance Array

From an Array Manager of an Array, you can refresh the Array to retrieve current membership from the other Appliances in the Array. This information is refreshed on all Appliances in the Array.

  1. Sign in to the TanOS console as a user with the tanadmin role.
  2. Enter 1-M (Tanium Installation > Appliance Array).
  3. Enter F and follow the prompts to refresh the Array.
    PYTHON
    >>> Appliance Configuration -> Appliance Array -> Refresh Array <<< 
    
     This action will communicate with each member of the array, retrieve current
     information, and re-distrubute that information to all array members.
    
     Do you want to continue? [Yes|No]: yes
    
     Getting update from ts2 (10.10.10.61)
     Getting update from tms1 (10.10.10.62)
     Getting update from tzs1 (10.10.10.63)
     Sending update to ts2 (10.10.10.61)
     Sending update to tms1 (10.10.10.62)
     Sending update to tzs1 (10.10.10.63)
    
     Press enter to continue

Reset an Appliance Array

Reset an Appliance Array to remove the Appliance from the Array. If the Appliance is the only member of the Array, reset the Array to delete the Array.

Tip: To delete an Array, sign in to an Array Manager of the Array, remove all other members of the Array, and then reset the Array.
  1. Sign in to the TanOS console as a user with the tanadmin role.
  2. Enter 1-M (Tanium Installation > Appliance Array).
  3. Enter X and follow the prompts to reset the Array.
    PYTHON
    >>> Appliance Configuration -> Appliance Array -> Reset Array <<< 
    
     This appliance is the sole member of an existing array. Since it is the sole
     member, resetting the array will not affect other appliances.
    
     Do you want to drop this appliance from the array? [Yes|No]: yes
    
     Press enter to continue

Measure the data transfer rate between an Array Manager and an Array member

You can measure the data transfer rate between an Array Manager and another Appliance in the Array to help diagnose network issues between Appliances.

  1. Sign in to the TanOS console as a user with the tanadmin role.

  2. Enter 1-M (Tanium Installation > Appliance Array).

  3. Enter the line number for the Appliance with which to measure the data transfer rate.

  4. Enter N to begin the measurement.