重庆思庄Oracle、Redhat认证学习论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

搜索
查看: 6047|回复: 7
打印 上一主题 下一主题

oracle 11g 11.2.0.4 rac安装过程信息

[复制链接]
跳转到指定楼层
楼主
发表于 2013-10-7 13:33:40 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式

节点1 执行/root.sh 的结果

[root@szrac1 raw]# /u01/app/grid/product/11.2.0/grid/root.sh
Performing root user operation for Oracle 11g

The following environment variables are set as:
    ORACLE_OWNER= grid
    ORACLE_HOME=  /u01/app/grid/product/11.2.0/grid

Enter the full pathname of the local bin directory: [/usr/local/bin]:
   Copying dbhome to /usr/local/bin ...
   Copying oraenv to /usr/local/bin ...
   Copying coraenv to /usr/local/bin ...


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/grid/product/11.2.0/grid/crs/install/crsconfig_params
Creating trace directory
User ignored Prerequisites during installation
Installing Trace File Analyzer
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 upstart
CRS-2672: Attempting to start 'ora.mdnsd' on 'szrac1'
CRS-2676: Start of 'ora.mdnsd' on 'szrac1' succeeded
CRS-2672: Attempting to start 'ora.gpnpd' on 'szrac1'
CRS-2676: Start of 'ora.gpnpd' on 'szrac1' succeeded
CRS-2672: Attempting to start 'ora.cssdmonitor' on 'szrac1'
CRS-2672: Attempting to start 'ora.gipcd' on 'szrac1'
CRS-2676: Start of 'ora.cssdmonitor' on 'szrac1' succeeded
CRS-2676: Start of 'ora.gipcd' on 'szrac1' succeeded
CRS-2672: Attempting to start 'ora.cssd' on 'szrac1'
CRS-2672: Attempting to start 'ora.diskmon' on 'szrac1'
CRS-2676: Start of 'ora.diskmon' on 'szrac1' succeeded
CRS-2676: Start of 'ora.cssd' on 'szrac1' succeeded

已成功创建并启动 ASM。

已成功创建磁盘组crs。

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 b0b5129371904f23bf17a6088b06e72c.
Successfully replaced voting disk group with +crs.
CRS-4256: Updating the profile
CRS-4266: Voting file(s) successfully replaced
##  STATE    File Universal Id                File Name Disk group
--  -----    -----------------                --------- ---------
 1. ONLINE   b0b5129371904f23bf17a6088b06e72c (/dev/raw/raw1) [CRS]
Located 1 voting disk(s).


CRS-2672: Attempting to start 'ora.asm' on 'szrac1'
CRS-2676: Start of 'ora.asm' on 'szrac1' succeeded
CRS-2672: Attempting to start 'ora.CRS.dg' on 'szrac1'
CRS-2676: Start of 'ora.CRS.dg' on 'szrac1' succeeded
Configure Oracle Grid Infrastructure for a Cluster ... succeeded

分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏 支持支持 反对反对
回复

使用道具 举报

沙发
 楼主| 发表于 2013-10-7 13:38:21 | 只看该作者

节点二执行结果

root@szrac2 raw]# /u01/app/grid/oraInventory/orainstRoot.sh
Changing permissions of /u01/app/grid/oraInventory.
Adding read,write permissions for group.
Removing read,write,execute permissions for world.

Changing groupname of /u01/app/grid/oraInventory to dba.
The execution of the script is complete.
[root@szrac2 raw]# /u01/app/grid/product/11.2.0/grid/root.sh
Performing root user operation for Oracle 11g

The following environment variables are set as:
    ORACLE_OWNER= grid
    ORACLE_HOME=  /u01/app/grid/product/11.2.0/grid

Enter the full pathname of the local bin directory: [/usr/local/bin]:
   Copying dbhome to /usr/local/bin ...
   Copying oraenv to /usr/local/bin ...
   Copying coraenv to /usr/local/bin ...


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/grid/product/11.2.0/grid/crs/install/crsconfig_params
Creating trace directory
User ignored Prerequisites during installation
Installing Trace File Analyzer
OLR initialization - successful
Adding Clusterware entries to upstart
CRS-4402: The CSS daemon was started in exclusive mode but found an active CSS daemon on node szrac1, number 1, and is terminating
An active cluster was found during exclusive startup, restarting to join the cluster
Configure Oracle Grid Infrastructure for a Cluster ... succeeded
[root@szrac2 raw]#

回复 支持 反对

使用道具 举报

板凳
 楼主| 发表于 2013-10-7 13:40:28 | 只看该作者

集群状态检查

