Skip Headers
Oracle® Beehive Installation Guide
Release 2 (2.0.1.8) for Microsoft Windows x86

Part Number E16642-07
Go to Documentation Home
Home
Go to Book List
Book List
Go to Table of Contents
Contents
Go to Index
Index
Go to Feedback page
Contact Us

Go to previous page
Previous
Go to next page
Next
PDF · Mobi · ePub

10 Oracle Beehive Uninstall Wizard

You may uninstall the following products with the Oracle Beehive Uninstall Wizard:

This chapter covers the following topics about uninstalling Oracle Beehive:

Starting the Oracle Beehive Install Wizard

Start the Oracle Beehive Uninstall Wizard by running setup.exe -uninstall from the installation media.

Oracle Beehive Uninstall Wizard Sequence of Screens

The following screens appear during the uninstallation of Oracle Beehive:

Select Oracle Home to Uninstall

This screen lists all the Oracle Beehive products you have installed and their respective Oracle homes.

Select the Oracle Beehive home you want to uninstall.

This screen will not appear if you started the uninstall process by running the Config Wizard. In this case, the Config Wizard will uninstall the current Oracle Beehive home.

Option to Remove Database Schema

You will see this screen if you are uninstalling Oracle Beehive Release 2 (2.0) and it is the last instance configured in your database.

Select from one of the following options:

Remove Oracle Beehive Instance Only

This option will only deconfigure the Oracle Beehive instance.

Remove Oracle Beehive and Schema

This option will deconfigure the Oracle Beehive instance and remove the Oracle Beehive schema from the database. If you choose this option, you must provide the following information:

  • Admin User Name: Specify the administrative user name (that can perform database administration tasks) for the database instance. Typically, this user is the SYS account.

  • Admin User Password: Enter the password for the Oracle database administrative user account that you specified in the Admin User Name field.

Start Uninstallation

This screen will list actions that the Oracle Beehive Uninstall Wizard must perform to uninstall your chosen Oracle Beehive product.

Note:

If you started the uninstall process with the Config Wizard, the "Delete Oracle Home" action will not be displayed. This action will be performed after you have exited the Config Wizard graphical user interface.

Click Start Uninstall to proceed with the uninstallation of your chosen Oracle Beehive product.

Note:

On Microsoft Windows, if you receive an error message from the Oracle Beehive Uninstall Wizard that it was unable to delete the Oracle home folder, delete it manually, then restart your computer.

End of Uninstallation

This screen indicates that the uninstallation of the chosen Oracle Beehive product is successful.

Uninstalling Provisioning Application for Oracle Beehive or Oracle Beekeeper

Uninstall Oracle Beehive Provisioning Application or Oracle Beekeeper Provisioning Application with the Oracle Beehive Universal Installer:

  1. Run the Oracle Beehive Universal Installer from the Oracle Management Service home:

    <Oracle Management Service home>\oui\bin\setup.exe

  2. Click Deinstall Products.

  3. In the Oracle Homes tree, expand the <OMS_HOME> node to view all installed components. Select the provisioning application you want to remove and click the Remove button.

Note:

You cannot uninstall the provisioning application with the Oracle Beehive or Oracle Beekeeper Uninstall Wizard.

The Uninstall Wizard will not uninstall any changes made to the Oracle Enterprise Manager Grid Control repository database.

Uninstalling Multiple Instances

If you wish to uninstall multiple instances of Oracle Beehive (which share the same database), uninstall each instance one at a time; do not run the Uninstall Wizard of each instance at the same time.

If you have multiple instances that share the same database, and you run the Uninstall Wizard of each instance at the same time, each Uninstall Wizard will assume that the instance it is uninstalling is not the last one to be uninstalled. As a result, the Oracle Beehive schema will not be removed from the database.

Manually Deleting Oracle Beehive Tablespaces and Datafiles

To manually delete Oracle Beehive tablespaces and datafiles, run the following SQL*Plus commands as a user with SYSDBA privileges. Ensure that the environment variable ORACLE_SID is set to the SID of the database that contains the Oracle Beehive tablespaces and datafiles.

Note:

You may need to manually delete Oracle Beehive database users. Run the SQL command DROP USER <user name> CASCADE for the following users:
  • BEE_DATA

  • BEE_CDCPUB

  • BEE_CODE

  • ORAWSM

  • ORAESB

  1. SQL> SET LINE 1000 PAGES 0

    This command sets the line size to a large number and suppresses other formatting information so that the next command can output additional SQL*Plus commands without any line breaks.

  2. SQL> SELECT 'DROP TABLESPACE ' || tablespace_name || ' INCLUDING CONTENTS AND DATAFILES;' FROM dba_tablespaces WHERE tablespace_name LIKE 'BEE%';

    This command outputs a list of tablespace DROP commands. Review each command before running them.

The following is an example of running these two commands, then running each of the generated tablespace DROP commands:

SQL> SET LINE 1000 PAGES 0
SQL> SELECT 'DROP TABLESPACE ' || tablespace_name || ' INCLUDING CONTENTS AND
  DATAFILES;' FROM dba_tablespaces WHERE tablespace_name LIKE 'BEE%';
