ITPub博客

首页 > Linux操作系统 > Linux操作系统 > 11G+ASM RAC关机

11G+ASM RAC关机

原创 Linux操作系统 作者:guocun09 时间:2011-10-29 18:26:04 0 删除 编辑

wsjrac01<*+ASM1*/home/grid>$su
Password:
wsjrac01<*+ASM1*/home/grid>$id
uid=0(root) gid=0(root) groups=0(root),1(bin),2(daemon),3(sys),4(adm),6(disk),10(wheel),105(pkcs11)
wsjrac01<*+ASM1*/home/grid>$crs
crsctl              crs_register        crs_stat.bin
crsctl.bin          crs_register.bin    crs_stop
crsd                crs_relocate        crs_stop.bin
crsd.bin            crs_relocate.bin    crstmpl.scr
crsdiag.pl          crs_setperm         crs_unregister
crs_getperm         crs_setperm.bin     crs_unregister.bin
crs_getperm.bin     crs_start           crswrapexece.pl
crs_profile         crs_start.bin      
crs_profile.bin     crs_stat           
wsjrac01<*+ASM1*/home/grid>$crsctl stop cluster -all
CRS-2673: Attempting to stop 'ora.crsd' on 'wsjrac02'
CRS-2673: Attempting to stop 'ora.crsd' on 'wsjrac01'
CRS-2673: Attempting to stop 'ora.crsd' on 'wsjrac03'
CRS-2790: Starting shutdown of Cluster Ready Services-managed resources on 'wsjrac01'
CRS-2673: Attempting to stop 'ora.LISTENER.lsnr' on 'wsjrac01'
CRS-2673: Attempting to stop 'ora.registry.acfs' on 'wsjrac01'
CRS-2673: Attempting to stop 'ora.wsjdell.db' on 'wsjrac01'
CRS-2790: Starting shutdown of Cluster Ready Services-managed resources on 'wsjrac02'
CRS-2673: Attempting to stop 'ora.LISTENER.lsnr' on 'wsjrac02'
CRS-2673: Attempting to stop 'ora.registry.acfs' on 'wsjrac02'
CRS-2673: Attempting to stop 'ora.wsjdell.db' on 'wsjrac02'
CRS-2790: Starting shutdown of Cluster Ready Services-managed resources on 'wsjrac03'
CRS-2673: Attempting to stop 'ora.LISTENER.lsnr' on 'wsjrac03'
CRS-2673: Attempting to stop 'ora.registry.acfs' on 'wsjrac03'
CRS-2673: Attempting to stop 'ora.wsjdell.db' on 'wsjrac03'
CRS-2673: Attempting to stop 'ora.cvu' on 'wsjrac03'
CRS-2673: Attempting to stop 'ora.LISTENER_SCAN1.lsnr' on 'wsjrac03'
CRS-2673: Attempting to stop 'ora.oc4j' on 'wsjrac03'
CRS-2677: Stop of 'ora.cvu' on 'wsjrac03' succeeded
CRS-2677: Stop of 'ora.LISTENER.lsnr' on 'wsjrac01' succeeded
CRS-2673: Attempting to stop 'ora.wsjrac01.vip' on 'wsjrac01'
CRS-2677: Stop of 'ora.LISTENER.lsnr' on 'wsjrac02' succeeded
CRS-2673: Attempting to stop 'ora.wsjrac02.vip' on 'wsjrac02'
CRS-2677: Stop of 'ora.wsjrac01.vip' on 'wsjrac01' succeeded
CRS-2677: Stop of 'ora.wsjrac02.vip' on 'wsjrac02' succeeded
CRS-2677: Stop of 'ora.LISTENER_SCAN1.lsnr' on 'wsjrac03' succeeded
CRS-2673: Attempting to stop 'ora.scan1.vip' on 'wsjrac03'
CRS-2677: Stop of 'ora.LISTENER.lsnr' on 'wsjrac03' succeeded
CRS-2673: Attempting to stop 'ora.wsjrac03.vip' on 'wsjrac03'
CRS-2677: Stop of 'ora.scan1.vip' on 'wsjrac03' succeeded
CRS-2677: Stop of 'ora.wsjrac03.vip' on 'wsjrac03' succeeded
CRS-2677: Stop of 'ora.registry.acfs' on 'wsjrac01' succeeded
CRS-2677: Stop of 'ora.registry.acfs' on 'wsjrac02' succeeded
CRS-2677: Stop of 'ora.registry.acfs' on 'wsjrac03' succeeded
CRS-2677: Stop of 'ora.wsjdell.db' on 'wsjrac01' succeeded
CRS-2673: Attempting to stop 'ora.DATA.dg' on 'wsjrac01'
CRS-2673: Attempting to stop 'ora.INDX.dg' on 'wsjrac01'
CRS-2677: Stop of 'ora.wsjdell.db' on 'wsjrac02' succeeded
CRS-2673: Attempting to stop 'ora.DATA.dg' on 'wsjrac02'
CRS-2673: Attempting to stop 'ora.INDX.dg' on 'wsjrac02'
CRS-2677: Stop of 'ora.wsjdell.db' on 'wsjrac03' succeeded
CRS-2673: Attempting to stop 'ora.DATA.dg' on 'wsjrac03'
CRS-2673: Attempting to stop 'ora.INDX.dg' on 'wsjrac03'
CRS-2677: Stop of 'ora.INDX.dg' on 'wsjrac01' succeeded
CRS-2677: Stop of 'ora.INDX.dg' on 'wsjrac02' succeeded
CRS-2677: Stop of 'ora.oc4j' on 'wsjrac03' succeeded
CRS-2677: Stop of 'ora.INDX.dg' on 'wsjrac03' succeeded
CRS-2677: Stop of 'ora.DATA.dg' on 'wsjrac01' succeeded
CRS-2673: Attempting to stop 'ora.asm' on 'wsjrac01'
CRS-2677: Stop of 'ora.asm' on 'wsjrac01' succeeded
CRS-2673: Attempting to stop 'ora.ons' on 'wsjrac01'
CRS-2677: Stop of 'ora.DATA.dg' on 'wsjrac02' succeeded
CRS-2673: Attempting to stop 'ora.asm' on 'wsjrac02'
CRS-2677: Stop of 'ora.asm' on 'wsjrac02' succeeded
CRS-2673: Attempting to stop 'ora.ons' on 'wsjrac02'
CRS-2677: Stop of 'ora.DATA.dg' on 'wsjrac03' succeeded
CRS-2673: Attempting to stop 'ora.asm' on 'wsjrac03'
CRS-2677: Stop of 'ora.asm' on 'wsjrac03' succeeded
CRS-2677: Stop of 'ora.ons' on 'wsjrac01' succeeded
CRS-2673: Attempting to stop 'ora.net1.network' on 'wsjrac01'
CRS-2677: Stop of 'ora.net1.network' on 'wsjrac01' succeeded
CRS-2792: Shutdown of Cluster Ready Services-managed resources on 'wsjrac01' has completed
CRS-2677: Stop of 'ora.ons' on 'wsjrac02' succeeded
CRS-2673: Attempting to stop 'ora.net1.network' on 'wsjrac02'
CRS-2677: Stop of 'ora.net1.network' on 'wsjrac02' succeeded
CRS-2792: Shutdown of Cluster Ready Services-managed resources on 'wsjrac02' has completed
CRS-2673: Attempting to stop 'ora.ons' on 'wsjrac03'
CRS-2677: Stop of 'ora.ons' on 'wsjrac03' succeeded
CRS-2673: Attempting to stop 'ora.net1.network' on 'wsjrac03'
CRS-2677: Stop of 'ora.net1.network' on 'wsjrac03' succeeded
CRS-2792: Shutdown of Cluster Ready Services-managed resources on 'wsjrac03' has completed
CRS-2677: Stop of 'ora.crsd' on 'wsjrac01' succeeded
CRS-2673: Attempting to stop 'ora.ctssd' on 'wsjrac01'
CRS-2673: Attempting to stop 'ora.evmd' on 'wsjrac01'
CRS-2673: Attempting to stop 'ora.asm' on 'wsjrac01'
CRS-2677: Stop of 'ora.crsd' on 'wsjrac02' succeeded
CRS-2673: Attempting to stop 'ora.ctssd' on 'wsjrac02'
CRS-2673: Attempting to stop 'ora.evmd' on 'wsjrac02'
CRS-2673: Attempting to stop 'ora.asm' on 'wsjrac02'
CRS-2677: Stop of 'ora.crsd' on 'wsjrac03' succeeded
CRS-2673: Attempting to stop 'ora.ctssd' on 'wsjrac03'
CRS-2673: Attempting to stop 'ora.evmd' on 'wsjrac03'
CRS-2673: Attempting to stop 'ora.asm' on 'wsjrac03'
CRS-2677: Stop of 'ora.asm' on 'wsjrac01' succeeded
CRS-2673: Attempting to stop 'ora.cluster_interconnect.haip' on 'wsjrac01'
CRS-2677: Stop of 'ora.asm' on 'wsjrac02' succeeded
CRS-2673: Attempting to stop 'ora.cluster_interconnect.haip' on 'wsjrac02'
CRS-2677: Stop of 'ora.evmd' on 'wsjrac02' succeeded
CRS-2677: Stop of 'ora.asm' on 'wsjrac03' succeeded
CRS-2673: Attempting to stop 'ora.cluster_interconnect.haip' on 'wsjrac03'
CRS-2677: Stop of 'ora.evmd' on 'wsjrac03' succeeded
CRS-2677: Stop of 'ora.evmd' on 'wsjrac01' succeeded
CRS-2677: Stop of 'ora.cluster_interconnect.haip' on 'wsjrac03' succeeded
CRS-2677: Stop of 'ora.cluster_interconnect.haip' on 'wsjrac01' succeeded
CRS-2677: Stop of 'ora.ctssd' on 'wsjrac01' succeeded
CRS-2673: Attempting to stop 'ora.cssd' on 'wsjrac01'
CRS-2677: Stop of 'ora.ctssd' on 'wsjrac02' succeeded
CRS-2677: Stop of 'ora.ctssd' on 'wsjrac03' succeeded
CRS-2673: Attempting to stop 'ora.cssd' on 'wsjrac03'
CRS-2677: Stop of 'ora.cssd' on 'wsjrac01' succeeded
CRS-2673: Attempting to stop 'ora.diskmon' on 'wsjrac01'
CRS-2677: Stop of 'ora.cssd' on 'wsjrac03' succeeded
CRS-2673: Attempting to stop 'ora.diskmon' on 'wsjrac03'
CRS-2677: Stop of 'ora.diskmon' on 'wsjrac01' succeeded
CRS-2677: Stop of 'ora.diskmon' on 'wsjrac03' succeeded
CRS-2675: Stop of 'ora.cluster_interconnect.haip' on 'wsjrac02' failed
CRS-2679: Attempting to clean 'ora.cluster_interconnect.haip' on 'wsjrac02'
CRS-2681: Clean of 'ora.cluster_interconnect.haip' on 'wsjrac02' succeeded
CRS-2673: Attempting to stop 'ora.cssd' on 'wsjrac02'
CRS-2677: Stop of 'ora.cssd' on 'wsjrac02' succeeded
CRS-2673: Attempting to stop 'ora.diskmon' on 'wsjrac02'
CRS-2677: Stop of 'ora.diskmon' on 'wsjrac02' succeeded
wsjrac01<*+ASM1*/home/grid>$

 

