Oracle Study之--AMD CPU安装Oracle 11gR2 RAC错误

Oracle Study之--AMD CPU安装Oracle 11gR2 RAC错误

系统环境:

    操作系统: RedHat  EL55

    Oracle :     Oracle 11gR2 Grid +  Oracle

 

1、错误现象

[root@syl1 install]# /u01/11.2.0/grid/root.sh
Running Oracle 11g root.sh script...

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

Enter the full pathname of the local bin directory: [/usr/local/bin]:
The file "dbhome" already exists in /usr/local/bin.  Overwrite it? (y/n)
[n]: y
   Copying dbhome to /usr/local/bin ...
The file "oraenv" already exists in /usr/local/bin.  Overwrite it? (y/n)
[n]: y
   Copying oraenv to /usr/local/bin ...
The file "coraenv" already exists in /usr/local/bin.  Overwrite it? (y/n)
[n]: y
   Copying coraenv to /usr/local/bin ...

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.sh script.
Now product-specific root actions will be performed.
2015-05-26 14:40:11: Parsing the host name
2015-05-26 14:40:11: Checking for super user privileges
2015-05-26 14:40:11: User has super user privileges
Using configuration parameter file: /u01/11.2.0/grid/crs/install/crsconfig_params
Failure with signal 11 from command: /u01/11.2.0/grid/bin/ocrconfig -local -upgrade grid oinstall
Failed to create or upgrade OLR

2、清除CRS配置

<strong>[root@syl1 install]# perl rootcrs.pl -deconfig -force
</strong>
2015-05-26 14:40:30: Parsing the host name
2015-05-26 14:40:30: Checking for super user privileges
2015-05-26 14:40:30: User has super user privileges
Using configuration parameter file: ./crsconfig_params
PRCR-1035 : Failed to look up CRS resource ora.cluster_vip.type for 1
PRCR-1068 : Failed to query resources
Cannot communicate with crsd
PRCR-1070 : Failed to check if resource ora.gsd is registered
Cannot communicate with crsd
PRCR-1070 : Failed to check if resource ora.ons is registered
Cannot communicate with crsd
PRCR-1070 : Failed to check if resource ora.eons is registered
Cannot communicate with crsd

ACFS-9200: Supported
CRS-4535: Cannot communicate with Cluster Ready Services
CRS-4000: Command Stop failed, or completed with errors.
Failure at scls_scr_setval with code 8
Internal Error Information: 
  Category: -2
 Operation: failed
  Location: scrsearch3
  Other: id doesnt exist scls_scr_setval
  System Dependent Information: 2

CRS-4544: Unable to connect to OHAS
CRS-4000: Command Stop failed, or completed with errors.
error: package cvuqdisk is not installed

3、解决方法

 关于这个问题,Meatlink 上[ID 1068212.1]有关于这个问题的描述,同时也说明明了由bug 8670579所引起的,而且还是未公开的,说是不认识新的AMD芯片,

原来是AMD CPU搞得鬼大笑

Cause  
    
  Unpublished bug 8670579 which relates to the identification of newer AMD chips and therefore only affect platforms   
  using the newer AMD chips.  
    
  Solution  
    
  If the error occurs during the installation of the GRID Infrastructure the patch has to be applied,   
  before the root.sh Script in the installation is run:  
    
  a.) Run a installation (grid/runInstaller) to the prompt where it requests to run orainstroot.sh and <GRID_HOME>/root.sh  
  b.) Run orainstroot.sh on all nodes, but not root.sh  
  c.) Open another session with the Oracle User and apply Patch 8670579 on all nodes (with opatch apply).  
  d.) Continue with the root.sh from the installation.  
    
  If you hit this bug, and have already started root.sh then:  
  - Deconfigure Clusterware on the failed host with <GRID_HOME>/install/rootcrs.pl -deconfig -force  
  - Install the Patch as Oracle User (opatch apply)  
  - Rerun root.sh  


4、下载上传patch并应用(以grid用户的身份) 

[grid@syl1 ~]$ ls

oradiag_grid  p8670579_112010_LINUX.zip


