Uninstalling the DB2® database
software with the DB2 pureScale® Feature
from your system requires that you perform certain steps in preparation
and then proceed to the actual removal of the software.
Procedure
To uninstall the DB2 database
software with the DB2 pureScale Feature
from your system:
- Back up your data.
- Stop the DB2 pureScale instance
by running the db2stop command from one of the hosts.
- Drop the DB2 pureScale instance
on all the hosts by running the following command from one of the
hosts:
db2idrop -g instance_name
where
the -g parameter specifies that the DB2 pureScale instance
will be dropped globally (on all DB2 members
and cluster
caching facilities).
You can find the db2idrop command in the <DB2DIR>/instance directory
- Manually remove the IBM® General Parallel
File System ( GPFS™) cluster
and file system. The db2idrop -g does not delete
the GPFS cluster
on the host from which you ran the command and does not remove file
systems to protect your data.
- Uninstall theDB2 database
software with the DB2 pureScale Feature
installation by running the following command:
db2_deinstall -a