Symptom:
Oracle GridInfrastructure 11gR2 is installed on a single instance database for creating ASM for the standby database. However, the Create asm gui is displayed after you log on to the grid user to execute the ASMCA command, an error occurs when you execute create ASM after simple configuration: Oracle Grid Infrastructure is not configured properly. ASMCA needOracle Grid Infrastructure to configure ASM. for details, see:
Problem Analysis:
From the above problem, we can clearly see that ASMCA cannot be connected to OracleGrid Infrastructure, resulting in creation failure.
Troubleshooting:
1. Check whether the has process is up.
2. Run/DBSoft/11.2.4/grid/crs/install/roothas. pl to start the has process.
3. Execute asmca again to create asm.
The procedure is as follows:
1. Check whether the has process is up.
[Root @ standby ~] # Ps-ef | grep has
Root 13139 1 0? 00:00:00/bin/sh/etc/init. d/init. ohasdrun
Root 13235 13186 0 00:00:00 pts/4 grep has
[Root @ standby ~] #
2. Run/DBSoft/11.2.4/grid/crs/install/roothas. pl again.
[Root @ standby ~] #/DBSoft/11.2.4/grid/crs/install/roothas. pl
Usingconfiguration parameter file:/DBSoft/11.2.4/grid/crs/install/crsconfig_params
Creating tracedirectory
User ignoredPrerequisites during installation
LOCAL ADD MODE
Creating OCRkeys for user 'grid', privgrp 'oinstall '..
Operationsuccessful.
LOCAL ONLY MODE
Successfullyaccumulated necessary OCR keys.
Creating OCRkeys for user 'root', privgrp 'root '..
Operationsuccessful.
CRS-4664: Nodestandby successfully pinned.
AddingClusterware entries to inittab
Standby 14:49:51/DBSoft/11.2.4/grid/cdata/standby/backup_20151110_144951.olr
Successfullyconfigured Oracle Grid Infrastructure for a Standalone Server
[Root @ standby ~] #
3. Check the has Process status and crs status again.
[Grid @ standby install] $ ps-ef | grep ha
Root 2735 227 0 Jun09? 00:00:00 [kmpath_handlerd]
Root 13139 1 0? 00:00:00/bin/sh/etc/init. d/init. ohasdrun
Grid 14323 1 0? 00:00:00/DBSoft/11.2.4/grid/bin/ohasd. bin reboot
Grid 14539 13294 0 00:00:00 pts/4 grep ha
[Grid @ standby ~] $ Crs_stat-t
Name Type Target State Host
------------------------------------------------------------
Ora.css d. type ONLINE OFFLINE
Ora. diskmon ora... on. typeOFFLINE OFFLINE
Ora. evmd ora. evm. type ONLINE standby
Ora. ons ora. ons. type OFFLINE
4. Execute asmca again to create the ASM instance.