[grid@syl1 ~]$ unzip p8670579_112010_LINUX.zip
Archive:  p8670579_112010_LINUX.zip
   creating: 8670579/
   creating: 8670579/files/
   creating: 8670579/files/lib/
   creating: 8670579/files/lib/libnnz11.a/
  inflating: 8670579/files/lib/libnnz11.a/ahseteco.o 
  inflating: 8670579/files/lib/libnnz11.a/am11rkg.o 
  inflating: 8670579/files/lib/libnnz11.a/amsha.o 
  inflating: 8670579/files/lib/libnnz11.a/cpui32.o 
  inflating: 8670579/files/lib/libnnz11.a/sha.o 
  inflating: 8670579/files/lib/libnnz11.a/x931rand.o 
  inflating: 8670579/files/lib/libnnz11.a/am11dkg.o 
  inflating: 8670579/files/lib/libnnz11.a/am931rnd.o 
  inflating: 8670579/files/lib/libnnz11.a/amsharnd.o 
  inflating: 8670579/files/lib/libnnz11.a/ghash.o 
  inflating: 8670579/files/lib/libnnz11.a/shacomm.o 
  inflating: 8670579/files/lib/libnnz11.so 
   creating: 8670579/etc/
   creating: 8670579/etc/config/
  inflating: 8670579/etc/config/inventory.xml 
  inflating: 8670579/etc/config/actions.xml 
  inflating: 8670579/etc/config/deploy.xml 
   creating: 8670579/etc/xml/
  inflating: 8670579/etc/xml/GenericActions.xml 
  inflating: 8670579/etc/xml/ShiphomeDirectoryStructure.xml 
  inflating: 8670579/README.txt     
 extracting: ¢|||í?ê?-á+?.txt       

[grid@syl1 ~]$ ls
8670579  oradiag_grid  p8670579_112010_LINUX.zip  ??????ê?-?+?.txt

进入patch目录并应用:

[grid@syl1 ~]$ cd 8670579/
[grid@syl1 8670579]$ /u01/11.2.0/grid/OPatch/opatch apply

Invoking OPatch 11.1.0.6.6

Oracle Interim Patch Installer version 11.1.0.6.6
Copyright (c) 2009, Oracle Corporation.  All rights reserved.


Oracle Home       : /u01/11.2.0/grid
Central Inventory : /u01/app/oraInventory
   from           : /etc/oraInst.loc
OPatch version    : 11.1.0.6.6
OUI version       : 11.2.0.1.0
OUI location      : /u01/11.2.0/grid/oui
Log file location : /u01/11.2.0/grid/cfgtoollogs/opatch/opatch2015-05-26_14-52-15PM.log

Patch history file: /u01/11.2.0/grid/cfgtoollogs/opatch/opatch_history.txt


--------------------------------------------------------------------------------
The patch has more than one Archive Action but there is no Make Action.
--------------------------------------------------------------------------------
ApplySession applying interim patch '8670579' to OH '/u01/11.2.0/grid'

Running prerequisite checks...

OPatch detected the node list and the local node from the inventory.  OPatch will patch the local system then propagate the patch to the remote nodes.


This node is part of an Oracle Real Application Cluster.
Remote nodes: 'syl2' 
Local node: 'syl1'
Please shutdown Oracle instances running out of this ORACLE_HOME on the local system.
(Oracle Home = '/u01/11.2.0/grid')


Is the local system ready for patching? [y|n]
y
User Responded with: Y
Backing up files and inventory (not for auto-rollback) for the Oracle Home
Backing up files affected by the patch '8670579' for restore. This might take a while...
Backing up files affected by the patch '8670579' for rollback. This might take a while...