DROP TABLESPACE BEE_ARCHIVE INCLUDING CONTENTS AND DATAFILES;
DROP TABLESPACE BEE_AUDIT INCLUDING CONTENTS AND DATAFILES;
DROP TABLESPACE BEE_DATA INCLUDING CONTENTS AND DATAFILES;
DROP TABLESPACE BEE_INDEX INCLUDING CONTENTS AND DATAFILES;
DROP TABLESPACE BEE_INTERFACE INCLUDING CONTENTS AND DATAFILES;
DROP TABLESPACE BEE_LOBS INCLUDING CONTENTS AND DATAFILES;
DROP TABLESPACE BEE_QUEUES INCLUDING CONTENTS AND DATAFILES;
DROP TABLESPACE BEE_SEARCH_DATA INCLUDING CONTENTS AND DATAFILES;
DROP TABLESPACE BEE_SEARCH_INDEX INCLUDING CONTENTS AND DATAFILES;
DROP TABLESPACE BEE_SEARCH_LOBS INCLUDING CONTENTS AND DATAFILES;
DROP TABLESPACE BEE_SEED INCLUDING CONTENTS AND DATAFILES;
 
11 rows selected.
 
SQL> DROP TABLESPACE BEE_ARCHIVE INCLUDING CONTENTS AND DATAFILES;
 
Tablespace dropped.
 
SQL> DROP TABLESPACE BEE_AUDIT INCLUDING CONTENTS AND DATAFILES;
 
Tablespace dropped.
 
SQL> DROP TABLESPACE BEE_DATA INCLUDING CONTENTS AND DATAFILES;
 
Tablespace dropped.
 
SQL> DROP TABLESPACE BEE_INDEX INCLUDING CONTENTS AND DATAFILES;
 
Tablespace dropped.
 
SQL> DROP TABLESPACE BEE_INTERFACE INCLUDING CONTENTS AND DATAFILES;
 
Tablespace dropped.
 
SQL> DROP TABLESPACE BEE_LOBS INCLUDING CONTENTS AND DATAFILES;
 
Tablespace dropped.
 
SQL> DROP TABLESPACE BEE_QUEUES INCLUDING CONTENTS AND DATAFILES;
 
Tablespace dropped.
 
SQL> DROP TABLESPACE BEE_SEARCH_DATA INCLUDING CONTENTS AND DATAFILES;
 
Tablespace dropped.
 
SQL> DROP TABLESPACE BEE_SEARCH_INDEX INCLUDING CONTENTS AND DATAFILES;
 
Tablespace dropped.
 
SQL> DROP TABLESPACE BEE_SEARCH_LOBS INCLUDING CONTENTS AND DATAFILES;
 
Tablespace dropped.
 
SQL> DROP TABLESPACE BEE_SEED INCLUDING CONTENTS AND DATAFILES;
 
Tablespace dropped.

Manually Deleting Customized Oracle Beehive Customized Tablespaces and Datafiles

If you have customized the Oracle Beehive tablespace layouts, run the following SQL*Plus commands as a user with SYSDBA privileges:

  1. SQL> SET LINE 1000 PAGES 0

    This command sets the line size to a large number and suppresses other formatting information so that the next command can output additional SQL*Plus commands without any line breaks.

  2. SQL> SELECT 'DROP TABLESPACE "' || ts_name || '" INCLUDING CONTENTS AND DATAFILES;' AS "Drop tablespace commands" FROM sys.bee_tablespaces;

    This command generates a list of tablespace DROP commands. Review each command before running them.

  3. SQL> DROP VIEW sys.bee_tablespaces;

    This command drops the view that contains the customized tablespaces.

Manually Deleting Existing BEE_CODE Schema

To manually delete old BEE_CODE schemas, run the following SQL*Plus commands as a user with SYSDBA privileges on any one of the mid-tiers:

bee_code_xxx schemas:

cd $ORACLE_HOME/beehive/db

$ORACLE_HOME/perl/bin/perl schema_deinstall.pl --oracle_home $ORACLE_HOME --schema_name <schema_to_be_dropped> --new_status deinstalled

Uninstalling Corrupted Installation

To get system object of the corrupted midtier, run the following beectl command from the remote midtier:

beectl list_components --type BeehiveInstance

Follow these steps to uninstall a corrupted Oracle Beehive installation:

  1. Run the Install Wizard or the Config Wizard with the -forceOHInventoryUninstall option. Note that you may run this command from the installation media or the Oracle Beehive home directory. Run one of the following commands depending on your operating system:

    <Oracle Beehive home>/beehive/oobwiz/configWizard -forceOHInventoryUninstall <Oracle Beehive Home>
    runInstaller -forceOHInventoryUninstall
    setup.exe -forceOHInventoryUninstall
    
  2. Manually remove the Oracle Beehive home directory.

  3. Clean up the Oracle Beehive configuration remotely by running the beectl delete_remote_home_instance command.

    Note that you must run this command from a remote Oracle Beehive instance.