最新文章專題視頻專題問答1問答10問答100問答1000問答2000關(guān)鍵字專題1關(guān)鍵字專題50關(guān)鍵字專題500關(guān)鍵字專題1500TAG最新視頻文章推薦1 推薦3 推薦5 推薦7 推薦9 推薦11 推薦13 推薦15 推薦17 推薦19 推薦21 推薦23 推薦25 推薦27 推薦29 推薦31 推薦33 推薦35 推薦37視頻文章20視頻文章30視頻文章40視頻文章50視頻文章60 視頻文章70視頻文章80視頻文章90視頻文章100視頻文章120視頻文章140 視頻2關(guān)鍵字專題關(guān)鍵字專題tag2tag3文章專題文章專題2文章索引1文章索引2文章索引3文章索引4文章索引5123456789101112131415文章專題3
問答文章1 問答文章501 問答文章1001 問答文章1501 問答文章2001 問答文章2501 問答文章3001 問答文章3501 問答文章4001 問答文章4501 問答文章5001 問答文章5501 問答文章6001 問答文章6501 問答文章7001 問答文章7501 問答文章8001 問答文章8501 問答文章9001 問答文章9501
當前位置: 首頁 - 科技 - 知識百科 - 正文

Oracle10g下ocr和votedisk的管理

來源:懂視網(wǎng) 責編:小采 時間:2020-11-09 12:53:02
文檔

Oracle10g下ocr和votedisk的管理

Oracle10g下ocr和votedisk的管理:作為集群,oracle cluster需要共享存儲來存放整個集群的配置信息,ocr便是用例存放這些配置信息的地方,ocr的存儲容量一般不會太 ocr和votedisk是什么? 作為集群,Oracle cluster需要共享存儲來存放整個集群的配置信息,ocr便是用例存放這些配置信息的
推薦度:
導讀Oracle10g下ocr和votedisk的管理:作為集群,oracle cluster需要共享存儲來存放整個集群的配置信息,ocr便是用例存放這些配置信息的地方,ocr的存儲容量一般不會太 ocr和votedisk是什么? 作為集群,Oracle cluster需要共享存儲來存放整個集群的配置信息,ocr便是用例存放這些配置信息的

作為集群,oracle cluster需要共享存儲來存放整個集群的配置信息,ocr便是用例存放這些配置信息的地方,ocr的存儲容量一般不會太

ocr和votedisk是什么?

作為集群,Oracle cluster需要共享存儲來存放整個集群的配置信息,ocr便是用例存放這些配置信息的地方,ocr的存儲容量一般不會太大,在10g下,oracle建議256M已經(jīng)足以。ocr必須需要存儲在集群文件系統(tǒng)或者裸設備上,出于性能上的考慮,本人建議將ocr建立在裸設備上,性能高并且管理也不復雜(ocr和votedisk的數(shù)量一般不會太多)。ocr中存放的是集群的配置信息,這些信息只能在一個節(jié)點上進行維護操作,這一節(jié)點叫做Master Node,其他節(jié)點會在內(nèi)存中保留一份ocr的復制,并且只能進行讀操作,所有ocr的更新都是有master node來執(zhí)行并通知各個節(jié)點的。

votedisk磁盤存儲集中地各個節(jié)點并用來進行心跳監(jiān)測

ocr和votedisk的維護是否需要保持脫機狀態(tài)?

orc的維護在大多數(shù)情況下,是需要聯(lián)機操作的,因為在各個節(jié)點具有ocr.loc文件,聯(lián)機操作可以保證各個節(jié)點的ocr.loc文件及時得到更新。但是部分操作,如repaire和重建等操作需要在脫機狀態(tài)下進行(后面會詳細描述)

votedisk磁盤的維護往往需要在脫機狀態(tài)下進行

Oracle 11g 在RedHat Linux 5.8_x64平臺的安裝手冊

Linux-6-64下安裝Oracle 12C筆記

在CentOS 6.4下安裝Oracle 11gR2(x64)

Oracle 11gR2 在VMWare虛擬機中安裝步驟

