Uninstalling A Secondary Zenworks Server By Using Zlm-Config; Manually Uninstalling A Primary Or Secondary Zenworks Server - Novell ZENWORKS LINUX MANAGEMENT 7.3 IR2 - ADMINISTRATION GUIDE 02-12-2010 Administration Manual

Table of Contents

Advertisement

/opt/novell/zenworks/bin/zlm-uninstall
4 Follow the prompts.
5.3.2 Uninstalling a Secondary ZENworks Server By Using zlm-
config
1 Make sure you know the password for the ZENworks Administrator account.
2 Log in to the Primary ZENworks Server as
3 Run the following command:
/opt/novell/zenworks/bin/zlm-config --remove-secondary-
server=secondary_server
where secondary_server is the name of the Secondary Server as displayed in the devices list in
ZENworks Control Center.
For example, if your server name is ZEN216, the command is:
/opt/novell/zenworks/bin/zlm-config --remove-secondary-server=zen216
5.3.3 Manually Uninstalling a Primary or Secondary ZENworks
Server
1 Stop the services on the ZENworks Server. If necessary, see
ZENworks Service," on page
2 Remove the following directories:
/opt/novell/zenworks/share/keystore
/opt/novell/zenworks/datamodel/share/ldap-certs
/etc/opt/novell/zenworks/serverid
/etc/opt/novell/zenworks/serversecret
3 Edit
/etc/crontab
4 (Conditional) If you are removing a Secondary Server, remove the Secondary Server object
from the Object Store and Data Store. To do so:
4a Create a script file like the following one to create a CLASSPATH variable that includes
all of the paths to the ZENworks classes:
#!/bin/sh
CLASSPATH=''
for i in 'ls /opt/novell/zenworks/java/lib/*.jar' ;
do CLASSPATH="$i:$CLASSPATH" ;
done ;
for i in 'ls /opt/novell/extend/Common/WSSKD/lib/*.jar' ;
do CLASSPATH=$i:$CLASSPATH" ;
done ;
echo $CLASSPATH
4b Use the following command to remove the ZENworks Secondary Server object:
/opt/novell/zenworks/lib/java/bin/java -classpath $CLASSPATH
com.novell.zenworks.datamodel.extensions.installer.LDAPInstaller
uninstall admin_password
Replace admin_password with the ZENworks Administrator account password.
root
49.
to remove the lines that contain ZENworks.
.
Section 5.1.3, "Stopping a
ZENworks Server
51

Advertisement

Table of Contents
loading

This manual is also suitable for:

Zenworks linux management 7.3 ir2

Table of Contents