Skip to main content

[Best practice] Qlik Sense upgrade steps from November 2017+ to later versions

No ratings
cancel
Showing results for 
Search instead for 
Did you mean: 
Yoichi_Hirotake
Former Employee
Former Employee

[Best practice] Qlik Sense upgrade steps from November 2017+ to later versions

Last Update:

Sep 17, 2021 5:10:42 AM

Updated By:

Sonja_Bauernfeind

Created date:

Mar 27, 2019 2:34:03 AM

This article provides the best practice on how to perform an upgrade of Qlik Sense from November 2017+ to later versions. We are using February 2019 and its later patch version as an example.

For more detailed upgrade advice and troubleshooting help, see Qlik Sense Upgrade Guide - Step-by-Step plus common issues and tips included and Troubleshooting your Qlik Sense upgrade.


Environment: (as "prerequisite")

  • Qlik Sense Enterprise, November 2017 or later version
  • Qlik Sense prior to June 2018 version and running Standalone PostgreSQL database with pre-created QSMQ and SenseServices databases before upgrade. Please refer to the Installing and configuring PostgreSQL section of the Help site. 


Back up

  1. Back up the certificate on the Central node. Please refer to the appropriate Help Page.
  2. Back up the shared folder used by Qlik Sense. Navigate to the shared folder and back up the entire folder. This path is printed in the Service Cluster section of the QMC
  3. Back up the Repository Database
  • Stop all of the Qlik Sense Services except Repository Database service
  • Log on to Windows of Repository Database of Production. Run below command line in command prompt.
cd / & mkdir QSR & "C:\Program Files\PostgreSQL\9.6\bin\pg_dump.exe" -h localhost -p 4432 -U postgres -b -F t -f "c:\QSR\QSR_backup_%date:~-4,4%%date:~-10,2%%date:~-7,2%.tar" QSR

Note1: Above command line is an example of when Repository DB is installed on C:\Program Files\PostgreSQL. Please modify the path based on your environment.
Note2: May also need to backup the QLogs database. See Backing up a Qlik Sense Site


Upgrade Qlik Sense

  1. Stop all Qlik Sense Services on rim nodes.
  2. Stop all of the Qlik Sense Services on the Central node except for Qlik Repository Database Service. Make sure it remains running.
  3. On the Central node for Qlik Sense, run the Qlik Sense February 2019 IR installer as administrator.
  4. Follow these upgrade steps:
    1. Right-click Qlik Qlik Sense February 2019 Installer and select Run as administrator
    2. Upgrade windows displays. Press Upgrade button 
    3. License Agreement window displays. Tick I accept the license agreement and select Next.  
    4. Service Credentials window displays. Enter Password of the service account which you run Qlik Sense Services. Then select Next 
      Note: In this example, domain\administrator is used to run Qlik Sense Services
    5. The Ready to upgrade window displays. Tick all desired options and then click Next.
      Note: Qlik appreciates participation in assisting the continued improvement of our upgrade procedures.
    6. License Agreement window displays, tick I accept the license agreement and select Upgrade
  5. After upgrade, open the QMC to ensure that the apps migrated successfully
  6. Open the Hub to validate connectivity
  7. Run the Qlik Sense February 2019 IR installer as administrator on all RIM nodes

Apply patches

  1. Stop all of the Qlik Sense Services
  2. On the Central node for Qlik Sense, run the applicable Qlik Sense Patch installer as administrator
  3. On the Rim nodes for Qlik Sense, run the applicable Qlik Sense Patch installer as administrator


After the upgrade - increase the Setting: max_connections to higher value

max_connections

  1. Stop all of the Qlik Sense services including Repository Database service
  2. Open postgresql.conf of PosgreSQL DB (Repository Database)

    Note: when you have standalone PosgreSQL DB installed, default location of postgresql.conf is C:\Program Files\PostgreSQL\9.6\data of windows of posgreSQL DB.
  1. Change Sum of max_connections on all nodes + (10 x number of nodes) For example, 1320 = 4 nodes with max_connections set to 320 for each node.
  2. Save the file and restart all of the Qlik Sense Services including Repository Database service

 

 
Labels (1)
Contributors
Version history
Last update:
‎2021-09-17 05:10 AM
Updated by: