启动CRS及instance!

11Gr2中,发现机器重启后instance 没有跟着重新启动。

bash-3.00$ ./crsctl check css

CRS-4639: Could not contact Oracle High Availability Services
CRS-4000: Command Check failed, or completed with errors.
bash-3.00$
bash-3.00$ ps -ef|grep d.bin
oracle 18265 18191 0 02:11:39 pts/1 0:00 grep d.bin
bash-3.00$ ./crs_start
This command is deprecated and has been replaced by 'crsctl start resource'
This command remains for backward compatibility only

Usage: crs_start resource_name [...] [-c cluster_member] [-f] [-q] ["attrib=value ..."]
crs_start -all [-q]
bash-3.00$ ./crs_start -all
CRS-0184: Cannot communicate with the CRS daemon.

bash-3.00$ ./crsctl start resource ora.cssd
CRS-4535: Cannot communicate with Cluster Ready Services
CRS-4000: Command Start failed, or completed with errors.
bash-3.00$ ./crsctl start crs
CRS-4563: Insufficient user privileges.

CRS-4000: Command Start failed, or completed with errors.
bash-3.00$ su droot
Password:
# pwd
/export/grid/app/11.2.0/grid/bin
# ./crsctl start crs
CRS-4123: Oracle High Availability Services has been started.
# exit
bash-3.00$ ./crs_start -all
CRS-0184: Cannot communicate with the CRS daemon.

bash-3.00$ ./crsctl check css
CRS-4529: Cluster Synchronization Services is online
bash-3.00$ ps -ef|grep d.bin
grid 18894 1 0 02:18:33 ? 0:00 /export/grid/app/11.2.0/grid/bin/diskmon.bin -d -f
root 18879 1 0 02:18:32 ? 0:07 /export/grid/app/11.2.0/grid/bin/osysmond.bin
grid 18824 1 0 02:18:27 ? 0:02 /export/grid/app/11.2.0/grid/bin/oraagent.bin
grid 18868 1 0 02:18:31 ? 0:05 /export/grid/app/11.2.0/grid/bin/gipcd.bin
root 18857 1 0 02:18:31 ? 0:04 /export/grid/app/11.2.0/grid/bin/orarootagent.bin
grid 18846 1 0 02:18:29 ? 0:04 /export/grid/app/11.2.0/grid/bin/gpnpd.bin
root 18890 1 0 02:18:32 ? 0:01 /export/grid/app/11.2.0/grid/bin/cssdmonitor
root 18892 1 0 02:18:33 ? 0:01 /export/grid/app/11.2.0/grid/bin/cssdagent
grid 18835 1 0 02:18:28 ? 0:01 /export/grid/app/11.2.0/grid/bin/mdnsd.bin
root 18768 1 0 02:18:03 ? 0:13 /export/grid/app/11.2.0/grid/bin/ohasd.bin reboot
root 18931 1 0 02:18:56 ? 0:01 /export/grid/app/11.2.0/grid/bin/octssd.bin reboot
grid 18905 1 0 02:18:33 ? 0:06 /export/grid/app/11.2.0/grid/bin/ocssd.bin
oracle 19064 18191 0 02:19:27 pts/1 0:00 grep d.bin
grid 18945 1 0 02:18:58 ? 0:01 /export/grid/app/11.2.0/grid/bin/evmd.bin
bash-3.00$ su droot
Password:

# ./crs_stat -t
Name Type Target State Host
------------------------------------------------------------
ggateapp clus...esource ONLINE OFFLINE
mvggatevip app....t1.type ONLINE ONLINE mcsp...ra-1
ora.DATA.dg ora....up.type ONLINE ONLINE mcsp...ra-1
ora....ER.lsnr ora....er.type ONLINE ONLINE mcsp...ra-1
ora....N1.lsnr ora....er.type ONLINE ONLINE mcsp...ra-2
ora....N2.lsnr ora....er.type ONLINE OFFLINE
ora....N3.lsnr ora....er.type ONLINE ONLINE mcsp...ra-1
ora....RECO.dg ora....up.type ONLINE ONLINE mcsp...ra-1
ora....DATA.dg ora....up.type ONLINE ONLINE mcsp...ra-1
ora....RECO.dg ora....up.type ONLINE ONLINE mcsp...ra-1
ora.asm ora.asm.type ONLINE ONLINE mcsp...ra-1
ora.cvu ora.cvu.type ONLINE ONLINE mcsp...ra-1
ora.gsd ora.gsd.type OFFLINE OFFLINE
ora....SM1.asm application ONLINE ONLINE mcsp...ra-1
ora....-1.lsnr application ONLINE ONLINE mcsp...ra-1
ora....a-1.gsd application OFFLINE OFFLINE
ora....a-1.ons application ONLINE ONLINE mcsp...ra-1
ora....a-1.vip ora....t1.type ONLINE ONLINE mcsp...ra-1
ora....SM2.asm application ONLINE ONLINE mcsp...ra-2
ora....-2.lsnr application ONLINE ONLINE mcsp...ra-2
ora....a-2.gsd application OFFLINE OFFLINE
ora....a-2.ons application ONLINE ONLINE mcsp...ra-2
ora....a-2.vip ora....t1.type ONLINE ONLINE mcsp...ra-2
ora....a-3.vip ora....t1.type ONLINE ONLINE mcsp...ra-1
ora....a-4.vip ora....t1.type ONLINE ONLINE mcsp...ra-1
ora....a-5.vip ora....t1.type ONLINE ONLINE mcsp...ra-1
ora....SM6.asm application ONLINE ONLINE mcsp...ra-6
ora....-6.lsnr application ONLINE OFFLINE
ora....a-6.gsd application OFFLINE OFFLINE
ora....a-6.ons application ONLINE ONLINE mcsp...ra-6
ora....a-6.vip ora....t1.type ONLINE ONLINE mcsp...ra-6
ora.mcspsr.db ora....se.type ONLINE ONLINE mcsp...ra-1
ora....network ora....rk.type ONLINE ONLINE mcsp...ra-1
ora.oc4j ora.oc4j.type ONLINE ONLINE mcsp...ra-1
ora.ons ora.ons.type ONLINE ONLINE mcsp...ra-1
ora....ry.acfs ora....fs.type ONLINE ONLINE mcsp...ra-1
ora.rptpsr.db ora....se.type ONLINE ONLINE mcsp...ra-2
ora.scan1.vip ora....ip.type ONLINE ONLINE mcsp...ra-2
ora.scan2.vip ora....ip.type ONLINE ONLINE mcsp...ra-6
ora.scan3.vip ora....ip.type ONLINE ONLINE mcsp...ra-1
# ps -ef|grep ora_
root 19048 1 0 02:19:17 ? 0:06 ora_dism_+ASM6
root 19531 19168 0 02:20:33 pts/1 0:00 grep ora_
# ./crsctl check has
CRS-4638: Oracle High Availability Services is online

