Uninstalling Policy and Distribution Services

Policy and Distribution Services cannot be uninstalled automatically. You must manually remove the ZfS software and its Novell eDirectoryTM objects.

You will need to remove objects, files, and information on every server and workstation where ZfS components were installed.

To manually uninstall ZfS, proceed in the following order:

  1. Removing the eDirectory Objects
  2. Removing the Software on NetWare Servers
  3. Removing the Software on Windows Servers
  4. Removing the Software on UNIX Servers
  5. Removing the Snap-Ins from ConsoleOne
  6. Removing the Web Components

Removing the eDirectory Objects

Removing ZfS eDirectory objects is optional.

If you do not want to remove the eDirectory objects, only follow the steps to gather information concerning working directory locations. You will need that information when deleting the software.

To remove the ZfS eDirectory objects:

  1. In ConsoleOne®, right-click the Service Location Package > click Properties.

  2. If the Tiered Electronic Distribution policy is enabled, select the policy > click Properties > note the locations and names of any default log files and working directories that have been specified.

    You will need this information later when you remove the software files.

  3. In ConsoleOne, locate a container holding TED objects.

    1. Note the locations and names of the log files and working directories that are specified in the TED object properties.

      You will need this information later when you remove the software files.

    2. Right-click a TED object > click Delete NDS Object > Yes.

      Do this for each of the following TED objects that exist:

         Distributor
         Distribution
         Channel
         Subscriber
         External Subscriber
         Subscriber Group

  4. Repeat Step 3 for all TED objects in the tree.

  5. Locate a container holding ZfS Policy Packages.

    1. Note the locations and names of the log files and working directories that are specified in the ZfS objects' properties.

      You will need this information later when you remove the software files.

    2. Right-click a policy package object > click Delete NDS Object > Yes.

    3. Repeat Step 5.b for each policy package object in the container.

  6. Repeat Step 5 for all policy package objects in the tree.

  7. Click the plus sign for Server Software Packages so that all package components are visible.

  8. Select a software package.

    1. Right-click one of its component objects > click Delete > Yes.

    2. Repeat Step 8.a for each component under the selected package.

    3. Right-click the software package object > click Remove > Yes.

  9. Repeat Step 8 for each software package.

  10. If you want to remove the ZfS Policy and Distribution Services database, right-click the appropriate Database object > click Delete NDS Object > Yes.

    Make sure you have selected the correct Database object, because there could be other Database objects, such as for Server Inventory or ZENworks for Desktops (ZfD).

  11. Exit ConsoleOne.


Removing the Software on NetWare Servers

You must remove the ZfS software files from NetWare servers.

To remove the software files:

  1. At a server console, unload all ZfS Java* processes (use EXITALL at the ZfS prompt).

  2. At the Sybase prompt, type q to stop the database.

  3. If you want to remove the ZENworks Database file (ZFSLOG.DB), delete the DATABASE directory.

    WARNING:  Do not delete the DATABASE directory if it is being used by ZfD, Server Inventory, or Management and Monitoring Services.

  4. Using a file manager, delete the ZENWORKS\PDS directory.

    This deletes the Distributor, Subscriber, and Server Policies software.

    WARNING:  Do not delete the PDS directory if the DATABASE directory is located under it and the database is being used by ZfD, Server Inventory, or Management and Monitoring Services. Instead, delete all of the other directories without deleting the PDS directory.

    Because you might have used a different installation path than the default listed above, you can open the SYSTEM\ZENWORKS.PROPERTIES file to find where the PDS directory is located.

  5. Delete the ZENWORKS.PROPERTIES file from the SYSTEM directory.

  6. Delete the following:

    You should have previously gathered this information (see Removing the eDirectory Objects ).

  7. Repeat Step 1 through Step 6 for each server where ZfS was installed.

  8. To remove .CPK and .SPK files for the Server Software Packages, locate those files > delete them.


Removing the Software on Windows Servers

You must remove the ZfS software files from Windows servers.

To remove the software files:

  1. On a Windows NT/2000 server, run REGEDIT > search for the following key:

    HKEY_LOCAL_MACHINE\Software\Novell\ZENworks

    and review the following entries to find the installation paths:

       PDS Path
       ZENworks Path
       ZWS Path

  2. Click Start > click Run > enter the following command:

    zenworks\pds\bin\dservices.bat

    This stops the ZfS services and deregisters them. This must be done before you can delete ZfS directories.

  3. Click OK.

  4. Do the following to stop the database:

    Server Platform Procedure

    Windows NT 4

    Do the following on each applicable Windows NT server:

    1. Open the Control Panel.
    2. Double-click Services.
    3. Stop the Novell Sybase Database service.

    Windows 2000

    Do the following on each applicable Windows 2000 server:

    1. Open the Control Panel.
    2. Double-click Admin Tools > Services.
    3. Stop the Novell Sybase Database service.
  5. Using a file manager, delete the ZENWORKS\PDS directory.

    This deletes the Distributor, Subscriber, and Server Policies software.

    WARNING:  Do not delete the PDS directory if the database file is located there and Server Inventory, Management and Monitoring Services, or ZfD is using it. Instead, delete all directories under PDS except the DATABASE directory.

  6. Delete the following:

    You should have previously gathered this information (see Removing the eDirectory Objects ).

  7. If you want to remove the ZENworks Database file (ZFSLOG.DB), delete the DATABASE directory.

    WARNING:  Do not delete the DATABASE directory if it is being used by ZfD, Server Inventory, or ZfS Management and Monitoring Services.

  8. Open the Windows registry > under the following location, delete the PDSPath and ZWSPath entries:

    HKEY_LOCAL_MACHINE\SOFTWARE\NOVELL\ZENWORKS

    WARNING:  Do not delete the ZWS Path entry if other components of ZfS that you are not removing are using ZWS.

  9. Repeat Step 2 through Step 8 for each server where ZfS was installed.

  10. To remove .CPK and .SPK files for the Server Software Packages, locate those files > delete them.


