`
hunxiejun
  • 浏览: 1145850 次
文章分类
社区版块
存档分类
最新评论

How to Recreate OCR / Voting Disk Accidentally Deleted [ID 399482.1]

 
阅读更多

How to Recreate OCR/Voting Disk Accidentally Deleted [ID 399482.1]


Modified 26-OCT-2010Type HOWTOStatus PUBLISHED

In this Document
Goal
Solution


Applies to:

Oracle Server - Enterprise Edition - Version: 10.2.0.1 to 10.2.0.3 - Release: 10.2 to 10.2
Oracle Server - Standard Edition - Version: 10.2.0.1to11.1.0.7[Release: 10.2 to 11.1]
Linux x86
HP-UX PA-RISC (64-bit)
IBM AIX on POWER Systems (64-bit)
Oracle Solaris on x86 (32-bit)
Oracle Solaris on SPARC (64-bit)
HP-UX Itanium
Linux x86-64
Linux Itanium
HP Tru64 UNIX
Oracle Clusterware

Goal

The goal of this document is to help customers who have accidentally deleted the OCR, voting disk or the files that are required for theoperation of Oracle clusterware.

Depending on the issue, it may or may not be good idea to execute the steps provided.

Solution

If none of the steps documented above can be used to restore the file that was accidentally deleted or is corrupted, then the following steps can be used to re-create/reinstantiatethese files. The following steps require complete downtime on all the nodes.

  1. Shutdown the Oracle Clusterwarestack on all thenodes using command crsctl stop crs as root user.
  2. Backup the entireOracle Clusterwarehome.
  3. Execute <CRS_HOME>/install/rootdelete.sh on all nodes
  4. Execute <CRS_HOME>/install/rootdeinstall.sh on the node which is supposed to be the first node
  5. The following commands shouldreturn nothing
    • ps -e | grep -i 'ocs[s]d'
    • ps -e | grep -i 'cr[s]d.bin'
    • ps -e | grep -i 'ev[m]d.bin'
  6. Execute <CRS_HOME>/root.sh on first node
  7. After successful root.sh execution on first node Executeroot.sh on the rest of the nodes of the cluster
  8. For 10gR2, use racgons. For 11g use onsconfig command. Examples for each are provided below.

    For 10g
    Execute as owner (generally oracle) of CRS_HOME command
    <CRS_HOME>/install/racgons add_config hostname1:port hostname2:port

$/u01/crs/install/racgons add_config halinux1:6251 halinux2:6251


For 11g
Execute as owner (generally oracle) of CRS_HOME command
<CRS_HOME>/install/onsconfig add_config hostname1:port hostname2:port

$/u01/crs/install/onsconfig add_config halinux1:6251 halinux2:6251

  1. Execute as owner of CRS_HOME (generally oracle) <CRS_HOME>/bin/oifcfg setif -global. Please review Note 283684.1 for details.

$/u01/crs/bin/oifcfg setif -global eth0/192.168.0.0:cluster_interconnect eth1/10.35.140.0:public

  1. Add listener using netca. This may give errors if the listener.ora contains the entries already. If this is the case, move the listener.ora to /tmp from the $ORACLE_HOME/network/admin or from the $TNS_ADMIN directory if the TNS_ADMIN environmental is defined and then run netca. Add all the listeners that were added earlier.
  2. Add ASM & database resource to the OCR using the appropriate srvctl add database command as the user who owns the ASM & database resource. Pleaseensure that this is not run as root user
  3. Add Instance, services using approproate srvctl add commands. Please refer to the documentation for the exact commands.
  4. execute cluvfy stage -post crsinst -n node1,node2 ### Please ensure to replace node1,node2 with the node names of the cluster

------------------------------------------------------------------------------

Blog http://blog.csdn.net/tianlesoftware

网上资源: http://tianlesoftware.download.csdn.net

相关视频:http://blog.csdn.net/tianlesoftware/archive/2009/11/27/4886500.aspx

DBA1 群:62697716(); DBA2 群:62697977()

DBA3 群:62697850 DBA 超级群:63306533;

聊天 群:40132017

--加群需要在备注说明Oracle表空间和数据文件的关系,否则拒绝申请

分享到:
评论

相关推荐

    How To Drop, Create And Recreate DB Control In A 10g Database [ID 278100.1]

    How To Drop, Create And Recreate DB Control In A 10g Database [ID 278100.1] Metalink上下载

    Python库 | docker-recreate-1.4.1.tar.gz

    资源分类:Python库 所属语言:Python 资源全名:docker-recreate-1.4.1.tar.gz 资源来源:官方 安装方法:https://lanzao.blog.csdn.net/article/details/101784059

    gertt点阵图读取器(opengl)

    * A HUGE Thanks To Fredric Echols For Cleaning Up * And Optimizing The Base Code, Making It More Flexible! * If You've Found This Code Useful, Please Let Me Know. * Visit My Site At nehe....

    Debbie Millman - How to Think Like a Great Graphic Designer.pdf

    look forward to the next day when I could recreate the world.” 41 pau l a sch er “ I wanted to make wonderful things, things that other people liked, things that were important and mattered.”...

    opengl画图程序附带源代码

    #include &lt;windows.h&gt; // Header File For ...static PIXELFORMATDESCRIPTOR pfd= // pfd Tells Windows How We Want Things To Be { sizeof(PIXELFORMATDESCRIPTOR), // Size Of This Pixel Format Descriptor ...

    m4rr_ru_static:m4rr.ru的源代码和部署存储库

    m4rr.ru静态部署$ ssh scw$ cd m4rr_ru_static/$ ls$ ./kek.sh升级docker-compose up --force-recreate --build -d --remove-orphans 调试tail -f ~ /apache2/logs/other_vhosts_access.logdocker logs --tail 50 --...

    精通websphere MQ

    第 1 章 概念与原理........................................................................................................ 16 1.1 简介...................................................................

    基于项目的登录

    设置服务器(cron.txt和backup.sh中的编辑链接):./setup.sh 要启动服务器:./start.sh 清洁服务器:./clean.sh 笔记 重新启动:docker-compose up --force-recreate --build -d 连接到容器中的db:1:docker ...

    wishlist

    cat ./docker/environments/dev/.dist &gt; .env Para rodar,executar os comandos abaixo: docker-compose -f docker-compose.yml build --pull docker-compose -f docker-compose.yml up -d --force-recreate ...

    DATA2.docx

    t + 1): if p &lt; m: alpha = p elif p &gt; t - m + 1: alpha = t - p + 1 else: alpha = m sigma = 0 for j in range(1, m + 1): i = p - j + 1 if i &gt; 0 and i &lt; n + 1: sigma += new_...

    RealThinClientSDK_v610_BETA

    There is no need to recreate XCode Project files if you have only changed forms or units inside the Project. To add the RTC SDK paths to FPC, you will need to modify the file "xcode/&lt;ProjectName&gt;....

    Raspberry.Pi.Gaming.2nd.Edition

    Furthermore, you will discover in-depth details about emulators that recreate classic 80s arcade games to consoles that many grew up with. You will also learn more about installing games through ...

    ICS delphixe10源码版

    ICS - Internet Component Suite - V8 - Delphi 7 to RAD Studio 10 Seattle ======================================================================= (Aka FPIETTE's Components) Revised: March 3, 2016 ...

    rebed:如果不存在,则从嵌入式文件系统创建目录和文件

    休息 从embed.FS类型重新创建嵌入式文件系统 可用的四个动作: //go:embed someFS/* var bdFS embed....// Just replicate folder Structure...// Recreate FS without modifying existing files rebed . Patch ( bdFS )

    c-sharp-advent-of-code:C#(C-Sharp)代码解决方案的到来

    将./src/.env.example复制到./src/.env文件,并为要调试或运行的任务设置年,日和部件。 当地发展: 运行监视程序,在文件更改时运行源代码: dotnet watch --project ./src/AdventOfCode.csproj run 运行源代码: ...

    RemObjects SDK for Delphi

    Advanced This example shows how to create a proxy server to redirect the calls to another server without having to recreate the RODL file, thus allowing the use of the same types of the original ...

    Android Activity内嵌Fragment,当Activity recreate时Fragment被添加多次,造成界面重叠

    详情见博客:https://blog.csdn.net/qq_20785431/article/details/100519075

    Python库 | docker-recreate-1.4.0.tar.gz

    资源分类:Python库 所属语言:Python 资源全名:docker-recreate-1.4.0.tar.gz 资源来源:官方 安装方法:https://lanzao.blog.csdn.net/article/details/101784059

    svnplot 0.7.5

    IMPORTANT : Version 0.6.x users and 0.7.0 users, please upgrade to 0.7.4 and RECREATE the database. News/Updates NEW version 0.7.5 available (28 May 2011) Fixes critical bugs about wrong line count,...

    pcb guidelines

    In fact, a Fourier analysis can be used to find the amplitude and phase of each of the frequencies and determine how many are needed for reconstructing the pulses to the desired level of precision ...

Global site tag (gtag.js) - Google Analytics