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

Oracle OCR鏡像的增加以及刪除的實(shí)際操作

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

以下的文章主要介紹的是Oracle OCR鏡像的增加以及刪除,我們大家都知道Oracle OCR記錄節(jié)點(diǎn)成員的相關(guān)的配置信息,如ASM、instance、以及l(fā)istener和VIP等相關(guān)的CRS資源的相關(guān)配置信息。

檢查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 

 

增加一個(gè)鏡像

 

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

刪除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的主文件,相應(yīng)的鏡像文件自動(dòng)的變?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   

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

【編輯推薦】

  1. Oracle外鍵與其主鍵的實(shí)際應(yīng)用方案
  2. Oracle SQL執(zhí)行緩慢的原因以及解決方案
  3. Oracle delete執(zhí)行過程的流程介紹
  4. Oracle小數(shù)點(diǎn)的實(shí)際保留問題的4方案
  5. 用Oracle外部表來查看相關(guān)的報(bào)警信息的2方案

 

責(zé)任編輯:佚名 來源: 博客園
相關(guān)推薦

2010-05-07 12:19:38

Oracle刪除用戶表

2010-04-15 14:30:35

Oracle創(chuàng)建

2010-04-28 10:13:37

Oracle刪除重復(fù)數(shù)

2010-04-14 17:06:41

Oracle安裝路徑

2010-04-16 13:59:40

Oracle數(shù)據(jù)

2010-03-31 16:11:00

Oracle啟動(dòng)

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實(shí)戰(zhàn)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 存儲(chǔ)過程

2010-04-12 14:44:06

Oracle Impd

2010-04-21 15:52:45

Oracle游標(biāo)
點(diǎn)贊
收藏

51CTO技術(shù)棧公眾號

主站蜘蛛池模板: 国产精品精品久久久久久 | 欧美日日 | 成人高清视频在线观看 | 黄色毛片大全 | 日韩久久久久 | 国产在线播放一区二区三区 | 伊人狠狠干 | 91精品国产一区二区三区蜜臀 | 日本不卡一区二区三区 | 日韩av在线一区 | 欧美一区二区三区在线看 | 亚洲超碰在线观看 | 日韩久久网 | 在线中文av | 国产亚洲一区二区三区 | 国产精品久久久久久久久免费高清 | 亚洲一区二区三区四区av | 精品欧美一区二区三区久久久 | 国产精品日产欧美久久久久 | 中文字幕中文字幕 | 超碰精品在线 | 成人免费视频一区二区 | 国产乱肥老妇国产一区二 | 天天操天天干天天透 | 成人一级片在线观看 | 久久9久 | 国产资源网 | 欧美日韩精品 | 综合色在线 | 日本成人久久 | 在线视频久久 | 欧美亚洲一区二区三区 | 天天操操 | 精品乱码一区二区三四区视频 | 欧美日韩精品久久久免费观看 | 别c我啊嗯国产av一毛片 | 国产重口老太伦 | 56pao在线| 国产在线一区二区三区 | 久久99深爱久久99精品 | 亚洲福利一区二区 |