Removing the Software on UNIX Servers

You must remove the ZfS software files from UNIX* servers.

To remove the software files:

  1. On the UNIX server, stop all the Policy and Distribution Services daemons, as described in Stopping the Policy and Distribution Services Agents on UNIX .

  2. Remove the ZFSTed package.

  3. Manually delete the /usr/ZENworks directory and any remaining contents.

    rm -rf /usr/ZENworks

  4. Manually delete the zfs executable.

    rm /etc/init.d/zfs

  5. Delete the following:

    You should have previously gathered this information (see Removing the eDirectory Objects ).

  6. Repeat Step 1 through Step 5 for each UNIX server where Policy and Distribution Services has been installed.

  7. To remove .CPK and .SPK files for the Server Software Packages, locate those files > delete them.


Removing the Snap-Ins from ConsoleOne

You must delete the .JAR files that provide the ConsoleOne snap-ins for ZfS

WARNING:  Do not remove ConsoleOne itself if you are using it to manage other products.

To remove only the ConsoleOne snap-ins for ZfS:

  1. Under the C:\NOVELL\CONSOLEONE\1.3.1 directory on your workstation (your path could be different), delete the following files from their subdirectories (do not delete the subdirectories):

    \LIB\TED\*.JAR
    \LIB\ZEN\*.JAR
    \RESOURCES\TED\CPKAGENTRES.JAR
    \RESOURCES\TED\FILEAGENTRES.JAR
    \RESOURCES\TED\FTPAGENTRES.JAR
    \RESOURCES\TED\HTTPAGENT.JAR
    \RESOURCES\TED\INSTALLWIZARDRES.JAR
    \RESOURCES\TED\TEDLIBRES.JAR
    \RESOURCES\TED\TEDSNAPINSRES.JAR
    \RESOURCES\RWC\*.JAR
    \SNAPINS\RWC\*.JAR
    \SNAPINS\ZEN\ZENPOLICY.JAR
    \SNAPINS\ZEN\ZENREPORT.JAR
    \SNAPINS\ZEN\ZFSSNAP.JAR
    \SNAPINS\TED\TEDSNAPINS.JAR
    \SNAPINS\TED\TEDNALAGENT.JAR

  2. Repeat Step 1 for each workstation where ConsoleOne was installed.

  3. Under the SYS:\PUBLIC\MGMT\CONSOLEONE\1.3.1 directory on a server (your path could be different), delete the following files from their subdirectories (do not delete the subdirectories):

    \LIB\TED\*.JAR
    \LIB\ZEN\*.JAR
    \RESOURCES\TED\CPKAGENTRES.JAR
    \RESOURCES\TED\FILEAGENTRES.JAR
    \RESOURCES\TED\FTPAGENTRES.JAR
    \RESOURCES\TED\HTTPAGENT.JAR
    \RESOURCES\TED\INSTALLWIZARDRES.JAR
    \RESOURCES\TED\TEDLIBRES.JAR
    \RESOURCES\TED\TEDSNAPINSRES.JAR
    \RESOURCES\RWC\*.JAR
    \SNAPINS\RWC\*.JAR
    \SNAPINS\ZEN\ZENPOLICY.JAR
    \SNAPINS\ZEN\ZENREPORT.JAR
    \SNAPINS\ZEN\ZFSSNAP.JAR
    \SNAPINS\TED\TEDSNAPINS.JAR
    \SNAPINS\TED\TEDNALAGENT.JAR

    Note that these are the same files as for Step 1.

  4. Repeat Step 3 for each server where ConsoleOne was installed.


Removing the Web Components

The Policy and Distribution Services Web components are integrated into the Tomcat Servlet Gateway. You must manually remove the integrated software from your Tomcat installation.

To remove the software files:

  1. On the server where Tomcat is installed, stop Tomcat.

  2. To remove Novell iManager and the Policy and Distribution Services plug-in for it, delete the following:

  3. To remove the Novell Certificate Signer, delete the following:

  4. Start Tomcat.

  5. If you installed the Policy and Distribution Web components on multiple servers, repeat Step 1 through Step 4 for each Tomcat installation.