重新配置或卸载 11gR2 Grid Infrastructure
Oracle 11g R2 Grid Infrastructure 的安装与配置较之前的版本提供了更多的灵活性。在Grid Infrastructure安装完毕前执行root.sh经常容易出现错误,并且需要修复该错误才能得以继续。在这个版本中我们可以直接通过执行脚本rootcrs.pl来重新配置Grid Infrastr
Oracle 11g R2 Grid Infrastructure 的安装与配置较之前的版本提供了更多的灵活性。在Grid Infrastructure安装完毕前执行root.sh经常容易出现错误,并且需要修复该错误才能得以继续。在这个版本中我们可以直接通过执行脚本rootcrs.pl来重新配置Grid Infrastructure而无需先卸载Grid Infrastructure,然后修复故障后进行再次安装。下面描述了rootcrs.pl的用法以及使用deinstall彻底卸载Grid Infrastructure。
1、rootcrs.pl命令介绍
[python] view plaincopyprint?
- #命令位置:$GRID_HOME/crs/install
- #命令说明:
- # 该命令主要是用于对crs进行维护与管理,包括patch,upgrade,downgrade,deconfig等等
- # perldoc rootcrs.pl执行这个命令获得完整的介绍
- [root@linux1 install]# ./rootcrs.pl -h
- Unknown option: h
- Usage:
- rootcrs.pl [-verbose] [-upgrade | -patch] [-hahome
] - [-paramfile
] - [-deconfig | -downgrade] [-force] [-lastnode]
- [-downgrade] [-oldcrshome
] [-version ] - [-unlock [-crshome
]] - Options:
- -verbose Run this script in verbose mode
- -upgrade Oracle HA is being upgraded from previous version
- -patch Oracle HA is being upgraded to a patch version
- -hahome Complete path of Oracle Clusterware home
- -paramfile Complete path of file specifying HA parameter values
- -lastnode Force the node this is executing on to be considered the
- last node of the install and perform actions associated
- with configurig the last node
- -downgrade Downgrade the clusterware
- -version For use with downgrade; special handling is required if
- downgrading to 9i. This is the old crs version in the format
- A.B.C.D.E (e.g 11.1.0.6.0).
- -deconfig Remove Oracle Clusterware to allow it to be uninstalled or reinstalled.
- -force Force the executon of steps in delete that cannot be verified
- to be safe
- -unlock Unlock CRS home
- -crshome Complete path of crs home. Use with unlock option.
- -oldcrshome For use with downgrade. Complete path of the old crs home.
- If neither -upgrade nor -patch is supplied, a new install is performed
- To see the full manpage for this program, execute:
- perldoc rootcrs.pl
#对于执行root.sh失败时,我们可以通过该命令以-deconfig 参数来清除crs的配置信息,然后根据log修复故障或使用patch之后再重新执行root.sh
#对于该命令的patch,upgrade,downgrade用法再此不作详细介绍
2、重新配置Grid Infrastructure及ASM
[python] view plaincopyprint?
- #重新配置Grid Infrastructure并不会移除已经复制的二进制文件,仅仅是回复到配置crs之前的状态,下面是其步骤
- a、使用root用户登录,并执行下面的命令(所有节点,但最后一个节点除外)
- # perl $GRID_HOME/crs/install/rootcrs.pl -verbose -deconfig -force
- b、同样使用root用户在最后一个节点执行下面的命令。该命令将清空ocr 配置和voting disk
- # perl $GRID_HOME/crs/install/rootcrs.pl -verbose -deconfig -force -lastnode
- c、如果使用了ASM磁盘,继续下面的操作以使得ASM重新作为候选磁盘(清空所有的ASM磁盘组)
- # dd if=/dev/zero of=/dev/sdb1 bs=1024 count=100
- # /etc/init.d/oracleasm deletedisk DATA /dev/sdb1
- # /etc/init.d/oracleasm createdisk DATA /dev/sdb1
- #Author : Robinson
- #Blog : http://blog.csdn.net/robinson_0612
3、彻底删除Grid Infrastructure
[python] view plaincopyprint?
- #11g R2 Grid Infrastructure也提供了彻底卸载的功能,deinstall该命令取代了使用OUI方式来清除clusterware以及ASM,回复到安装grid之前的环境。
- #该命令将停止集群,移除二进制文件及其相关的所有配置信息。
- #命令位置:$GRID_HOME/deinstall
- #下面是该命令操作的具体事例,操作期间,需要提供一些交互信息,以及在新的session以root身份清除一些/tmp下的文件
- [root@linux1 bin]# ./crsctl check crs
- CRS-4638: Oracle High Availability Services is online
- CRS-4537: Cluster Ready Services is online
- CRS-4529: Cluster Synchronization Services is online
- CRS-4533: Event Manager is online
- [root@linux1 bin]# cd ../deinstall/
- [root@linux1 deinstall]# pwd
- /u01/app/11.2.0/grid/deinstall
- [root@linux1 deinstall]# ./deinstall
- You must not be logged in as root to run ./deinstall.
- Log in as Oracle user and rerun ./deinstall.
- [root@linux1 deinstall]# su grid
- [grid@linux1 deinstall]$ ./deinstall
- Checking for required files and bootstrapping ...
- Please wait ...
- Location of logs /tmp/deinstall2013-07-16_05-54-03-PM/logs/
- ############ ORACLE DEINSTALL & DECONFIG TOOL START ############
- ######################## CHECK OPERATION START ########################
- Install check configuration START
- Checking for existence of the Oracle home location /u01/app/11.2.0/grid
- Oracle Home type selected for de-install is: CRS
- Oracle Base selected for de-install is: /u01/app/grid
- Checking for existence of central inventory location /u01/app/oraInventory
- Checking for existence of the Oracle Grid Infrastructure home /u01/app/11.2.0/grid
- The following nodes are part of this cluster: linux1,linux2
- Install check configuration END
- Traces log file: /tmp/deinstall2013-07-16_05-54-03-PM/logs//crsdc.log
- Network Configuration check config START
- Network de-configuration trace file location: /tmp/deinstall2013-07-16_05-54-03-PM/logs/netdc_check207506844451155733.log
- Network Configuration check config END
- Asm Check Configuration START
- ASM de-configuration trace file location: /tmp/deinstall2013-07-16_05-54-03-PM/logs/asmcadc_check2698133635629979531.log
- ASM configuration was not detected in this Oracle home. Was ASM configured in this Oracle home (y|n) [n]: y
- Automatic Storage Management (ASM) instance is detected in this Oracle home /u01/app/11.2.0/grid.
- ASM Diagnostic Destination : /u01/app/grid
- ASM Diskgroups : +DATA
- Diskgroups will be dropped
- De-configuring ASM will drop all the diskgroups and it's contents at cleanup time. This will affect all of the databases and ACFS
- that use this ASM instance(s).
- If you want to retain the existing diskgroups or if any of the information detected is incorrect, you can modify by entering 'y'.
- Do you want to modify above information (y|n) [n]:
- ######################### CHECK OPERATION END #########################
- ####################### CHECK OPERATION SUMMARY #######################
- Oracle Grid Infrastructure Home is: /u01/app/11.2.0/grid
- The cluster node(s) on which the Oracle home exists are: (Please input nodes seperated by ",", eg: node1,node2,...)linux1,linux2
- Oracle Home selected for de-install is: /u01/app/11.2.0/grid
- Inventory Location where the Oracle home registered is: /u01/app/oraInventory
- ASM instance will be de-configured from this Oracle home
- Do you want to continue (y - yes, n - no)? [n]: y
- A log of this session will be written to: '/tmp/deinstall2013-07-16_05-54-03-PM/logs/deinstall_deconfig2013-07-16_05-54-37-PM.out'
- Any error messages from this session will be written to: '/tmp/deinstall2013-07-16_05-54-03-PM/logs/deinstall_deconfig2013-07-16_05-54-37-PM.err'
- ######################## CLEAN OPERATION START ########################
- ASM de-configuration trace file location: /tmp/deinstall2013-07-16_05-54-03-PM/logs/asmcadc_clean3319637107726750003.log
- ASM Clean Configuration START
- ASM Clean Configuration END
- Network Configuration clean config START
- Network de-configuration trace file location: /tmp/deinstall2013-07-16_05-54-03-PM/logs/netdc_clean9055263637610505743.log
- De-configuring Naming Methods configuration file on all nodes...
- Naming Methods configuration file de-configured successfully.
- De-configuring Local Net Service Names configuration file on all nodes...
- Local Net Service Names configuration file de-configured successfully.
- De-configuring Directory Usage configuration file on all nodes...
- Directory Usage configuration file de-configured successfully.
- De-configuring backup files on all nodes...
- Backup files de-configured successfully.
- The network configuration has been cleaned up successfully.
- Network Configuration clean config END
- ---------------------------------------->
- Run the following command as the root user or the administrator on node "linux2".
- /tmp/deinstall2013-07-16_05-54-03-PM/perl/bin/perl -I/tmp/deinstall2013-07-16_05-54-03-PM/perl/lib
- -I/tmp/deinstall2013-07-16_05-54-03-PM/crs/install /tmp/deinstall2013-07-16_05-54-03-PM/crs/install/rootcrs.pl -force
- -delete -paramfile /tmp/deinstall2013-07-16_05-54-03-PM/response/deinstall_Ora11g_gridinfrahome1.rsp
- Run the following command as the root user or the administrator on node "linux1".
- /tmp/deinstall2013-07-16_05-54-03-PM/perl/bin/perl -I/tmp/deinstall2013-07-16_05-54-03-PM/perl/lib
- -I/tmp/deinstall2013-07-16_05-54-03-PM/crs/install /tmp/deinstall2013-07-16_05-54-03-PM/crs/install/rootcrs.pl -force
- -delete -paramfile /tmp/deinstall2013-07-16_05-54-03-PM/response/deinstall_Ora11g_gridinfrahome1.rsp -lastnode
- Press Enter after you finish running the above commands
- Oracle Universal Installer clean START
- Detach Oracle home '/u01/app/11.2.0/grid' from the central inventory on the local node : Done
- Delete directory '/u01/app/11.2.0/grid' on the local node : Done
- Delete directory '/u01/app/oraInventory' on the local node : Done
- Delete directory '/u01/app/grid' on the local node : Done
- Detach Oracle home '/u01/app/11.2.0/grid' from the central inventory on the remote nodes 'linux2' : Done
- Delete directory '/u01/app/11.2.0/grid' on the remote nodes 'linux2' : Done
- Delete directory '/u01/app/oraInventory' on the remote nodes 'linux2' : Done
- Delete directory '/u01/app/grid' on the remote nodes 'linux2' : Done
- Oracle Universal Installer cleanup was successful.
- Oracle Universal Installer clean END
- Oracle install clean START
- Clean install operation removing temporary directory '/tmp/install' on node 'linux1'
- Clean install operation removing temporary directory '/tmp/install' on node 'linux2'
- Oracle install clean END
- ######################### CLEAN OPERATION END #########################
- ####################### CLEAN OPERATION SUMMARY #######################
- ASM instance was de-configured successfully from the Oracle home
- Oracle Clusterware is stopped and successfully de-configured on node "linux2"
- Oracle Clusterware is stopped and successfully de-configured on node "linux1"
- Oracle Clusterware is stopped and de-configured successfully.
- Successfully detached Oracle home '/u01/app/11.2.0/grid' from the central inventory on the local node.
- Successfully deleted directory '/u01/app/11.2.0/grid' on the local node.
- Successfully deleted directory '/u01/app/oraInventory' on the local node.
- Successfully deleted directory '/u01/app/grid' on the local node.
- Successfully detached Oracle home '/u01/app/11.2.0/grid' from the central inventory on the remote nodes 'linux2'.
- Successfully deleted directory '/u01/app/11.2.0/grid' on the remote nodes 'linux2'.
- Successfully deleted directory '/u01/app/oraInventory' on the remote nodes 'linux2'.
- Successfully deleted directory '/u01/app/grid' on the remote nodes 'linux2'.
- Oracle Universal Installer cleanup was successful.
- Run 'rm -rf /etc/oraInst.loc' as root on node(s) 'linux1,linux2' at the end of the session.
- Oracle install successfully cleaned up the temporary directories.
- #######################################################################
- ############# ORACLE DEINSTALL & DECONFIG TOOL END #############
更多参考
有关Oracle RAC请参考
使用crs_setperm修改RAC资源的所有者及权限
使用crs_profile管理RAC资源配置文件
RAC 数据库的启动与关闭
再说 Oracle RAC services
Services in Oracle Database 10g
Migrate datbase from single instance to Oracle RAC
Oracle RAC 连接到指定实例
Oracle RAC 负载均衡测试(结合服务器端与客户端)
Oracle RAC 服务器端连接负载均衡(Load Balance)
Oracle RAC 客户端连接负载均衡(Load Balance)
ORACLE RAC 下非缺省端口监听配置(listener.ora tnsnames.ora)
ORACLE RAC 监听配置 (listener.ora tnsnames.ora)
配置 RAC 负载均衡与故障转移
CRS-1006 , CRS-0215 故障一例
基于Linux (RHEL 5.5) 安装Oracle 10g RAC
使用 runcluvfy 校验Oracle RAC安装环境
有关Oracle 网络配置相关基础以及概念性的问题请参考:
配置非默认端口的动态服务注册
配置sqlnet.ora限制IP访问Oracle
Oracle 监听器日志配置与管理
设置 Oracle 监听器密码(LISTENER)
配置ORACLE 客户端连接到数据库
有关基于用户管理的备份和备份恢复的概念请参考
Oracle 冷备份
Oracle 热备份
Oracle 备份恢复概念
Oracle 实例恢复
Oracle 基于用户管理恢复的处理
SYSTEM 表空间管理及备份恢复
SYSAUX表空间管理及恢复
Oracle 基于备份控制文件的恢复(unsing backup controlfile)
有关RMAN的备份恢复与管理请参考
RMAN 概述及其体系结构
RMAN 配置、监控与管理
RMAN 备份详解
RMAN 还原与恢复
RMAN catalog 的创建和使用
基于catalog 创建RMAN存储脚本
基于catalog 的RMAN 备份与恢复
RMAN 备份路径困惑
使用RMAN实现异机备份恢复(WIN平台)
使用RMAN迁移文件系统数据库到ASM
linux 下RMAN备份shell脚本
使用RMAN迁移数据库到异机
有关ORACLE体系结构请参考
Oracle 表空间与数据文件
Oracle 密码文件
Oracle 参数文件
Oracle 联机重做日志文件(ONLINE LOG FILE)
Oracle 控制文件(CONTROLFILE)
Oracle 归档日志
Oracle 回滚(ROLLBACK)和撤销(UNDO)
Oracle 数据库实例启动关闭过程
Oracle 10g SGA 的自动化管理
Oracle 实例和Oracle数据库(Oracle体系结构)

