偷偷摘套内射激情视频,久久精品99国产国产精,中文字幕无线乱码人妻,中文在线中文a,性爽19p

Oracle OCR鏡像的增加如何正確進行操作?

數(shù)據(jù)庫 Oracle
以下的文章主要描述的是Oracle OCR鏡像的增加以及其刪除的實際操作步驟,以下就是文章的具體內(nèi)容介紹,望你瀏覽之后會有所收獲。

以下的文章駐澳介紹的是Oracle OCR鏡像的增加以及其刪除的實際操作步驟,我們大家都知道Oracle OCR記錄節(jié)點成員配置的相關信息,有以下幾種,ASM、instance、listener、VIP等CRS資源的配置信息。

檢查Oracle OCR的狀態(tài)

 

  1. [root@node3 ~]# ocrcheck  
  2. Status of Oracle Cluster Registry is as follows :  
  3. Version : 2  
  4. Total space (kbytes) : 208656  
  5. Used space (kbytes) : 6496  
  6. Available space (kbytes) : 202160  
  7. ID : 844916878  
  8. Device/File Name : /dev/raw/raw2  
  9. Device/File integrity check succeeded  
  10. Device/File not configured  
  11. Cluster registry integrity check succeeded  
  12. [root@node3 ~]# cat /etc/oracle/ocr.loc  
  13. #Device/file /dev/raw/raw4 being deleted  
  14. ocrconfig_loc=/dev/raw/raw2  
  15. local_only=false 

 

增加一個鏡像

 

  1. [root@node3 ~]# ocrconfig -replace ocrmirror /dev/raw/raw4  
  2. [root@node3 ~]# ocrcheck  
  3. Status of Oracle Cluster Registry is as follows :  
  4. Version : 2  
  5. Total space (kbytes) : 208656  
  6. Used space (kbytes) : 6496  
  7. Available space (kbytes) : 202160  
  8. ID : 844916878  
  9. Device/File Name : /dev/raw/raw2  
  10. Device/File integrity check succeeded  
  11. Device/File Name : /dev/raw/raw4  
  12. Device/File integrity check succeeded  
  13. Cluster registry integrity check succeeded  
  14. [root@node3 ~]# cat /etc/oracle/ocr.loc  
  15. #Device/file getting replaced by device /dev/raw/raw4  
  16. ocrconfig_loc=/dev/raw/raw2  
  17. ocrmirrorconfig_loc=/dev/raw/raw4  
  18. local_only=false 
  19. [root@node3 ~]# ocrconfig -replace ocrmirror /dev/raw/raw6  
  20. [root@node3 ~]# ocrcheck  
  21. Status of Oracle Cluster Registry is as follows :  
  22. Version : 2  
  23. Total space (kbytes) : 208656  
  24. Used space (kbytes) : 6496  
  25. Available space (kbytes) : 202160  
  26. ID : 844916878  
  27. Device/File Name : /dev/raw/raw2  
  28. Device/File integrity check succeeded  
  29. Device/File Name : /dev/raw/raw6  
  30. Device/File integrity check succeeded  
  31. Cluster registry integrity check succeeded  
  32. [root@node3 ~]# cat /etc/oracle/ocr.loc  
  33. #Device/file /dev/raw/raw4 getting replaced by device /dev/raw/raw6  
  34. ocrconfig_loc=/dev/raw/raw2  
  35. ocrmirrorconfig_loc=/dev/raw/raw6  
  36. local_only=false 

 

Oracle OCR只能有一份鏡像,新增加的鏡像文件會替換掉原來的鏡像。

刪除Oracle OCR的鏡像文件

[root@node3 ~]# ocrconfig -replace ocrmirror ---不帶文件路徑名

 

  1. [root@node3 ~]# ocrcheck  
  2. Status of Oracle Cluster Registry is as follows :  
  3. Version : 2  
  4. Total space (kbytes) : 208656  
  5. Used space (kbytes) : 6496  
  6. Available space (kbytes) : 202160  
  7. ID : 844916878  
  8. Device/File Name : /dev/raw/raw2  
  9. Device/File integrity check succeeded  
  10. Device/File not configured  
  11. Cluster registry integrity check succeeded  
  12. [root@node3 ~]# cat /etc/oracle/ocr.loc  
  13. #Device/file /dev/raw/raw6 being deleted  
  14. ocrconfig_loc=/dev/raw/raw2  
  15. local_only=false 

 

注意如果我們刪除了Oracle OCR的主文件,相應的鏡像文件自動的變?yōu)橹魑募?/p>

例如:

 

  1. [root@node3 ~]# ocrcheck  
  2. Status of Oracle Cluster Registry is as follows :  
  3. Version : 2  
  4. Total space (kbytes) : 208656  
  5. Used space (kbytes) : 6496  
  6. Available space (kbytes) : 202160  
  7. ID : 844916878  
  8. Device/File Name : /dev/raw/raw2  
  9. Device/File integrity check succeeded  
  10. Device/File Name : /dev/raw/raw4  
  11. Device/File integrity check succeeded  
  12. Cluster registry integrity check succeeded  
  13. [root@node3 ~]# ocrconfig -replace ocr  
  14. [root@node3 ~]# ocrcheck  
  15. Status of Oracle Cluster Registry is as follows :  
  16. Version : 2  
  17. Total space (kbytes) : 208656  
  18. Used space (kbytes) : 6496  
  19. Available space (kbytes) : 202160  
  20. ID : 844916878  
  21. Device/File Name : /dev/raw/raw4  
  22. Device/File integrity check succeeded  
  23. Device/File not configured  
  24. Cluster registry integrity check succeeded   

上述的相關內(nèi)容就是對Oracle OCR鏡像的增加及刪除的描述,希望會給你帶來一些幫助在此方面。

【編輯推薦】

  1. Oracle數(shù)據(jù)庫性能的幾大優(yōu)點介紹
  2. 如何正確對Oracle trunc()函數(shù)進行操作?
  3. Oracle 10g應用比例不斷攀升的緣由
  4. Oracle數(shù)據(jù)集成的解決方案詳解
  5. 對Oracle Raw類型的詳細解剖
責任編輯:佚名 來源: 互聯(lián)網(wǎng)
相關推薦

2010-04-27 13:39:05

Oracle OCR鏡

2010-05-07 16:50:42

Oracle trun

2010-05-06 15:29:53

Oracle數(shù)據(jù)復制

2010-05-07 12:27:11

Oracle data

2010-05-05 17:53:39

Oracle 8i

2010-01-19 17:32:03

VB.NET流

2010-05-06 09:52:11

Oracle發(fā)送郵件

2010-05-05 09:03:07

Oracle實現(xiàn)top

2010-04-26 15:22:44

Oracle ebs

2022-09-16 13:26:49

云計算云遷移數(shù)據(jù)

2010-02-22 14:13:38

安裝Python

2022-06-06 06:10:00

密碼驗證安全

2010-02-03 14:15:18

Python 開發(fā)

2010-02-22 10:06:17

Python調用

2010-02-02 14:11:14

Python 進行編程

2010-08-13 09:55:33

DB2dart恢復數(shù)據(jù)

2010-02-02 18:20:43

Python編寫

2010-04-15 13:51:06

Oracle EBS

2010-02-05 16:35:35

Android操作系統(tǒng)

2010-04-26 18:32:48

Oracle數(shù)據(jù)庫
點贊
收藏

51CTO技術棧公眾號