[grid@szrac1 grid]$ 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
[grid@szrac1 grid]$
[grid@szrac1 grid]$
[grid@szrac1 grid]$ crsctl stat res -t
--------------------------------------------------------------------------------
NAME           TARGET  STATE        SERVER                   STATE_DETAILS      
--------------------------------------------------------------------------------
Local Resources
--------------------------------------------------------------------------------
ora.CRS.dg
               ONLINE  ONLINE       szrac1                                      
               ONLINE  ONLINE       szrac2                                      
ora.asm
               ONLINE  ONLINE       szrac1                   Started            
               ONLINE  ONLINE       szrac2                   Started            
ora.gsd
               OFFLINE OFFLINE      szrac1                                      
               OFFLINE OFFLINE      szrac2                                      
ora.net1.network
               ONLINE  ONLINE       szrac1                                      
               ONLINE  ONLINE       szrac2                                      
ora.ons
               ONLINE  ONLINE       szrac1                                      
               ONLINE  ONLINE       szrac2                                      
ora.registry.acfs
               ONLINE  ONLINE       szrac1                                      
               ONLINE  ONLINE       szrac2                                      
--------------------------------------------------------------------------------
Cluster Resources
--------------------------------------------------------------------------------
ora.LISTENER_SCAN1.lsnr
      1        ONLINE  ONLINE       szrac1                                      
ora.cvu
      1        ONLINE  ONLINE       szrac1                                      
ora.oc4j
      1        ONLINE  ONLINE       szrac1                                      
ora.scan1.vip
      1        ONLINE  ONLINE       szrac1                                      
ora.szrac1.vip
      1        ONLINE  ONLINE       szrac1                                      
ora.szrac2.vip
      1        ONLINE  ONLINE       szrac2                                      
[grid@szrac1 grid]$
回复 支持 反对

使用道具 举报

地板
 楼主| 发表于 2013-10-7 13:42:04 | 只看该作者

oc4j和ora.registry.acfs 资源终于为online了,但 ora.gsd 仍旧为offline.

 

回复 支持 反对

使用道具 举报

5#
 楼主| 发表于 2013-10-7 14:06:35 | 只看该作者

加了data,fra磁盘组后的结果

[grid@szrac1 grid]$ crsctl stat res -t
--------------------------------------------------------------------------------
NAME           TARGET  STATE        SERVER                   STATE_DETAILS      
--------------------------------------------------------------------------------
Local Resources
--------------------------------------------------------------------------------
ora.CRS.dg
               ONLINE  ONLINE       szrac1                                      
               ONLINE  ONLINE       szrac2                                      
ora.DATA.dg
               ONLINE  ONLINE       szrac1                                      
               ONLINE  ONLINE       szrac2                                      
ora.FRA.dg
               ONLINE  ONLINE       szrac1                                      
               ONLINE  ONLINE       szrac2                                      
ora.LISTENER.lsnr
               ONLINE  ONLINE       szrac1                                      
               ONLINE  ONLINE       szrac2                                      
ora.asm
               ONLINE  ONLINE       szrac1                   Started            
               ONLINE  ONLINE       szrac2                   Started            
ora.gsd
               OFFLINE OFFLINE      szrac1                                      
               OFFLINE OFFLINE      szrac2                                      
ora.net1.network
               ONLINE  ONLINE       szrac1                                      
               ONLINE  ONLINE       szrac2                                      
ora.ons
               ONLINE  ONLINE       szrac1                                      
               ONLINE  ONLINE       szrac2                                      
ora.registry.acfs
               ONLINE  ONLINE       szrac1                                      
               ONLINE  ONLINE       szrac2                                      
--------------------------------------------------------------------------------
Cluster Resources
--------------------------------------------------------------------------------
ora.LISTENER_SCAN1.lsnr
      1        ONLINE  ONLINE       szrac1                                      
ora.cvu
      1        ONLINE  ONLINE       szrac1                                      
ora.oc4j
      1        ONLINE  ONLINE       szrac1                                      
ora.scan1.vip
      1        ONLINE  ONLINE       szrac1                                      
ora.szrac1.vip
      1        ONLINE  ONLINE       szrac1                                      
ora.szrac2.vip
      1        ONLINE  ONLINE       szrac2                                      
回复 支持 反对

使用道具 举报

6#
 楼主| 发表于 2013-10-7 17:08:29 | 只看该作者

测试rac节点连通性

[grid@szrac1 grid]$ ./runcluvfy.sh comp nodecon -i eth0 -n szrac1,szrac2 -verbose

Verifying node connectivity

Checking node connectivity...

Checking hosts config file...
  Node Name                             Status                 
  ------------------------------------  ------------------------
  szrac2                                passed                 
  szrac1                                passed                 

