Upgrading, backing up, and migrating data
You use the same script to back up, restore, and migrate your data during an upgrade.
Before you begin
- Read about the limitations that apply to this procedure. For more information, see Backup and migration limitations.
- If you do not configure a key-based Secure Shell (SSH) authentication as part of the installation, you are prompted for the password during the restoration. For more information about setting up SSH, see Setting up Secure Shell to use key-based authentication.
About this task
- Saved searches, tags, and Data Sources
- Data Types including Source Types, Rule Sets, File Sets, and Collections.
- Topology configuration files
- Usage statistics
- LDAP configuration files
- Custom Search Dashboards
- Insight® Packs
- Log File Agent (LFA) configuration files
- License configuration files
- All chart specifications, including custom chart specifications.
- Aggregation templates and aggregated data that is stored in the _aggregations data source.
- Log files that are generated by Log Analysis.
- Log files that were uploaded in batch mode.
LDAP information for one LDAP server is migrated automatically. If you have more than one LDAP server, you must migrate and configure the information from the other LDAP server manually. The migrated information is stored in the ldapRegistry.xml file.
Procedure
- Back up your data. For more information, see Backing up data.
- Restore your data. For more information, see Restoring data.
- Use Log Analysis 1.3.7 Fix Pack 2 to upgrade from Log Analysis 1.3.7 or 1.3.7 FP1 to Log Analysis 1.3.7 FP2.
- For more information, see this Security Bulletin.
- Use Log Analysis 1.3.7 Fix Pack 1 to upgrade from Log Analysis 1.3.7 to Log Analysis 1.3.7 FP1.
- Use Log Analysis 1.3.7 Fix Pack to upgrade from Log Analysis 1.3.6 or 1.3.6 FP1 to Log Analysis 1.3.7.
To upgrade from Log Analysis Version 1.3.5.x to Version 1.3.7:
To upgrade from Log Analysis 1.3.5, 1.3.5 FP1, 1.3.5 FP2, or 1.3.5 FP3 to Log Analysis 1.3.7 you must first upgrade to Log Analysis 1.3.6, and then ensure that your collections all have Apache Solr 7.x index format. Indexes created with an Apache Solr version older than 7.x are not supported in Log Analysis 1.3.7. Collections that were created by Log Analysis 1.3.5.x (except 1.3.5.3, which uses Apache Solr 7.x) cannot be migrated to Log Analysis 1.3.7 because these collections have indexes that were created with an Apache Solr version older than 7.x.
Use the following steps to upgrade from Log Analysis 1.3.5.x to Log Analysis1.3.7.
- Upgrade from Log Analysis 1.3.5 to 1.3.6.
Use Log Analysis 1.3.6 Fix Pack to upgrade from Log Analysis 1.3.5 GA,1.3.5 FP1,1.3.5 FP2, or 1.3.5 FP3 to Log Analysis 1.3.6.
- Use the Log Analysis 1.3.7 fix pack
installation script to identify collections that were created with an Apache Solr version older than
7.x, which cannot be migrated.
Collections that cannot be migrated are listed with the message
--CANNOT MIGRATE--
, and then installation is terminated. - Remove collections that cannot be migrated. Upgrade to Log Analysis 1.3.7 cannot be performed until all collections that cannot be migrated are removed. Choose one of these options:
- Wait for the retention period (for example 30 days) to elapse so that collections originally created in Log Analysis 1.3.5 by an Apache Solr version older than 7.x are cleared.
- Delete collections that cannot be migrated if you do not want to wait for the retention period. You can delete all your collections, or you can wait for some of the retention period to elapse and then delete the remaining collections that cannot be migrated. If you decide that you want to delete some or all of your collections, then contact IBM Support.
- Migrate from Log Analysis 1.3.6 to
1.3.7.
Use Log Analysis 1.3.7 Fix Pack to upgrade from Log Analysis 1.3.6 to Log Analysis 1.3.7.
What to do next
- Log in to Log Analysis and open the Data sources workspace.
- Identify the data sources that use Local file as the location in their configuration. For each of these data sources, open the data source and complete the steps in the wizard without changing any data. This action updates the data sources with the relevant information for the new server.
- Identify the data sources that use Custom as the location in their configuration. For each of these data sources, open the data source and complete the steps in the wizard, updating the hostname to match the new one.
If you migrate Aggregated Search templates or aggregated data to new instance of Log Analysis, you must configure Aggregated Search again.
If you migrate Aggregated Search templates to a new instance of Log Analysis, edit the templates to verify that all the specifications are correct.