Considerations and restrictions when migrating to RHEL 8 or RHEL 9
Before upgrading your operating system, review these considerations and restrictions for
Teracloud®
Streams Version 7.2.0.
Important:
- Upgrade your operating system before installing Teracloud® Streams Version 7.2.0.
- Ensure that you download the correct Teracloud® Streams installation package for your target system. The operating system and architecture of the target system and the product installation package must be the same. For example, if your target system is a 64-bit RHEL 9 system, you must download the Teracloud® Streams 64-bit RHEL 9 installation package.
Migrating SPL applications
Teracloud® Streams Version 7.2.0 does not support running applications on Version 8 or Version 9 systems that are compiled from a prior release. Additionally, Streams does not support running applications on a Version 9 system that are compiled on a Version 8 system.
To run applications on a Teracloud® Streams Version 8 or Version 9 system, you must recompile the applications for the target system.
Important: If the application source has not changed,
you must specify the --clean option on the sc
command to force the application to recompile on the Version 8 or Version 9
system.
Here are some changes that you may have to make to your application:
- If you use any of the toolkits provided by Streams you will have to rename the
package name. The toolkit package names have been renamed from
com.ibm.streams
andcom.ibm.streamsx
tocom.teracloud.streams
. - If you are using custom Java operators you may have to make changes due to the changes between Java 8 and Java 17. See the Oracle's JDK Migration Guide on migrating to Java 17.
- If you are using custom C++ operators you may have to make changes due to C++ 17 support. See the Changes between C++11 and C++14 and Changes between C++14 and C++17 for removed C++ features.
To maintain an application on both a Version 8 or Version 9 system, use one of the following options:
- Option 1: Copy the application source directories to a new location and recompile the application.
- This option is preferred. This option is required if you need to make changes to your application enhancement in the product or the application has output files or data that cannot be shared between two running instances of the application.
- Option 2: Specify a different output directory for the Version 8 or Version 9 version of the application.
- Use the --output-directory option on the sc command to specify a different output directory for the application. For example, if a RHEL 7 application used the default output directory, you might specify --output-directory=output_rhel8 for the RHEL 8 version or --output-directory=output_rhel9 for the RHEL 9 version.
Important: If you are running Teracloud®
Streams across multiple resources, ensure that you satisfy the following requirements:
- All resources must run on the same product version and release of Teracloud® Streams.
- All resources must have the same major operating system version (Version 8 or 9).