핫 AI 도구

Undresser.AI Undress
사실적인 누드 사진을 만들기 위한 AI 기반 앱

AI Clothes Remover
사진에서 옷을 제거하는 온라인 AI 도구입니다.

Undress AI Tool
무료로 이미지를 벗다

Clothoff.io
AI 옷 제거제

AI Hentai Generator
AI Hentai를 무료로 생성하십시오.

인기 기사

뜨거운 도구

메모장++7.3.1
사용하기 쉬운 무료 코드 편집기

SublimeText3 중국어 버전
중국어 버전, 사용하기 매우 쉽습니다.

스튜디오 13.0.1 보내기
강력한 PHP 통합 개발 환경

드림위버 CS6
시각적 웹 개발 도구

SublimeText3 Mac 버전
신 수준의 코드 편집 소프트웨어(SublimeText3)

뜨거운 주제











WPS 문서를 제거하는 방법: WPS를 제거하려면 제어판으로 이동하여 wpsoffic을 찾으십시오. WPS는 직장인에게 가장 인기 있는 오피스 기능을 제공하며 일반적으로 사용되는 문서, 양식, 프리젠테이션 및 기타 기능을 직접 사용할 수 있습니다. 업무 효율성. 하지만 많은 친구들은 wps 파일을 제거하는 방법을 모릅니다. 그러면 wps 파일을 제거하는 방법은 무엇입니까? 아래에서 설명해 드리겠습니다. 제거는 컴퓨터에서 프로그램 파일, 폴더 및 관련 데이터를 제거하여 디스크 공간을 확보하고 시스템에서 소프트웨어를 제거하는 프로세스입니다. 또한 제거에는 하드 디스크에서 장치 드라이버 및 관련 레지스트리 정보를 삭제한 다음 컴퓨터의 물리적 장치에서 장치를 제거하는 작업이 포함됩니다. 다음은 소프트웨어 제거에 적합한 WPS 문서를 제거하는 단계입니다.

