Upgrading the container to 11.0.X.X
Deployment options: Netezza Performance Server for Cloud Pak for Data System
Learn how to upgrade the Netezza Performance Server container to 11.0.X.X.
Procedure
- Create a directory on the
e1n1bare metal control plane node.
Example:mkdir /opt/ibm/appliance/storage/ips/ips1_deployment/DIRECTORY
In the example, the directory is namedmkdir /opt/ibm/appliance/storage/ips/ips1_deployment/11.x.x.x11.x.x.x. - Download
container.tar.gzfrom Fix Central and save it in the newly created directory. - 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 - If
gpfstokenis present on the system, remove the token file.- If you are upgrading from 11.0.6.1 or later,
run:
docker exec ipshost1 rm /nz/.gpfstoken - If you are upgrading from a version earlier than 11.0.6.1, run the following commands:
-
docker exec ipshost1 bash -c "sed -i -e '/net.ipv4.conf.all.rp_filter/d' /etc/sysctl.conf" -
docker exec ipshost1 bash -c "sed -i -e '/net.ipv4.conf.default.rp_filter/d' /etc/sysctl.conf" -
docker exec ipshost1 bash -c "sed -i -e '/net.ipv4.conf.mgt1.rp_filter/d' /etc/sysctl.conf" -
docker exec ipshost1 bash -c "echo 'net.ipv4.conf.all.rp_filter = 0' >> /etc/sysctl.conf" -
docker exec ipshost1 bash -c "echo 'net.ipv4.conf.default.rp_filter = 0' >> /etc/sysctl.conf" -
docker exec ipshost1 bash -c "echo 'net.ipv4.conf.mgt1.rp_filter = 0' >> /etc/sysctl.conf"
-
- If you are upgrading from 11.0.6.1 or later,
run:
- 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
- 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
- Upgrade the container.
- 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:
- Optional: If you are upgrading the container from version 11.0.6.1 or earlier to version
11.0.7.0 or later, prune
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"