[INS-20802] Automatic storage Management Configuration Assistant Failed

    在安装rac的gi过程中出现了如下问题:

[INS-20802] Automatic storage Management Configuration Assistant Failed_第1张图片

随即查看日志:

[grid@Rac-one trace]$ tail -50 /u01/app/oraInventory/logs/installActions2014-02-10_06-52-22PM.log
INFO: Configuration log directory - /u01/app/11.2.0/grid/cfgtoollogs
INFO: Exiting ConfigClient.init method
INFO: Calling event ConfigSessionInitialized
INFO: ConfigClient.registerOutErrStream method called
INFO: Updating Transient Parameters in the Aggregates
INFO: Updating Transient Parameters for oracle.crs
INFO: Updating Transient Parameters for oracle.assistants.netca.client
INFO: Updating Transient Parameters for OuiConfigVariables
INFO: Updating Transient Parameters for oracle.assistants.asm
INFO: Setting value to transient variable S_ASMMONITORPASSWORD
INFO: Setting value to transient variable S_ASMPASSWORD
INFO: Setting value to transient variable s_asmcaArgs
INFO: Setting value to transient variable s_ASMPasswordFlag
INFO: Setting value to transient variable s_ASMMonitorPasswordFlag
INFO: Successfully updated Transient Parameters in the Aggregates
INFO: Entering ConfigClient.getToolsList method
INFO: Selecting job named 'Automatic Storage Management Configuration Assistant' for retry
INFO: Selecting job named 'Oracle Cluster Verification Utility' for retry
INFO: Configuration log directory - /u01/app/11.2.0/grid/cfgtoollogs
INFO:
 The Runconfig command constructed is /u01/app/11.2.0/grid/oui/bin/runConfig.sh ORACLE_HOME=/u01/app/11.2.0/grid MODE=perform ACTION=configure RERUN=true $*
INFO: Since the option is to overwrite the existing /u01/app/11.2.0/grid/cfgtoollogs/configToolAllCommands file, backing it up
INFO: The backed up file name is /u01/app/11.2.0/grid/cfgtoollogs/configToolAllCommands.bak.2
INFO: Entering ConfigClient.executeSelectedToolsInAggregate method
INFO: ConfigClient.executeSelectedToolsInAggregate oAggregate=oracle.crs:oracle.crs:11.2.0.4.0:common
INFO: Entering ConfigClient.assignAction method
INFO: ConfigClient.assignAction actionref=[Loracle.sysman.emCfg.common.IActionReference;@22726ef8
INFO: ConfigClient.assignAction action is of type :configuration
INFO: Exiting ConfigClient.assignAction method
INFO: ConfigClient.executeSelectedToolsInAggregate action assigned
INFO: Started Plugin named: Automatic Storage Management Configuration Assistant
INFO: Found associated job
INFO: Starting 'Automatic Storage Management Configuration Assistant'
INFO: Starting 'Automatic Storage Management Configuration Assistant'
INFO: Executing ASMCA
INFO: Command /u01/app/11.2.0/grid/bin/asmca -silent -postConfigureASM -oui_internal
INFO: ... GenericInternalPlugIn.handleProcess() entered.
INFO: ... GenericInternalPlugIn: getting configAssistantParmas.
INFO: ... GenericInternalPlugIn: checking secretArguments.
INFO: ... GenericInternalPlugIn: starting read loop.
INFO: Read: SYS_PASSWORD_PROMPT
INFO: Processing: SYS_PASSWORD_PROMPT for argument tag -sysAsmPassword
INFO: Read: ASMSNMP_PASSWORD_PROMPT
INFO: Processing: ASMSNMP_PASSWORD_PROMPT for argument tag -asmMonitorPassword
INFO: End of argument passing to stdin
INFO: Read:
INFO: Read: ORA-01034: ORACLE not available
INFO: Read:
INFO: Read:
INFO: Completed Plugin named: Automatic Storage Management Configuration Assistant
[grid@Rac-one trace]$

 

此时怀疑是数据库没有启动,但是为什么没有启动呢?

查看alertasm日志:

Mon Feb 10 21:07:51 2014
NOTE: No asm libraries found in the system
MEMORY_TARGET defaulting to 1128267776.
* instance_number obtained from CSS = 2, checking for the existence of node 0...
* node 0 does not exist. instance_number = 2
Starting ORACLE instance (normal)
WARNING: You are trying to use the MEMORY_TARGET feature. This feature requires the /dev/shm file system to be mounted for at least 1140850688 bytes. /dev/shm is either not mounted or is mounted with available space less than this size. Please fix this so that MEMORY_TARGET can work as expected. Current available is 403681280 and used is 120020992 bytes. Ensure that the mount point is /dev/shm for this directory.
Mon Feb 10 21:15:06 2014

Process m000 died, see its trace file
[grid@Rac-one trace]$

解决办法修改增加/dev/shm大小:

在/etc/fstab中设置大小:

 

# /etc/fstab
# Created by anaconda on Sun Feb  9 12:31:22 2014
#
# Accessible filesystems, by reference, are maintained under '/dev/disk'
# See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info
#
/dev/mapper/vg_racone-LogVol01 /                       ext4    defaults        1 1
UUID=31f86587-1ab9-432d-9892-a0319c4682cb /boot                   ext4    defaults        1 2
/dev/mapper/vg_racone-LogVol00 swap                    swap    defaults        0 0
tmpfs                   /dev/shm                tmpfs   defaults,size=1024M        0 0
devpts                  /dev/pts                devpts  gid=5,mode=620  0 0
sysfs                   /sys                    sysfs   defaults        0 0
proc                    /proc                   proc    defaults        0 0
~
~

重新mount一下:

[root@Rac-one logs]# mount -o remount /dev/shm
[root@Rac-one logs]# df
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/mapper/vg_racone-LogVol01
                      20642428  15718704   3875148  81% /
tmpfs                  1048576    117208    931368  12% /dev/shm
/dev/sda1                99150     51927     42103  56% /boot
/dev/sr0               3634730   3634730         0 100% /media/OL6.4 x86_64 Disc 1 20130225
[root@Rac-one logs]#

再次重试启动一下实例,重新安装问题依旧:

这是在回头查看一下alert日志才注意到:第一句就是问题关键:

NOTE: No asm libraries found in the system

随即配置查看环境变量进行重新配置,:

export PATH
export PATH
export ORACLE_BASE=/u01/app/grid
export ORACLE_HOME=/u01/app/11.2.0/grid
export PATH=$ORACLE_HOME/bin:$PATH:
export ORACLE_SID=+ASM1
export PATH=$ORACLE_HOME/bin:$PATH:
export TMP=/tmp
export TMPDIR=/tmp
LD_LIBRARY_PATH=$ORACLE_HOME/lib
LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:$ORACLE_HOME/oracm/lib
LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:/lib:/usr/lib:/usr/local/lib
LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:$ORACLE_HOME/ctx/lib
export LD_LIBRARY_PATH

stty erase ^H
umask 022

 问题依旧:

查看日志发现oacle没有启动asm实例,查看aler日志发现内存不足;

因此需要调整内存大小,我看了一下asm默认使用amm方式,设置的memory_max_target和memory_target都为1076M,如果内存不足可以设置为500M。

 [INS-20802] Automatic storage Management Configuration Assistant Failed_第2张图片

最终顺利完成安装:

 

 

 

你可能感兴趣的:(ORACLE,之,11G,RAC)