6.3 Uninstalling a Linux Primary Server

When you uninstall the ZENworks software from a Linux Primary Server, you can remove the device from the Management Zone (unregister it) or you can leave it registered.

To completely uninstall the ZENworks software from a Linux Primary Server, enter the following command at the server console prompt:

/opt/novell/zenworks/bin/zenuninstall –x –s http://IPaddress_of_the_server:port_number -u username -p password -a

The following sections provide instructions for both uninstallation options:

6.3.1 Uninstalling ZENworks Software and Removing the Device from the Zone

To uninstall the ZENworks software from a Linux Primary Server and remove (unregister) the device from the Management Zone, enter the following command at the server console prompt:

/opt/novell/zenworks/bin/zenuninstall –x –s http://IPaddress_of_the_server:port_number -u username -p password [options]

Where,

-x, --remove = Uninstalls the ZENworks software from the device and removes the device from the zone

-s = IP address of the Primary Server and the port number on which the server is running. The IP address and port number must be specified in the following format: http://IPaddress_of_the_server:port_number.

NOTE:If the Primary Server is running on the default port, 80, you need not specify the -s argument. However, you must specify the argument with the port number if the Primary Server is not running on the default ports.

-u = Management Zone administrator’s username.

-p = Password of the Zone administrator.

The command accepts the following options:

Table 6-1 Uninstallation Options

Option

Functionality

-z, --zone

Name of the device's current zone.

-g, --guid

Device's GUID.

-l, --list

An ordered list of packages to uninstall, delimited by semicolons.

-L, --leave-packages

Retains the third-party packages. You must specify at least the first three characters of the package name to be retained. You can also specify more than one package name by separating them with a comma ( , ).

-c, --local-only

Uninstalls ZENworks software from the device but does not remove the device from the zone.

-o, --oem

Retains the ZENworks Pre-agent, but uninstalls the ZENworks Adaptive Agent packages.

-i, --delete-images

Deletes the ZENworks Imaging files from the specified device.

-a, --remove-auth

Uninstalls the authentication software (CASA), which is installed by ZENworks 11 or is directly downloaded and installed from the Novell Support Web sites. If you do not specify the -a option, the CASA packages are retained.

-d, --remove-log-dir

Removes the logs directory.

-q, --quiet

Performs a silent uninstallation.

-h, --help

Displays the message and exit.

6.3.2 Uninstalling ZENworks Software While Retaining the Device in the Zone

To uninstall ZENworks software from a Linux Primary Server but continue to have the device registered in the Management Zone, enter the following command at the server console prompt:

/opt/novell/zenworks/bin/zenuninstall –c –s http://IPaddress_of_the_server:port_number -u username -p password [options]

The command accepts the following options:

Table 6-2 Uninstallation Options

Option

Functionality

-c, --local-only

Uninstalls ZENworks software from the device but does not remove the device from the zone.

-a, --remove-auth

Uninstalls the authentication software (CASA), which is installed by ZENworks 11 or is directly downloaded and installed from the Novell Support Web sites. If you do not specify the -a option, the CASA packages are retained.

-h, --help

Displays the message and exit.

This command does not remove the device from the Management zone.