Skip Headers
JD Edwards EnterpriseOne Application Pack for Oracle Enterprise Manager Cloud Control Implementation Guide
Release 9.1

E26776-03
Go to Documentation Home
Home
Go to Book List
Book List
Go to Table of Contents
Contents
Go to Master Index
Master Index
Go to Feedback page
Contact Us

Go to previous page
Previous
PDF · Mobi · ePub

10 Deinstall the Oracle Database and EMCC

If you only want to remove the JD Edwards EnterpriseOne Domain, refer to the chapter of this guide entitled: Section 8.17, "Removing the JD Edwards EnterpriseOne Domain".

To undeploy the JD Edwards EnterpriseOne Application Pack components, refer to the chapter of this guide entitled: Chapter 9, "Undeploy JDE AppPack Components".

This chapter discusses these topics:

10.1 Stop the Agent, OMS, and Database Using Line Commands

You should these commands, in this sequence, to stop the Enterprise Manager Agent, the OMS, and the Oracle database using by Enterprise Manager prior to deinstalling any product.

  1. On the machine where the database that is being used by Enterprise Manager is running, stop the database using these commands:

    sqlplus '/as sysdba'

    shutdown immediate

  2. On the machine where the database that is being used by Enterprise Manager is installed, stop the database listener using the lsnrctl stop command. This command is run from the /oracle/home/bin directory. For example, your /oracle/home/bin directory and command line might be:

    /u01/app/oracle/home/bin/lsnrctl stop

  3. Stop OMS using the stop oms command, which stops both the Admin Server and the OMS Server. This command is run from the oms/bin directory. For example, your oms/bin directory and command line might be:

    /u01/app/emgc12/oms/bin/emctl stop oms

  4. Stop the EMCC agent using the stop Agent command. This command is run from the bin directory of the agent installation directory. For example, your /bin directory and command line might be:

    /u01/app/emgc12/agent/agent_inst/bin/emctl stop agent

  5. Verify there no additional Oracle processes are running using this command:

    ps –r | grep oracle

    Note:

    A likely example of an Oracle process that might be running is for the WebLogic Server Node Manager.
  6. Kill any Oracle-based java process which are listed as results from the above command.

10.2 Deinstall the Oracle Database and EMCC Using OUI

You use the Oracle Universal Installer (OUI) to deinstall the Oracle EMCC. This section provides an example deinstall based on the install examples described in the chapters of this guide entitled:

