Three commands for OCR maintenance
1, ocrconfig,
For ocrconfig,we can use the following options for repository maintenance:
backuploc. 這個選項可以改變OCR備份的預設路徑,OCR備份預設放在$CRS_HOME/cdata/cluster_name,這裡cluster_name是指定cluster配置的唯一名字。
showbackup. 這個選項詳述了備份的位置,包括備份檔案的時間點和節點名。
restore filename. 用提供的filename引數還原一個OCR備份。
export/import filename. 對OCR的匯出和匯入。
其它還有help, upgrade, downgrade 對OCR升級和降級(需要停掉所有的例項)。
2, ocrdump.
這個命令可以直接看OCR檔案的內容,後面只有一個選項filename.指定ASCII dump檔案的路徑和名字。
3, ocrcheck.
對OCR執行塊完整性檢查,並且顯示一些有價值的資訊,比如空間使用情況:tolal space used, total space available, and current version.
另外,如果確實需要repair or restore the OCR, 可以參考一個具體的MOS note:
Note #268937.1, "Repairing and Restoring an Inconsistent OCR in RAC"
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/628922/viewspace-756989/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- three predefined automated maintenance tasksAINaN
- OCR / Vote disk Maintenance Operations: (ADD/REMOVE/REPLACE/MOVE)AINaNREM
- OCR / Vote disk Maintenance Operations: (ADD/REMOVE/REPLACE/MOVE) [ID 428681.1]AINaNREM
- Mainframe CommandsAI
- linux commandsLinux
- vim-Filter commandsFilter
- Useful Oracle RAC CommandsOracle
- Postgres Basic Commands for Beginners
- [Bash] while & until commandsWhile
- [Bash] ps & pgrep commands
- 2.3.3 Application MaintenanceAPPAINaN
- ALLOCATE CHANNEL FOR MAINTENANCE 命令AINaN
- Give root password for maintenanceAINaN
- Maintenance of Global Partitioned IndexesAINaNIndex
- SQL Database Maintenance WizardSQLDatabaseAINaN
- List Available DBCC CommandsAI
- xecuting shell commands with bash
- 2.3.3.1 About Application MaintenanceAPPAINaN
- 11g auto maintenanceAINaN
- Cannot find folder "Maintenance Plans".AINaN
- 測試laravel commands的方法Laravel
- Basic LINUX/UNIX Commands(轉)Linux
- 上海:International Release and Maintenance EngineerAINaN
- Recovery Catalog creation and MaintenanceAINaN
- Vim tips——Working with external commands
- Python commands獲取程式idPython
- zabbix_maintenance web管理系統AINaNWeb
- 【Three.js】Three.js學習記錄JS
- [轉]Handy adb commands for AndroidAndroid
- three.jsJS
- PostgreSQL DBA(170) - pgAdmin(Queries For Index Maintenance)SQLIndexAINaN
- EMD_MAINTENANCE 引起統計資訊收集AINaN
- 【RMAN】Run Allocate Channel For Maintenance From Script FailsAINaN
- 使用VIEW_MAINTENANCE_CALL維護tableviewViewAINaN
- mysql 使用 informatin_schema tables 建立 shell commandsMySqlORM
- pipe-out-from-a-sequence-of-commands to sqlplusSQL
- 38 Three.js高階材質THREE.ShaderMaterialJS
- oracle重建ocrOracle