签到成功

知道了

CNDBA社区CNDBA社区

Redhat 8.5 下Oracle 19c 单节点ASM启动和停止

2022-01-10 22:38 1391 0 原创 oracle
作者: hbhe0316

1.启动

http://www.cndba.cn/hbhe0316/article/106559
http://www.cndba.cn/hbhe0316/article/106559

[root@asm01 ~]# /u01/app/19.3.0/grid/bin/crsctl start has
CRS-4123: Oracle High Availability Services has been started.
[root@asm01 ~]# ps -ef | grep grid | grep -v grep
grid        3256       1 11 22:27 ?        00:00:04 /u01/app/19.3.0/grid/bin/ohasd.bin reboot
grid        3425       1  1 22:28 ?        00:00:00 /u01/app/19.3.0/grid/bin/oraagent.bin
grid        3451       1  1 22:28 ?        00:00:00 /u01/app/19.3.0/grid/bin/evmd.bin
grid        3465       1  0 22:28 ?        00:00:00 /u01/app/19.3.0/grid/bin/tnslsnr LISTENER -no_crs_notify -inherit
grid        3510    3451  0 22:28 ?        00:00:00 /u01/app/19.3.0/grid/bin/evmlogger.bin -o /u01/app/19.3.0/grid/log/[HOSTNAME]/evmd/evmlogger.info -l /u01/app/19.3.0/grid/log/[HOSTNAME]/evmd/evmlogger.log
grid        3528       1  1 22:28 ?        00:00:00 /u01/app/19.3.0/grid/bin/cssdagent
grid        3563       1  2 22:28 ?        00:00:00 /u01/app/19.3.0/grid/bin/ocssd.bin
grid        3607       1  5 22:28 ?        00:00:00 oracle+ASM (DESCRIPTION=(LOCAL=YES)(ADDRESS=(PROTOCOL=beq)))

[root@asm01 ~]# su - oracle
[oracle@asm01 ~]$ sqlplus / as sysdba

SQL*Plus: Release 19.0.0.0.0 - Production on Mon Jan 10 22:29:08 2022
Version 19.3.0.0.0

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

Connected to an idle instance.

SQL> startup
ORACLE instance started.

Total System Global Area 2516579056 bytes
Fixed Size                  9138928 bytes
Variable Size             620756992 bytes
Database Buffers         1879048192 bytes
Redo Buffers                7634944 bytes
Database mounted.
Database opened.

2.停止http://www.cndba.cn/hbhe0316/article/106559

http://www.cndba.cn/hbhe0316/article/106559
http://www.cndba.cn/hbhe0316/article/106559
http://www.cndba.cn/hbhe0316/article/106559http://www.cndba.cn/hbhe0316/article/106559http://www.cndba.cn/hbhe0316/article/106559http://www.cndba.cn/hbhe0316/article/106559http://www.cndba.cn/hbhe0316/article/106559

[root@asm01 ~]# su - oracle
[oracle@asm01 ~]$ sqlplus / as sysdba

SQL*Plus: Release 19.0.0.0.0 - Production on Mon Jan 10 22:31:03 2022
Version 19.3.0.0.0

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


Connected to:
Oracle Database 19c Enterprise Edition Release 19.0.0.0.0 - Production
Version 19.3.0.0.0

