CRS COMMANDS -
------------
pgrep -l d.bin
$GRID_HOME/bin/crsctl stat res -t ---> to check the resources in all nodes
crsctl check crs ---> To check the clusterware running in current node
crsctl stop crs ---> To stop the crs in current node
crsctl start crs ---> To start the crs in current node
crsctl check cluster
crsctl query css votedisk ---> To determine the voting disks file location
ocrcheck ---> To determine the location of OCR
crsctl stat res ora.<dg_name>.dg -t ---> To verify the specified diskgroup is online in all the nodes
ocrconfig -add <dg_name> ---> To add second OCR location to be stored in ASM diskgroup
cat /etc/oracle/ocr.loc ---> To see the changes made to the file referencing the new OCR location
ocrconfig -delete <dg_nam> ---> To remove the OCR file from the disk group
ocrconfig -showbackup ---> To list the automatic backups of OCR and nodes in which they were performed
ocrconfig -manualbackup ---> To perform manual backup of OCR
ocrconfig -export /home/oracle/ocr.bkp ---> To perform logical backup of OCR to the path /home/oracle/ocr.bkp
ocrconfig -showbackup manual ---> To list the list of manual backups of OCR
ocrconfig -local ---> To determine the location of OLR
orcconfig -local -export /home/olr.bkp ---> To perform logical backup of the OLR
------------
pgrep -l d.bin
$GRID_HOME/bin/crsctl stat res -t ---> to check the resources in all nodes
crsctl check crs ---> To check the clusterware running in current node
crsctl stop crs ---> To stop the crs in current node
crsctl start crs ---> To start the crs in current node
crsctl check cluster
crsctl query css votedisk ---> To determine the voting disks file location
ocrcheck ---> To determine the location of OCR
crsctl stat res ora.<dg_name>.dg -t ---> To verify the specified diskgroup is online in all the nodes
ocrconfig -add <dg_name> ---> To add second OCR location to be stored in ASM diskgroup
cat /etc/oracle/ocr.loc ---> To see the changes made to the file referencing the new OCR location
ocrconfig -delete <dg_nam> ---> To remove the OCR file from the disk group
ocrconfig -showbackup ---> To list the automatic backups of OCR and nodes in which they were performed
ocrconfig -manualbackup ---> To perform manual backup of OCR
ocrconfig -export /home/oracle/ocr.bkp ---> To perform logical backup of OCR to the path /home/oracle/ocr.bkp
ocrconfig -showbackup manual ---> To list the list of manual backups of OCR
ocrconfig -local ---> To determine the location of OLR
orcconfig -local -export /home/olr.bkp ---> To perform logical backup of the OLR
No comments:
Post a Comment