13 Uninstalling Services Gatekeeper

This chapter describes how to uninstall Oracle Communications Services Gatekeeper and its components.

Uninstalling Services Gatekeeper Components in GUI Mode

To uninstall Services Gatekeeper components in GUI mode:

  1. Go to the Middleware_home/oui/bin directory and enter the following in a command window:

    ./deinstall.sh
    
  2. If you have multiple Oracle products installed in your Middleware_home directory, the Distribution to Uninstall screen appears.

    Perform the following to specify the Oracle product to uninstall:

    1. From the Select Distribution to Uninstall list, select the software you want to uninstall. For example, select one of the following:

      Oracle Communications Services Gatekeeper 6.0.0.0.0

      OCSG Platform Test Environment 6.0.0.0.0

      OCSG Application Test Environment 6.0.0.0.0

      OCSG Analytics 6.0.0.0.0

    2. Click Uninstall.

  3. From the Welcome screen, click Next.

    The Deinstallation Summary screen appears.

  4. Verify that the list of feature sets to deinstall is correct.

    To save the information to a response file so you can uninstall the components later, click Save Response File and specify the name and location of the response file.

  5. Click Deinstall.

    The Deinstallation Progress screen appears, and a progress bar indicates the status of the uninstall process.

  6. When the uninstallation process is complete, click Next.

    The Deinstallation Complete screen appears.

  7. Click Finish.

    The uninstaller exits.

  8. (If you are removing Reports information) Perform these steps to remove all reports and reports user information:

    1. Log on to the Analytics database and run this command:

      delete user User cascade
      
    2. Remove the Gatekeeper_home/ocsg_analytics directory.

Uninstalling Services Gatekeeper Components in Silent Mode

This section describes how to uninstall Services Gatekeeper components in silent mode on all platforms.

Use silent mode to uninstall duplicate installations on multiple machines. You do this by creating and using a response_uninistall.rsp configuration file, and then specifying it as a parameter during a silent mode uninstallation. When silent mode is used, the program does not display any options during the uninstall process.

To uninstall Services Gatekeeper components in silent mode:

  1. Create a text file on your target system.

  2. Add the following contents to your file:

    [ENGINE]
    #DO NOT CHANGE THIS.
    Response File Version=1.0.0.0.0
     
    [GENERIC]
     
    #This will be blank when there is nothing to be de-installed in distribution level
    SELECTED_DISTRIBUTION=Oracle Communications Services Gatekeeper~6.0.0.0.0
     
    #The oracle home location. This can be an existing Oracle Home or a new Oracle Home
    ORACLE_HOME=Middleware_home
    

    where SELECTED_DISTRIBUTION is set to the component to uninstall. This parameter is required only if multiple applications are installed in Middleware_home. The following list shows the values for Services Gatekeeper components:

    • Oracle Communications Services Gatekeeper~6.0.0.0.0

    • OCSG Application Test Environment~6.0.0.0.0

    • OCSG Platform Test Environment~6.0.0.0.0

    • OCSG Analytics~6.0.0.0.0

  3. Save the file with the name response_uninstall.rsp.

  4. Go to the Middleware_home/oui/bin directory and enter the following in a command window:

    ./deinstall.sh -silent -responseFile ResponseFile
    

    where ResponseFile is the full path and name of the response_uninstall.rsp file. For example, Middleware_home/oui/bin/response_uninstall.rsp.

    The uninstall process completes with no prompts.

  5. (If you are removing Reports information) Perform these steps to remove all reports and reports user information:

    1. Log on to the Analytics database and run this command:

      delete user User cascade
      
    2. Remove the Gatekeeper_home/ocsg_analytics directory.

If the uninstall procedure completes successfully, you will see a response similar to the following:

Launcher log file is /tmp/OraInstall2014-11-06_01-46-10PM/launcher2014-11-06_01-46-10PM.log.
Starting Oracle Universal Installer
 
Checking if CPU speed is above 300 MHz.   Actual 2893.030 MHz    Passed
Checking swap space: must be greater than 512 MB.   Actual 15826924 MB    Passed
Checking if this platform requires a 64-bit JVM.   Actual 64    Passed (64-bit not required)
Checking temp space: must be greater than 300 MB.   Actual 136360 MB    Passed
 
 
Preparing to launch the Oracle Universal Installer from /tmp/OraInstall2014-11-06_01-46-10PM
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=512m; support was removed in 8.0
Log: /tmp/OraInstall2014-11-06_01-46-10PM/deinstall2014-11-06_01-46-10PM.log
Setting ORACLE_HOME to /home/oracle/
Copyright (c) 1996, 2015, Oracle and/or its affiliates. All rights reserved.
Starting silent deinstallation...
-----------20%----------40%----------60%----------80%--------100%
 
The uninstall of Oracle Communications Services Gatekeeper 6.0.0.0.0 completed successfully.
Logs successfully copied to /export/oraInventory/logs.