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: /oracle/app/11.2.0/grid/crs/install/crsconfig_params
Creating trace directory
User ignored Prerequisites during installation
Installing Trace File Analyzer
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
ohasd failed to start
Failed to start the Clusterware. Last 20 lines of the alert log follow:
2021-04-29 18:59:45.642:
[client(30236)]CRS-2101:The OLR was formatted using version 3.
另开一个窗口,使用root执行如下命令:
dd if=/var/tmp/.oracle/npohasd of=/dev/null bs=1024 count=1
该命令不退出,会一直执行,放在那边让他执行,直到root脚本执行完毕
Adding Clusterware entries to inittab
ohasd failed to start
Failed to start the Clusterware. Last 20 lines of the alert log follow:
2021-04-29 18:59:45.642:
[client(30236)]CRS-2101:The OLR was formatted using version 3.
CRS-2672: Attempting to start 'ora.mdnsd' on 'ecdata01'
CRS-2676: Start of 'ora.mdnsd' on 'ecdata01' succeeded
CRS-2672: Attempting to start 'ora.gpnpd' on 'ecdata01'
CRS-2676: Start of 'ora.gpnpd' on 'ecdata01' succeeded
CRS-2672: Attempting to start 'ora.cssdmonitor' on 'ecdata01'
CRS-2672: Attempting to start 'ora.gipcd' on 'ecdata01'
CRS-2676: Start of 'ora.cssdmonitor' on 'ecdata01' succeeded
CRS-2676: Start of 'ora.gipcd' on 'ecdata01' succeeded
CRS-2672: Attempting to start 'ora.cssd' on 'ecdata01'
CRS-2672: Attempting to start 'ora.diskmon' on 'ecdata01'
CRS-2676: Start of 'ora.diskmon' on 'ecdata01' succeeded
CRS-2676: Start of 'ora.cssd' on 'ecdata01' succeeded
ASM created and started successfully.
Disk Group OCRDG created successfully.
clscfg: -install mode specified
Successfully accumulated necessary OCR keys.
Creating OCR keys for user 'root', privgrp 'root'..
Operation successful.
CRS-4256: Updating the profile
Successful addition of voting disk a23b0c91a36f4f2abf4f6922688ac7b6.
Successful addition of voting disk 8d0b1037cc854fccbfc09874d2ec7ff6.
Successful addition of voting disk 17c143e9fda44fd1bf34fd64d1416f89.
Successfully replaced voting disk group with +OCRDG.
CRS-4256: Updating the profile
CRS-4266: Voting file(s) successfully replaced
## STATE File Universal Id File Name Disk group
-- ----- ----------------- --------- ---------
1. ONLINE a23b0c91a36f4f2abf4f6922688ac7b6 (/dev/raw/raw1001) [OCRDG]
2. ONLINE 8d0b1037cc854fccbfc09874d2ec7ff6 (/dev/raw/raw2001) [OCRDG]
3. ONLINE 17c143e9fda44fd1bf34fd64d1416f89 (/dev/raw/raw3001) [OCRDG]
Located 3 voting disk(s).
CRS-2672: Attempting to start 'ora.asm' on 'ecdata01'
CRS-2676: Start of 'ora.asm' on 'ecdata01' succeeded
CRS-2672: Attempting to start 'ora.OCRDG.dg' on 'ecdata01'
CRS-2676: Start of 'ora.OCRDG.dg' on 'ecdata01' succeeded
Configure Oracle Grid Infrastructure for a Cluster ... succeeded
root@ecdata01[/root]#
root@ecdata01[/root]#
root@ecdata01[/root]#/oracle/app/11.2.0/grid/root.sh ^C
root@ecdata01[/root]#su - grid
Last login: Thu Apr 29 19:08:42 CST 2021 on pts/2
grid@ecdata01[/home/grid]$crsctl status res -t
--------------------------------------------------------------------------------
NAME TARGET STATE SERVER STATE_DETAILS
--------------------------------------------------------------------------------
Local Resources
--------------------------------------------------------------------------------
ora.OCRDG.dg
ONLINE ONLINE ecdata01
ora.asm
ONLINE ONLINE ecdata01 Started
ora.gsd
OFFLINE OFFLINE ecdata01
ora.net1.network
ONLINE ONLINE ecdata01
ora.ons
ONLINE ONLINE ecdata01
--------------------------------------------------------------------------------
Cluster Resources
--------------------------------------------------------------------------------
ora.LISTENER_SCAN1.lsnr
1 ONLINE ONLINE ecdata01
ora.cvu
1 ONLINE ONLINE ecdata01
ora.ecdata01.vip
1 ONLINE ONLINE ecdata01
ora.oc4j
1 ONLINE ONLINE ecdata01
ora.scan1.vip
1 ONLINE ONLINE ecdata01
grid@ecdata01[/home/grid]$