360 브라우저를 깔끔하게 제거하는 방법 인터넷의 급속한 발전과 인기로 인해 브라우저는 사람들의 일상 생활에 없어서는 안 될 도구 중 하나가 되었습니다. 시중에는 Chrome, Firefox, Edge 등 선택할 수 있는 다양한 브라우저가 있습니다. 하지만 360 브라우저는 중국에서도 인기 있는 브라우저로 많은 사용자들이 사용하고 있습니다. 그러나 어떤 경우에는 사용자가 360 브라우저를 더 이상 사용하지 않거나 다른 브라우저를 사용하려는 경우 360 브라우저를 제거해야 할 수도 있습니다. 이 기사에서는 간단하고 건조한 내용을 제공합니다.

CorsairIcue 소프트웨어는 사용자에게 RGB 조명 제어, 팬 제어와 같은 성능 모니터링 등과 같은 여러 기능을 제공합니다. CorsairIcue 소프트웨어가 제대로 작동하지 않는 경우가 있습니다. 이런 경우에는 완전히 제거한 후 다시 설치해야 합니다. 이 기사에서는 Windows 11/10에서 CorsairIcue를 완전히 제거하는 방법을 설명합니다. Windows 11/10에서 CorsairIcue를 완전히 제거하는 방법 다음 지침은 Windows 11/10에서 CorsairIcue를 제거하는 방법을 안내합니다. 설정 또는 제어판을 통해 CorsairICue 제거 관련 서비스 모두 제거 레지스트리 키 제거 아래 나머지 파일 제거,

