crsctl start crs/has
--------------------
+ASM -> +OCR/oracle-clu/ASMPARAMETERFILE/REGISTRY.253.1228302843
-> its has to start ASM
-> ASM to start it has to read Spfile (+OCR/oracle-clu/ASMPARAMETERFILE/REGISTRY.253.1228302843)
-> Where as Spfile is inside ASM diskgroup
-> In order to read Spfile which is inside ASM diskgroup, ASM diskgroup has to be mounted
-> In order to mount ASM diskgroup, ASM has to be up and running
cluster is able to start ASM instance with help of ora.gpnpd
ora.gpnpd -> cluster resource will read gpnpd profile
gpnpd profile -> has ASM Spfile location / disk group information / disk information
ora.gpnpd -> will help reading the disk header of ASM diskgroup where Spfile is located using kfod or kfed utility
[oracle@oraclelab1 ~]$ which kfed
/u01/app/19.0.0.0/grid/bin/kfed
[oracle@oraclelab1 ~]$ which kfod
/u01/app/19.0.0.0/grid/bin/kfod
/u01/app/19.0.0.0/grid/gpnp/profiles/peer/profile.xml
ps -ef|grep smon
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 stop crs
crsctl start crs
crsctl check crs
crsctl stop has
crsctl start has
crsctl check has
crsctl disable has
crsctl enable has
crsctl disable crs
crsctl enable crs
runclufy.sh - ASM/cluster installation precheck
clufy
olsnodes
srvctl - ASM / DB / listener / services / scan
srvctl config scan
srvctl status scan
srvctl status scan_listener
srvctl status database -d DEVDB
srvctl stop database -d DEVDB
srvctl start database -d DEVDB
srvctl status instance -i DEVDB1 -d DEVDB
srvctl stop instance -i DEVDB1 -d DEVDB
srvctl start instance -i DEVDB1 -d DEVDB
srvctl status instance -i DEVDB2 -d DEVDB
srvctl stop instance -i DEVDB2 -d DEVDB
srvctl start instance -i DEVDB2 -d DEVDB
srvctl status listener -l LISTENER
srvctl stop listener -l LISTENER
srvctl start listener -l LISTENER
srvctl status listener -l LISTENER -n oraclelab1
srvctl stop listener -l LISTENER -n oraclelab1
srvctl start listener -l LISTENER -n oraclelab1
OLR & OCR:
=========
ocrconfig
ocrconfig -local
ocrcheck
ocrcheck -local
ocrdump
ocrdump -local
How to find the OLR/OCR location?
[oracle@oraclelab2 oracle]$ cat /etc/oracle/ocr.loc
ocrconfig_loc=+OCR/oracle-clu/OCRFILE/registry.255.1228302853
local_only=FALSE
[oracle@oraclelab2 oracle]$ cat /etc/oracle/olr.loc
olrconfig_loc=/u01/app/oracle/crsdata/oraclelab2/olr/oraclelab2_19.olr
crs_home=/u01/app/19.0.0.0/grid
Votedisks
++++++++++++
crsctl
crsctl query css votedisk
crsctl
crsctl check has
crsctl stop has
crsctl start has
crsctl check crs
crsctl stop crs
crsctl start crs
crsctl enabled crs/has
crsctl disable crs/has
What is GPNP Profile and What it contains?
/u01/app/19.0.0.0/grid/gpnp/profiles/peer/profile.xml
- has ASM Spfile location / disk group information / disk information
kfed read /dev/oracleasm/disks/ASMDISK1 | grep -E 'vfstart|vfend'
Regards,
Mallikarjun / Vismo Technologies
WhatsApp: +91 9880616848 / +91 9036478079
Cell: +91 9880616848 / +91 9036478079
Email: mallikarjun.ramadurg@gmail.com / vismotechnologies@gmail.com