Page 2 of 212

Display tablespace usage

Posted by Sagar Patil

column tsname format a30 heading ‘Tablespace Name’
column tbs_size_mb format 99999,999 heading ‘Size|(MB)’
column used format 99999,999 heading ‘Used|(MB)’
column avail format 99999,999 heading ‘Free|(MB)’
column used_visual format a11 heading ‘Used’
column pct_used format 999 heading ‘% Used’

Read more…

Enabling ArchiveLog Mode in a RAC Environment

Posted by Sagar Patil

Login to one of the nodes (i.e. linux1) and disable the cluster instance parameter by setting cluster_database to FALSE from the current instance:
$ sqlplus “/ as sysdba”
SQL> alter system set cluster_database=false scope=spfile sid=’orcl1′;

Read more…

Oracle Clusterware Administration Quick Reference

Posted by Sagar Patil

Sequence of events to bring cluster database back..

1.    Start all services using “start -nodeapps”
2.    Start ASM instnace using “srvctl start asm -n (node)”
3.    Start RAC instances using “srvctl start instance -d (database) -I (instance)”
4.    Finish up by bringing our load balanced/TAF service online “srvctl start service -d orcl -s RAC”

Read more…

RAC on Windows,Linux with VMWARE, FIREWIRE, NFS

Posted by Sagar Patil

Some cheap/easy ways to Install RAC on inexpensive hardware

Why RAC need a VIP (Virtual IP address)

Posted by Sagar Patil

Importance of VIP
Real Application Clusters in 10g, however, don’t particularly want you to connect to physical IP address associated with network interface.
Doing so means IP packets are routed to a physical MAC address, so that if that address ever ceases to exist (such as when a server dies), we have to wait for TCP/IP networking protocol itself to work out that packets are undeliverable.
That can take up to 10 minutes, and would mean failover in a RAC can potentially be very slow.
Instead, Oracle wants users to connect to a Virtual IP Address (VIP). That’s an IP address that’s bound to a software-controlled MAC address and since it’s software controlled, the software can arrange for failures to be handled a lot quicker than plain old TCP/IP stack (in seconds, usually).
The VIP for a RAC node is quite often the normal, real IP address plus one so, in my case, that would imply a VIP of 192.168.1.111. I won’t be needing this until it comes time to installing the Oracle software, but it’s good to plan ahead.
Even if check fails you can continue the installation,by configuring vipca seaparately , even if that IP does not exist (no need that you own that ip).

How to run rda on cluster

Posted by Sagar Patil

To setup rda collection at cluster

Read more…

All OCFS volumes were not available at ocfsconsole config tool

Posted by Sagar Patil

Read more…

EM grid console active only at RAC 1 Instance

Posted by Sagar Patil

Case 1 : EM console is working at Node 1. Node 1 is shutdown , services failover to Node 2 but oemctl doesn’t failover to Node 2
Read more…

10g RAC Management Commands

Posted by Sagar Patil

Read more…

ORA-29701 : Unable to connect to Cluster Manager while creating new ASM Instance

Posted by Sagar Patil

Read more…

ons gsd vip listed OFFLINE at crs_stat

Posted by Sagar Patil

For more details visit metalink note 259301.1 & download showcrs shell script
[oracle@ora02 ~]$ crs_stat -t
Name Type Target State Host
————————————————————
ora….SM1.asm application ONLINE ONLINE ora01
ora….01.lsnr application ONLINE ONLINE ora01
ora….a01.gsd application ONLINE UNKNOWN ora01
ora….a01.ons application ONLINE UNKNOWN ora01
ora….a01.vip application ONLINE ONLINE ora01
ora….SM2.asm application ONLINE ONLINE ora02
ora….02.lsnr application ONLINE ONLINE ora02
ora….a02.gsd application ONLINE UNKNOWN ora02
ora….a02.ons application ONLINE UNKNOWN ora02
ora….a02.vip application ONLINE ONLINE ora02
ora.prod.db application ONLINE ONLINE ora01
ora….prod.cs application OFFLINE OFFLINE
ora….od1.srv application ONLINE UNKNOWN ora01
ora….od2.srv application ONLINE UNKNOWN ora02
ora….d1.inst application ONLINE ONLINE ora01
ora….d2.inst application ONLINE ONLINE ora02
Read more…

CRSCTL : Oracle Clusterware Service Administration

Posted by Sagar Patil

Read more…

RAC : Managing OCR Backup and Recovering OCR

Posted by Sagar Patil

Read more…

ASM Dynamic Views: ASM Instance Information

Posted by Sagar Patil

Read more…

RAC/CRS/Voting disk failover Tests

Posted by Sagar Patil

Read more…

How to recover from a Loss of Voting Disk

Posted by Sagar Patil


Loss of Voting Disk

Check where voting disks are located using “crsctl check crs”

Read more…

Using ASM on command line

Posted by Sagar Patil

From the OS command prompt, type asmcmd, which brings up the ASM command-line prompt:

Read more…

Automatically start ASM/Database/EM/LSNR services

Posted by Sagar Patil
In theory there is no need to start services as they are brought online by Oracle Clusterware

Read more…

TAF Failover Configuration and Testing

Posted by Sagar Patil

Configure the service on RAC servers for a failover

Read more…

RAC | How to use SRVCTL Command

Posted by Sagar Patil

Check out current configuration information

Oracle Clusterware Log/Clusterware log files

Posted by Sagar Patil

In Oracle 10.2, Oracle Clusterware log files are created in the $ORA_CRS_HOME/log directory.

Read more…

Oracle Installer can’t discover ASM disks Ora-15186 Asmlib Error =[ASM_OPEN], ERROR = [1]

Posted by Sagar Patil

I could get ASM commandline to discover ASM disks at both RAC nodes. It can map VOL1, VOL2 at both nodes but Oracle RAC database installer won’t see ASM disks.

Read more…

ORA-15186 ASMLIB ERROR FUNCTION = [ASM_OPEN], ERROR = [1], ORA-15063: ASM discovered an insufficient number of disks for diskgroup "DATA"

Posted by Sagar Patil

Oracle Clusterware installed OK. ASM1 instance works OK while ASM2 would return ORA-15186/ORA-15063

Read more…

OCFS2 Support Guide Linux/Solaris

Posted by Sagar Patil

This support guide is a supplement to the OCFS2 User’s Guide and the OCFS2 FAQ. The information provided is directed towards support. End users should consult theUsers’ Guide and/or FAQ for information on setting up and using OCFS2.

Read more…

Top of Page

Top menu