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

网友投稿 829 2022-09-02 01:15:00

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

1.启动

[root@asm01 ~]# /u01/app/19.3.0/grid/bin/crsctl start hasCRS-4123: Oracle High Availability Services has been started.[root@asm01 ~]# ps -ef | grep grid | grep -v grepgrid 3256 1 11 22:27 ? 00:00:04 /u01/app/19.3.0/grid/bin/ohasd.bin rebootgrid 3425 1 1 22:28 ? 00:00:00 /u01/app/19.3.0/grid/bin/oraagent.bingrid 3451 1 1 22:28 ? 00:00:00 /u01/app/19.3.0/grid/bin/evmd.bingrid 3465 1 0 22:28 ? 00:00:00 /u01/app/19.3.0/grid/bin/tnslsnr LISTENER -no_crs_notify -inheritgrid 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.loggrid 3528 1 1 22:28 ? 00:00:00 /u01/app/19.3.0/grid/bin/cssdagentgrid 3563 1 2 22:28 ? 00:00:00 /u01/app/19.3.0/grid/bin/ocssd.bingrid 3607 1 5 22:28 ? 00:00:00 oracle+ASM (DESCRIPTION=(LOCAL=YES)(ADDRESS=(PROTOCOL=beq)))[root@asm01 ~]# su - oracle[oracle@asm01 ~]$ sqlplus / as sysdbaSQL*Plus: Release 19.0.0.0.0 - Production on Mon Jan 10 22:29:08 2022Version 19.3.0.0.0Copyright (c) 1982, 2019, Oracle. All rights reserved.Connected to an idle instance.SQL> startupORACLE instance started.Total System Global Area 2516579056 bytesFixed Size 9138928 bytesVariable Size 620756992 bytesDatabase Buffers 1879048192 bytesRedo Buffers 7634944 bytesDatabase mounted.Database opened.

2.停止

[root@asm01 ~]# su - oracle[oracle@asm01 ~]$ sqlplus / as sysdbaSQL*Plus: Release 19.0.0.0.0 - Production on Mon Jan 10 22:31:03 2022Version 19.3.0.0.0Copyright (c) 1982, 2019, Oracle. All rights reserved.Connected to:Oracle Database 19c Enterprise Edition Release 19.0.0.0.0 - ProductionVersion 19.3.0.0.0SQL> shutdown immediateDatabase closed.Database dismounted.ORACLE instance shut down.SQL> quitDisconnected from Oracle Database 19c Enterprise Edition Release 19.0.0.0.0 - ProductionVersion 19.3.0.0.0[oracle@asm01 ~]$ exitlogout[root@asm01 ~]# ps -ef | grep grid | grep -v grepgrid 3256 1 4 22:27 ? 00:00:10 /u01/app/19.3.0/grid/bin/ohasd.bin rebootgrid 3425 1 1 22:28 ? 00:00:04 /u01/app/19.3.0/grid/bin/oraagent.bingrid 3451 1 0 22:28 ? 00:00:01 /u01/app/19.3.0/grid/bin/evmd.bingrid 3465 1 0 22:28 ? 00:00:00 /u01/app/19.3.0/grid/bin/tnslsnr LISTENER -no_crs_notify -inheritgrid 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.loggrid 3528 1 0 22:28 ? 00:00:01 /u01/app/19.3.0/grid/bin/cssdagentgrid 3563 1 0 22:28 ? 00:00:01 /u01/app/19.3.0/grid/bin/ocssd.bingrid 3679 1 0 22:28 ? 00:00:00 asm_pmon_+ASMgrid 3681 1 0 22:28 ? 00:00:00 asm_clmn_+ASMgrid 3683 1 0 22:28 ? 00:00:00 asm_psp0_+ASMgrid 3685 1 1 22:28 ? 00:00:02 asm_vktm_+ASMgrid 3689 1 0 22:28 ? 00:00:00 asm_gen0_+ASMgrid 3691 1 0 22:28 ? 00:00:00 asm_mman_+ASMgrid 3695 1 0 22:28 ? 00:00:00 asm_gen1_+ASMgrid 3698 1 0 22:28 ? 00:00:00 asm_diag_+ASMgrid 3700 1 0 22:28 ? 00:00:00 asm_pman_+ASMgrid 3702 1 0 22:28 ? 00:00:00 asm_dia0_+ASMgrid 3704 1 0 22:28 ? 00:00:00 asm_dbw0_+ASMgrid 3706 1 0 22:28 ? 00:00:00 asm_lgwr_+ASMgrid 3708 1 0 22:28 ? 00:00:00 asm_ckpt_+ASMgrid 3710 1 0 22:28 ? 00:00:00 asm_smon_+ASMgrid 3712 1 0 22:28 ? 00:00:00 asm_lreg_+ASMgrid 3714 1 0 22:28 ? 00:00:00 asm_pxmn_+ASMgrid 3716 1 0 22:28 ? 00:00:00 asm_rbal_+ASMgrid 3718 1 0 22:28 ? 00:00:00 asm_gmon_+ASMgrid 3720 1 0 22:28 ? 00:00:00 asm_mmon_+ASMgrid 3722 1 0 22:28 ? 00:00:00 asm_mmnl_+ASMgrid 3775 1 0 22:28 ? 00:00:00 asm_m000_+ASMgrid 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_+ASMgrid 3852 1 0 22:28 ? 00:00:00 asm_fd00_+ASM[root@asm01 ~]# /u01/app/19.3.0/grid/bin/crsctl stop hasCRS-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' succeededCRS-2673: Attempting to stop 'ora.asm' on 'asm01'CRS-2677: Stop of 'ora.evmd' on 'asm01' succeededCRS-2677: Stop of 'ora.LISTENER.lsnr' on 'asm01' succeededCRS-2677: Stop of 'ora.asm' on 'asm01' succeededCRS-2673: Attempting to stop 'ora.cssd' on 'asm01'CRS-2677: Stop of 'ora.cssd' on 'asm01' succeededCRS-2793: Shutdown of Oracle High Availability Services-managed resources on 'asm01' has completedCRS-4133: Oracle High Availability Services has been stopped.[root@asm01 ~]# ps -ef | grep -i grid | grep -v grep

Linux,oracle

版权声明:本文内容由网络用户投稿,版权归原作者所有,本站不拥有其著作权,亦不承担相应法律责任。如果您发现本站中有涉嫌抄袭或描述失实的内容,请联系我们jiasou666@gmail.com 处理,核实后本网站将在24小时内删除侵权内容。

上一篇:10个非常好用的 Laravel 辅助函数(一些好用的软件)
下一篇:我学ERP 之 金蝶ERP-K3_第5章 生产数据管理
相关文章