Uninstalling A Secondary Zenworks Server Using Zlm-Config; Manually Uninstalling A Primary Or Secondary Zenworks Server - Novell ZENWORKS LINUX MANAGEMENT 7.2 IR2 - ADMINISTRATION GUIDE 09-25-2008 Administration Manual

Table of Contents

Advertisement

/opt/novell/zenworks/bin/zlm-uninstall
4 Follow the prompts.
5.3.2 Uninstalling a Secondary ZENworks Server Using zlm-
config
1 Make sure you know the password for the ZENworks Administrator account.
2 Log in to the Primary ZENworks Server as root.
3 Run the following command:
/opt/novell/zenworks/bin/zlm-config --remove-secondary-
server=secondary_server
where secondary_server is the full NDS context of the secondary server.
The server is usually in the system context. For example, if your server name is ZEN216, the
full command is:
/opt/novell/zenworks/bin/zlm-config --remove-secondary-
server=zen216.system
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 to remove the lines that contain ZENworks.
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.LDAPInsta
ller uninstall admin_password
49.
Section 5.1.3, "Stopping a
ZENworks Server
51

Advertisement

Table of Contents
loading

This manual is also suitable for:

Zenworks linux management 7.2ir2

Table of Contents