aix grid 安装

举报
snowofsummer 发表于 2021/08/06 11:11:01 2021/08/06
【摘要】 系统版本:grid@s924brac1:/home/grid#oslevel -s7100-05-05-1937数据库版本:11.2.0.4节点1安装日志:root@s924arac1:/#/u01/app/oraInventory/orainstRoot.shChanging permissions of /u01/app/oraInventory.Adding read,write pe...

IP规划:

10.1.1.131      s924arac1
10.1.1.136      s924arac1-vip
10.1.1.132      s924brac1
10.1.1.137      s924brac1-vip
10.1.1.130      scan

系统版本:

grid@s924brac1:/home/grid#oslevel -s
7100-05-05-1937

数据库版本:

11.2.0.4

节点1安装日志:

root@s924arac1:/#/u01/app/oraInventory/orainstRoot.sh
Changing permissions of /u01/app/oraInventory.
Adding read,write permissions for group.
Removing read,write,execute permissions for world.

Changing groupname of /u01/app/oraInventory to oinstall.
The execution of the script is complete.
root@s924arac1:/#/u01/app/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/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/11.2.0/grid/crs/install/crsconfig_params
Creating trace directory
User ignored Prerequisites during installation
Installing Trace File Analyzer
User grid has the required capabilities to run CSSD in realtime mode
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 's924arac1'
CRS-2676: Start of 'ora.mdnsd' on 's924arac1' succeeded
CRS-2672: Attempting to start 'ora.gpnpd' on 's924arac1'
CRS-2676: Start of 'ora.gpnpd' on 's924arac1' succeeded
CRS-2672: Attempting to start 'ora.cssdmonitor' on 's924arac1'
CRS-2672: Attempting to start 'ora.gipcd' on 's924arac1'
CRS-2676: Start of 'ora.cssdmonitor' on 's924arac1' succeeded
CRS-2676: Start of 'ora.gipcd' on 's924arac1' succeeded
CRS-2672: Attempting to start 'ora.cssd' on 's924arac1'
CRS-2672: Attempting to start 'ora.diskmon' on 's924arac1'
CRS-2676: Start of 'ora.diskmon' on 's924arac1' succeeded
CRS-2676: Start of 'ora.cssd' on 's924arac1' succeeded

ASM created and started successfully.

Disk Group crs created successfully.

clscfg: -install mode specified
Successfully accumulated necessary OCR keys.
Creating OCR keys for user 'root', privgrp 'system'..
Operation successful.
CRS-4256: Updating the profile
Successful addition of voting disk 396d35756f884f2fbf61ea9d327afcbd.
Successful addition of voting disk 2cb98313cef14faebf44ecc9f19ae114.
Successful addition of voting disk 9eeff5afa00b4fa1bff3c2655a27284c.
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   396d35756f884f2fbf61ea9d327afcbd (/dev/rhdisk2) [CRS]
 2. ONLINE   2cb98313cef14faebf44ecc9f19ae114 (/dev/rhdisk3) [CRS]
 3. ONLINE   9eeff5afa00b4fa1bff3c2655a27284c (/dev/rhdisk4) [CRS]
Located 3 voting disk(s).
CRS-2672: Attempting to start 'ora.asm' on 's924arac1'
CRS-2676: Start of 'ora.asm' on 's924arac1' succeeded
CRS-2672: Attempting to start 'ora.CRS.dg' on 's924arac1'
CRS-2676: Start of 'ora.CRS.dg' on 's924arac1' succeeded
Configure Oracle Grid Infrastructure for a Cluster ... succeeded
root@s924arac1:/#

节点2安装日志:

root@s924brac1:/dev#/u01/app/oraInventory/orainstRoot.sh
Changing permissions of /u01/app/oraInventory.
Adding read,write permissions for group.
Removing read,write,execute permissions for world.

Changing groupname of /u01/app/oraInventory to oinstall.
The execution of the script is complete.
root@s924brac1:/dev#/u01/app/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/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/11.2.0/grid/crs/install/crsconfig_params
Creating trace directory
User ignored Prerequisites during installation
Installing Trace File Analyzer
User grid has the required capabilities to run CSSD in realtime mode
OLR initialization - successful
Adding Clusterware entries to inittab
CRS-4402: The CSS daemon was started in exclusive mode but found an active CSS daemon on node s924arac1, 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



检查集群状态:

grid@s924brac1:/home/grid#crsctl stat res -t
--------------------------------------------------------------------------------
NAME           TARGET  STATE        SERVER                   STATE_DETAILS     
--------------------------------------------------------------------------------
Local Resources
--------------------------------------------------------------------------------
ora.CRS.dg
               ONLINE  ONLINE       s924arac1                                  
               ONLINE  ONLINE       s924brac1                                  
ora.LISTENER.lsnr
               ONLINE  ONLINE       s924arac1                                  
               ONLINE  ONLINE       s924brac1                                  
ora.asm
               ONLINE  ONLINE       s924arac1                Started           
               ONLINE  ONLINE       s924brac1                Started           
ora.gsd
               OFFLINE OFFLINE      s924arac1                                  
               OFFLINE OFFLINE      s924brac1                                  
ora.net1.network
               ONLINE  ONLINE       s924arac1                                  
               ONLINE  ONLINE       s924brac1                                  
ora.ons
               ONLINE  ONLINE       s924arac1                                  
               ONLINE  ONLINE       s924brac1                                  
ora.registry.acfs
               ONLINE  ONLINE       s924arac1                                  
               ONLINE  ONLINE       s924brac1                                  
--------------------------------------------------------------------------------
Cluster Resources
--------------------------------------------------------------------------------
ora.LISTENER_SCAN1.lsnr
      1        ONLINE  ONLINE       s924arac1                                  
ora.cvu
      1        ONLINE  ONLINE       s924arac1                                  
ora.oc4j
      1        ONLINE  ONLINE       s924arac1                                  
ora.s924arac1.vip
      1        ONLINE  ONLINE       s924arac1                                  
ora.s924brac1.vip
      1        ONLINE  ONLINE       s924brac1                                  
ora.scan1.vip
      1        ONLINE  ONLINE       s924arac1                                  
grid@s924brac1:/home/grid#




【版权声明】本文为华为云社区用户原创内容,转载时必须标注文章的来源(华为云社区)、文章链接、文章作者等基本信息, 否则作者和本社区有权追究责任。如果您发现本社区中有涉嫌抄袭的内容,欢迎发送邮件进行举报,并提供相关证据,一经查实,本社区将立刻删除涉嫌侵权内容,举报邮箱: cloudbbs@huaweicloud.com
  • 点赞
  • 收藏
  • 关注作者

评论(0

0/1000
抱歉,系统识别当前为高风险访问,暂不支持该操作

全部回复

上滑加载中

设置昵称

在此一键设置昵称,即可参与社区互动!

*长度不超过10个汉字或20个英文字符,设置后3个月内不可修改。

*长度不超过10个汉字或20个英文字符,设置后3个月内不可修改。