Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

RAC add OCR location

2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >

Share

Shulou(Shulou.com)06/01 Report--

The modification of RAC adding OCR location to OCR is synchronized to the configuration file of OCR on the node: ocr.loc. Even if the crs of the other node is turned off, the OCR changes are automatically updated at startup.

Add syntax as follows: # ocrconfig-add + asm_disk_group | file_name

After the addition is complete, verify # ocrcheck using the command

View the location of ocr [root@rac2 ~] # ocrcheck Status of Oracle Cluster Registry is as follows: Version: 3 Total space (kbytes): 262120 Used space (kbytes): 3352 Available space (kbytes): 258768 ID: 2129345179 Device/File Name: + CRS Device/File integrity check succeeded Device/File not configured Device/File not configured Device/File not configured Device/File not configured Cluster registry integrity check succeeded

View the disk group [grid@rac1 ~] $kfod op=groups-Group Size Free Redundancy Name = 1: 10236 Mb 922 Mb EXTERN OGG 2: 5114 Mb 4784 Mb EXTERN FRA 3: 20473 Mb 18208 Mb EXTERN DATA 4: 5114 Mb 4718 Mb EXTERN CRS

Add ocr to fra [root@rac1 ~] # ocrconfig-add + fra

Verify [root@rac1 ~] # ocrcheck Status of Oracle Cluster Registry is as follows: Version: 3 Total space (kbytes): 262120 Used space (kbytes): 3352 Available space (kbytes): 258768 ID: 2129345179 Device/File Name: + CRS Device/File integrity check succeeded Device/File Name: + fra Device/File integrity check succeeded Device/File not configured Device/File not configured Device/File not configured Cluster registry integrity check succeeded

Check whether the configuration file matches the new [root@rac1 ~] # cd / etc/oracle/ [root@rac1 oracle] # cat ocr.loc # Device/file getting replaced by device + fra ocrconfig_loc=+CRS ocrmirrorconfig_loc=+fra

Node 2 verifies [root@rac2 oracle] # cat ocr.loc # Device/file getting replaced by device + fra ocrconfig_loc=+CRS ocrmirrorconfig_loc=+fra

-- check whether [grid@rac1 ~] $asmcmd-p ASMCMD [+ fra/rac-cluster/ocrfile] > ls REGISTRY.255.971178369 exists in the ASM file

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Database

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report