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

标题: oracle 11g 11.2.0.4 rac安装过程信息 [打印本页]

作者: 郑全    时间: 2013-10-7 13:33
标题: oracle 11g 11.2.0.4 rac安装过程信息

节点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


作者: 郑全    时间: 2013-10-7 13:38
标题: 节点二执行结果

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
标题: 集群状态检查
[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

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

 


作者: 郑全    时间: 2013-10-7 14:06
标题: 加了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                                      

作者: 郑全    时间: 2013-10-7 17:08
标题: 测试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.


作者: 郑全    时间: 2013-10-7 23:02
标题: 安装数据库后的状态
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    
           

作者: LuckyYang    时间: 2015-9-11 11:51
顶起!




欢迎光临 重庆思庄Oracle、Redhat认证学习论坛 (http://bbs.cqsztech.com/) Powered by Discuz! X3.2