skip to main |
skip to sidebar
Applying a patch on the OMS HOME
1. Set the ORACLE_HOME environment variable
ORACLE_HOME=
export ORACLE_HOME
2. Include /OPatch in the $PATH environment variable
PATH=.$PATH$ORACLE_HOME/OPatch
export PATH
3. Shut down the OMS Server
4. Navigate to the directory where the patch is located and run OPatch
$ cd patch number
$ opatch apply
5. The applied patch can be checked through,
$ opatch lsinventory
6. Start the OMS
Applying a patch on the AGENT HOME
1. Set the ORACLE_HOME environment variable
ORACLE_HOME=
export ORACLE_HOME
2. Include /OPatch in the $PATH environment variable
PATH=.$PATH$ORACLE_HOME/OPatch
export PATH
3. Shut down the agent.
4. Navigate to the directory where the patch is located and run OPatch
$ cd patch number
$ opatch apply
5. The applied patch can be checked through,
$ opatch lsinventory
6. Start the agent
If prompted by OPatch to "Rollback" existing patch, hit "y" and continue.
Patch Deinstallation Instructions (Both OMS and Agent)
Use the following command
cd patch number/
opatch rollback -id patch number
Logfiles, can occupy considerable amount of disk space and can sometimes, affect of the disk I/O performance. The following files can be safely deleted from the OMS home periodically to save disk space.
After stopping the GRID Control processes, the traces/logs can be removed from the following
directories:
$ORACLE_HOME/oms10g/sysman/log/*.* directory
$ORACLE_HOME/oms10g/cfgtoollogs/*.* directory
$ORACLE_HOME/oms10g/opmn/logs/*.* directory
$ORACLE_HOME/oms10g/dcm/logs/*.* directory
$ORACLE_HOME/oms10g/Apache/Apache/logs /*.* directory
$ORACLE_HOME/oms10g/webcache/logs/*.* directory
$ORACLE_HOME/oms10g/j2ee/OC4J_EM/log/OC4J_EM_default_island_1/*.* directory
$ORACLE_HOME/oms10g/j2ee/OC4J_EMPROV_default_island_1/*.* directory
$ORACLE_HOME/agent10g/sysman/log//*.* directory
These logs and traces are created again when the application is started.