제목: Linux 시스템에서 GDM의 작동 원리 및 구성 방법 Linux 운영 체제에서 GDM(GNOMEDisplayManager)은 그래픽 사용자 인터페이스(GUI) 로그인 및 사용자 세션 관리를 제어하는 데 사용되는 일반적인 디스플레이 관리자입니다. 이 기사에서는 GDM의 작동 원리와 구성 방법을 소개하고 구체적인 코드 예제를 제공합니다. 1. GDM의 작동 원리 GDM은 GNOME 데스크탑 환경의 디스플레이 관리자이며 X 서버를 시작하고 사용자에게 로그인 인터페이스를 제공합니다.

Baidu Cloud Disk, Quark Cloud Disk, Alibaba Cloud Disk 등과 같이 사용하기 쉬운 네트워크 디스크 소프트웨어가 시장에 많이 나와 있습니다. 일부 사용자가 Quark Network Disk의 리소스를 다른 디스크로 전송하고 Quark Network Disk를 제거하려고 하지만 제거할 수 없다는 것을 알게 되었습니다. 무슨 일이 일어나고 있습니까? 이 튜토리얼에서는 Quark Network Disk를 완전히 제거하는 방법을 보여줍니다. Quark 네트워크 디스크를 제거하는 방법은 무엇입니까? 1. 먼저 제어판을 엽니다. 2. 그런 다음 "프로그램 제거"를 선택합니다. 3. 마지막으로 마우스 오른쪽 버튼을 클릭하고 "제거"를 선택하여 완전히 제거합니다. 추신: 제거한 후 소프트웨어를 사용하여 다시 스캔하여 남은 쓰레기가 있는지 확인할 수도 있습니다.

