SI实验指南:Vmware Sphere ESXI5.0 使用虚拟文件共享安装
RHEL5_x64+Oracle11gR2_x64 RAC
将执行 Oracle 主目录卸载的集群节点为:rac1,rac2 选定进行卸载的 Oracle 主目录为:/u01/app/11.2.0/grid Oracle 主目录注册到的产品清单位置为: /u01/app/oraInventory 将取消配置以下 RAC 监听程序: LISTENER_SCAN1 在 Oracle 主目录中未检测到 ASM
是否要继续 (是 - 是, 否 - 否)? [否]: 是 此会话的日志将写入:
'/tmp/deinstall2012-07-02_04-06-19PM/logs/deinstall_deconfig2012-07-02_04-14-11-PM.out'
此会话的任何错误消息都将写入:
'/tmp/deinstall2012-07-02_04-06-19PM/logs/deinstall_deconfig2012-07-02_04-14-11-PM.err'
######################## CLEAN OPERATION START ######################## ASM 取消配置跟踪文件位置:
/tmp/deinstall2012-07-02_04-06-19PM/logs/asmcadc_clean2012-07-02_04-44-20-PM.log ASM 清除配置结束
网络配置清除配置开始
网络取消配置跟踪文件位置:
/tmp/deinstall2012-07-02_04-06-19PM/logs/netdc_clean2012-07-02_04-44-20-PM.log
取消配置 RAC 监听程序: LISTENER_SCAN1
取消配置监听程序: LISTENER_SCAN1 停止监听程序: LISTENER_SCAN1
警告: 无法停止监听程序。 监听程序可能未运行。 监听程序已成功取消配置。
正在取消配置所有节点上的命名方法配置文件... 命名方法配置文件已成功取消配置。
正在取消配置所有节点上的本地网络服务名配置文件... 本地网络服务名配置文件已成功取消配置。
正在取消配置所有节点上的目录使用配置文件... 目录使用配置文件已成功取消配置。
正在取消配置所有节点上的备份文件... 备份文件已成功取消配置。
网络配置已成功清除。
31
SI实验指南:Vmware Sphere ESXI5.0 使用虚拟文件共享安装
RHEL5_x64+Oracle11gR2_x64 RAC
网络配置清除配置结束
---------------------------------------->
下面的 deconfig 命令可以在所有远程节点上并行执行。在所有远程节点上执行完毕后, 在本地节点上执行该命令。
以 root 用户或管理员身份在节点 \上运行以下命令。
/tmp/deinstall2012-07-02_04-06-19PM/perl/bin/perl -I/tmp/deinstall2012-07-02_04-06-19PM/perl/lib -I/tmp/deinstall2012-07-02_04-06-19PM/crs/install
/tmp/deinstall2012-07-02_04-06-19PM/crs/install/rootcrs.pl -force -deconfig -paramfile
\
以 root 用户或管理员身份在节点 \上运行以下命令。
/tmp/deinstall2012-07-02_04-06-19PM/perl/bin/perl -I/tmp/deinstall2012-07-02_04-06-19PM/perl/lib -I/tmp/deinstall2012-07-02_04-06-19PM/crs/install
/tmp/deinstall2012-07-02_04-06-19PM/crs/install/rootcrs.pl -force -deconfig -paramfile
\-lastnode
完成运行上述命令后按 Enter
<----------------------------------------
===================================================================== 正常的root.sh执行结果如下: --rac1:
[root@rac1 CVU_11.2.0.3.0_oracle]# /u01/app/11.2.0/grid/root.sh Performing root user operation for Oracle 11g
The following environment variables are set as: ORACLE_OWNER= oracle
ORACLE_HOME= /u01/app/11.2.0/grid
Enter the full pathname of the local bin directory: [/usr/local/bin]: The contents of \The contents of \The contents of \
32
SI实验指南:Vmware Sphere ESXI5.0 使用虚拟文件共享安装
RHEL5_x64+Oracle11gR2_x64 RAC
Creating /etc/oratab file...
Entries will be added to the /etc/oratab file as needed by Database Configuration Assistant when a database is created Finished running generic part of root script. Now product-specific root actions will be performed.
Using configuration parameter file: /u01/app/11.2.0/grid/crs/install/crsconfig_params Creating trace directory
User ignored Prerequisites during installation OLR initialization - successful root wallet root wallet cert root cert export peer wallet
profile reader wallet pa wallet peer wallet keys pa wallet keys peer cert request pa cert request peer cert pa cert
peer root cert TP
profile reader root cert TP pa root cert TP peer pa cert TP pa peer cert TP
profile reader pa cert TP profile reader peer cert TP peer user cert pa user cert
Adding Clusterware entries to inittab
CRS-2672: Attempting to start 'ora.mdnsd' on 'rac1' CRS-2676: Start of 'ora.mdnsd' on 'rac1' succeeded CRS-2672: Attempting to start 'ora.gpnpd' on 'rac1' CRS-2676: Start of 'ora.gpnpd' on 'rac1' succeeded CRS-2672: Attempting to start 'ora.cssdmonitor' on 'rac1' CRS-2672: Attempting to start 'ora.gipcd' on 'rac1' CRS-2676: Start of 'ora.gipcd' on 'rac1' succeeded CRS-2676: Start of 'ora.cssdmonitor' on 'rac1' succeeded CRS-2672: Attempting to start 'ora.cssd' on 'rac1' CRS-2672: Attempting to start 'ora.diskmon' on 'rac1' CRS-2676: Start of 'ora.diskmon' on 'rac1' succeeded CRS-2676: Start of 'ora.cssd' on 'rac1' succeeded
33
SI实验指南:Vmware Sphere ESXI5.0 使用虚拟文件共享安装
RHEL5_x64+Oracle11gR2_x64 RAC
已成功创建并启动 ASM。
已成功创建磁盘组DATA。
clscfg: -install mode specified
Successfully accumulated necessary OCR keys. Creating OCR keys for user 'root', privgrp 'root'.. Operation successful.
CRS-4256: Updating the profile
Successful addition of voting disk 03239acdd4594fbabf0959a1fd7e8262. Successfully replaced voting disk group with +DATA. CRS-4256: Updating the profile
CRS-4266: Voting file(s) successfully replaced
## STATE File Universal Id File Name Disk group -- ----- ----------------- --------- --------- 1. ONLINE 03239acdd4594fbabf0959a1fd7e8262 (ORCL:DISK1) [DATA] Located 1 voting disk(s).
CRS-2672: Attempting to start 'ora.asm' on 'rac1' CRS-2676: Start of 'ora.asm' on 'rac1' succeeded CRS-2672: Attempting to start 'ora.DATA.dg' on 'rac1' CRS-2676: Start of 'ora.DATA.dg' on 'rac1' succeeded CRS-2672: Attempting to start 'ora.registry.acfs' on 'rac1' CRS-2676: Start of 'ora.registry.acfs' on 'rac1' succeeded Configure Oracle Grid Infrastructure for a Cluster ... succeeded
--rac2:
[root@rac2 CVU_11.2.0.3.0_oracle]# /u01/app/11.2.0/grid/root.sh Performing root user operation for Oracle 11g
The following environment variables are set as: ORACLE_OWNER= oracle
ORACLE_HOME= /u01/app/11.2.0/grid
Enter the full pathname of the local bin directory: [/usr/local/bin]: The contents of \The contents of \The contents of \
Creating /etc/oratab file...
Entries will be added to the /etc/oratab file as needed by Database Configuration Assistant when a database is created Finished running generic part of root script.
34
SI实验指南:Vmware Sphere ESXI5.0 使用虚拟文件共享安装
RHEL5_x64+Oracle11gR2_x64 RAC
Now product-specific root actions will be performed.
Using configuration parameter file: /u01/app/11.2.0/grid/crs/install/crsconfig_params Creating trace directory
User ignored Prerequisites during installation OLR initialization - successful Adding Clusterware entries to inittab
CRS-4402: CSS 守护程序已在独占模式下启动, 但在节点 rac1 (编号为 1) 上发现活动 CSS 守护程序, 因此正在终止
An active cluster was found during exclusive startup, restarting to join the cluster Configure Oracle Grid Infrastructure for a Cluster ... succeeded [oracle@rac2 ~]$ crs_stat -t
Name Type Target State Host ------------------------------------------------------------ ora.DATA.dg ora....up.type ONLINE ONLINE rac1 ora....N1.lsnr ora....er.type ONLINE ONLINE rac1 ora.asm ora.asm.type ONLINE ONLINE rac1 ora.cvu ora.cvu.type ONLINE ONLINE rac1 ora.gsd ora.gsd.type OFFLINE OFFLINE ora....network ora....rk.type ONLINE ONLINE rac1 ora.oc4j ora.oc4j.type ONLINE ONLINE rac1 ora.ons ora.ons.type ONLINE ONLINE rac1 ora....SM1.asm application ONLINE ONLINE rac1 ora.rac1.gsd application OFFLINE OFFLINE ora.rac1.ons application ONLINE ONLINE rac1 ora.rac1.vip ora....t1.type ONLINE ONLINE rac1 ora....SM2.asm application ONLINE ONLINE rac2 ora.rac2.gsd application OFFLINE OFFLINE ora.rac2.ons application ONLINE ONLINE rac2 ora.rac2.vip ora....t1.type ONLINE ONLINE rac2 ora....ry.acfs ora....fs.type ONLINE ONLINE rac1 ora.scan1.vip ora....ip.type ONLINE ONLINE rac1
======================================================================
一旦脚本运行成功,返回“执行脚本”窗口,点击“确定” 等待配置向导完成处理.
35