B.8 Uninstalling Workstation Inventory in a Clustering Environment

The Workstation Inventory component of ZENworks 7 Desktop Management SP1 cannot be automatically uninstalled. 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 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. Section B.8.1, Uninstalling the Workstation Inventory eDirectory Objects

  2. Section B.8.2, Uninstalling the Database eDirectory Object

  3. Section B.8.3, Uninstalling the Sybase Inventory Database

  4. Section B.8.4, Uninstalling the Sybase Engine

  5. Section B.8.5, Uninstalling the Inventory Server Software

  6. Section B.8.6, Uninstalling the XML Proxy Server

  7. Section B.8.7, Uninstalling the Workstation Inventory Snap-Ins from ConsoleOne

  8. Section B.8.8, Applying Changes to the Cluster Scripts

B.8.1 Uninstalling the Workstation Inventory eDirectory Objects

  1. On the Netware Inventory server, stop the Inventory services by entering StopSer * at the server console prompt:

  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.

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

B.8.2 Uninstalling the Database eDirectory Object

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

B.8.3 Uninstalling the Sybase Inventory Database

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

  2. Delete the database_path\mgmtdb.db entry from sys:\system\mgmtdbs.ncf on all cluster nodes.

    IMPORTANT:Do not delete other database paths.

  3. Note the value of the INVDBPATH key in sys:\system\zenworks.properties on any of the cluster nodes.

  4. From the value identified in the INVDBPATH key, delete the Inventory database files (mgmtdb*.db), including mgmtdb.log on all cluster nodes.

    IMPORTANT:Before deleting the database files, make sure that you have made a reliable backup of the database files if you want to use the inventory information stored in them.

  5. Delete the INVDBPATH key from sys:\system\zenworks.properties on all cluster nodes.

  6. Delete the ZFD_INVENTORY_DATABASE_SERVER key on all cluster nodes.

    Delete the following section from sys:\system\zenworks.properties on all cluster nodes:

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

    At the Sybase console prompt, enter mgmtdbs.ncf.

B.8.4 Uninstalling the Sybase Engine

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

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

  2. Note the value of the DBENGINEPATH key in sys:\system\zenworks.properties on any of the cluster nodes.

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

    The sys:\system\mgmtdbs.ncf file on any cluster node has the .db entry if the database is mounted on the database server

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

  4. Delete the mgmtdbs.ncf entry from cluster load script on all cluster nodes.

  5. Delete dbsrv8.nlm from the unload script.

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

  7. Delete the DBENGINEPATH key from sys:\system\zenworks.properties on all cluster nodes.

B.8.5 Uninstalling the Inventory Server Software

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

  2. Unload the java.nlm by entering java -exit at the NetWare Inventory server console prompt.

  3. Note the values of INVSRVPATH and ZWSPATH keys in sys:\system\zenworks.properties on any of the cluster nodes.

  4. Delete the ZFD_INVENTORY_SERVER key.

    Delete the following section from sys:\system\zenworks.properties on all cluster nodes:

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

  6. Delete the invsrvpath\server directory on all cluster nodes.

  7. Delete the following entries from the cluster load script on all cluster nodes:

    ; ZENworks Inventory Settings
    
    StartInv.ncf
    
  8. Delete the following entries from the unload script:

    java -killzenwsinv
    
    java -killzwexit
    
  9. Delete the following files from sys:\system directory on all cluster nodes:

    • invenv.ncf
    • invenvset.ncf
    • listser.ncf
    • startinv.ncf
    • startser.ncf
    • startzws.ncf
    • stopser.ncf
    • dbexport.ncf
    • debug.properties
    • stopdb.ncf
  10. 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 the cluster load script on all cluster nodes:

      ; ZENworks Inventory Settings
      
      ZFS.ncf
      
    2. Delete zwsstart.ncf from the sys:\system directory on all cluster nodes.

    3. Delete the ZWSPATH key from sys:\system\zenworks.properties on all cluster nodes.

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

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

  11. Delete the INVSRVPATH key from the sys:\system\zenworks.properties file on all cluster nodes.

B.8.6 Uninstalling the XML Proxy Server

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

  2. Note the value of the ZWSPATH in sys:\system\zenworks.properties on any of the cluster nodes.

  3. Delete the following section from sys:\system\zenworks.properties on all cluster nodes:

    [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 the cluster load script on all cluster nodes:

    ; ZENworks Inventory Settings
    
    ZFS.ncf 
    
  5. Delete zwsstart.ncf from the sys:\system directory on all cluster nodes.

  6. Delete the ZWSPATH directory and the ZWSPATH entry from sys:\system\zenworks.properties on all cluster nodes.

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

B.8.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

B.8.8 Applying Changes to the Cluster Scripts

To apply the uninstall changes you made by following the instructions in Uninstalling Workstation Inventory in a Clustering Environment to the cluster scripts, you must offline the cluster and then online it again.