DB2 10.5 for Linux, UNIX, and Windows

Uninstalling the DB2 pureScale Feature and the DB2 database software

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:

  1. Back up your data.
  2. Stop the DB2 pureScale instance by running the db2stop command from one of the hosts.
  3. 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
  4. 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.
  5. Uninstall theDB2 database software with the DB2 pureScale Feature installation by running the following command:
    db2_deinstall -a