Unlocking the Existing Oracle Clusterware Installation

After upgrade from previous releases, if you want to deinstall the previous release Oracle Grid Infrastructure Grid home, then you must first change the permission and ownership of the previous release Grid home.

Unlock the Oracle Clusterware installation using the following procedure:

  1. Log in as root, and change the permission and ownership of the previous release Grid home using the following command syntax, where oldGH is the previous release Grid home, swowner is the Oracle Grid Infrastructure installation owner, and oldGHParent is the parent directory of the previous release Grid home:

    #chmod -R 755 oldGH
    #chown -R swowner oldGH
    #chown swowner oldGHParent

    For example:

    #chmod -R 755 /u01/app/11.2.0/grid
    #chown -R grid /u01/app/11.2.0/grid
    #chown grid /u01/app/11.2.0
    
  2. After you change the permissions and ownership of the previous release Grid home, log in as the Oracle Grid Infrastructure Installation owner (grid, in the preceding example), and use the same release Oracle Grid Infrastructure 12c standalone deinstallation tool to remove the previous release Grid home (oldGH).

Caution:

You must use the deinstallation tool from the same release to remove Oracle software. Do not run the deinstallation tool from a later release to remove Oracle software from an earlier release. For example, do not run the deinstallation tool from the 12.2.0.1 installation media to remove Oracle software from an existing 12.1.0.2 Oracle home.

You can obtain the standalone deinstallation tool from the following URL:

http://www.oracle.com/technetwork/database/enterprise-edition/downloads/index.html

Click the See All link for the downloads for your operating system platform, and scan the list of downloads for the deinstall utility.