44.1 Uninstalling Workstation Inventory

Workstation Inventory cannot be automatically uninstalled from ZENworks Desktop Management. You must manually remove the Inventory server, the Inventory database running on Sybase, the Novell eDirectory™ objects, and the ConsoleOne® files.

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

You must remove the objects and the files from every server and workstation where the Workstation Inventory components are installed.

In an enterprise deployment of Workstation Inventory, uninstall all Leaf Servers first, then uninstall Intermediate Servers, and finally uninstall the Root Server.

Before uninstalling Workstation Inventory, make sure you have made and archived a reliable backup of the Inventory database residing at the Root Server.

To manually uninstall Workstation Inventory, proceed in this sequence:

  1. Uninstalling the Workstation Inventory eDirectory Objects

  2. Uninstalling the Database eDirectory Object

  3. Uninstalling the Sybase Inventory Database

  4. Uninstalling the Sybase Engine

  5. Uninstalling the Inventory Server Software

  6. Uninstalling the XML Proxy Server

  7. Uninstalling the Workstation Inventory Snap-Ins from ConsoleOne

  8. Uninstalling the Desktop Management Inventory Agent

44.1.1 Uninstalling the Workstation Inventory eDirectory Objects

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

    • On a NetWare® server: At the server console prompt, enter StopSer *.

    • On a Windows 2000/2003 server: In the Control Panel, double-click Administrative Tools, double-click Services, select Novell Inventory Service, then click Stop.

    • On a Linux server: At the server prompt, enter /etc/init.d/novell-zdm-inv stop.

  2. If the ZENworks Database policy is enabled, disable it.

    1. In ConsoleOne, right-click the Service Location Package object, click Properties, then click Policies.

    2. Select the ZENworks Database policy, click Properties, then click the Inventory Management tab.

    3. Delete the specified Inventory Database entry, then 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. See Uninstalling the Inventory Server Software for information.

  3. Disable the Workstation Inventory policy.

    1. In ConsoleOne, right-click the Workstation Package object, then click Properties.

    2. Click Policies, then select the appropriate operating system suboption.

    3. If the Workstation Inventory policy is enabled, select the policy, click the Reset button, then click Yes.

    4. Deselect the Workstation Inventory policy.

    5. Click Apply, then click Close.

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

  4. Disable the Roll-Up policy and the Dictionary Update policy, if the policies are configured.

    1. In ConsoleOne, locate the container holding the Server Package, right-click the Server Package, click Properties, click Policies, then click the NetWare or Windows suboption.

    2. Select the Roll-Up policy, click the Reset button, then click Yes.

    3. Deselect the Roll-Up policy.

    4. Select the Dictionary Update policy, click the Reset button, then click Yes.

    5. Deselect the Dictionary Update policy.

    6. Click Apply, then click Close.

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

44.1.2 Uninstalling the Database eDirectory Object

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

44.1.3 Uninstalling the Sybase Inventory Database

This section includes the following information:

Uninstalling on NetWare Servers

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

  2. Delete the database_path\mgmtdb.db entry from sys:\system\mgmtdbs.ncf.

  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 INVDBPATH.

  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 ZFD_INVENTORY_DATABASE_SERVER key.

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

    [ZfD_Inventory_Database_Server]Version = 7.0 Desktop Management product build date
    
    Installed_From = Product CD
    
    Support_Pack = 0
    
  8. Start Sybase if it is not uninstalled and if it is used by other ZENworks products.

    To start Sybase, enter mgmtdbs.ncf at the NetWare server console prompt.

Uninstalling on Windows Servers

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

  2. Stop Sybase.

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

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

  3. Delete the mgmtdb.db entry.

    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 information on how to remove the Sybase engine, see 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 INVDBPATH.

  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\ZFD registry entry.

  9. 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. Select Novell Database - Sybase, then click Start.

