|
Home | Switchboard | Unix Administration | Red Hat | TCP/IP Networks | Neoliberalism | Toxic Managers |
(slightly skeptical) Educational society promoting "Back to basics" movement against IT overcomplexity and bastardization of classic Unix |
News | Tivoli | Recommended Links | wuninst command | Articles | |
Installation | Uninstalling | wdmdumpprf command |
Tips |
Humor | Etc |
This section describes how to uninstall the product components from endpoints, gateways, and servers, and how to remove the automatic endpoint reboot capability.
To uninstall the product follow either of these procedures:
or:
If reinstallation is planned then we can use the wdmdumpprf command to dump
Tmw2kProfiles into xml files. After dumping the profiles, if at anytime in the future they must be reloaded, we can then use the wdmloadprf command.I have a very simple script in my lab environment that grabs a list of all Tmw2kProfiles, then dumps the profiles to xml files, so your site could use something similar to this script.
Here is the sample script I use in my test environment:
cat ./backup_tmw2k-prf.sh
#!/usr/bin/sh
. /etc/Tivoli/setup_env94.sh
region=our-region
for profilename in `wlookup -ar Tmw2kProfile | grep -v @ | awk -F" " '{print $1}'`
do
wdmdumpprf -P $profilename#$region > /tmp/${profilename}.xml
done
exit 0
The xml files created by the
wdmdumpprf command can then be stored in a safe location and your site can import the Tmw2kProfiles back in using the wdmloadprf command.URL that documents the wdmdumpprf command:
wdmdumpprfSee also ITM5.1 Profile in HTML format Gulf Breeze Software Partners
by frank_tate on Mar 15, 2006 - 06:57 PM
(User informationIt turns out that "most" newer Java installs include "xml.jar", which contains the Xalan XSLT processor. You can invoke it with:
java org.apache.xalan.xslt.Process
This class is in xml.jar on an AIX system, with:
[tivoli@testsysmgt3asjt:/usr/java14/jre/lib] $ ../bin/java -version
java version "1.4.1"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1)
Classic VM (build 1.4.1, J2RE 1.4.1 IBM AIX build ca1411-20030930 (JIT enabled: jitc))
However, this file is NOT on a Windows system with:
C:\>java -version
java version "1.5.0_04"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_04-b05)
Java HotSpot(TM) Client VM (build 1.5.0_04-b05, mixed mode)
-- Frank
Uninstalling from servers and gateways
The Tivoli Management Framework provides the wuninst command to remove Tivoli applications from a specified node or from the entire region. You can use the wuninst command with product tags that are specific to Tivoli Monitoring to remove the product from any system in your environment or from the entire region.
In particular, use the -rmeps option to automatically uninstall also all registered endpoints.
When using the wuninst command, make sure you use it in this sequence:
To uninstall the Tivoli Monitoring components from servers or gateways enter:
wuninst tagname destination_target -rmfiles
To uninstall the Tivoli Monitoring base component from servers or gateways enter:
wuninst tagname destination_target -rmfiles -rmeps
Where:
For example
wuninst TMNT_3.6.2 nti246 -rmfiles -rmeps
For more information about command line syntax and usage of the wuninst command, refer to the Tivoli Management Framework Reference Manual and the Tivoli Management Framework Release Notes: Server, Gateway, and Endpoint.
Uninstalls Tivoli applications from a specified node or from the entire Tivoli Management Region (TMR).
SYNOPSIS
wuninst
wuninst tag
wuninst -list
wuninst tag -list
wuninst tag node_name [-rmfiles] [options]
DESCRIPTION
The wuninst command is a wrapper script that invokes product-specific uninstall scripts. This section provides general usage information about the wuninst command. The usage statement for this command differs for each product.
To view the general usage statement, enter the following on the command line:
wuninst
To view the usage statement for an individual application, enter the following on the command line:
wuninst tag
The tag option is the registered product tag. To view a list of the product tags, enter the following on the command line:
wuninst -list
If you include the node_name option, the application specified with tag is removed from the specified node. If node_name is the TMR server, the application is removed from the entire TMR. You will be prompted with a confirmation message before the application is removed from the TMR.
The wuninst command cannot remove Tivoli Management Framework from a node. Use the command to remove Tivoli Management Framework and, therefore, remove the node from a TMR. You should use the wuninst command to remove all application files before running the wunstmn command.
super
EXAMPLES
wuninst
wuninst courier_3.7
wuninst -list
wuninst SIS_3.7 -list
wuninst SIS_3.7 kiwi
wuninst SIS_3.7 pctmp83 -rmfiles
SEE ALSO
On the ManagedNode:
> Source Tivoli Environment
> objcall 0.0.0 BEGIN
> Run the uninstall again
> objcall 0.0.0 END
> odstat > 26546_trace.txt
> wtrace -jHk %DBDIR% >> 26546_trace.txt