Search This Blog

Saturday, September 22, 2012

Oracle RAC 11gR2 ASMCMD Commands.

Saving your ASM Spfile.


Check spfile location.

[root@rac1 bin]# su - grid
[grid@rac1 ~]$ echo $ORACLE_SID
+ASM1
[grid@rac1 ~]$ sqlplus / as sysasm

SQL*Plus: Release 11.2.0.1.0 Production on Sat Sep 22 00:46:33 2012

Copyright (c) 1982, 2009, Oracle.  All rights reserved.

Read more >>

Oracle RAC 11gR2 Voting Disks & OCR Backups.

Voting Disks

In 11g release 2 you no longer have to take voting disks backup. In fact according 
to Oracle documentation restoration of voting disks that were copied using the 
"dd" or "cp" command may prevent your clusterware from starting up.
Read more >>

Monday, September 17, 2012

Oracle RAC 11gR2 Clusterware and Database Administration.

Prior to 11gR2 "crs_stat -t" was used for checking the status of all the resources
But now "crsctl status resource -t" can be used in it's place.

I have a test two node RAC system on which i am going to demonstrate some of
the database and clusterware administration commands.

Here are some important notes from Oracle Docs on "SRVCTL" & "CRSCTL" utilities which are
going to be used in this article.
Read more >>

Friday, September 7, 2012

How to configure VNC Server in RHEL5 ?

Install Vnc Server

[root@test ~]# yum install *vnc*


[root@test ~]# vncserver :1

You will require a password to access your desktops.

Password:
Verify:
Read more >>

How to configure VNC Server in RHEL6 ?

Disable nm controlled network management.

vi /etc/sysconfig/network-scripts/ifcfg-eth0

DEVICE="eth0"
NM_CONTROLLED="no"
ONBOOT="no"
HWADDR=00:0C:29:AA:10:3D
TYPE=Ethernet
BOOTPROTO=none
IPADDR=192.168.1.30
PREFIX=24
GATEWAY=192.168.1.1
DEFROUTE=yes
IPV4_FAILURE_FATAL=yes
IPV6INIT=no
Read more >>

Thursday, August 30, 2012

Oracle 11gR2 RAC On Vmware with Grid Infrastructure & Scan.

Warning before proceeding make sure you have at least 6Gb or more ram otherwise your 
installation will not work.


Virtual Machine 1 configuration 

Guest OS - RHEL 5.4
Name - rac1
Public I/P  eth0 - 192.168.1.100
Interconnect I/P eth1 - 192.168.2.100
memory - 2GB
Disk space - 30GB
Location - C:\11gRAC\rac1\
Read more >>

Saturday, May 5, 2012

How To Read An AWR Report ?

Prerequisites for awrreport.

Statistics level should be set to typical.
Timed statistics should also be enabled.


SQL> show parameter statistics_level 
 
NAME                                 TYPE     VALUE 
------------------------------------ -------- ------------------------------ 
statistics_level                     string   TYPICAL
Read more >>