![]() | Oracle System Handbook - ISO 7.0 May 2018 Internal/Partner Edition | ||
|
|
![]() |
||||||||||||||||||||||
Solution Type Predictive Self-Healing Sure Solution 2219973.1 : ODA (Oracle Database Appliance): Pre-Upgrade Check Script
In this Document
Applies to:Oracle Database ApplianceOracle Database Appliance Software Information in this document applies to any platform. PurposeThis document explains how to use the Pre-Upgrade Check Script - a tool used to verify if various necessary conditions and checks are complete before attempting an upgrade. At times, the ODA automated patching process may fail that could otherwise have been prevented if problems were detected prior to patching. This script is the first step to make sure that all potential problems are flagged before patching. ScopeBasic ODA (Oracle Database Appliance) knowledge is required. DetailsThis script is used to ensure that all basic checks are complete before an upgrade is attempted. This is a Python script, and as a first step, it needs paramiko package to be installed. Here is how you would do it: 1. wget http://public-yum.oracle.com/repo/OracleLinux/OL6/latest/x86_64/getPackage/python-paramiko-1.7.5-2.1.el6.noarch.rpm Below is a list of checks that the script does: 1. Check for enough free space in /opt, /u01, /boot, /root and /tmp. Cleanup files on both nodes until you match and/or exceed expected storage free space. UsageDownload the attached upgrade_precheck.zip file and unzip on any one of the ODA nodes. This script makes use of purgeODALog tool (Doc ID: 2081655.1). Please copy the purgeODALog tool to the same folder that you unzip the precheck script in. Run this pre-check script before unzipping the patch bundle Update precheck.conf with the node names of the ODA system. Run the following command: #python upgrade_precheck.py
Log files would be in /tmp/upgrade_precheck.log RiskIt does two things that affect storage space: 1. It cleans up repositories of older ODA software versions 2. If using purgeODALog tool, it removes logs/traces/cores from several components such Grid Infrastructure, RDBMS, TFA (Trace File Analyzer Collector), OSWatcher, OAK (Oracle Appliance Kit) Abundant caution is expected when removing files manually.
References<NOTE:2081655.1> - ODA (Oracle Database Appliance): Cleanup trace and log files Using purgeODALog Tool<NOTE:2140853.1> - ODA Supplemental Pre-Patch Heath Check Attachments This solution has no attachment |
||||||||||||||||||||||
|