Uninstalling on Linux Servers

  1. At the Linux server prompt, enter /etc/init.d/novell-zdm-sybase stop.

  2. At the server prompt, enter rpm -e novell-zenworks-invdb.

  3. 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 INVDBPATH.

  4. Delete the INVDBPATH key from /etc/opt/novell/zenworks/zenworks.properties.

  5. Delete the ZFD_INVENTORY_DATABASE_SERVER key.

    Delete the following section from /etc/opt/novell/zenworks/zenworks.properties:

    [ZfD_Inventory_Database_Server]Version = 7.0 Desktop Management product build date
    
    Installed_From = Product CD
    
    Support_Pack = 0
    
  6. Start Sybase if it is not uninstalled and if it is used by other ZENworks products.

    To start Sybase, enter /etc/init.d/novell-zdm-sybase start at the server prompt.

44.1.4 Uninstalling the Sybase Engine

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

Uninstalling on NetWare Servers

If Sybase is used by other ZENworks products, you must uninstall the database before proceeding to uninstall the Sybase engine. For information, see Uninstalling the Sybase Inventory Database.

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

  2. Note the value of the DBENGINEPATH key from sys:\system\zenworks.properties.

  3. Verify whether the database is mounted on the database server by checking sys:\system\mgmtdbs.ncf has the .db entry.

    If the file does not contain the .db entry, delete mgmtdbs.ncf. If the file contains the .db entry, do not continue to remove the Sybase engine.

  4. Delete the mgmtdbs.ncf entry from sys:\system\autoexec.ncf.

  5. Delete the directory specified in DBENGINEPATH (identified in Step 3).

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

Uninstalling on Windows Servers

If Sybase is used by other ZENworks products, you must uninstall the database before proceeding to uninstall the Sybase engine. For information, see Uninstalling the Sybase Inventory Database.

  1. Stop Sybase.

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

    2. Select Novell Database - Sybase.

    3. Click Stop.

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

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

    1. Run dbengine_installaton_directory\ntdbconfig.exe to find if it has a .db entry.

    2. The ntdbconfig.exe file has the .db entry if the database is mounted on the database server. If ntdbconfig.exe has the .db entry, do not continue to remove the Sybase engine.

      If the .db entry does not exist, delete the ASANYS_ZENWORKS key from the HKEY_LOCAL_MACHINE\SYSTEM\CURRENTCONTROLSET\ SERVICES registry entry.

  4. Delete the directory specified in DBENGINEPATH.

Uninstalling on Linux Servers

If Sybase is used by other ZENworks products, you must uninstall the database first before proceeding to uninstall the Sybase engine. For information, see Uninstalling the Sybase Inventory Database.

  1. At the Linux server prompt, enter /etc/init.d/novell-zdm-sybase stop.

  2. Verify if the database is mounted on the database server by checking that /etc/opt/novell/zenworks/bin/mgmtdbs.sh has the .db entry.

    If the file does not contain the .db entry, delete mgmtdbs.sh. If the file contains the .db entry, do not continue to remove the Sybase engine.

  3. Delete the DBENGINEPATH key from /etc/opt/novell/zenworks/zenworks.properties.

  4. At the server prompt, enter rpm -e novell-zenworks-sybase.

44.1.5 Uninstalling the Inventory Server Software

This section includes the following information:

Uninstalling on NetWare Servers

  1. On the Inventory server, stop the Inventory Service by entering StopSer * at the server console prompt.

  2. Unload the java.nlm: At the server console, type java -exit.

  3. Note the values of INVSRVPATH and ZWSPATH keys from sys:\system\zenworks.properties.

  4. Delete the ZFD_INVENTORY_SERVER key:

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

    [ZfD_Inventory_Server]Version = 7.0 Desktop Management product build date
    
    Installed_From = Product CD
    
    Support_Pack = 0
    
  5. Delete the invsrvpath\scandir directory.

  6. Delete the invsrvpath\server directory.

  7. Delete the following entries from sys:\system\autoexec.ncf:

    ; ZENworks Inventory Settings
    
    StartInv.ncf
    
  8. Delete the following files from sys:\system directory:

    • invenv.ncf
    • invenvset.ncf
    • listser.ncf
    • startinv.ncf
    • startser.ncf
    • startzws.ncf
    • stopser.ncf
    • dbexport.ncf
    • debug.properties
    • stopdb.ncf
  9. If Policy and Distribution Services and the XML Proxy server are not installed on the Inventory server, remove the ZENworks Web Server components by deleting the directory specified by ZWSPATH.

    1. Delete the following entries from sys:\system\autoexec.ncf:

      ; ZENworks Inventory Settings
      
      ZFS.ncf
      
    2. Delete the zwsstart.ncf file from the sys:\system directory.

    3. Delete the ZWSPATH key from sys:\system\zenworks.properties.

    4. Delete zws_volume:\zfs-startup.xml.

    5. Delete zws_volume:\zenworks\zfs.ncf.

  10. Delete the INVSRVPATH key from sys:\system\zenworks.properties.

