Upgrading the container to 11.1.X.X
Deployment options: Netezza Performance Server for Cloud Pak for Data System
Learn how to upgrade the Netezza Performance Server container to 11.1.X.X.
- Ensure that the database is not running.
nzstate- If the database is
Stopped, you can see the following output.[nz@xxx-npshost ~]$ nzstate System state is 'Stopped'. - If the database is not
Stopped, go to theipshost1container and stop the system.nzstop
- If the database is
- If
gpfstokenis present on the system, remove the token file.docker exec ipshost1 rm /nz/.gpfstoken - Change directories to the folder in which the container is
placed.
[root@e1n1 11.x.x.x]# cd /opt/ibm/appliance/storage/ips/ips1_deployment/11.x.x.x - Unpack
container.tar.gz.[root@e1n1 11.x.x.x]# tar -zxvf container.tar.gz ./ ./ipshost-image.tgz ./ips-deploy.sh ./ips_check ./nzconfigure.conf ./IBM_Netezza_Software_Support_Tools-11.0.4.1-20200216.tgz ./npsos.11.0.4.1.tar.gz ./unpack - Establish whether your system is Lenovo or Dell.
/opt/ibm/appliance/platform/xcat/scripts/xcat/display_nodes.py --vendor- If you have a Dell system, verify that you can access
hwinventoryfor each of the Dell SPUs./opt/dell/srvadmin/sbin/racadm -u root -p calvin -r e5n1bmc hwinventory nic- If ERROR: Unable to login to RAC using the specified address. does not appear,
you can replace
e5n1bmcwith Dell SPU nodes. - If ERROR: Unable to login to RAC using the specified address. appears:
- Run the command for that SPU node and wait for 5 - 10
minutes.
ipmitool -H e5n1bmc -U root -P calvin -I lanplus mc reset cold - Replace
e5n1bmcwith each Dell SPU node. - Verify that you can access
hwinventoryagain./opt/dell/srvadmin/sbin/racadm -u root -p calvin -r e5n1bmc hwinventory nic
- Run the command for that SPU node and wait for 5 - 10
minutes.
- If ERROR: Unable to login to RAC using the specified address. does not appear,
you can replace
- If you have a Dell system, verify that you can access
- Run the ips-deploy.sh script to upgrade the container again.
- For Lenovo,
run:
./ips-deploy.sh -o /opt/ibm/appliance/platform/onecli -d /opt/ibm/appliance/storage/ips -i 1 -u - For Dell,
run:
./ips-deploy.sh -r /opt/dell/ -d /opt/ibm/appliance/storage/ips -i 1 -u
Where:- -o
- The folder that contains the onecli command.
- -r
- The folder that contains the
racadm's srvadmindirectory. - -d
- The Netezza Performance Server base folder.
- -i
- The Netezza Performance Server instance number.
- -u
- Used to reupgrade the container without reinitializing.
- For Lenovo,
run:
- If you are upgrading the container from version 11.0.6.1 (or older) to version 11.0.7.0 (or
later in the 11.0.X.X stream), prune the
logs:
docker exec ipshost1 cp /nz/kit/sys/init/nztmpwatch.in /etc/cron.daily/nztmpwatch docker exec ipshost1 sed -i -e 's,@@PREFIX@@,/nz,' /etc/cron.daily/nztmpwatch docker exec ipshost1 sed -i -e 's,@@DATADIR@@,/nz/data.1.0,' /etc/cron.daily/nztmpwatch docker exec ipshost1 bash -c "[ -d /nz/kit.bak/log ] && tmpwatch --nodirs --mtime 360 /nz/kit.bak/log" docker exec ipshost1 bash -c "[ -d /nz/kit.bak/log/ldrDataRdr ] && tmpwatch --nodirs --mtime 120 /nz/kit.bak/log/ldrDataRdr" docker exec ipshost1 bash -c "[ -d /nz/kit.bak/log/unlDataWrtr ] && tmpwatch --nodirs --mtime 120 /nz/kit.bak/log/unlDataWrtr"
What to do next
- Optional: Reinstall third-party software.
For more information, see Installing third-party software.
- Redeploying the container to 11.1.X.X.