DBA Hub

📋Steps in this guide1/3

RAC Administration

in this blog, we are going to see rad administration command. RAC administration command will help you to start stop rac database

oracle configurationintermediate
by OracleDba
13 views
1

Overview

How to find the OCR location?

Code/Command (click line numbers to comment):

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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
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

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

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

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

srvctl start database -d PRODB -o nomount
srvctl start database -d PRODB -o mount
srvctl start database -d PRODB -o open
2

Section 2

How to find the OLR location? What is GPNP Profile and What it contains? ASM and Clusterware: Which One is Started First?

Code/Command (click line numbers to comment):

1
2
3
4
5
6
7
cat  /etc/oracle/ocr.loc 
/u01/app/12.2.0.1/grid/bin/crsctl query css votedisk

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

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

Section 3

Code/Command (click line numbers to comment):

1
2
3
4
5
6
7
8
9
kfed read /dev/oracleasm/disks/DATA1 | grep -E 'vfstart|vfend'

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

Comments (0)

Please to add comments

No comments yet. Be the first to comment!