Customise Consent Preferences

We use cookies to help you navigate efficiently and perform certain functions. You will find detailed information about all cookies under each consent category below.

The cookies that are categorised as "Necessary" are stored on your browser as they are essential for enabling the basic functionalities of the site. ... 

Always Active

Necessary cookies are required to enable the basic features of this site, such as providing secure log-in or adjusting your consent preferences. These cookies do not store any personally identifiable data.

No cookies to display.

Functional cookies help perform certain functionalities like sharing the content of the website on social media platforms, collecting feedback, and other third-party features.

No cookies to display.

Analytical cookies are used to understand how visitors interact with the website. These cookies help provide information on metrics such as the number of visitors, bounce rate, traffic source, etc.

No cookies to display.

Performance cookies are used to understand and analyse the key performance indexes of the website which helps in delivering a better user experience for the visitors.

No cookies to display.

Advertisement cookies are used to provide visitors with customised advertisements based on the pages you visited previously and to analyse the effectiveness of the ad campaigns.

No cookies to display.

RAC Administration

Breadcrumb Abstract Shape
Breadcrumb Abstract Shape
Breadcrumb Abstract Shape
Breadcrumb Abstract Shape
Breadcrumb Abstract Shape
Breadcrumb Abstract Shape
  • User AvatarKiran Dalvi
  • 03 May, 2022
  • 0 Comments
  • 1 Min Read

RAC Administration

In this blog , we will try to understand the rac command that will help for rac administration

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
crsctl stat res -t
 
crsctl query css votedisk
 
olsnodes
 
env |grep ORA
 
crsctl stat res -t
 
crsctl stat res -init
 
crsctl stat res -t -init
 
crsctl start crs
 
ps -ef|grep d.bin
 
crsctl disable crs
 
ps -ef|grep smon
 
srvctl config database -d
 
asmcmd showclustermode
 
locate crsd.trc
 
crsctl check cluster -all
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
ps -ef|grep tns
 
ps -ef|grep d.bin
 
crsctl stat res -t
 
crsctl stat res -t -init
 
crsctl stop cluster -all
 
crsctl start cluster -all
 
crsctl check cluster -all
 
crsctl check crs
 
crsctl stop crs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
crsctl stop crs -f
 
crsctl start crs
 
crsctl enable crs
 
crsctl disable crs
 
crsctl stop has
 
crsctl start has
 
crsctl check cssd
 
cluvfy comp scan
 
cluvfy comp ocr -n all –verbose
 
ocrconfig --help
 
ocrconfig -local --help
 
ocrconfig -showbackup
 
ocrconfig -showbackuploc
 
olsnodes --help
 
olsnodes
 
srvctl config scan
 
srvctl status scan
 
srvctl status scan_listener
 
srvctl config database -d RACCDB
 
srvctl status database -d RACCDB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
srvctl stop database -d RACCDB
 
srvctl status instance -d RACCDB -i RACCDB1
 
srvctl status instance -d RACCDB -i RACCDB2
 
srvctl stop instance -d RACCDB -i RACCDB1
 
srvctl start instance -d RACCDB -i RACCDB1
 
srvctl status listener -l LISTENER
 
srvctl status listener -l ASMNET1LSNR_ASM
 
srvctl stop listener -l LISTENER
 
srvctl start listener -l LISTENER
1
2
3
srvctl start database -d PRODB -o nomount
srvctl start database -d PRODB -o mount
srvctl start database -d PRODB -o open

How to find the OCR location?

1
2
cat  /etc/oracle/ocr.loc
/u01/app/12.2.0.1/grid/bin/crsctl query css votedisk

How to find the OLR location?

1
2
cat /etc/oracle/olr.loc
ocrcheck -local -config

What is GPNP Profile and What it contains?

1
/u01/app/12.2.0.1/grid/gpnp/<hostname>/profiles/peer/profile.xml.

ASM and Clusterware: Which One is Started First?

1
kfed read /dev/oracleasm/disks/DATA1 | grep -E 'vfstart|vfend'
1
2
3
4
5
6
7
nslookup oraclelabnode2.localdomain.com
yum install bind*
yum install bind* --skip-broken
vi /etc/resolv.conf
service named restart
ping google.com
service firewalld stop