Uninstalling Server Inventory

ZfS 3 Server Inventory cannot be uninstalled automatically. You must manually remove the Inventory server, the Inventory database running on Sybase, the eDirectory objects, and the ConsoleOne files.

NOTE:  If your Inventory database is mounted on Oracle, follow the uninstall procedure recommended by Oracle.

You must remove the objects and the files from every server and workstation where the Server Inventory components were installed. You do not need to uninstall the Inventory Agent.

In an enterprise deployment of Inventory, uninstall all Leaf Servers first and then proceed to uninstall Intermediate Servers, and finally the Root Server. Before uninstalling Server Inventory, make sure you have made and archived a reliable backup of the Inventory database residing at the Root Server.

To manually uninstall ZENworks Inventory, proceed in this sequence:


Removing the eDirectory Objects

To remove the ZfS Server Inventory eDirectory objects:

  1. On the Inventory server, stop the Inventory services.

  2. In ConsoleOne, right-click the Service Location Package object > click Properties > click Policies.

    If the ZENworks Database policy is enabled, select the policy > click Properties > click Inventory Management tab > delete the specified Inventory Database entry > click OK.

    IMPORTANT:  If the ZENworks Database policy is used by more than one Inventory server, you must uninstall those Inventory servers before performing this step.

  3. In ConsoleOne, locate the container holding the Inventory database objects and delete the Inventory database objects.

  4. In ConsoleOne, locate the container holding the Distributed Server Package.

    1. Right-click the Distributed Server Package > click Properties > click the Policies tab > click the General suboption, the NetWare suboption or the Windows suboption.

    2. If the Server Inventory policy is enabled, select the policy > click the Reset button > click Yes.

    3. Disable the Server Inventory policy.

      If you have configured the Server Inventory policy for more than one operating system, select the operating system suboption from the Policies tab and repeat this step.

    4. Click Apply > Close.

  5. In ConsoleOne, locate the container holding the Server Package.

    1. Right-click the Server Package > click Properties > click the Policies tab > click NetWare or Windows sub-option.

    2. If the Rollup policy is enabled, select the policy > click the Reset button > click Yes.

    3. Disable the Rollup policy.

    4. Click Apply > Close.

  6. In ConsoleOne, locate the container holding the Inventory Service object and delete the Inventory Service object.


Removing the Sybase Inventory Database

To remove the Sybase Inventory database:

  1. On Windows NT/2000 servers, note the value of the DBENGINEPATH key from the HKEY_LOCAL_MACHINE\SOFTWARE\Novell\ZENworks registry entry.

  2. Stop Sybase.

  3. Delete the path of MGMTDB.DB

  4. Note the value of the INVDBPATH key.

  5. From the value identified in the INVDBPATH key, delete the Inventory database files (MGMTDB*.DB), including MGMTDB.LOG.

    Do not delete the database files if they contain vital ZENworks for Desktops (ZfD) Workstation Inventory information.

  6. Delete the INVDBPATH key.

  7. Start Sybase if it is not uninstalled and if it is used by other ZENworks products.


Removing the Sybase Engine

You can remove the Sybase engine only if it is not used by other ZENworks products.

To remove the Sybase engine:

  1. Stop Sybase.

    On NetWare, at the Sybase console prompt, press the Q key.

    On Windows NT, in the Control Panel, double-click Services > select Novell Database - Sybase > click Stop.

    On Windows 2000, in the Control Panel, double-click Administrative Tools > double-click Services > select Novell Database - Sybase > click Stop.

  2. Note the value of the DBENGINEPATH key.

  3. Verify if the database is mounted on the database server.

  4. On NetWare, delete the MGMTDBS.NCF entry from SYS:\SYSTEM\AUTOEXEC.NCF.

  5. Delete the directory specified in DBENGINEPATH.

  6. Delete the DBENGINEPATH key.

    On NetWare, delete the DBENGINEPATH key from the SYS:\SYSTEM\ZENWORKS.PROPERTIES file.

    On Windows NT/2000, delete the DBENGINEPATH key from the HKEY_LOCAL_MACHINE\SOFTWARE\Novell\ZENworks registry entry.


Removing the ZfS Software from the Inventory Server

To remove the ZfS software files from the Inventory server:

  1. On the Inventory server, stop the Inventory Service Manager.

    On NetWare, at the server console prompt, type StopSer *.

    On Windows NT, in the Control Panel, double-click Services > select Novell Database - Sybase > click Stop.

    On Windows 2000, in the Control Panel, double-click Administrative Tools > double-click Services > select Novell Database - Sybase > click Stop.

  2. On a NetWare Inventory server, unload the JAVA.NLM (at the server console, type java -exit).

  3. Note the values of INVSRVPATH and ZWSPATH keys.

    On NetWare, note the values from the SYS:\SYSTEM\ZENWORKS.PROPERTIES file.

    On Windows NT/2000, note the values from the HKEY_LOCAL_MACHINE\SOFTWARE\Novell\ZENworks registry entry.

  4. Delete the INVSRVPATH\SCANDIR directory.

  5. Delete the INVSRVPATH\SERVER directory.

  6. On NetWare, delete the following entries from the SYS:\SYSTEM\AUTOEXEC.NCF file:

    ; ZENworks Inventory Settings
    StartInv.ncf
  7. On NetWare, delete the following files from SYS:\SYSTEM directory:

    INVENV.NCF
    INVENVSET.NCF
    LISTSER.NCF
    STARTINV.NCF
    STARTSER.NCF
    STOPSER.NCF
    DBEXPORT.NCF

  8. On Windows NT/2000, delete the ZENINVENTORY key from the HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services registry entry.

  9. If TED is not installed on the Inventory server, remove the ZEN Web Server components.

  10. On NetWare, delete the INVSRVPATH key from the SYS:\SYSTEM\ZENWORKS.PROPERTIES file.

    On Windows NT/2000, delete the ZWSPATH key from HKEY_LOCAL_MACHINE\SOFTWARE\Novell\ZENworks registry entry.


Removing the Server Inventory Snap-Ins from ConsoleOne

Do not uninstall ConsoleOne itself if you are using it to manage other products.

To remove only the Server Inventory snap-ins from ConsoleOne:

  1. Close ConsoleOne, if it is running.

    If ConsoleOne is invoked directly from the Inventory server on multiple workstations, you must close ConsoleOne on all these workstations.

  2. Under the ConsoleOne_installation_directory\1.2 directory on your server/workstations, do the following:

  3. Repeat Step 1 and Step 2 for each workstation where Inventory ConsoleOne snap-ins are installed.