How to modify Voting disks in ASM

The process for modifying a votedisk that is stored on ASM differs from the process when the votedisk is stored on some other medium. When your voting disks are stored on ASM you can move them off to non ASM storage with the replace command: $ crsctl replace votedisk [path_to_new_votedisk] (this can be done from …

Read more

Automatic OCR backups

Oracle CRS backs up the OCR automatically at regular intervals. The standard backup frequency and retention policies are Every 4 hours – keeping the last 3 copies. Every day (at the end) – keeping the last 2 copies. Every week (at the end) – keeping the last 2 copies.   You can find the location …

Read more

SQL performance analyzer in Oracle 11g

SQL performance analyzer performs a similar job to the SQL Tuning Advisor with one major difference, SQL performance analyser allows you to compare the performance of SQL statements before and after a change, allowing you to predict the impact of changes to the system on SQL performance as well as pre tuning your database before …

Read more

Where to find Oracle clusterware log files.

To make administration and problem diagnosis easier in Oracle Clusterware, there is a single consolidated directory structure for the main clusterware log files.   This is found under $GRID_HOME/log/[hostname]/   The CRSD logfile – crsd.log is stored in the /crsd/ directory and is archived every 10mb.   The CSS logfiles – cssd.log is stored in …

Read more

How to enable Clusterware Resource Debugging in Oracle RAC

In order to enable clusterware resource debugging you need to set the resource attribute USR_ORA_DEBUG to 1 for the resource that you wish to debug. $ crsctl set log res “ora.host01.vip:1” When you are finished you issue almost the same command to disable the clusterware debugging (set USR_ORA_DEBUG to 0): $ crsctl set log res “ora.host01.vip:0” You can also use an initialization …

Read more

How to Check the integrity of OCR files

How to Check the integrity of Oracle Cluster Configuration (OCR) files To check the health ot OcR files, ther are 3 methods that can be used in unison. Check for voting disk issues in the ocssd.log with: grep $GRID_HOME/log/[hostname]/ocssd.log There are also 2 commands that can help. They are ocrcheck and cluvfy You run ocrcheck …

Read more