[INS-20802] Automatic storage Management Configuration Assis

Source: Internet
Author: User

The following problems occur during the gi installation of rac:

View the log:

[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/export toollogs
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 'ic IC 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/export toollogs
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/export toollogs/configToolAllCommands file, backing it up
INFO: The backed up file name is/u01/app/11.2.0/grid/export toollogs/configToolAllCommands. bak.2
INFO: Entering ConfigClient.exe cuteSelectedToolsInAggregate method
INFO: ConfigClient.exe cuteSelectedToolsInAggregate 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.exe cuteSelectedToolsInAggregate action assigned
INFO: Started Plugin named: Automatic Storage Management Configuration Assistant
INFO: Found associated job
INFO: Starting 'automatic Storage Management Configuration async'
INFO: Starting 'automatic Storage Management Configuration async'
INFO: Executing ASMCA
INFO: Command/u01/app/11.2.0/grid/bin/asmca-silent-postConfigureASM-oui_internal
INFO:... GenericInternalPlugIn. handleProcess () entered.
INFO:... genericinternalnalin: 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:
Information: Read: ORA-01034: ORACLE not available
INFO: Read:
INFO: Read:
INFO: Completed Plugin named: Automatic Storage Management Configuration Assistant
[Grid @ Rac-one trace] $

 

I suspect that the database is not started, but why not?

View alertasm logs:

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] $

Solution: increase the size of/dev/shm:

Set the size in/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 ults 1 1
UUID = 31f86587-1ab9-432d-9892-a0319c4682cb/boot ext4 ults 1 2
/Dev/mapper/vg_racone-LogVol00 swap defaults 0 0
Tmpfs/dev/shm tmpfs ults, size = 1024 M 0 0
Devpts/dev/pts devpts gid = 5, mode = 620 0 0
Sysfs/sys sysfs defaults 0 0
Proc/proc defaults 0 0
~
~

Mount it again:

[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] #

Restart the instance again. The reinstallation problem persists:

This is what I noticed when I look back at the alert Log: the first sentence is the key to the problem:

NOTE: No asm libraries found in the system

Check the environment variables and reconfigure them. The problem is solved:

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/mongom/lib
LD_LIBRARY_PATH =$ {LD_LIBRARY_PATH}:/lib:/usr/local/lib
LD_LIBRARY_PATH =$ {LD_LIBRARY_PATH}: $ ORACLE_HOME/ctx/lib
Export LD_LIBRARY_PATH
Stty erase ^ H
Umask 022

 

The installation is successfully completed:

 

 

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.