|
xifenfei02/tmp#/u03/oracle/app/grid/root.sh
Performing root user operation for Oracle 11g
The following environment variables are set as:
ORACLE_OWNER= grid
ORACLE_HOME= /u03/oracle/app/grid
Enter the full pathname of the local bin directory: [/usr/local/bin]:
Copying dbhome to /usr/local/bin ...
Copying oraenv to /usr/local/bin ...
Copying coraenv to /usr/local/bin ...
Creating /etc/oratab file...
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: /u03/oracle/app/grid/crs/install/crsconfig_params
Creating trace directory
User ignored Prerequisites during installation
Installing Trace File Analyzer
User grid has the required capabilities to run CSSD in realtime mode
OLR initialization - successful
Adding Clusterware entries to inittab
CRS-4402: The CSS daemon was started in exclusive mode but found an active CSS daemon on node xifenfei01, number 1, and is terminating
An active cluster was found during exclusive startup, restarting to join the cluster
/u03/oracle/app/grid/bin/srvctl start nodeapps -n xifenfei02 ... failed
Failed to start Nodeapps at /u03/oracle/app/grid/crs/install/crsconfig_lib.pm line 9400.
/u03/oracle/app/grid/perl/bin/perl -I/u03/oracle/app/grid/perl/lib -I/u03/oracle/app/grid/crs/install /u03/oracle/app/grid/crs/install/rootcrs.pl execution failed
xifenfei02/tmp#ps -ef|grep d.bin
grid 3407952 1 0 21:36:25 - 0:00 /u03/oracle/app/grid/bin/evmd.bin
root 3801220 1 4 21:35:32 - 0:02 /u03/oracle/app/grid/bin/osysmond.bin
root 4325454 1 0 21:35:29 - 0:01 /u03/oracle/app/grid/bin/orarootagent.bin
root 4390912 1 0 21:35:29 - 0:00 /u03/oracle/app/grid/bin/octssd.bin
grid 5505188 1 0 21:34:54 - 0:01 /u03/oracle/app/grid/bin/oraagent.bin
grid 5701868 1 0 21:34:58 - 0:01 /u03/oracle/app/grid/bin/gipcd.bin
root 6684722 1 1 21:31:38 - 0:07 /u03/oracle/app/grid/bin/ohasd.bin reboot
root 1311176 1 2 21:36:36 - 0:05 /u03/oracle/app/grid/bin/orarootagent.bin
grid 3604906 3407952 0 21:36:33 - 0:00 /u03/oracle/app/grid/bin/evmlogger.bin -o /u03/oracle/app/grid/evm/log/evmlogger.info -l /u03/oracle/app/grid/evm/log/evmlogger.log
root 4260230 1 0 21:35:00 - 0:00 /bin/sh /u03/oracle/app/grid/bin/ocssd
grid 4784422 1 0 21:34:56 - 0:00 /u03/oracle/app/grid/bin/gpnpd.bin
grid 5308722 4260230 0 21:35:00 - 0:03 /u03/oracle/app/grid/bin/ocssd.bin
root 5833016 1 0 21:36:14 - 0:00 /u03/oracle/app/grid/bin/ologgerd -m xifenfei01 -r -d /u03/oracle/app/grid/crf/db/xifenfei02
grid 4588202 1 0 21:36:36 - 0:00 /u03/oracle/app/grid/bin/oraagent.bin
root 6030024 1 0 21:35:00 - 0:00 /u03/oracle/app/grid/bin/cssdagent
grid 4981660 1 0 21:34:55 - 0:00 /u03/oracle/app/grid/bin/mdnsd.bin
root 5112696 1 0 21:34:58 - 0:00 /u03/oracle/app/grid/bin/cssdmonitor
root 5309288 1 1 21:36:23 - 0:01 /u03/oracle/app/grid/bin/crsd.bin reboot
root 6030098 3015454 0 21:41:09 pts/0 0:00 grep d.bin
xifenfei02/tmp#cd /u03/oracle/app/grid/bin/
xifenfei02/u03/oracle/app/grid/bin#./crsctl status res -t
--------------------------------------------------------------------------------
NAME TARGET STATE SERVER STATE_DETAILS
--------------------------------------------------------------------------------
Local Resources
--------------------------------------------------------------------------------
ora.OCRVOTE.dg
ONLINE ONLINE xifenfei01
ONLINE ONLINE xifenfei02
ora.asm
ONLINE ONLINE xifenfei01 Started
ONLINE ONLINE xifenfei02 Started
ora.gsd
OFFLINE OFFLINE xifenfei01
OFFLINE OFFLINE xifenfei02
ora.net1.network
ONLINE ONLINE xifenfei01
ONLINE ONLINE xifenfei02
ora.ons
ONLINE ONLINE xifenfei01
ONLINE OFFLINE xifenfei02
ora.registry.acfs
ONLINE ONLINE xifenfei01
ONLINE ONLINE xifenfei02
--------------------------------------------------------------------------------
Cluster Resources
--------------------------------------------------------------------------------
ora.LISTENER_SCAN1.lsnr
1 ONLINE ONLINE xifenfei01
ora.cvu
1 ONLINE ONLINE xifenfei01
ora.xifenfei01.vip
1 ONLINE ONLINE xifenfei01
ora.xifenfei02.vip
1 ONLINE ONLINE xifenfei02
ora.oc4j
1 ONLINE ONLINE xifenfei01
ora.scan1.vip
1 ONLINE ONLINE xifenfei01
xifenfei02/u03/oracle/app/grid/bin#cat /etc/netsvc.conf|grep hosts
hosts=local,bind,nis
修改为:
hosts=local,bind
xifenfei02/u03/oracle/app/grid/bin#./crsctl stop crs
CRS-2791: Starting shutdown of Oracle High Availability Services-managed resources on 'xifenfei02'
CRS-2673: Attempting to stop 'ora.crsd' on 'xifenfei02'
CRS-2790: Starting shutdown of Cluster Ready Services-managed resources on 'xifenfei02'
CRS-2673: Attempting to stop 'ora.OCRVOTE.dg' on 'xifenfei02'
CRS-2673: Attempting to stop 'ora.registry.acfs' on 'xifenfei02'
CRS-2673: Attempting to stop 'ora.xifenfei02.vip' on 'xifenfei02'
CRS-2677: Stop of 'ora.xifenfei02.vip' on 'xifenfei02' succeeded
CRS-2672: Attempting to start 'ora.xifenfei02.vip' on 'xifenfei01'
CRS-2676: Start of 'ora.xifenfei02.vip' on 'xifenfei01' succeeded
CRS-2677: Stop of 'ora.registry.acfs' on 'xifenfei02' succeeded
CRS-2677: Stop of 'ora.OCRVOTE.dg' on 'xifenfei02' succeeded
CRS-2673: Attempting to stop 'ora.asm' on 'xifenfei02'
CRS-2677: Stop of 'ora.asm' on 'xifenfei02' succeeded
CRS-2673: Attempting to stop 'ora.net1.network' on 'xifenfei02'
CRS-2677: Stop of 'ora.net1.network' on 'xifenfei02' succeeded
CRS-2792: Shutdown of Cluster Ready Services-managed resources on 'xifenfei02' has completed
CRS-2677: Stop of 'ora.crsd' on 'xifenfei02' succeeded
CRS-2673: Attempting to stop 'ora.drivers.acfs' on 'xifenfei02'
CRS-2673: Attempting to stop 'ora.ctssd' on 'xifenfei02'
CRS-2673: Attempting to stop 'ora.evmd' on 'xifenfei02'
CRS-2673: Attempting to stop 'ora.asm' on 'xifenfei02'
CRS-2673: Attempting to stop 'ora.mdnsd' on 'xifenfei02'
CRS-2677: Stop of 'ora.evmd' on 'xifenfei02' succeeded
CRS-2677: Stop of 'ora.mdnsd' on 'xifenfei02' succeeded
CRS-2677: Stop of 'ora.ctssd' on 'xifenfei02' succeeded
CRS-2677: Stop of 'ora.asm' on 'xifenfei02' succeeded
CRS-2673: Attempting to stop 'ora.cluster_interconnect.haip' on 'xifenfei02'
CRS-2677: Stop of 'ora.cluster_interconnect.haip' on 'xifenfei02' succeeded
CRS-2673: Attempting to stop 'ora.cssd' on 'xifenfei02'
CRS-2677: Stop of 'ora.cssd' on 'xifenfei02' succeeded
CRS-2673: Attempting to stop 'ora.crf' on 'xifenfei02'
CRS-2677: Stop of 'ora.crf' on 'xifenfei02' succeeded
CRS-2673: Attempting to stop 'ora.gipcd' on 'xifenfei02'
CRS-2677: Stop of 'ora.gipcd' on 'xifenfei02' succeeded
CRS-2673: Attempting to stop 'ora.gpnpd' on 'xifenfei02'
CRS-2677: Stop of 'ora.drivers.acfs' on 'xifenfei02' succeeded
CRS-2677: Stop of 'ora.gpnpd' on 'xifenfei02' succeeded
CRS-2793: Shutdown of Oracle High Availability Services-managed resources on 'xifenfei02' has completed
CRS-4133: Oracle High Availability Services has been stopped.
xifenfei02/u03/oracle/app/grid/bin#./crsctl start crs
CRS-4123: Oracle High Availability Services has been started
xifenfei02/u03/oracle/app/grid/bin#./crsctl status res -t
--------------------------------------------------------------------------------
NAME TARGET STATE SERVER STATE_DETAILS
--------------------------------------------------------------------------------
Local Resources
--------------------------------------------------------------------------------
ora.OCRVOTE.dg
ONLINE ONLINE xifenfei01
ONLINE ONLINE xifenfei02
ora.asm
ONLINE ONLINE xifenfei01 Started
ONLINE ONLINE xifenfei02 Started
ora.gsd
OFFLINE OFFLINE xifenfei01
OFFLINE OFFLINE xifenfei02
ora.net1.network
ONLINE ONLINE xifenfei01
ONLINE ONLINE xifenfei02
ora.ons
ONLINE ONLINE xifenfei01
ONLINE OFFLINE xifenfei02
ora.registry.acfs
ONLINE ONLINE xifenfei01
ONLINE ONLINE xifenfei02
--------------------------------------------------------------------------------
Cluster Resources
--------------------------------------------------------------------------------
ora.LISTENER_SCAN1.lsnr
1 ONLINE ONLINE xifenfei01
ora.cvu
1 ONLINE ONLINE xifenfei01
ora.xifenfei01.vip
1 ONLINE ONLINE xifenfei01
ora.xifenfei02.vip
1 ONLINE ONLINE xifenfei02
ora.oc4j
1 ONLINE ONLINE xifenfei01
ora.scan1.vip
1 ONLINE ONLINE xifenfei01
你可以不重启crs,而是直接对ons进行启动,重启crs是为了完整测试root.sh失败的后遗症
|
|