C.4 Uninstalling the QDB or CCDB

To uninstall the QDB or CCDB, use Microsoft SQL Server Management Studio to delete the repository, the SQL Server jobs that were created when you installed the repository, and the account that owns the repository.

If a Windows user account owns the QDB or CCDB, the repository is the default database for the Windows user in Microsoft SQL Server. Before you uninstall the QDB or CCDB, use Microsoft SQL Server Management Studio to change the default database for the Windows user account to an appropriate system database. Otherwise, the Windows user will not be able to connect to the SQL Server after you uninstall the QDB or CCDB.

To uninstall the QDB or CCDB:

  1. Stop any services that connect to the QDB or CCDB.

  2. On the computer where you want to uninstall the QDB or CCDB, start SQL Server Management Studio.

  3. (Conditional) If the QDB or CCDB owner is a Windows user account, change the default database for the Windows user to an appropriate system database.

  4. Select the QDB or CCDB you want to uninstall.

  5. Delete the QDB or CCDB from the SQL Server.

  6. (Conditional) If you are deleting the QDB, use the Task Scheduler Configuration Utility to delete the following SQL Server jobs:

    • NetIQ Archive Event

    • NetIQ Dynamic View

    • NetIQ MS HealthCheck

    • NetIQ Monitoring Policy

    • NetIQ Purge Archive Event

    • NetIQ Rule Based Dynamic View

    • NetIQ Update MG Server Membership

    • NetIQ Uphold Parameter Overrides

    • NetIQ Daily

    • NetIQ Hourly

    • NetIQ Minutely

    • NetIQ Weekly

    • NetIQ License Audit

    • NetIQ Remove Old Data

    • NetIQ Rebuild Data Views

    • NetIQ Clear Data Details

    • NetIQ VSG Modtime Update

  7. (Conditional) If you are deleting the CCDB, use the Task Scheduler Configuration Utility to delete the following SQL Server jobs:

    • NetIQ Daily

    • NetIQ Half-Hourly Task

    • NetIQ Hourly

    • NetIQ Manage SQL Jobs

    • NetIQ SMV Hourly Task

  8. Delete the account that owns the QDB or CCDB.