22.3 Uninstalling the Sybase Inventory Database

22.3.1 Uninstalling on NetWare Servers

  1. Stop Sybase by entering q at the Sybase console prompt.

  2. Delete the path to mgmtdb.db from sys:\system\mgmtdbs.ncf.

    Do not delete other database paths.

  3. Note the value of the INVDBPATH key from sys:\system\zenworks.properties.

  4. If you want to use the inventory information stored in the database files, make a reliable backup of the database files (mgmtdb*.db) that are located in the INVDBPATH key.

  5. From the value identified in the INVDBPATH key, delete the Inventory database files (mgmtdb*.db), including mgmtdb.log.

  6. Delete the INVDBPATH key from sys:\system\zenworks.properties.

  7. Delete the ZFS_INVENTORY_DATABASE_SERVER key.

    Delete the following section from sys:\system\zenworks.properties:

    [ZfS_Inventory_Database_Server]
    
    Version = 7.0. Server Management product build_date
    
    Installed_From = Product CD
    
    Support_Pack = 0
    
  8. If Sybase is not uninstalled and if Sybase is used by other ZENworks products, to start Sybase, enter mgmtdbs.ncf at the Sybase console prompt.

22.3.2 Uninstalling on Windows Servers

  1. Note the value of the DBENGINEPATH key from the HKEY_LOCAL_MACHINE\SOFTWARE\NOVELL\ZENWORKS registry entry.

  2. To stop Sybase:

    1. In the Windows Control Panel, double-click Administrative Tools, then double-click Services.

    2. Right-click Novell Database - Sybase, then click Stop.

  3. Delete the path to mgmtdb.db:

    1. Run DBENGINE_installation_directory\ntdbconfig.exe.

    2. In the NTDBConfig dialog box, remove the path to mgmtdb.db, then click OK.

    3. If there are no other .db entries, remove the Sybase engine before proceeding to Step 4. For more information on how to remove the Sybase engine, see Section 22.4, Uninstalling the Sybase Engine.

  4. Note the value of the INVDBPATH key from the HKEY_LOCAL_MACHINE\SOFTWARE\NOVELL\ZENWORKS registry entry.

  5. If you want to use the inventory information stored in the database files, make a reliable backup of the database files (mgmtdb*.db) that are located in the INVDBPATH key.

  6. From the value identified in the INVDBPATH key, delete the Inventory database files (mgmtdb*.db), including mgmtdb.log.

  7. Delete the INVDBPATH key from the HKEY_LOCAL_MACHINE\SOFTWARE\NOVELL\ZENWORKS registry entry.

  8. Delete the Inventory database server key from the HKEY_LOCAL_MACHINE\SOFTWARE\NOVELL\ZENWORKS\ZFS registry entry.

  9. To start Sybase if it is not uninstalled and if it is used by other ZENworks products:

    1. In the Windows Control Panel, double-click Administrative Tools, then double-click Services.

    2. Right-click Novell Database - Sybase, then click Start.