Verification of the hosts config file successful


Interface information for node "szrac2"
 Name   IP Address      Subnet          Gateway         Def. Gateway    HW Address        MTU  
 ------ --------------- --------------- --------------- --------------- ----------------- ------
 eth0   192.168.0.202   192.168.0.0     0.0.0.0         192.168.0.1     08:00:27:AC:2E:55 1500 
 eth1   10.0.0.202      10.0.0.0        0.0.0.0         192.168.0.1     08:00:27:47:85:E9 1500 


Interface information for node "szrac1"
 Name   IP Address      Subnet          Gateway         Def. Gateway    HW Address        MTU  
 ------ --------------- --------------- --------------- --------------- ----------------- ------
 eth0   192.168.0.201   192.168.0.0     0.0.0.0         192.168.0.1     08:00:27:AC:2E:55 1500 
 eth1   10.0.0.201      10.0.0.0        0.0.0.0         192.168.0.1     08:00:27:47:85:E9 1500 


Check: Node connectivity for interface "eth0"
  Source                          Destination                     Connected?     
  ------------------------------  ------------------------------  ----------------
  szrac2[192.168.0.202]           szrac1[192.168.0.201]           yes            
Result: Node connectivity passed for interface "eth0"


Check: TCP connectivity of subnet "192.168.0.0"
  Source                          Destination                     Connected?     
  ------------------------------  ------------------------------  ----------------
  szrac1:192.168.0.201            szrac2:192.168.0.202            passed         
Result: TCP connectivity check passed for subnet "192.168.0.0"

Checking subnet mask consistency...
Subnet mask consistency check passed for subnet "192.168.0.0".
Subnet mask consistency check passed for subnet "10.0.0.0".
Subnet mask consistency check passed.

Result: Node connectivity check passed


Verification of node connectivity was successful.

回复 支持 反对

使用道具 举报

7#
 楼主| 发表于 2013-10-7 23:02:28 | 只看该作者

安装数据库后的状态

grid@szrac1 ~]$ crsctl stat res -t
--------------------------------------------------------------------------------
NAME           TARGET  STATE        SERVER                   STATE_DETAILS      
--------------------------------------------------------------------------------
Local Resources
--------------------------------------------------------------------------------
ora.CRS.dg
               ONLINE  ONLINE       szrac1                                      
               ONLINE  ONLINE       szrac2                                      
ora.DATA.dg
               ONLINE  ONLINE       szrac1                                      
               ONLINE  ONLINE       szrac2                                      
ora.FRA.dg
               ONLINE  ONLINE       szrac1                                      
               ONLINE  ONLINE       szrac2                                      
ora.LISTENER.lsnr
               ONLINE  ONLINE       szrac1                                      
               ONLINE  ONLINE       szrac2                                      
ora.asm
               ONLINE  ONLINE       szrac1                   Started            
               ONLINE  ONLINE       szrac2                   Started            
ora.gsd
               OFFLINE OFFLINE      szrac1                                      
               OFFLINE OFFLINE      szrac2                                      
ora.net1.network
               ONLINE  ONLINE       szrac1                                      
               ONLINE  ONLINE       szrac2                                      
ora.ons
               ONLINE  ONLINE       szrac1                                      
               ONLINE  ONLINE       szrac2                                      
ora.registry.acfs
               ONLINE  ONLINE       szrac1                                      
               ONLINE  ONLINE       szrac2                                      
--------------------------------------------------------------------------------
Cluster Resources
--------------------------------------------------------------------------------
ora.LISTENER_SCAN1.lsnr
      1        ONLINE  ONLINE       szrac2                                      
ora.cvu
      1        ONLINE  ONLINE       szrac1                                      
ora.oc4j
      1        ONLINE  ONLINE       szrac1                                      
ora.scan1.vip
      1        ONLINE  ONLINE       szrac2                                      
ora.szrac1.vip
      1        ONLINE  ONLINE       szrac1                                      
ora.szrac2.vip
      1        ONLINE  ONLINE       szrac2                                      
ora.sztech.db
      1        ONLINE  ONLINE       szrac1                   Open               
      2        ONLINE  ONLINE       szrac2                   Open    
           
回复 支持 反对

使用道具 举报

8#
发表于 2015-9-11 11:51:35 | 只看该作者
顶起!
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

QQ|手机版|小黑屋|重庆思庄Oracle、Redhat认证学习论坛 ( 渝ICP备12004239号-4 )

GMT+8, 2024-11-25 04:42 , Processed in 0.138906 second(s), 22 queries .

重庆思庄学习中心论坛-重庆思庄科技有限公司论坛

© 2001-2020

快速回复 返回顶部 返回列表