Chinaunix首页 | 论坛 | 博客
  • 博客访问: 82382
  • 博文数量: 38
  • 博客积分: 10
  • 博客等级: 民兵
  • 技术积分: 360
  • 用 户 组: 普通用户
  • 注册时间: 2012-07-11 14:02
文章分类
文章存档

2017年(38)

我的朋友

分类: Oracle

2017-12-07 13:48:12

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

阅读(1088) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~