This documentation supports the 3.3 version of BMC Digital Workplace. To view the latest version, select the version from the Product version menu.

Uninstalling BMC Digital Workplace Catalog

If you need to remove BMC Digital Workplace Catalog from your server, use the uninstall-digitalworkplace.sh script included in the installation package to automate the process.

To remove the BMC Digital Workplace Catalog application

The uninstall-digitalworkplace.sh script stops a running server and removes the existing files from the current installation. If the script cannot find an existing installation, the script searches the system for the installation location and then prompts you to confirm its deletion.

  1. Navigate to the folder where the installation package was extracted. If you cannot remember where the files were extracted, download the installation package and extract a new copy of the files.
  2. Run the script:

    # ./uninstall-digitalworkplace.sh

    After the application has been removed, an administrator with DBA permissions must drop the databases or tablespaces and users.

To remove the database objects

The following commands can be modified to find and remove the database objects from an Oracle database server. A Microsoft SQL Server administrator should perform similar operations through the visual database management client.

  1. Enter the database management client.

    Example
    $ sqlplus sys as sysdba
    
    SQL*Plus: Release 11.2.0.4.0 Production on Fri May 26 00:33:38 2017
    
    Copyright (c) 1982, 2013, Oracle.  All rights reserved.
    
    Enter password: ********
    
    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    SQL> 
  2. Find and drop the tablespaces.

    Example
    SQL> SELECT TABLESPACE_NAME, STATUS, CONTENTS FROM USER_TABLESPACES;
    TABLESPACE_NAME                STATUS    CONTENTS
    ------------------------------ --------- ---------
    ...
    DWP_TMPDB                      ONLINE    TEMPORARY
    DWP_APPDB                      ONLINE    PERMANENT
    DWP_TENANTDB                   ONLINE    PERMANENT
    
    SQL> DROP TABLESPACE DWP_TMPDB INCLUDING CONTENTS AND DATAFILES CASCADE CONSTRAINTS;
    SQL> DROP TABLESPACE DWP_APPDB INCLUDING CONTENTS AND DATAFILES CASCADE CONSTRAINTS;
    SQL> DROP TABLESPACE DWP_TENANTDB INCLUDING CONTENTS AND DATAFILES CASCADE CONSTRAINTS; 
  3. Find and drop the users.

    Example
    SQL> SELECT USERNAME FROM DBA_USERS;
    USERNAME
    ------------------------------
    ...
    DWP_TENANTDB
    DWP_APPDB
    
    SQL> DROP USER DWP_TENANTDB CASCADE;
    SQL> DROP USER DWP_APPDB CASCADE; 
  4. Find and drop the roles.

    Example
    SQL> SELECT ROLE FROM DBA_ROLES;
    ROLE
    ------------------------------
    ...
    DWPADMIN_ROLE
    
    SQL> DROP ROLE DWPADMIN_ROLE;

Was this page helpful? Yes No Submitting... Thank you

Comments