What is an Oracle Service

Oracle services were a feature introduced in Oracle 10g. Their function is to simplify workload management by allowing you to group applications that share traits such as thresholds, priorities and attributes. The Oracle database is presented as a service and so you always have at least one service running. It is good practice to create …

Read more

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

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