Uninstalling Always-On Monitoring
If the purpose of uninstalling Always-On Monitoring is to upgrade to a new release, you should back up the following files.
-
$AOM_HOME/conf/emsConfig.properties
-
Custom certificates (if any) located at
$AOM_HOME/conf
(cwallet.sso, cwallet.sso.lck, ewallet.p12, and ewallet.p12.lck)
Use emsca to uninstall Always-On Monitoring as shown in the following example:
$ ./emsca uninstall
Oracle Enterprise Manager Cloud Control 13c Release 5
Copyright (c) 1996, 2021 Oracle Corporation. All rights reserved.
---------------------------------------------------------------
Loading configuration from: /homedirectory/ems/conf/emsConfig.properties
Connecting to Always-On Monitoring repository.
Execute the following:
emctl delete property -name "oracle.sysman.core.events.ems.emsURL" -sysman_pwd <pwd> to unset the value of the property.
Uninstall completed.
Remove all files and sub-directories under $AOM_HOME.
To remove any trace of the previous AOM installation, you can drop the AOM repository user in the repository by running the following command:
drop user ems cascade