To deinstall the Oracle database and EMCC using OUI:

  1. Change to the oui/bin directory and run the OUI runInstaller.sh script. For example, your oui/bin and command line might be:

    /u01/app/oracle/home/oui/bin/runInstaller.sh

    This image is described in surrounding text.
    Description of the illustration deinstall_db_welcome.gif

  2. On Oracle Universal Installer: Welcome, click the Deinstall Products... button.

    This image is described in surrounding text.
    Description of the illustration deinstall_db_inventory.gif

  3. On Inventory, check every checkbox except the checkbox for the Oracle Database Home. For example, do not select this checkbox:

    OraDB11g_home1

  4. Click the Remove button.

    This image is described in surrounding text.
    Description of the illustration deinstall_db_confirm.gif

  5. On Confirmation, click the Yes button to deinstall all Oracle components except the database home, which cannot be deinstalled until all other components are first deinstalled.

    This image is described in surrounding text.
    Description of the illustration deinstall_db_remove.gif

    The Remove dialog shows the progress of the deinstallation actions.

    This image is described in surrounding text.
    Description of the illustration deinstall_db_inventory_db.gif

  6. On Inventory, verify the only remaining Oracle products is the Oracle database home. For example:

    OraDB11g_home1

  7. On Inventory, select the checkbox for the Oracle database home and click the Remove button.

    This image is described in surrounding text.
    Description of the illustration deinstall_db_warning.gif

  8. A Warning displays this text:

    Please run the command '/u01/app/oracle/home/deinstall/deinstall' to deinstall this Oracle home.

  9. As instructed in the Warning, open a UNIX console window and issue these commands to change to the /oracle/home/deinstall directory and run the deinstall.sh script:

    This image is described in surrounding text.
    Description of the illustration deinstall_db_script_ex.gif

  10. The deinstall.sh script launches the Oracle Deinstall and Deconfiguration Tool and displays the following console, where the bolded sections are user prompts. This console listing shows users responses that are applicable for this example. If no response is shown in the console session, then the default action is assumed as triggered by the user input pressing of the Enter key. You should refer to the Oracle OEM documentation and provide user responsibilities applicable to your installation.

    [oracle@denlx01 deinstall]$ cd /u01/app/oracle/home/deinstall
    [oracle@denlx01 deinstall]$ ./deinstall
    Checking for required files and bootstrapping ...
    Please wait ...
    Location of logs /tmp/deinstall2011-08-09_06-54-51-PM/logs/
     
    ############ ORACLE DEINSTALL & DECONFIG TOOL START ############
     
     
    ######################## CHECK OPERATION START ########################
    Install check configuration START
     
     
    Checking for existence of the Oracle home location /u01/app/oracle/home
    Oracle Home type selected for de-install is: SIDB
    Oracle Base selected for de-install is: /u01/app/oracle
    Checking for existence of central inventory location /u01/app/oraInventory
     
    Install check configuration END
     
     
    Network Configuration check config START
     
    Network de-configuration trace file location: /tmp/deinstall2011-08-09_06-54-51-PM/logs/netdc_check6212736737944149450.log
     
    Specify all Single Instance listeners that are to be de-configured [LISTENER]:
     
    Network Configuration check config END
     
    Database Check Configuration START
     
    Database de-configuration trace file location: /tmp/deinstall2011-08-09_06-54-51-PM/logs/databasedc_check5639182693098634058.log
     
    Use comma as separator when specifying list of values as input
     
    Specify the list of database names that are configured in this Oracle home [emrep]:
     
     
    ###### For Database 'emrep' ######
     
    Single Instance Database
    The diagnostic destination location of the database: /u01/app/oracle/diag/rdbms/emrep
    Storage type used by the Database: FS
    Database file location: /u01/app/oracle/oradata/emrep,/u01/app/oracle/flash_recovery_area/emrep
    Flash recovery area location: /u01/app/oracle/flash_recovery_area/EMREP
    database spfile location: /u01/app/oracle/home/dbs/spfileemrep.ora
     
    The details of database(s) emrep have been discovered automatically. Do you still want to modify the details of emrep database(s)? [n]:
    
    Database Check Configuration END
     
    Enterprise Manager Configuration Assistant START
     
    EMCA de-configuration trace file location: /tmp/deinstall2011-08-09_06-54-51-PM/logs/emcadc_check.log
     
    Checking configuration for database emrep
    Enterprise Manager Configuration Assistant END
    Oracle Configuration Manager check START
    OCM check log file location : /tmp/deinstall2011-08-09_06-54-51-PM/logs//ocm_check1704.log
    Oracle Configuration Manager check END
     
    ######################### CHECK OPERATION END #########################
     
     
    ####################### CHECK OPERATION SUMMARY #######################
    Oracle Home selected for de-install is: /u01/app/oracle/home
    Inventory Location where the Oracle home registered is: /u01/app/oraInventory
    Following Single Instance listener(s) will be de-configured: LISTENER
    The following databases were selected for de-configuration : emrep
    Database unique name : emrep
    Storage used : FS
    No Enterprise Manager configuration to be updated for any database(s)
    No Enterprise Manager ASM targets to update
    No Enterprise Manager listener targets to migrate
    Checking the config status for CCR
    Oracle Home exists and CCR is configured
    CCR check is finished
    Do you want to continue (y - yes, n - no)? [n]: y
    A log of this session will be written to: '/tmp/deinstall2011-08-09_06-54-51-PM/logs/deinstall_deconfig2011-08-09_06-55-33-PM.out'
    Any error messages from this session will be written to: '/tmp/deinstall2011-08-09_06-54-51-PM/logs/deinstall_deconfig2011-08-09_06-55-33-PM.err'
     
    ######################## CLEAN OPERATION START ########################
     
    Enterprise Manager Configuration Assistant START
     
    EMCA de-configuration trace file location: /tmp/deinstall2011-08-09_06-54-51-PM/logs/emcadc_clean.log
     
    Updating Enterprise Manager ASM targets (if any)
    Updating Enterprise Manager listener targets (if any)
    Enterprise Manager Configuration Assistant END
    Database de-configuration trace file location: /tmp/deinstall2011-08-09_06-54-51-PM/logs/databasedc_clean4559434184925448083.log
    Database Clean Configuration START emrep
    This operation may take few minutes.
    Database Clean Configuration END emrep
     
    Network Configuration clean config START
     
    Network de-configuration trace file location: /tmp/deinstall2011-08-09_06-54-51-PM/logs/netdc_clean6305675544518456018.log
     
    De-configuring Single Instance listener(s): LISTENER
     
    De-configuring listener: LISTENER
        Stopping listener: LISTENER
        Warning: Failed to stop listener. Listener may not be running.
        Deleting listener: LISTENER
        Listener deleted successfully.
    Listener de-configured successfully.
     
    De-configuring Naming Methods configuration file...
    Naming Methods configuration file de-configured successfully.
     
    De-configuring backup files...
    Backup files de-configured successfully.
     
    The network configuration has been cleaned up successfully.
     
    Network Configuration clean config END
     
    Oracle Configuration Manager clean START
    OCM clean log file location : /tmp/deinstall2011-08-09_06-54-51-PM/logs//ocm_clean1704.log
    Oracle Configuration Manager clean END
    Oracle Universal Installer clean START
     
    Detach Oracle home '/u01/app/oracle/home' from the central inventory on the local node : Done
     
    Oracle Universal Installer clean END
     
     
    Oracle install clean START
     
    Clean install operation removing temporary directory '/tmp/install' on node 'denlx01'
     
    Oracle install clean END
     
     
    ######################### CLEAN OPERATION END #########################
     
     
    ####################### CLEAN OPERATION SUMMARY #######################
    Successfully de-configured the following database instances : emrep
    Following Single Instance listener(s) were de-configured successfully: LISTENER
    Cleaning the config for CCR
    Cleaning the CCR configuration by executing its binaries
    CCR clean is finished
    Successfully detached Oracle home '/u01/app/oracle/home' from the central inventory on the local node.
    Failed to delete directory '/u01/app/oracle/home' on the local node.
    Successfully deleted directory '/u01/app/oraInventory' on the local node.
    Failed to delete directory '/u01/app/oracle' on the local node.
    Oracle Universal Installer cleanup completed with errors.
     
    Run 'rm -rf /etc/oraInst.loc' as root on node(s) 'denlx01' at the end of the session.
     
    Oracle install successfully cleaned up the temporary directories.
    #######################################################################
     
     
    ############# ORACLE DEINSTALL & DECONFIG TOOL END #############