Patching component oracle.network.rsf, 11.2.0.1.0...
Updating archive file "/u01/11.2.0/grid/lib/libnnz11.a"  with "lib/libnnz11.a/ahseteco.o"
Updating archive file "/u01/11.2.0/grid/lib/libnnz11.a"  with "lib/libnnz11.a/am11rkg.o"
Updating archive file "/u01/11.2.0/grid/lib/libnnz11.a"  with "lib/libnnz11.a/amsha.o"
Updating archive file "/u01/11.2.0/grid/lib/libnnz11.a"  with "lib/libnnz11.a/cpui32.o"
Updating archive file "/u01/11.2.0/grid/lib/libnnz11.a"  with "lib/libnnz11.a/sha.o"
Updating archive file "/u01/11.2.0/grid/lib/libnnz11.a"  with "lib/libnnz11.a/x931rand.o"
Updating archive file "/u01/11.2.0/grid/lib/libnnz11.a"  with "lib/libnnz11.a/am11dkg.o"
Updating archive file "/u01/11.2.0/grid/lib/libnnz11.a"  with "lib/libnnz11.a/am931rnd.o"
Updating archive file "/u01/11.2.0/grid/lib/libnnz11.a"  with "lib/libnnz11.a/amsharnd.o"
Updating archive file "/u01/11.2.0/grid/lib/libnnz11.a"  with "lib/libnnz11.a/ghash.o"
Updating archive file "/u01/11.2.0/grid/lib/libnnz11.a"  with "lib/libnnz11.a/shacomm.o"
Copying file to "/u01/11.2.0/grid/lib/libnnz11.so"
ApplySession adding interim patch '8670579' to inventory

Verifying the update...
Inventory check OK: Patch ID 8670579 is registered in Oracle Home inventory with proper meta-data.
Files check OK: Files from Patch ID 8670579 are present in Oracle Home.

The local system has been patched.  You can restart Oracle instances on it.


Patching in rolling mode.


The node 'syl2' will be patched next.


Please shutdown Oracle instances running out of this ORACLE_HOME on 'syl2'.
(Oracle Home = '/u01/11.2.0/grid')

Is the node ready for patching? [y|n]
y
User Responded with: Y
Updating nodes 'syl2' 
   Apply-related files are:
     FP = "/u01/11.2.0/grid/.patch_storage/8670579_Feb_25_2010_09_55_12/rac/copy_files.txt"
     DP = "/u01/11.2.0/grid/.patch_storage/8670579_Feb_25_2010_09_55_12/rac/copy_dirs.txt"
     MP = "/u01/11.2.0/grid/.patch_storage/8670579_Feb_25_2010_09_55_12/rac/make_cmds.txt"
     RC = "/u01/11.2.0/grid/.patch_storage/8670579_Feb_25_2010_09_55_12/rac/remote_cmds.txt"

Instantiating the file "/u01/11.2.0/grid/.patch_storage/8670579_Feb_25_2010_09_55_12/rac/copy_files.txt.instantiated" by replacing $ORACLE_HOME in "/u01/11.2.0/grid/.patch_storage/8670579_Feb_25_2010_09_55_12/rac/copy_files.txt" with actual path.
Propagating files to remote nodes...
Instantiating the file "/u01/11.2.0/grid/.patch_storage/8670579_Feb_25_2010_09_55_12/rac/copy_dirs.txt.instantiated" by replacing $ORACLE_HOME in "/u01/11.2.0/grid/.patch_storage/8670579_Feb_25_2010_09_55_12/rac/copy_dirs.txt" with actual path.
Propagating directories to remote nodes...

The node 'syl2' has been patched.  You can restart Oracle instances on it.


OPatch succeeded.

5、重新执行root.sh

[root@syl1 ~]# /u01/11.2.0/grid/root.sh
Running Oracle 11g root.sh script...

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

Enter the full pathname of the local bin directory: [/usr/local/bin]: 
The file "dbhome" already exists in /usr/local/bin.  Overwrite it? (y/n) 
[n]: y
   Copying dbhome to /usr/local/bin ...
The file "oraenv" already exists in /usr/local/bin.  Overwrite it? (y/n) 
[n]: y
   Copying oraenv to /usr/local/bin ...
