The db2iupdt command can be used to
update an instance to a higher level within a release.
Before you begin
Before
running the db2iupdt command, you must first stop
the instance and all processes that are running for the instance.
When using this command, ensure you have reviewed the prerequisites
and the pre-installation checklist so that your instance and hosts
are compliant.
About this task
The
db2iupdt command
can be issued against instances of the same version that are associated
with the same or a different DB2® copy.
In all cases, it will update the instance so that it runs against
the code located in the same DB2 copy
as where you issued the
db2iupdt command. Use this
command to:
- Install a new DB2 database
product or feature to the DB2 copy
associated to the DB2 instance.
- Update a DB2 instance from
one DB2 copy to another DB2 copy of the same version of DB2 database product.
You must run this command on each host in the
DB2 pureScale® instance.
Procedure
- Log in as root.
- Stop the instance and all process that are running for
the instance.
- Run the db2iupdt command as follows
to update the db2inst1 instance:
/opt/IBM/db2/<install_path>/instance/db2iupdt -d db2inst1
Note: If this command is run from a
DB2 pureScale Feature copy,
the existing
db2inst1 must have an instance type
of
dsf. You must run the
db2iupdt command
on all members and CFs in the cluster. Commit the DB2 DBMS instance to the new level by issuing
the following command:
db2iupdt –commit_level instance-name