Every few weeks, SAP HANA has revisions on its recent releases. Usually, smart data streaming has a few updates and bug fixes of its own, and occasionally, you might get an entirely new feature in a new revision. For example, recent revisions of SP 10 and SP 11 introduced the ability to configure, start, and stop the Web Services Provider through SAP HANA cockpit.
When you’re updating, you’ve got a couple of choices to make:
Which systems do I need to update? Should I update both SAP HANA and SAP HANA smart data streaming, or is SAP HANA already updated and I just need to ensure the smart data streaming version matches? What if I just want to update the Streaming Studio Plugin?
Do I want to use the GUI or the command line to perform this update?
Do I want a regular update or an optimized one?
Important: SAP HANA and smart data streaming versions must be the same. Only the patch level versions can vary (102.3 or 102.5).
While you likely already know the answers to the first two questions, the third is a bit more complicated.
Regular Update or Optimized Update
SAP HANA provides two methods for upgrading your system, regular and optimized. A regular update completes all update tasks in one step, with downtime throughout. An optimized update, however, splits the process into two phases, with only a fraction of the downtime of a regular update.
There are a few key differences between the two:
Throughout the whole update.
Only during phase 2; phase 1 (preparation) has no downtime.
Any parts of SAP HANA, together or separately.
For example, you can update just smart data streaming, or just SAP HANA.
Your SAP HANA system, plus any optional components.
Checks for dependencies continuously.
A dependency error can happen at any time during the upgrade process, and extend the downtime.
Checks for dependencies during phase 1 (uptime), so that no dependency errors happen during downtime.
GUI or Command line?
Can use either one.
Can use either one.
When do I do pre-update tasks?
Before starting the entire update process.
Right before starting phase 2.
Okay, let’s get started.
Download and Extract Everything You Need
Before you begin updating:
Download the upgrade packages you want from the SAP Service Markplace: Support Packages and Patches page. Remember that the SAP HANA and smart data streaming versions must be the same, so if you’re upgrading smart data streaming from SP 10 to SP 11, do so for SAP HANA as well. However, if you are just upgrading to a new patch (SP 102.2 to SP 102.5, for example), then you can just update the component that is most relevant to you.
Then, extract them using the SAPCAR utility’s -xvf command.
Run the utility once for each package that you’re unzipping. For example, to unzip the streaming client package on Windows, input:
If you just want to upgrade the Streaming Studio plugin, then you don’t need to worry about different update methods.
Open SAP HANA studio, and go to Help > Install New Software.
Click Add, then under Local, navigate to the SAP_HANA_STREAMING\repository directory, then click OK.
Select SAP HANA smart data streaming, click Next, and follow through the wizard process.
When you’re finished, restart studio (or your machine, if you’re using Linux).
SAP HANA and Smart Data Streaming Update – Regular or Optimized
Since you have a few different options for updating your system, depending on the components involved, the method (regular or optimized) that you chose, and the medium (GUI or command line), you should look over your specific task in the smart data streaming documentation.