wsjrac02<*+ASM2*/home/grid>$crs_stat -t
CRS-0184: Cannot communicate with the CRS daemon.

[root@wsjrac03 ~]# su - grid
wsjrac03<*+ASM3*/home/grid>$crs_stat -t
CRS-0184: Cannot communicate with the CRS daemon.


-------------------------sty-----------------------------------------------------------

[root@wsjdelll10sty ~]# su - oracle
wsjdelll10sty<*wsjdell*/home/oracle>$sqlplus  '/as sysdba';

SQL*Plus: Release 11.2.0.2.0 Production on Sat Oct 29 07:40:40 2011

Copyright (c) 1982, 2010, Oracle.  All rights reserved.


Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production
With the Partitioning, Automatic Storage Management, Oracle Label Security, OLAP,
Data Mining, Oracle Database Vault and Real Application Testing options

SQL> shutdown immediate;   
Database closed.
Database dismounted.
ORACLE instance shut down.
SQL>

[root@wsjdelll10sty ~]# su - grid
wsjdelll10sty<*+ASM*/home/grid>$sqlplus '/as sysdba';

SQL*Plus: Release 11.2.0.2.0 Production on Sat Oct 29 07:43:10 2011

Copyright (c) 1982, 2010, Oracle.  All rights reserved.


Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production
With the Automatic Storage Management option

SQL> shutdown immediate;
ORA-01031: insufficient privileges
SQL> exit
Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production
With the Automatic Storage Management option
wsjdelll10sty<*+ASM*/home/grid>$sqlplus '/as sysasm';

SQL*Plus: Release 11.2.0.2.0 Production on Sat Oct 29 07:43:29 2011

Copyright (c) 1982, 2010, Oracle.  All rights reserved.


Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production
With the Automatic Storage Management option

SQL> shutdown immediate;
ASM diskgroups dismounted
ASM instance shutdown

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/25583515/viewspace-709907/ ,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论
DBA,掌握Oracle,SQLServer,MySQL,hadoop,casscandra等数据库。喜爱深入研究数据库技术原理,擅长管理和优化工作。

注册时间:2011-10-02

  • 博文量
    177
  • 访问量
    686671