Your SlideShare is downloading. ×

Testing Orachk for Database Health Monitoring

496

Published on

Orachk utility testing for Oracle Stack Health Check

Orachk utility testing for Oracle Stack Health Check

Published in: Education, Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
496
On Slideshare
0
From Embeds
0
Number of Embeds
4
Actions
Shares
0
Downloads
16
Comments
0
Likes
0
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ++++++ Testing ORAchk Health Checks for the Oracle Stack ++++++++ +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ORAchk - Oracle Configuration Audit Tool (Doc ID 1268927.2) oracle@jdcoramgt1:/ORA$ cd SOFTWARE oracle@jdcoramgt1:/ORA/SOFTWARE$ ls 11r1 glibc-devel-2.5-42.el5_4.2.x86_64.rpm glibc-devel-2.5-49.x86_64.rpm oracle@jdcoramgt1:/ORA/SOFTWARE$ ls 11r1 glibc-devel-2.5-42.el5_4.2.x86_64.rpm glibc-devel-2.5-49.x86_64.rpm orachk.zip oracle@jdcoramgt1:/ORA/SOFTWARE$ unzip orachk.zip Archive: orachk.zip inflating: raccheck inflating: rules.dat inflating: collections.dat inflating: readme.txt inflating: orachk creating: .cgrep/ inflating: .cgrep/ogghc_12101.sql inflating: .cgrep/lcgrep4 inflating: .cgrep/checkDiskFGMapping.sh inflating: .cgrep/ogghc_11204.sql inflating: .cgrep/lcgreps9 inflating: .cgrep/ogghc_11203.sql inflating: .cgrep/scgrepx86 inflating: .cgrep/acgrep inflating: .cgrep/oracle-upstarttmpl.conf inflating: .cgrep/check_reblance_free_space.sql inflating: .cgrep/CollectionManager_App.sql inflating: .cgrep/exalogic_zfs_checks.aksh inflating: .cgrep/hiacgrep inflating: .cgrep/init.tmpl inflating: .cgrep/lcgreps10 inflating: .cgrep/preupgrd.sql inflating: .cgrep/diff_collections.pl inflating: .cgrep/merge_collections.pl inflating: .cgrep/ggdiscovery.sh creating: .cgrep/profiles/ inflating: .cgrep/profiles/DA94919CD0DE0913E04312C0E50A7996.prf inflating: .cgrep/profiles/D49C0FBF8FBF4B1AE0431EC0E50A0F24.prf extracting: .cgrep/profiles/F13E11974A282AB3E04312C0E50ABCBF.prf inflating: .cgrep/profiles/EF6C016813C51366E04313C0E50AE11F.prf inflating: .cgrep/profiles/D8367AD6754763FEE04312C0E50A6FCB.prf inflating: .cgrep/profiles/DF65D6117CB41054E04312C0E50A69D1.prf inflating: .cgrep/profiles/EA5EE324E7E05128E04313C0E50A4B2A.prf inflating: .cgrep/profiles/E1BF012E8F210839E04313C0E50A7B68.prf inflating: .cgrep/profiles/D462A6F7E9C340FDE0431EC0E50ABE12.prf inflating: .cgrep/profiles/D49AD88F8EE75CD8E0431EC0E50A0BC3.prf inflating: .cgrep/profiles/E2E972DDE1E14493E04312C0E50A1AB1.prf inflating: .cgrep/profiles/F32F44CE0BCD662FE04312C0E50AB058.prf inflating: .cgrep/profiles/E8DF76E07DD82E0DE04313C0E50AA55D.prf inflating: .cgrep/profiles/D49B218473787400E0431EC0E50A0BB9.prf inflating: .cgrep/profiles/D49C0AB26A6D45A8E0431EC0E50ADE06.prf inflating: .cgrep/profiles/DFE9C207A8F2428CE04313C0E50A6B0A.prf
  • 2. inflating: .cgrep/profiles/D49C4F9F48735396E0431EC0E50A9A0B.prf inflating: .cgrep/profiles/D49BDC2EC9E624AEE0431EC0E50A3E12.prf inflating: .cgrep/profiles/DF65D0F7FB6F1014E04312C0E50A7808.prf inflating: .cgrep/scnhealthcheck.sql inflating: .cgrep/pxhcdr.sql inflating: .cgrep/lcgrep5 inflating: .cgrep/scgrep inflating: .cgrep/raw_data_browser.pl inflating: .cgrep/profiles.dat inflating: .cgrep/rack_comparison.py inflating: .cgrep/versions.dat inflating: .cgrep/create_version.pl inflating: .cgrep/lcgreps11 inflating: .cgrep/utluppkg.sql inflating: .cgrep/utlusts.sql inflating: .cgrep/reset_crshome.pl inflating: .cgrep/asrexacheck inflating: .cgrep/lcgrep6 inflating: .cgrep/utlu112i.sql inflating: UserGuide.txt oracle@jdcoramgt1:/ORA/SOFTWARE$ . oraenv ORACLE_SID = [MONDB] ? The Oracle base for ORACLE_HOME=/ORA/app/oracle/product/11.2.db is /ORA/app/oracle oracle@jdcoramgt1:/ORA/SOFTWARE$ ls 11r1 glibc-devel-2.5-42.el5_4.2.x86_64.rpm orachk raccheck rules.dat collections.dat glibc-devel-2.5-49.x86_64.rpm orachk.zip readme.txt UserGuide.txt oracle@jdcoramgt1:/ORA/SOFTWARE$ ./orachk -a List of running databases 1. MONDB 2. None of above Select databases from list for checking best practices. For multiple databases, select 1 for All or comma separated number like 1,2 etc [1-2][1].1 . . Checking Status of Oracle Software Stack - Clusterware, ASM, RDBMS . . . . . . . . . . . . . . . ----------------------------------------------------------------------------- -------------------------- Oracle Stack Status ----------------------------------------------------------------------------- -------------------------- Host Name CRS Installed ASM HOME RDBMS Installed CRS UP ASM UP RDBMS UP DB Instance Name ----------------------------------------------------------------------------- -------------------------- jdcoramgt1 No No Yes No No Yes MONDB ----------------------------------------------------------------------------- --------------------------
  • 3. Copying plug-ins . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . *** Checking Best Practice Recommendations (PASS/WARNING/FAIL) *** Collections and audit checks log file is /ORA/SOFTWARE/orachk_jdcoramgt1_MONDB_042414_144802/log/orachk.log Checking for prompts in /ORA/.bash_profile on jdcoramgt1 for oracle user... ============================================================= Node name - jdcoramgt1 ============================================================= Collecting - Database Parameters for MONDB database Collecting - Database Undocumented Parameters for MONDB database Collecting - RDBMS Feature Usage for MONDB database Collecting - CPU Information Collecting - DiskMount Information Collecting - Kernel parameters Collecting - Maximum number of semaphore sets on system Collecting - Maximum number of semaphores on system Collecting - Maximum number of semaphores per semaphore set Collecting - Memory Information Collecting - OS Packages Collecting - Patches for RDBMS Home Collecting - number of semaphore operations per semop system call Data collections completed. Checking best practices on jdcoramgt1. ----------------------------------------------------------------------------- --------- WARNING => Kernel Parameter SEMOPM Is Lower Than The Recommended Value WARNING => Kernel Parameter SEMMSL Is Lower Than The Recommended Value INFO => user_dump_dest has trace files older than 30 days for MONDB INFO => At some times checkpoints are not being completed for MONDB WARNING => One or more redo log groups are NOT multiplexed for MONDB WARNING => OSWatcher is not running as is recommended. FAIL => Database parameter DB_BLOCK_CHECKSUM is NOT set to recommended value on MONDB instance FAIL => Database parameter DB_LOST_WRITE_PROTECT is NOT set to recommended value on MONDB instance WARNING => Database parameter DB_BLOCK_CHECKING on PRIMARY is NOT set to the recommended value. for MONDB INFO => Operational Best Practices
  • 4. INFO => Database Consolidation Best Practices INFO => Computer failure prevention best practices INFO => Data corruption prevention best practices INFO => Logical corruption prevention best practices INFO => Database/Cluster/Site failure prevention best practices INFO => Client failover operational best practices FAIL => RECYCLEBIN on PRIMARY should be set to the recommended value on MONDB instance WARNING => Redo log file size should be sized to switch every 20 minutes during peak redo generation for MONDB WARNING => Oracle clusterware is not being used WARNING => RAC Application Cluster is not being used for database high availability on MONDB instance WARNING => "DISK_ASYNCH_IO is NOT set to recommended value for MONDB FAIL => Flashback on PRIMARY is not configured for MONDB INFO => Database failure prevention best practices FAIL => Primary database is NOT protected with Data Guard (standby database) for real-time data protection and availability for MONDB FAIL => Active Data Guard is not configured for MONDB WARNING => Redo log write time is more than 500 milliseconds for MONDB INFO => Parallel Execution Health-Checks and Diagnostics Reports for MONDB WARNING => OS parameter vm.swappiness is NOT set to the recommended value INFO => Oracle recovery manager(rman) best practices INFO => Consider increasing the COREDUMPSIZE size WARNING => Consider setting database parameter NLS_SORT to BINARY for MONDB Best Practice checking completed.Checking recommended patches on jdcoramgt1. ----------------------------------------------------------------------------- ---- Collecting patch inventory on ORACLE_HOME /ORA/app/oracle/product/11.2.db ----------------------------------------------------------------------------- ---- ----------------------------------------------------------------------------- ---- 1 Recommended RDBMS patches for 112010 from /ORA/app/oracle/product/11.2.db on jdcoramgt1 ----------------------------------------------------------------------------- ---- Patch# RDBMS ASM type Patch-Description ----------------------------------------------------------------------------- ---- 12419378 no merge DATABASE PSU 11.2.0.1.6 (INCLUDES CPUJUL ----------------------------------------------------------------------------- ---- ----------------------------------------------------------------------------- ---- ----------------------------------------------------------------------------- ----
  • 5. RDBMS homes patches summary report ----------------------------------------------------------------------------- ---- Total patches Applied on RDBMS Applied on ASM ORACLE_HOME ----------------------------------------------------------------------------- ---- 1 0 0 /ORA/app/oracle/product/11.2.db ----------------------------------------------------------------------------- ---- ----------------------------------------------------------------------------- ---- Detailed report (html) - /ORA/SOFTWARE/orachk_jdcoramgt1_MONDB_042414_144802/orachk_jdcoramgt1_MONDB_0 42414_144802.html UPLOAD(if required) - /ORA/SOFTWARE/orachk_jdcoramgt1_MONDB_042414_144802.zip ++++++++++++++++++++++ Detailed report (html) ++++++++++++++++++++++++ You can get an example of detailed report from below link: https://www.dropbox.com/s/eiymj19x6g3zqmd/a.html

×