Splunk® IT Service Intelligence

Install and Upgrade Manual

Acrobat logo Download manual as PDF

This documentation does not apply to the most recent version of ITSI. Click here for the latest version.
Acrobat logo Download topic as PDF

Upgrade IT Service Intelligence in a search head cluster environment

ITSI version 4.6.x is a Splunk Cloud only release and is not available on-premises. Splunk Cloud customers work with Splunk Support to coordinate upgrades to IT Service Intelligence.

After you deploy the new ITSI version to cluster members, you must also upgrade your indexers and ITSI license components.

Before upgrading

  • Before you upgrade ITSI, you must perform all prerequisite steps specified in Before you upgrade IT Service Intelligence.
  • Ensure stable and optimal connectivity between the deployer and search head cluster members, such as minimal network latency, no dropped packets, and so on. Problems with network connectivity during an shcluster bundle push of a new version of ITSI may leave ITSI in an inconsistent state and require further steps to resolve.
  • If upgrading to a Python 3 release of Splunk (version 8.x), you must upgrade IT Service Intelligence and all other apps before upgrading Splunk Enterprise. For more information, see Python 3 migration with ITSI.

Step 1: Confirm the cluster is in a healthy state

Confirm that the cluster is in a healthy state before you begin the upgrade:

splunk show shcluster-status

Check the following criteria:

  1. Locate the current search head captain and use it as the target when running the splunk apply shcluster-bundle in step 4 of the next section.
  2. Make sure the search head cluster is fully functional and that there are no pending replication updates.

For information on health check criteria, see Health check output details.

Step 2. Deploy the new version to the cluster members

Use the deployer to distribute the new version of ITSI to search head cluster members, the same way you initially deployed ITSI on the search head cluster. A migration script runs on the captain after upgrading. The upgrade then propagates to all other cluster members.

  1. Log in to splunk.com with your Splunk.com ID.
  2. Download the latest Splunk IT Service Intelligence product.
  3. If you're upgrading from a pre-4.6.0 ITSI version to version 4.6.0 or higher, you need to stop the Rules Engine before upgrading so it can pick up the fields added to the KV store for migration:
    1. Within Splunk Web, go to Settings > Searches, reports, and alerts.
    2. In the App dropdown, select All.
    3. Use the filter to locate the itsi_event_grouping search.
    4. Click Actions > Disable.
  4. Untar the ITSI installation package into $SPLUNK_HOME/etc/shcluster/apps/. For example:
    tar -xvf splunk-it-service-intelligence_<latest_version>.spl -C $SPLUNK_HOME/etc/shcluster/apps/
    

    On Windows, rename the file extension from .spl to .tgz first and use a third-party utility like 7-Zip to perform the extraction.

  5. Run the splunk apply shcluster-bundle command on the deployer:
    splunk apply shcluster-bundle -target <URI>:<management_port> -auth <username>:<password>
    
    Note that if you're using options to disable rolling restarts, you need to trigger one manually. For instructions and more information, see Use the deployer to distribute apps and configuration updates.
  6. Start your Splunk software.
    cd $SPLUNK_HOME/bin
    ./splunk start
    
  7. In versions 4.6.0 and higher, the first time you go to ITSI after installing the new files, a migration screen steps you through the upgrade process. For Skip over localized failures, choose whether to skip over the following types of failures:
    • Missing dependencies in service KPIs, such as a missing macro
    • Multiple entity split or filter fields in KPI base searches
    • Missing dependencies in KPI base searches
    • Missing dependencies in correlation searches
    • Duplicate services

    Skipping over these failures means the problematic objects aren't migrated. You'll receive a list of skipped objects when the upgrade completes.

  8. Click Start Upgrade. The migration script runs to migrate existing ITSI knowledge objects to the new version.
  9. When the upgrade completes, open the ITSI homepage.
  10. Re-enable the itsi_event_grouping search.

To check migration related logs, run the following Splunk search:

index=_internal "[itsi.migration]"

Step 3: (Optional) Enable the Metrics Backfill Process Queue modular input

A new metrics-based summary index was introduced in ITSI version 4.6.0. To provide a more continuous experience, a backfill process queue modular input was added to migrate data from the itsi_summary index to the new metrics-based index. For more information about the metrics index, see ITSI metrics summary index reference in the Administration Manual.

In version 4.6.1, the modular input for backfill functionality is disabled by default as opposed to running automatically. If you upgraded to version 4.6.1 or higher and you need to use the Service Analyzer to inspect service or KPI data from before the upgrade, enable the backfill modular input. If you choose not to enable it, note that sparklines on the Service Analyzer might appear flat at first due to lack of data.

  1. On the search head containing ITSI, go to Settings > Data Inputs.
  2. Open the modular input called IT Service Intelligence Metrics Backfill Process Queue.
  3. Click Enable.

Optionally, you can modify the default configurations to backfill more or less data. If you do modify the defaults, first determine if your environment can backfill data at a higher rate than set by the default throttle and concurrent search settings.

Step 4. Upgrade indexers

For non-clustered distributed environments, copy the SA-IndexCreation file to $SPLUNK_HOME/etc/apps on each indexer in your deployment.

If you have an indexer cluster, use the configuration bundle method to replicate SA-IndexCreation across all peer nodes. On the master node, place a copy of SA-IndexCreation in $SPLUNK_HOME/etc/master-apps/. For information about updating peers in an indexer cluster, and for CLI instructions, see Manage app deployment across all peers in the Splunk Enterprise Managing Indexers and Clusters of Indexers manual.

Step 5. Upgrade ITSI license components

When you upgrade Splunk IT Service Intelligence, you must also upgrade SA-ITSI-Licensechecker and SA-UserAccess on any license master in a distributed or search head cluster environment.

If one of the search heads in your environment is also a license master, the license master components are upgraded when you upgrade ITSI on the search heads.

Step 6: Validate the upgrade

The Splunk IT Service Intelligence upgrade process is now complete. Objects disabled during the upgrade process are automatically reenabled. The ITSI shows the following message: IT Service Intelligence upgrade has completed successfully.

  1. In Splunk Web, click Help > About to verify that the upgrade was successful.
  2. Clear the browser cache of the browser you use to access Splunk Web. If you do not clear the browser cache, some pages might fail to load.

You can also check the installed version, latest version, and previous version by running the following search:

| rest splunk_server=local /services/apps/local/itsi | stats values(version) as itsi_installed_version | join [|inputlookup itsi_migration_check]

After upgrading

Perform the following steps after upgrading IT Service Intelligence.

  1. If there's a problem with the new version, see Troubleshoot an upgrade of IT Service Intelligence.
  2. If the upgrade fails, see Roll back an upgrade of ITSI.
  3. See the Version-specific upgrade notes for ITSI for the version you upgraded to.
Last modified on 28 October, 2020
PREVIOUS
Upgrade IT Service Intelligence on a single instance
  NEXT
Roll back an upgrade of ITSI

This documentation applies to the following versions of Splunk® IT Service Intelligence: 4.6.1 Cloud only, 4.6.2 Cloud only


Was this documentation topic helpful?

You must be logged into splunk.com in order to post comments. Log in now.

Please try to keep this discussion focused on the content covered in this documentation topic. If you have a more general question about Splunk functionality or are experiencing a difficulty with Splunk, consider posting a question to Splunkbase Answers.

0 out of 1000 Characters