The Ultimate QRadar SIEM Upgrade Guide: Step-by-Step with CLI Commands

The Ultimate QRadar SIEM Upgrade Guide: Step-by-Step with CLI Commands

A practical, production-tested guide to upgrading IBM QRadar SIEM, including health checks, screen sessions, SFS patching, and post-upgrade steps.

Upgrading an enterprise SIEM like IBM QRadar is a critical task that requires careful planning, health verifications, and disciplined execution. Whether applying a routine patch or an SFS software release, following a structured workflow ensures minimal downtime and prevents issues during deployment.


Pre-Upgrade Checklist & Preparation#

1. Health Checks & Notifications#

2. Backups & Infrastructure Snapshots#

Never initiate an upgrade without backing up configuration and system state data:

3. Unmount Previous Updates#

Ensure no lingering update mounts remain across your managed hosts:

Terminal window
/opt/qradar/support/all_servers.sh -k "umount /media/updates"
/opt/qradar/support/all_servers.sh -k "umount /media/cdrom"

Terminal Session Management (screen)#

QRadar updates can take anywhere from 30 minutes to several hours depending on environment size. Using GNU screen prevents an SSH disconnect from disrupting the upgrade process

Terminal window
# Create a new named session
screen -S DN_1
# List active sessions
screen -ls
# Reattach to an existing session
screen -r 4189

Tip: Detach safely from an active session at any time using Ctrl + A followed by D.

4. Staging & Running the Upgrade#

Note: SFS files stored in /storetmp are removed by the overnight maintenance script (diskmaintd.pl) if left uninstalled.

Verify disk space prior to mounting:

Terminal window
df -h /storetmp /var/log | tee diskchecks.txt

Create the update directory, mount the SFS file, and execute the patch script:

Terminal window
# Create mount point
mkdir -p /media/updates
# Mount SFS image
mount -o loop <QRadar_filename>.sfs /media/updates
# Run installer
/media/updates/installer

A message asks “Do you wish to continue?”. Enter Y.

Alternative text description

The installation process can take anywhere from 15 minutes to several hours, heavily depending on how many managed hosts you are patching. You’ll see a steady stream of installation messages scrolling by. Be patient when Tomcat restarts—as usual, this step can take a bit of time

When it finishes, you’ll see “patch succeeded”, as shown below.

Alternative text description

In your Web browser, log in to the QRadar GUI again

Click the Admin tab.

A message says “There are no changes to deploy”. This is contrary to the IBM patch Release Notes, which say that a manual deploy and release is required after the patch. However, the console showed that this patch automatically performed those steps already.

This is typical for enterprise-class software patches—you can’t always rely on the documents being accurate.

5. Real-Time Log Monitoring#

Monitor upgrade progress in real time by opening a separate terminal tab or screen session and tailing the installation log:

Terminal window
tail -f /var/log/setup-<version>/patches.log

(Example: tail -f /var/log/setup-2021.6.1.20220215133427/patches.log)

6. Post-Upgrade Tasks#

Once the installer reports completion across all hosts, finalize the process with these cleanup steps:

Terminal window
# Unmount patch directory
umount /media/updates
Terminal window
/opt/qradar/support/all_servers.sh -C -k /opt/qradar/bin/myver

Quick Reference Command Cheat Sheet#

TaskCommand
Unmount Old Updates/opt/qradar/support/all_servers.sh -k "umount /media/updates"
Check Disk Spacedf -h /storetmp /var/log | tee diskchecks.txt
Mount Installermount -o loop <QRadar>.sfs /media/updates
Run Installation/media/updates/installer
Unmount Patchumount /media/updates
New Screen Sessionscreen -S DN_1
Reattach Screenscreen -r <session_id>
License

CC BY-NC-SA 4.0 This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.

Related Posts