DB2 Version 10.1 for Linux, UNIX, and Windows

Removing DB2 data server and the DB2 pureScale Feature

Perform the steps in this task to remove the DB2® data server with the IBM® DB2 pureScale® Feature from your system.

Procedure

  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. Remove theDB2 data server with the DB2 pureScale Feature installation by running the following command:
    db2_deinstall -a