Installing IBM JDK security fix on a Db2 virtual system instance
Apply the IBM JDK security fix included in IBM JDK Java Technology Edition 8.0.8.26 on a Db2® virtual system instance that is deployed on IBM Cloud Pak System to address the vulnerabilities.
Note: As a prerequisite, keep the virtual system instance in maintenance mode and then resume the virtual system instance after you do the steps to apply the
IBM JDK security fix.
Applying IBM JDK on Db2 HADR deployment
To apply IBM JDK on Db2 HADR
deployment, do these steps.
- SSH and log in as the
db2 instance user
into the primary and standby virtual machines (VM) of the deployed IBM Db2 virtual system instance. For example:# su – db2inst1
- Disable the IBM Db2 high availability
instance configuration utility by running the following command on the standby virtual
machine.
# db2haicu -disable
- Disable the IBM Db2 high availability
instance configuration utility by running the following command on the primary virtual
machine.
# db2haicu -disable
- Stop the database on the primary virtual machine. For example, run the following
command:
# db2 stop hadr on db <database_name>
- Stop the database on the standby virtual machine. For example, run the following
command:
# db2 stop hadr on db <database_name>
- Install IBM JDK. For more information, see Instructions for IBM JDK Installation for a security related
fix.Note: The directory path that is specified on the page contains the folder name as “ibm” and “IBM” in some places, which is not consistent. Read the folder name as “ibm” everywhere.
- Start the database on the standby virtual machine by running the following command as
standby:
# db2 start hadr on db <database_name>
- Start the database on the primary virtual machine by running the following command as
primary:
# db2 start hadr on db <database_name>
- Enable the IBM Db2 high availability
instance configuration utility on the standby virtual machine by running the following
command:
# db2haicu
Applying IBM JDK on an IBM Db2 single virtual machine deployment
To apply IBM JDK on an IBM Db2 single
virtual machine deployment, do these steps.
- SSH and log in as the
db2 instance user
into the virtual machines of the deployed IBM Db2 virtual system instance. For example, run the following command:# su – db2inst1
- Install IBM JDK. For more information, see Instructions for IBM JDK Installation for a security related
fix.Note: The directory path that is specified on the page contains the folder name as “ibm” and “IBM” in some places, which is not consistent. Read the folder name as “ibm” everywhere.