Oracle Database Maintenance and Monitoring Scripts
250+ SQL, PL/SQL and UNIX Shell scripts
Installation
Download (Generic)UNIX
1. Make the base directory for Exadime scripts in ~oracle/scripts.
$mkdir -p ~oracle/scripts/exa
2. Transfer Exadime scripts into the above directory.
S. No. | Transfer Mode | Directory/File |
1 | Binary | doc lib plb unix |
2 | Text/ASCII | lib/exa.lib |
3 | Text/ASCII | unix/Sora; mnt_sw_db.ksh; run_crn_job.ksh |
4 | Text/ASCII | All other folders. |
3. Set RWX permission.
chmod -R 750 ~oracle/scripts/exa
4. Specify Exadime scripts path in the following files if required.
S. No. | File Name | Directory | Comments |
1 | exa.ini | ${exa_home}/ini | Initialization parameters. |
2 | unix.ini | ${exa_home}/ini | Unix scripts initialization. |
3 | oracle.ini | ${exa_home}/ini | Oracle scripts initialization. |
4 | exa.env | ${exa_home}/env | Environment setup. |
5 | run_crn_job.ksh | ${exa_home}/unix | Cron job execution. |
6 | Sora | ${exa_home}/unix | Database auto start/stop. |
Note: Default scripts path is "~oracle/scripts/exa" and ORACLE_BASE is "~oracle".
5. Lib folder contains Korn Shell libraries for each O/S. Use the appropriate KSH file.
$cd lib
$cp <ksh_os> ksh
$chmod 755 ksh
6. Update team name, business name & address and notification email in ini/cnf.ini.
7. Add the following line into .profile.
. ~oracle/scripts/exa/env/exa.env
Installation
Download (Linux)Linux
0. Install the following rpm if required.
#yum install ksh
#yum install bc
1. Make the base directory for Exadime scripts in ~oracle.
$mkdir –p ~oracle/scripts
2. Download scripts into the above directory and extract.
$ wget https://www.exadime.net/bin/exa_linux.tar.gz
$ tar xvfz exa_linux.tar.gz
3. Set RWX permission.
chmod -R 750 ~oracle/scripts/exa
4. Specify Exadime scripts path in the following files if required.
S. No. | File Name | Directory | Comments |
1 | exa.ini | ${exa_home}/ini | Initialization parameters. |
2 | unix.ini | ${exa_home}/ini | Unix scripts initialization. |
3 | oracle.ini | ${exa_home}/ini | Oracle scripts initialization. |
4 | exa.env | ${exa_home}/env | Environment setup. |
5 | run_crn_job.ksh | ${exa_home}/unix | Cron job execution. |
6 | Sora | ${exa_home}/unix | Database auto start/stop. |
5. Update team name, business name & address and notification email in ini/cnf.ini.
6. Add the following line into .profile.
. ~oracle/scripts/exa/env/exa.env