Uninstalling on Windows Servers

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

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

    2. Select Novell Inventory Service, then click Stop.

    3. Select Novell ZENworks Service Manager, then click Stop.

  2. Note the values of INVSRVPATH and ZWSPATH keys from the HKEY_LOCAL_MACHINE\SOFTWARE\NOVELL\ZENWORKS registry entry.

  3. Delete the invsrvpath\scandir directory.

  4. Delete the invsrvpath\server directory.

  5. Delete the ZENINVENTORY key from the HKEY_LOCAL_MACHINE\SYSTEM\CURRENTCONTROLSET\SERVICES registry entry.

  6. Delete the Inventory server key from the HKEY_LOCAL_MACHINE\SOFTWARE\NOVELL\ZENWORKS\ZFD registry entry.

  7. If Policy and Distribution Services and the XML Proxy server are not installed on the Inventory server, remove the ZENworks Web Server components.

    1. Delete the zwspath directory.

    2. Delete the ZWSPATH key from the HKEY_LOCAL_MACHINE\SOFTWARE\NOVELL\ZENWORKS registry entry.

    3. Delete the ZWSSRV key from the HKEY_LOCAL_MACHINE\SYSTEM\CURRENTCONTROLSET\SERVICES registry entry.

  8. Delete the INVSRVPATH key from HKEY_LOCAL_MACHINE\SOFTWARE\NOVELL\ ZENWORKS registry entry.

  9. Reboot the machine for the changes to take effect.

Uninstalling on Linux Servers

  1. Stop the Inventory service by entering /etc/init.d/novell-zdm-inv stop.

  2. Delete the INVSRVPATH and ZWSPATH keys from /etc/opt/novell/zenworks/zenworks.properties.

  3. Delete the ZFD_Inventory_Server key:

    Delete the following section from /etc/opt/novell/zenworks/zenworks.properties.

    [ZfD_Inventory_Server]Version = 7.0 Desktop Management product build date
    
    Installed_From = Product CD
    
    Support_Pack = 0
    
  4. At the server prompt, enter rpm -e novell-zenworks-invserver.

  5. At the server prompt, enter rpm -e novell-zen-zws.

  6. (Optional) If the debug log files are not required, delete the /var/opt/novell/log/zenworks/inv directory.

  7. If the Remote Management component or any other Workstation Inventory component of ZENworks 7 Desktop Management has not been installed, delete the following files:

    • /etc/opt/novell/zenworks/zenworks.properties
    • /etc/opt/novell/zenworks/password.txt
    • /etc/opt/novell/zenworks/zfs-startup.xml.rpmsave
    • /etc/opt/novell/zenworks/zws.properties.rpmsave
  8. Delete /etc/samba/smb.conf.timestamp.

44.1.6 Uninstalling the XML Proxy Server

To uninstall the Inventory XML Proxy Server files from the server if Policy and Distribution Services or Inventory is not installed on the server:

Uninstalling on NetWare Servers

  1. Unload the java.nlm by entering java -killzfsexit at the server console prompt.

  2. Note the value of the ZWSPATH from sys:\system\zenworks.properties.

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

    [ZfD_XML_Proxy_Server]
    
    Version=7.0 Desktop Management product build date
    
    Installed_From = Product CD
    
    Support_Pack = 0
    
  4. Delete the following entries from sys:\system\autoexec.ncf:

    ; ZENworks Inventory Settings
    
    
    ZFS.ncf 
    
  5. Delete the zwsstart.ncf file from sys:\system directory.

  6. Delete the ZWSPATH directory and the ZWSPATH entry from sys:\system\zenworks.properties.

  7. Delete zfs-startup.xml and zfs.ncf from the zws_volume:\zenworks directory.