SQL> shutdown immediate
Database closed.
Database dismounted.
ORACLE instance shut down.
SQL> quit
Disconnected from Oracle Database 19c Enterprise Edition Release 19.0.0.0.0 - Production
Version 19.3.0.0.0
[oracle@asm01 ~]$ exit
logout
[root@asm01 ~]# ps -ef | grep grid | grep -v grep
grid        3256       1  4 22:27 ?        00:00:10 /u01/app/19.3.0/grid/bin/ohasd.bin reboot
grid        3425       1  1 22:28 ?        00:00:04 /u01/app/19.3.0/grid/bin/oraagent.bin
grid        3451       1  0 22:28 ?        00:00:01 /u01/app/19.3.0/grid/bin/evmd.bin
grid        3465       1  0 22:28 ?        00:00:00 /u01/app/19.3.0/grid/bin/tnslsnr LISTENER -no_crs_notify -inherit
grid        3510    3451  0 22:28 ?        00:00:01 /u01/app/19.3.0/grid/bin/evmlogger.bin -o /u01/app/19.3.0/grid/log/[HOSTNAME]/evmd/evmlogger.info -l /u01/app/19.3.0/grid/log/[HOSTNAME]/evmd/evmlogger.log
grid        3528       1  0 22:28 ?        00:00:01 /u01/app/19.3.0/grid/bin/cssdagent
grid        3563       1  0 22:28 ?        00:00:01 /u01/app/19.3.0/grid/bin/ocssd.bin
grid        3679       1  0 22:28 ?        00:00:00 asm_pmon_+ASM
grid        3681       1  0 22:28 ?        00:00:00 asm_clmn_+ASM
grid        3683       1  0 22:28 ?        00:00:00 asm_psp0_+ASM
grid        3685       1  1 22:28 ?        00:00:02 asm_vktm_+ASM
grid        3689       1  0 22:28 ?        00:00:00 asm_gen0_+ASM
grid        3691       1  0 22:28 ?        00:00:00 asm_mman_+ASM
grid        3695       1  0 22:28 ?        00:00:00 asm_gen1_+ASM
grid        3698       1  0 22:28 ?        00:00:00 asm_diag_+ASM
grid        3700       1  0 22:28 ?        00:00:00 asm_pman_+ASM
grid        3702       1  0 22:28 ?        00:00:00 asm_dia0_+ASM
grid        3704       1  0 22:28 ?        00:00:00 asm_dbw0_+ASM
grid        3706       1  0 22:28 ?        00:00:00 asm_lgwr_+ASM
grid        3708       1  0 22:28 ?        00:00:00 asm_ckpt_+ASM
grid        3710       1  0 22:28 ?        00:00:00 asm_smon_+ASM
grid        3712       1  0 22:28 ?        00:00:00 asm_lreg_+ASM
grid        3714       1  0 22:28 ?        00:00:00 asm_pxmn_+ASM
grid        3716       1  0 22:28 ?        00:00:00 asm_rbal_+ASM
grid        3718       1  0 22:28 ?        00:00:00 asm_gmon_+ASM
grid        3720       1  0 22:28 ?        00:00:00 asm_mmon_+ASM
grid        3722       1  0 22:28 ?        00:00:00 asm_mmnl_+ASM
grid        3775       1  0 22:28 ?        00:00:00 asm_m000_+ASM
grid        3812       1  0 22:28 ?        00:00:00 oracle+ASM (DESCRIPTION=(LOCAL=YES)(ADDRESS=(PROTOCOL=beq)))
grid        3850       1  0 22:28 ?        00:00:00 asm_ars0_+ASM
grid        3852       1  0 22:28 ?        00:00:00 asm_fd00_+ASM
[root@asm01 ~]# /u01/app/19.3.0/grid/bin/crsctl stop has
CRS-2791: Starting shutdown of Oracle High Availability Services-managed resources on 'asm01'
CRS-2673: Attempting to stop 'ora.LISTENER.lsnr' on 'asm01'
CRS-2673: Attempting to stop 'ora.evmd' on 'asm01'
CRS-2673: Attempting to stop 'ora.DATA.dg' on 'asm01'
CRS-2677: Stop of 'ora.DATA.dg' on 'asm01' succeeded
CRS-2673: Attempting to stop 'ora.asm' on 'asm01'
CRS-2677: Stop of 'ora.evmd' on 'asm01' succeeded
CRS-2677: Stop of 'ora.LISTENER.lsnr' on 'asm01' succeeded
CRS-2677: Stop of 'ora.asm' on 'asm01' succeeded
CRS-2673: Attempting to stop 'ora.cssd' on 'asm01'
CRS-2677: Stop of 'ora.cssd' on 'asm01' succeeded
CRS-2793: Shutdown of Oracle High Availability Services-managed resources on 'asm01' has completed
CRS-4133: Oracle High Availability Services has been stopped.
[root@asm01 ~]# ps -ef | grep -i grid | grep -v grep

版权声明:本文为博主原创文章,未经博主允许不得转载。

Linux,oracle

用户评论
* 以下用户言论只代表其个人观点,不代表CNDBA社区的观点或立场
hbhe0316

hbhe0316

关注

1.只有承认无知,才能装下新的东西; 2.进步来自一点点滴滴的积累; 3.广博让你更优秀,而专业让你无法替代; 4.挫折和失败能够转换为一种财富。

  • 889
    原创
  • 1
    翻译
  • 13
    转载
  • 24
    评论
  • 访问:1143687次
  • 积分:1523
  • 等级:核心会员
  • 排名:第6名
精华文章
    最新问题
    查看更多+
    热门文章
      热门用户
      推荐用户
        Copyright © 2016 All Rights Reserved. Powered by CNDBA · 皖ICP备2022006297号-1·

        QQ交流群

        注册联系QQ