成人免费xxxxx在线视频软件_久久精品久久久_亚洲国产精品久久久_天天色天天色_亚洲人成一区_欧美一级欧美三级在线观看

Oracle OCR鏡像的增加以及刪除的實際操作

數據庫 Oracle
我們今天主要和大家介紹的是Oracle OCR鏡像的增加以及刪除的實際用法,本文主要是通過代碼的方式來講述其實際操作。

以下的文章主要介紹的是Oracle OCR鏡像的增加以及刪除,我們大家都知道Oracle OCR記錄節點成員的相關的配置信息,如ASM、instance、以及listener和VIP等相關的CRS資源的相關配置信息。

檢查Oracle OCR的狀態

 

  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只能有一份鏡像,新增加的鏡像文件會替換掉原來的鏡像。

刪除OCR的鏡像文件

  1. [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的主文件,相應的鏡像文件自動的變為主文件。

例如:

 

  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   

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

【編輯推薦】

  1. Oracle外鍵與其主鍵的實際應用方案
  2. Oracle SQL執行緩慢的原因以及解決方案
  3. Oracle delete執行過程的流程介紹
  4. Oracle小數點的實際保留問題的4方案
  5. 用Oracle外部表來查看相關的報警信息的2方案

 

責任編輯:佚名 來源: 博客園
相關推薦

2010-05-07 12:19:38

Oracle刪除用戶表

2010-04-15 14:30:35

Oracle創建

2010-04-28 10:13:37

Oracle刪除重復數

2010-04-14 17:06:41

Oracle安裝路徑

2010-04-16 13:59:40

Oracle數據

2010-03-31 16:11:00

Oracle啟動

2010-04-01 13:39:43

Oracle Name

2010-04-01 14:06:13

Oracle Name

2010-04-20 11:06:33

Oracle索引

2010-05-10 10:19:28

Oracle實戰RMA

2010-05-10 12:39:42

Oracle OCR鏡

2010-04-02 15:53:36

Oracle綁定變量

2010-04-06 08:58:27

Oracle job

2010-04-14 09:33:58

Oracle Spat

2010-04-01 16:06:08

Oracle修改表ow

2010-03-29 15:57:07

Oracle exp備

2010-04-02 13:34:33

Oracle DBA

2010-04-07 13:02:14

Oracle 存儲過程

2010-04-12 14:44:06

Oracle Impd

2010-04-21 15:52:45

Oracle游標
點贊
收藏

51CTO技術棧公眾號

主站蜘蛛池模板: 欧美日韩高清 | 中文字幕 国产精品 | 亚洲不卡在线观看 | 日日噜噜噜夜夜爽爽狠狠视频, | 亚洲视频免费播放 | 国产精品一二区 | 国产亚洲精品精品国产亚洲综合 | 日本三级线观看 视频 | 亚洲精品一区二区三区在线 | 精品亚洲国产成av人片传媒 | 99精品一区二区 | 一区二区三区视频在线 | 成人在线精品视频 | 午夜av电影 | .国产精品成人自产拍在线观看6 | 亚洲欧美日韩在线不卡 | 中文字幕亚洲国产 | 国产大毛片 | 91欧美精品成人综合在线观看 | 国产1区 | 日本一区二区影视 | 欧美日韩国产一区二区 | 欧美精品福利 | 97人人澡人人爽91综合色 | 久久久精彩视频 | 黑人性hd | 亚洲性视频网站 | 欧美日本韩国一区二区三区 | 久久久精彩视频 | 日韩精品一区二区三区四区视频 | 蜜桃av鲁一鲁一鲁一鲁 | 国产精品久久久久一区二区三区 | 亚洲一区二区三区四区五区中文 | 国产欧美在线视频 | 日韩中文字幕在线不卡 | 国产精品美女久久久久久免费 | 蜜桃一区二区三区 | 中文字幕av在线 | 伊人久久在线 | 久久精品国产久精国产 | 国产精品久久久久久福利一牛影视 |