# # ps -ef|grep ora_
root 19048 1 0 02:19:17 ? 0:06 ora_dism_+ASM6
root 21583 19168 0 02:42:29 pts/1 0:00 grep ora_
oracle 19617 1 0 02:21:55 ? 0:02 ora_pmon_RPTPSR_1
oracle 19621 1 0 02:21:56 ? 0:03 ora_vktm_RPTPSR_1
oracle 19625 1 0 02:21:56 ? 0:01 ora_gen0_RPTPSR_1
oracle 19627 1 0 02:21:56 ? 0:04 ora_diag_RPTPSR_1
oracle 19619 1 0 02:21:55 ? 0:02 ora_psp0_RPTPSR_1
oracle 19629 1 0 02:21:57 ? 0:00 ora_dbrm_RPTPSR_1
oracle 19631 1 0 02:21:57 ? 0:03 ora_ping_RPTPSR_1
oracle 19633 1 0 02:21:57 ? 0:00 ora_acms_RPTPSR_1
oracle 19635 1 0 02:21:57 ? 0:35 ora_dia0_RPTPSR_1
oracle 19637 1 0 02:21:57 ? 0:08 ora_lmon_RPTPSR_1
oracle 19639 1 0 02:21:57 ? 0:05 ora_lmd0_RPTPSR_1
oracle 19641 1 0 02:21:57 ? 0:10 ora_lms0_RPTPSR_1
oracle 19645 1 0 02:21:57 ? 0:09 ora_lms1_RPTPSR_1
oracle 19649 1 0 02:21:57 ? 0:10 ora_lms2_RPTPSR_1
oracle 19653 1 0 02:21:57 ? 0:10 ora_lms3_RPTPSR_1
oracle 19657 1 0 02:21:58 ? 0:10 ora_lms4_RPTPSR_1
oracle 19661 1 0 02:21:58 ? 0:10 ora_lms5_RPTPSR_1
oracle 19665 1 0 02:21:58 ? 0:00 ora_rms0_RPTPSR_1
oracle 19667 1 0 02:21:58 ? 0:01 ora_lmhb_RPTPSR_1
oracle 19669 1 0 02:21:58 ? 0:00 ora_mman_RPTPSR_1
oracle 19671 1 0 02:21:58 ? 0:00 ora_dbw0_RPTPSR_1
oracle 19673 1 0 02:21:58 ? 0:00 ora_dbw1_RPTPSR_1
oracle 19675 1 0 02:21:58 ? 0:00 ora_dbw2_RPTPSR_1
oracle 19677 1 0 02:21:58 ? 0:00 ora_dbw3_RPTPSR_1
oracle 19679 1 0 02:21:59 ? 0:00 ora_dbw4_RPTPSR_1
oracle 19681 1 0 02:21:59 ? 0:00 ora_dbw5_RPTPSR_1
oracle 19683 1 0 02:21:59 ? 0:00 ora_dbw6_RPTPSR_1
oracle 19685 1 0 02:21:59 ? 0:01 ora_dbw7_RPTPSR_1
oracle 19687 1 0 02:21:59 ? 0:00 ora_dbw8_RPTPSR_1
oracle 19689 1 0 02:21:59 ? 0:00 ora_dbw9_RPTPSR_1
oracle 19691 1 0 02:21:59 ? 0:01 ora_dbwa_RPTPSR_1
oracle 19693 1 0 02:21:59 ? 0:00 ora_dbwb_RPTPSR_1
oracle 19695 1 0 02:21:59 ? 0:01 ora_dbwc_RPTPSR_1
oracle 19697 1 0 02:22:00 ? 0:00 ora_dbwd_RPTPSR_1
oracle 19699 1 0 02:22:00 ? 0:00 ora_dbwe_RPTPSR_1
oracle 19701 1 0 02:22:00 ? 0:00 ora_dbwf_RPTPSR_1
oracle 19703 1 0 02:22:00 ? 0:01 ora_lgwr_RPTPSR_1
oracle 19705 1 0 02:22:00 ? 0:03 ora_ckpt_RPTPSR_1
oracle 19707 1 0 02:22:00 ? 0:03 ora_smon_RPTPSR_1
oracle 19709 1 0 02:22:00 ? 0:00 ora_reco_RPTPSR_1
oracle 19711 1 0 02:22:00 ? 0:01 ora_rbal_RPTPSR_1
oracle 19713 1 0 02:22:00 ? 0:01 ora_asmb_RPTPSR_1
oracle 19715 1 0 02:22:00 ? 0:04 ora_mmon_RPTPSR_1
oracle 19717 1 0 02:22:01 ? 0:07 ora_mmnl_RPTPSR_1
oracle 19721 1 0 02:22:01 ? 0:00 ora_d000_RPTPSR_1
oracle 19723 1 0 02:22:01 ? 0:00 ora_s000_RPTPSR_1
oracle 21495 1 0 02:40:54 ? 0:00 ora_pz99_RPTPSR_1
oracle 19726 1 0 02:22:01 ? 0:01 ora_mark_RPTPSR_1
root 19727 1 0 02:22:01 ? 0:37 ora_dism_RPTPSR_1
oracle 19801 1 0 02:23:00 ? 0:06 ora_lck0_RPTPSR_1
oracle 19858 1 0 02:23:20 ? 0:00 ora_qmnc_RPTPSR_1
oracle 19803 1 0 02:23:01 ? 0:00 ora_rsmn_RPTPSR_1
oracle 19819 1 0 02:23:10 ? 0:00 ora_arc0_RPTPSR_1
oracle 19821 1 0 02:23:11 ? 0:00 ora_arc1_RPTPSR_1
oracle 19823 1 0 02:23:11 ? 0:00 ora_arc2_RPTPSR_1
oracle 19825 1 0 02:23:11 ? 0:00 ora_arc3_RPTPSR_1
oracle 20395 1 0 02:28:53 ? 0:00 ora_smco_RPTPSR_1
oracle 19852 1 0 02:23:18 ? 0:00 ora_gtx0_RPTPSR_1
oracle 19860 1 0 02:23:21 ? 0:00 ora_q000_RPTPSR_1
oracle 19854 1 0 02:23:18 ? 0:00 ora_rcbg_RPTPSR_1
oracle 19863 1 0 02:23:21 ? 0:01 ora_q001_RPTPSR_1
oracle 21237 1 0 02:38:57 ? 0:00 ora_w000_RPTPSR_1
oracle 19883 1 0 02:23:26 ? 0:03 ora_cjq0_RPTPSR_1

bash-3.00$ srvctl status database -d RPTPSR
Instance RPTPSR_2 is running on node mcsp-psr-ora-2
Instance RPTPSR_1 is running on node mcsp-psr-ora-6
bash-3.00$ srvctl status srvpool
Server pool name: Free
Active servers count: 2
Server pool name: Generic
Active servers count: 0
Server pool name: MCSPOOL
Active servers count: 2
Server pool name: RPTPOOL
Active servers count: 2


你可能感兴趣的:(instance)