Upgrading to 11.2.3.0 or later
Before you begin
Important:
- Before you upgrade, always read the release notes to be aware of all prerequisites and known issues for your particular release. For more information, see Netezza Performance Server 11.2.X.X release notes.
- Install your third-party software after the upgrade again as Netezza Performance Server does not provide any means to preserve the software.
- Downgrading from 11.2.3.X to 11.2.1.X Netezza Performance Server version is not supported. Contact IBM support for more information.
- In order to upgrade to 11.2.3.X, Netezza Performance Server must be on version 11.2.1.7 or later.
Note:
- With 11.2.3.0, the default compiler is GCC-9.
- All on-prem custom UDX must be upgraded to GCC-9.
- 11.2.3.0 does not support GCC-4.
- Run
udx_backup.sh
asnz user
to capture the complete list of custom UDF and respectiveCREATE FUNCTION
statement.Note: The script will capture the output file under /nz/export/ location.Example:
The list of third party UDX will be saved as /nz/export/udx_list.txt[nz@ipshost-0 ~]$ ./udx_backup.sh.sh
- Verify that you have CPP code for each of those custom UDF that is listed in
/nz/export/udx_list.txt
Important: Following are the considerations for upgrading to 11.2.3.0 or later:
- A non-void function must include a return statement. Using an incorrect return type or declaring a function as void when it should return a value will cause the system to crash immediately.
- GCC-9 is more strict in handling
NULL
values, requiring that UDX, UDF's and UDTF's must have properNULL
handling conditions. - C++11 coding standards must be followed while handling pointers, structures, and syntax issues.
- All object files (prefix.o) compiled over gcc-4 must be recompiled and re-registered over GCC-9 to maintain compatibility.
- Ensure not to back up the old incompatible object files when taking backup. Restore the backup after RHEL8 upgrade is completed.
python2
is no longer supported.
- Port/Compile CPP code for each UDX listed in step 2. Download the scripts from udx_backup.sh.
Procedure
- Run the following command to uninstall INZA.
/nz/var/nzcm/uninstall_inza.sh
- Go to libnetcrypto/11.2.x.x/ and
libnetxml/11.2.x.x/ and run the following command to uninstall SQL extension
toolkit.
./install -d sqlext -R
- Verify that
udx_backup.sh
script output capturesCREATE FUNCTION
statement as mentioned in Before you begin upgrading to Netezza Performance Server 11.2.3.0 or later. - Upgrade the host container and Netezza Performance Server to 11.2.3.0 or later, see Upgrading the container to 11.2.3.0 or later.
- Install the SQL extension toolkit that comes with 11.2.2.10, see Installing the IBM SQL Extensions toolkit.
- Install INZA that comes with 11.3.1, see Installing Netezza Performance Server Analytics.
What to do next
Compile and register all custom UDF. For more information, see Recompiling UDXs and reregistering IBM Fluid Query and Register the UDF with the Netezza Performance Server system.