Debian 下 安裝 Oracle 11g XE R2

ocr維護的命令有哪些?

維護ocr常用的命令有:

ocrcheck

[root@node1 bin]# ./ocrcheck -h
Name:
ocrcheck - Displays health of Oracle Cluster Registry.

Synopsis:
ocrcheck

Description:
prompt> ocrcheck
Displays current usage, location and health of the cluster registry

Notes:
A log file will be created in
$ORACLE_HOME/log//client/ocrcheck_.log. Please ensure
you have file creation privileges in the above directory before
running this tool.

ocrdump(dump出來的內(nèi)容可以用來查看ocr中的內(nèi)容,但是不可以用來進行恢復)

[root@node1 bin]# ./ocrdump -h
Name:
ocrdump - Dump contents of Oracle Cluster Registry to a file.

Synopsis:
ocrdump [|-stdout] [-backupfile ] [-keyname ] [-xml] [-noheader]

Description:
Default filename is OCRDUMPFILE. Examples are:

prompt> ocrdump
writes cluster registry contents to OCRDUMPFILE in the current directory

prompt> ocrdump MYFILE
writes cluster registry contents to MYFILE in the current directory

prompt> ocrdump -stdout -keyname SYSTEM
writes the subtree of SYSTEM in the cluster registry to stdout

prompt> ocrdump -stdout -xml
writes cluster registry contents to stdout in xml format

Notes:
The header information will be retrieved based on best effort basis.
A log file will be created in
$ORACLE_HOME/log//client/ocrdump_.log. Make sure
you have file creation privileges in the above directory before
running this tool.

ocrconfig

[root@node1 bin]# ./ocrconfig -h
Name:
ocrconfig - Configuration tool for Oracle Cluster Registry.

Synopsis:
ocrconfig [option]
option:
-export [-s online]
- Export cluster register contents to a file
-import - Import cluster registry contents from a file
-upgrade [ []]
- Upgrade cluster registry from previous version
-downgrade [-version ]
- Downgrade cluster registry to the specified version
-backuploc - Configure periodic backup location
-showbackup - Show backup information
-restore - Restore from physical backup
-replace ocr|ocrmirror [] - Add/replace/remove a OCR device/file
-overwrite - Overwrite OCR configuration on disk
-repair ocr|ocrmirror - Repair local OCR configuration
-help - Print out this help information

Note:
A log file will be created in
$ORACLE_HOME/log//client/ocrconfig_.log. Please ensure
you have file creation privileges in the above directory before
running this tool.

Table D-1 The ocrconfig Command Options

OptionPurpose

-backuploc

To change an OCR backup file location. For this entry, use a full path that is accessible by all of the nodes.

-downgrade

To downgrade an OCR to an earlier version.

-export

To export the contents of an OCR into a target file.

-help

To display help for the ocrconfig commands.

-import

To import the OCR contents from a previously exported OCR file.

-overwrite

To update an OCR configuration that is recorded on the OCR with the current OCR configuration information that is found on the node from which you are running this command.

-repair

To update an OCR configuration on the node from which you are running this command with the new configuration information specified by this command.

-replace

To add, replace, or remove an OCR location.

-restore

To restore an OCR from an automatically created OCR backup file.

-showbackup

聲明:本網(wǎng)頁內(nèi)容旨在傳播知識,若有侵權(quán)等問題請及時與本網(wǎng)聯(lián)系,我們將在第一時間刪除處理。TEL:177 7030 7066 E-MAIL:11247931@qq.com

文檔

Oracle10g下ocr和votedisk的管理

Oracle10g下ocr和votedisk的管理:作為集群,oracle cluster需要共享存儲來存放整個集群的配置信息,ocr便是用例存放這些配置信息的地方,ocr的存儲容量一般不會太 ocr和votedisk是什么? 作為集群,Oracle cluster需要共享存儲來存放整個集群的配置信息,ocr便是用例存放這些配置信息的
推薦度:
標簽: oracle or ocr
  • 熱門焦點

最新推薦

猜你喜歡

熱門推薦

專題
Top