Uninstalling on Windows Servers

  1. Stop ZENworks Web Server.

    In the Control Panel, double-click Administrative Tools, double-click Services, select Novell ZENworks Service Manager, then click Stop.

  2. Note the value of the ZWSPATH key from the HKEY_LOCAL_MACHINE\SOFTWARE\NOVELL\ZENWORKS registry entry. The value indicates the zwspath directory.

  3. Delete the zwspath directory.

  4. Delete the Inventory Proxy XML server key from the HKEY_LOCAL_MACHINE\SOFTWARE\NOVELL\ZENWORKS\ZFD registry entry.

  5. Delete the ZWSSRV key from the HKEY_LOCAL_MACHINE\SYSTEM\CURRENTCONTROLSET\SERVICES registry entry.

  6. Delete the ZWSPATH key from the HKEY_LOCAL_MACHINE\SOFTWARE\NOVELL\ZENWORKS\ registry entry.

  7. Delete zws_volume:\zenworks\zfs-startup.xml.

Uninstalling on Linux Servers

  1. Delete the ZWSPATH key from /etc/opt/novell/zenworks/zenworks.properties.

  2. At the server prompt, enter rpm -e novell-zen-zws.

44.1.7 Uninstalling the Workstation Inventory Snap-Ins from ConsoleOne

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

To remove only the Workstation 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. In the consoleone_installation_directory\1.2 directory on your server or workstation, do the following:

    1. Delete the following files:

      • \lib\zen\dbexport.jar
      • \lib\zen\desktop.jar
      • \lib\zen\zeninvimages.jar
      • \lib\zen\zenutility.jar
      • \lib\zen\statuslog.jar
      • \lib\zen\classes12.zip\lib\zen\vbjapp.jar\lib\zen\vbjorb.jar\lib\zen\jdbcdrv.zip
      • \snapins\zen\inventorysnapins.jar
      • \snapins\zen\inventorysnapins3x.jar\snapins\zen\dataexportsnapins.jar\snapins\zen\policymigration.jar\snapins\zen\workstationsnapins.jar\snapins\zen\tracer.jar\help\novellserverinv.hs\bin\directoryrights.dll\bin\displayrules.properties\bin\schemarules.properties
    2. Delete the following directories:

      • \reporting\canned\novellreporting\zeninventory
      • \reporting\canned\novellreporting\zeninventory30
      • \reporting\canned\novellreporting\zeninventory32
      • \reporting\canned\novellreporting\zeninventory3x
      • \reporting\canned\novellreporting\zeninventory4x
  3. If you have not installed the Remote Management ConsoleOne snap-ins on the same workstation or server, delete the following files:

    • \bin\desktop4.exe
    • \bin\mssql.ini
    • \bin\msvp60.dll
    • \bin\ndsaccess.dll
    • \bin\oracle.ini
    • \bin\remagent.ini
    • \bin\sybase.ini
    • \help\novellzeninven.hs
    • \help\novellzenrmgt.hs \help\en\novell_zfd_inventory
    • \help\en\novell_zfd_remotemgmt
    • \lib\zen\desktop.jar
    • \lib\zen\desktop3x.jar\lib\zen\desktopcommonutility.jar
    • \resources\resources.jar
    • \snapins\zen\commonsnapins.jar

44.1.8 Uninstalling the Desktop Management Inventory Agent

If you need to uninstall the Desktop Management Inventory Agent on a user workstation, you can do so by running Add\Delete Programs in Windows. Any application icons created on the desktop by the Novell Application Launcher™ are not deleted.

NOTE:Any user can try to execute the Add/Remove Programs in Windows to uninstall the Desktop Management Inventory Agent. Unless that user has local administrative rights to the workstation, the agent uninstall is not successful.