Oracle® Beehive Installation Guide Release 1 (1.5) for Solaris Operating System (SPARC 64-Bit) Part Number E14832-05 |
|
|
View PDF |
You may uninstall the following products with the Oracle Beehive Uninstall Wizard:
Oracle Beehive Release 1
Oracle Beehive Provisioning Application
Oracle Beehive for DMZ
The following topics about uninstalling Oracle Beehive are covered:
Start the Oracle Beehive Uninstall Wizard by running the Oracle Beehive Install Wizard and clicking the Uninstall button. Alternatively, run the Oracle Beehive Config Wizard (or Oracle Beehive Install Wizard) with the -uninstall
command-line option.
The following screens appear during the uninstallation of Oracle Beehive:
Select Oracle Home to Uninstall: This screen will not appear if you start Oracle Beehive Uninstall Wizard with Oracle Beehive Config Wizard.
Option to Remove Database Schema: This screen will only appear if you are uninstalling Oracle Beehive Release 1 and it is the last one configured in your database.
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.
You will see this screen if you are uninstalling Oracle Beehive Release 1 and it is the last instance configured in your database.
Choose 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.
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.This screen indicates that the uninstallation of the chosen Oracle Beehive product is successful.
Uninstall Oracle Beehive Provisioning Application or Oracle Beekeeper Provisioning Application with the Oracle Beehive Universal Installer:
Run the Oracle Beehive Universal Installer from the Oracle Management Service home:
<Oracle Management Service home>
/oui/bin/runInstaller
Click Deinstall Products.
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.
Notes:
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.
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.
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 commandDROP USER
<user name>
CASCADE
for the following users:
BEE_DATA
BEE_CDCPUB
BEE_CODE
ORABPEL
ORAWSM
ORAESB
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.
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.
If you have customized the Oracle Beehive tablespace layouts, run the following SQL*Plus commands as a user with SYSDBA privileges:
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.
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.
SQL>
DROP VIEW sys.bee_tablespaces;
This command drops the view that contains the customized tablespaces.