컴퓨터가 대중화되고 소프트웨어가 발전함에 따라 우리는 필요에 따라 일부 소프트웨어를 추가하거나 제거해야 하는 경우가 많습니다. 소프트웨어 설치 및 제거 요구 사항 중 하나는 OpenIV입니다. OpenIV는 Grand Theft Auto(GTA) 게임을 수정하고 관리하기 위한 도구입니다. 그러나 OpenIV가 더 이상 필요하지 않거나 제거해야 할 경우 혼란스러울 수 있습니다. 이 기사에서는 OpenIV를 제거하는 방법을 소개합니다. 먼저 OpenIV가 어떻게 설치되는지 이해해야 합니다. 대개

Linux Bashrc 이해: 기능, 구성 및 사용법 Linux 시스템에서 Bashrc(BourneAgainShellruncommands)는 시스템 시작 시 자동으로 실행되는 다양한 명령과 설정이 포함된 매우 중요한 구성 파일입니다. Bashrc 파일은 일반적으로 사용자의 홈 디렉토리에 있으며 숨겨진 파일입니다. 해당 기능은 사용자를 위해 Bashshell 환경을 사용자 정의하는 것입니다. 1. Bashrc 기능 설정 환경

요즘 시중에 판매되는 컴퓨터에는 기본적으로 Office 소프트웨어가 설치되어 있습니다. 그러나 일부 사용자는 일반적으로 사용되는 Office 버전을 제거하고 다시 설치하려는 경우 제거에 실패했으며 사용할 수 없다는 메시지가 나타납니다. 이는 시스템 자체 Office를 완전히 제거할 수 없어 설치 중에 버전 충돌이 발생하기 때문입니다. Office가 완전히 제거되지 않고 재설치가 되지 않는 문제를 해결하는 방법을 살펴보겠습니다. 방법 1: 공식 오피스 제거 도구 사용 1. [Microsoft 공식 오피스 제거 도구]를 다운로드하여 Office 2007~2019 시리즈와 Microsoft 365 및 기타 소프트웨어의 자동 제거를 지원합니다. 2. [SetupProd_OffScrub.exe]를 실행하면 자동으로
