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

1.启动

https://www.cndba.cn/hbhe0316/article/106559
https://www.cndba.cn/hbhe0316/article/106559
https://www.cndba.cn/hbhe0316/article/106559
https://www.cndba.cn/hbhe0316/article/106559
https://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.停止https://www.cndba.cn/hbhe0316/article/106559

https://www.cndba.cn/hbhe0316/article/106559
https://www.cndba.cn/hbhe0316/article/106559 https://www.cndba.cn/hbhe0316/article/106559 https://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

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值