The file "coraenv" already exists in /usr/local/bin.  Overwrite it? (y/n) 
[n]: y
   Copying coraenv to /usr/local/bin ...

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.sh script.
Now product-specific root actions will be performed.
2015-05-26 14:58:23: Parsing the host name
2015-05-26 14:58:23: Checking for super user privileges
2015-05-26 14:58:23: User has super user privileges
Using configuration parameter file: /u01/11.2.0/grid/crs/install/crsconfig_params
LOCAL ADD MODE 
Creating OCR keys for user 'root', privgrp 'root'..
Operation 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 daemon to inittab
CRS-4123: Oracle High Availability Services has been started.
ohasd is starting
CRS-2672: Attempting to start 'ora.gipcd' on 'syl1'
CRS-2672: Attempting to start 'ora.mdnsd' on 'syl1'
CRS-2676: Start of 'ora.gipcd' on 'syl1' succeeded
CRS-2676: Start of 'ora.mdnsd' on 'syl1' succeeded
CRS-2672: Attempting to start 'ora.gpnpd' on 'syl1'
CRS-2676: Start of 'ora.gpnpd' on 'syl1' succeeded
CRS-2672: Attempting to start 'ora.cssdmonitor' on 'syl1'
CRS-2676: Start of 'ora.cssdmonitor' on 'syl1' succeeded
CRS-2672: Attempting to start 'ora.cssd' on 'syl1'
CRS-2672: Attempting to start 'ora.diskmon' on 'syl1'
CRS-2676: Start of 'ora.diskmon' on 'syl1' succeeded
CRS-2676: Start of 'ora.cssd' on 'syl1' succeeded
CRS-2672: Attempting to start 'ora.ctssd' on 'syl1'
CRS-2676: Start of 'ora.ctssd' on 'syl1' succeeded

ASM created and started successfully.

DiskGroup OCR_VOTE created successfully.

clscfg: -install mode specified
Successfully accumulated necessary OCR keys.
Creating OCR keys for user 'root', privgrp 'root'..
Operation successful.
CRS-2672: Attempting to start 'ora.crsd' on 'syl1'
CRS-2676: Start of 'ora.crsd' on 'syl1' succeeded
CRS-4256: Updating the profile
Successful addition of voting disk 09a53580da564f6cbf73f80df1b2fed4.
Successful addition of voting disk 008f54a53d074f7bbfa9b183f9731505.
Successful addition of voting disk aae02f43bc7f4f6cbfbd5e8374f0cab6.
Successfully replaced voting disk group with +OCR_VOTE.
CRS-4256: Updating the profile
CRS-4266: Voting file(s) successfully replaced
##  STATE    File Universal Id                File Name Disk group
--  -----    -----------------                --------- ---------
 1. ONLINE   09a53580da564f6cbf73f80df1b2fed4 (/dev/oracleasm/disks/OCR_VOTE3) [OCR_VOTE]
 2. ONLINE   008f54a53d074f7bbfa9b183f9731505 (/dev/oracleasm/disks/OCR_VOTE2) [OCR_VOTE]
 3. ONLINE   aae02f43bc7f4f6cbfbd5e8374f0cab6 (/dev/oracleasm/disks/OCR_VOTE1) [OCR_VOTE]
Located 3 voting disk(s).
CRS-2673: Attempting to stop 'ora.crsd' on 'syl1'
CRS-2677: Stop of 'ora.crsd' on 'syl1' succeeded
CRS-2673: Attempting to stop 'ora.asm' on 'syl1'
CRS-2677: Stop of 'ora.asm' on 'syl1' succeeded
CRS-2673: Attempting to stop 'ora.ctssd' on 'syl1'
CRS-2677: Stop of 'ora.ctssd' on 'syl1' succeeded
CRS-2673: Attempting to stop 'ora.cssdmonitor' on 'syl1'
CRS-2677: Stop of 'ora.cssdmonitor' on 'syl1' succeeded
CRS-2673: Attempting to stop 'ora.cssd' on 'syl1'
CRS-2677: Stop of 'ora.cssd' on 'syl1' succeeded
CRS-2673: Attempting to stop 'ora.gpnpd' on 'syl1'
CRS-2677: Stop of 'ora.gpnpd' on 'syl1' succeeded
CRS-2673: Attempting to stop 'ora.gipcd' on 'syl1'
CRS-2677: Stop of 'ora.gipcd' on 'syl1' succeeded
CRS-2673: Attempting to stop 'ora.mdnsd' on 'syl1'
CRS-2677: Stop of 'ora.mdnsd' on 'syl1' succeeded
CRS-2672: Attempting to start 'ora.mdnsd' on 'syl1'
CRS-2676: Start of 'ora.mdnsd' on 'syl1' succeeded
CRS-2672: Attempting to start 'ora.gipcd' on 'syl1'
CRS-2676: Start of 'ora.gipcd' on 'syl1' succeeded
CRS-2672: Attempting to start 'ora.gpnpd' on 'syl1'
CRS-2676: Start of 'ora.gpnpd' on 'syl1' succeeded
......

再次执行root.sh成功!

 

 

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值