iis服务器助手广告广告
返回顶部
首页 > 资讯 > 数据库 >RAC 手工关闭启动过程
  • 206
分享到

RAC 手工关闭启动过程

2024-04-02 19:04:59 206人浏览 安东尼
摘要

[oracle@rac2 ~]$ srvctl stop database -d RAC [oracle@rac2 ~]$ exit loGout [root@rac2 ~]# /u01/app/11.2.

[oracle@rac2 ~]$ srvctl stop database -d RAC
[oracle@rac2 ~]$ exit
loGout
[root@rac2 ~]# /u01/app/11.2.0.3/grid/bin/crsctl stop cluster -all 
CRS-2673: Attempting to stop 'ora.crsd' on 'rac2'
CRS-2790: Starting shutdown of Cluster Ready Services-managed resources on 'rac2'
CRS-2673: Attempting to stop 'ora.DATA.dg' on 'rac2'
CRS-2673: Attempting to stop 'ora.cvu' on 'rac2'
CRS-2673: Attempting to stop 'ora.LISTENER_SCAN1.lsnr' on 'rac2'
CRS-2673: Attempting to stop 'ora.oc4j' on 'rac2'
CRS-2673: Attempting to stop 'ora.LISTENER.lsnr' on 'rac2'
CRS-2677: Stop of 'ora.cvu' on 'rac2' succeeded
CRS-2677: Stop of 'ora.LISTENER.lsnr' on 'rac2' succeeded
CRS-2673: Attempting to stop 'ora.rac2.vip' on 'rac2'
CRS-2677: Stop of 'ora.LISTENER_SCAN1.lsnr' on 'rac2' succeeded
CRS-2673: Attempting to stop 'ora.scan1.vip' on 'rac2'
CRS-2677: Stop of 'ora.rac2.vip' on 'rac2' succeeded
CRS-2677: Stop of 'ora.scan1.vip' on 'rac2' succeeded
CRS-2673: Attempting to stop 'ora.crsd' on 'rac1'
CRS-2790: Starting shutdown of Cluster Ready Services-managed resources on 'rac1'
CRS-2673: Attempting to stop 'ora.DATA.dg' on 'rac1'
CRS-2673: Attempting to stop 'ora.LISTENER.lsnr' on 'rac1'
CRS-2677: Stop of 'ora.LISTENER.lsnr' on 'rac1' succeeded
CRS-2673: Attempting to stop 'ora.rac1.vip' on 'rac1'
CRS-2677: Stop of 'ora.rac1.vip' on 'rac1' succeeded
CRS-2677: Stop of 'ora.oc4j' on 'rac2' succeeded
CRS-2677: Stop of 'ora.DATA.dg' on 'rac2' succeeded
CRS-2673: Attempting to stop 'ora.asm' on 'rac2'
CRS-2677: Stop of 'ora.asm' on 'rac2' succeeded
CRS-2677: Stop of 'ora.DATA.dg' on 'rac1' succeeded
CRS-2673: Attempting to stop 'ora.asm' on 'rac1'
CRS-2677: Stop of 'ora.asm' on 'rac1' succeeded
CRS-2673: Attempting to stop 'ora.ons' on 'rac1'
CRS-2677: Stop of 'ora.ons' on 'rac1' succeeded
CRS-2673: Attempting to stop 'ora.net1.network' on 'rac1'
CRS-2677: Stop of 'ora.net1.network' on 'rac1' succeeded
CRS-2792: Shutdown of Cluster Ready Services-managed resources on 'rac1' has completed
CRS-2673: Attempting to stop 'ora.ons' on 'rac2'
CRS-2677: Stop of 'ora.ons' on 'rac2' succeeded
CRS-2673: Attempting to stop 'ora.net1.network' on 'rac2'
CRS-2677: Stop of 'ora.net1.network' on 'rac2' succeeded
CRS-2792: Shutdown of Cluster Ready Services-managed resources on 'rac2' has completed
CRS-2677: Stop of 'ora.crsd' on 'rac1' succeeded
CRS-2673: Attempting to stop 'ora.ctssd' on 'rac1'
CRS-2673: Attempting to stop 'ora.evmd' on 'rac1'
CRS-2673: Attempting to stop 'ora.asm' on 'rac1'
CRS-2677: Stop of 'ora.crsd' on 'rac2' succeeded
CRS-2673: Attempting to stop 'ora.ctssd' on 'rac2'
CRS-2673: Attempting to stop 'ora.evmd' on 'rac2'
CRS-2673: Attempting to stop 'ora.asm' on 'rac2'
CRS-2677: Stop of 'ora.evmd' on 'rac2' succeeded
CRS-2677: Stop of 'ora.ctssd' on 'rac1' succeeded
CRS-2677: Stop of 'ora.evmd' on 'rac1' succeeded
CRS-2677: Stop of 'ora.ctssd' on 'rac2' succeeded
CRS-2677: Stop of 'ora.asm' on 'rac1' succeeded
CRS-2673: Attempting to stop 'ora.cluster_interconnect.haip' on 'rac1'
CRS-2677: Stop of 'ora.asm' on 'rac2' succeeded
CRS-2673: Attempting to stop 'ora.cluster_interconnect.haip' on 'rac2'
CRS-2677: Stop of 'ora.cluster_interconnect.haip' on 'rac2' succeeded
CRS-2673: Attempting to stop 'ora.CSSd' on 'rac2'
CRS-2677: Stop of 'ora.cluster_interconnect.haip' on 'rac1' succeeded
CRS-2673: Attempting to stop 'ora.cssd' on 'rac1'
CRS-2677: Stop of 'ora.cssd' on 'rac2' succeeded
CRS-2677: Stop of 'ora.cssd' on 'rac1' succeeded
[root@rac2 ~]# su - oracle
[oracle@rac2 ~]$ source grid_env 
[oracle@rac2 ~]$ crs_sta
crs_start      crs_start.bin  crs_stat       crs_stat.bin   
[oracle@rac2 ~]$ crs_stat -t -v
CRS-0184: Cannot communicate with the CRS daemon.

[oracle@rac2 ~]$ exit
logout
[root@rac2 ~]# /u01/app/11.2.0.3/grid/bin/crsctl stop has -f
CRS-2791: Starting shutdown of Oracle High Availability Services-managed resources on 'rac2'
CRS-2673: Attempting to stop 'ora.crf' on 'rac2'
CRS-2673: Attempting to stop 'ora.mdnsd' on 'rac2'
CRS-2677: Stop of 'ora.crf' on 'rac2' succeeded
CRS-2673: Attempting to stop 'ora.gipcd' on 'rac2'
CRS-2677: Stop of 'ora.mdnsd' on 'rac2' succeeded
CRS-2677: Stop of 'ora.gipcd' on 'rac2' succeeded
CRS-2673: Attempting to stop 'ora.gpnpd' on 'rac2'
CRS-2677: Stop of 'ora.gpnpd' on 'rac2' succeeded
CRS-2793: Shutdown of Oracle High Availability Services-managed resources on 'rac2' has completed
CRS-4133: Oracle High Availability Services has been stopped.
[root@rac2 ~]# ssh rac1
The authenticity of host 'rac1 (192.168.56.9)' can't be established.
RSA key fingerprint is ce:d0:7b:fc:79:49:bc:73:35:30:b8:04:8c:1a:13:9a.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added 'rac1,192.168.56.9' (RSA) to the list of known hosts.
root@rac1's passWord: 
Last login: Thu Jul 11 09:28:34 2019 from 192.168.56.1
[root@rac1 ~]# /u01/app/11.2.0.3/grid/bin/crsctl stop has -f
CRS-2791: Starting shutdown of Oracle High Availability Services-managed resources on 'rac1'
CRS-2673: Attempting to stop 'ora.crf' on 'rac1'
CRS-2673: Attempting to stop 'ora.mdnsd' on 'rac1'
CRS-2677: Stop of 'ora.crf' on 'rac1' succeeded
CRS-2673: Attempting to stop 'ora.gipcd' on 'rac1'
CRS-2677: Stop of 'ora.mdnsd' on 'rac1' succeeded
CRS-2677: Stop of 'ora.gipcd' on 'rac1' succeeded
CRS-2673: Attempting to stop 'ora.gpnpd' on 'rac1'
CRS-2677: Stop of 'ora.gpnpd' on 'rac1' succeeded
CRS-2793: Shutdown of Oracle High Availability Services-managed resources on 'rac1' has completed
CRS-4133: Oracle High Availability Services has been stopped.
[root@rac1 ~]# /u01/app/11.2.0.3/grid/bin/crsctl start has   
CRS-4123: Oracle High Availability Services has been started.
[root@rac1 ~]# exit
logout
Connection to rac1 closed.
[root@rac2 ~]# /u01/app/11.2.0.3/grid/bin/crsctl start has
CRS-4123: Oracle High Availability Services has been started.
[root@rac2 ~]# /u01/app/11.2.0.3/grid/bin/crsctl start cluster -all
CRS-5702: Resource 'ora.evmd' is already running on 'rac2'
CRS-5702: Resource 'ora.crsd' is already running on 'rac2'
CRS-4690: Oracle Clusterware is already running on 'rac1'
CRS-4000: Command Start failed, or completed with errors.
[root@rac2 ~]# su - oracle
[oracle@rac2 ~]$ srvctl start database -d RAC
[oracle@rac2 ~]$ sqlplus / as sysdba

SQL*Plus: Release 11.2.0.3.0 Production on Thu Jul 11 10:05:59 2019

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

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

SQL> SELECT inst_name FROM v$active_instances;

INST_NAME
--------------------------------------------------------------------------------
rac1:RAC1
rac2:RAC2

SQL> exit
Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
With the Partitioning, Real Application Clusters, Automatic Storage Management, OLAP,
Data Mining and Real Application Testing options
    [oracle@rac2 ~]$ crs_stat -t -v
Name           Type           R/RA   F/FT   Target    State     Host        
----------------------------------------------------------------------
ora.DATA.dg    ora....up.type 0/5    0/     ONLINE    ONLINE    rac1        
ora....ER.lsnr ora....er.type 0/5    0/     ONLINE    ONLINE    rac1        
ora....N1.lsnr ora....er.type 0/5    0/0    ONLINE    ONLINE    rac1        
ora.asm        ora.asm.type   0/5    0/     ONLINE    ONLINE    rac1        
ora.cvu        ora.cvu.type   0/5    0/0    ONLINE    ONLINE    rac1        
ora.gsd        ora.gsd.type   0/5    0/     OFFLINE   OFFLINE               
ora....network ora....rk.type 0/5    0/     ONLINE    ONLINE    rac1        
ora.oc4j       ora.oc4j.type  0/1    0/2    ONLINE    ONLINE    rac1        
ora.ons        ora.ons.type   0/3    0/     ONLINE    ONLINE    rac1        
ora.rac.db     ora....se.type 0/2    0/1    ONLINE    ONLINE    rac1        
ora....SM1.asm application    0/5    0/0    ONLINE    ONLINE    rac1        
ora....C1.lsnr application    0/5    0/0    ONLINE    ONLINE    rac1        
ora.rac1.gsd   application    0/5    0/0    OFFLINE   OFFLINE               
ora.rac1.ons   application    0/3    0/0    ONLINE    ONLINE    rac1        
ora.rac1.vip   ora....t1.type 0/0    0/0    ONLINE    ONLINE    rac1        
ora....SM2.asm application    0/5    0/0    ONLINE    ONLINE    rac2        
ora....C2.lsnr application    0/5    0/0    ONLINE    ONLINE    rac2        
ora.rac2.gsd   application    0/5    0/0    OFFLINE   OFFLINE               
ora.rac2.ons   application    0/3    0/0    ONLINE    ONLINE    rac2        
ora.rac2.vip   ora....t1.type 0/0    0/0    ONLINE    ONLINE    rac2        
ora.scan1.vip  ora....ip.type 0/0    0/0    ONLINE    ONLINE    rac1        
[oracle@rac2 ~]$ 
您可能感兴趣的文档:

--结束END--

本文标题: RAC 手工关闭启动过程

本文链接: https://www.lsjlt.com/news/40363.html(转载时请注明来源链接)

有问题或投稿请发送至: 邮箱/279061341@qq.com    QQ/279061341

本篇文章演示代码以及资料文档资料下载

下载Word文档到电脑,方便收藏和打印~

下载Word文档
猜你喜欢
  • ORACLE 10G RAC如何启动与关闭
    小编给大家分享一下ORACLE 10G RAC如何启动与关闭,相信大部分人都还不怎么了解,因此分享这篇文章给大家参考一下,希望大家阅读完这篇文章后大有收获,下面让我们一起去了解一下吧!root@node-r...
    99+
    2024-04-02
  • ORACLE RAC 的启动和关闭顺序
    之前关闭集群数据库的时候,直接执行OS命令shutdown -h now ,后来发现启动OS之后很多服务都是UNKNOW状态,想想自己那样关闭数据库太过于"暴力",决定还是按照"温和"的方式去关闭集群数据库...
    99+
    2024-04-02
  • MySQL 启动与关闭(手动与自动)
    手动管理mysql的启动与关闭 [root@mysql ~]# service mysql start --手动启动mysql Starting MySQL. SUCCESS! [root@mys...
    99+
    2024-04-02
  • RAC各个进程启动的过程分析
    RAC各个进程启动的过程分析,针对这个问题,这篇文章详细介绍了相对应的分析和解答,希望可以帮助更多想解决这个问题的小伙伴找到更简单易行的方法。 ohasd无法kill,一旦kil...
    99+
    2024-04-02
  • Oracle 19c RAC 手工建库的搭建过程
    数据库环境: 数据库版本(RU):  19.10 GRID_HOME:       /u01/app/19.0.0/grid ORACLE_HOME:     /u01/a...
    99+
    2024-04-02
  • 原生js提示框并自动关闭(手工关闭)
    js提示框,n秒后自动关闭,多用于简单的提示,无需人工参与,例如复制内容的时候提示复制成功或者后台提交信息的返回界面都可以用这个 JavaScript自动关闭窗口 <!DOCT...
    99+
    2023-05-17
    js提示框 自动关闭 手动关闭
  • Oracle 11gR2 RAC集群服务启动与关闭是怎样的
    Oracle 11gR2 RAC集群服务启动与关闭是怎样的,针对这个问题,这篇文章详细介绍了相对应的分析和解答,希望可以帮助更多想解决这个问题的小伙伴找到更简单易行的方法。Oracle 11gR2 RAC集...
    99+
    2024-04-02
  • nginx怎么关闭、重启、和启动
    本篇内容主要讲解“nginx怎么关闭、重启、和启动”,感兴趣的朋友不妨来看看。本文介绍的方法操作简单快捷,实用性强。下面就让小编来带大家学习“nginx怎么关闭、重启、和启动”吧!关闭service nginx stop...
    99+
    2023-06-28
  • win10如何关闭开机自动启动程序
    这篇文章主要讲解了“win10如何关闭开机自动启动程序”,文中的讲解内容简单清晰,易于学习与理解,下面请大家跟着小编的思路慢慢深入,一起来研究和学习“win10如何关闭开机自动启动程序”吧!win10关闭开机自动启动程序教程首先我们点击右下...
    99+
    2023-07-01
  • windows如何关闭自动启动
    要关闭Windows上的自动启动程序,可以按照以下步骤进行操作:1. 打开任务管理器。可以通过按下Ctrl + Shift + Es...
    99+
    2023-09-07
    windows
  • nginx如何启动和关闭
    要启动nginx,可以使用以下命令:```sudo systemctl start nginx```要关闭nginx,可以使用以下命...
    99+
    2023-10-08
    nginx
  • SpringBoot热部署启动关闭流程详解
    目录一、pom.xml导入坐标二、手工启动热部署三、自动启动热部署四、热部署范围配置五、关闭热部署小结一、pom.xml导入坐标 在SpringBoot工程的pom.xml配置文件中...
    99+
    2023-05-17
    SpringBoot热部署 SpringBoot热部署配置
  • 启用或关闭自动播放
    最佳答案 如果您的计算机连接了 CD-ROM 自动换片器,则可能需要禁用自动运行 CD-ROM(自动运行光盘 [CD] 或自动播放音频 CD-ROM)。如果对 CD-ROM 自动换片器启用了自动运行 CD-ROM,则每...
    99+
    2023-05-23
    播放 自动 关闭 启用 CD-ROM 运行 禁用 注册表 Windows
  • Hadoop 2.7.4怎么关闭与启动
    这篇文章主要讲解了“Hadoop 2.7.4怎么关闭与启动”,文中的讲解内容简单清晰,易于学习与理解,下面请大家跟着小编的思路慢慢深入,一起来研究和学习“Hadoop 2.7.4怎么关闭与启动”吧!环境说明:[root@hadp-maste...
    99+
    2023-06-03
  • Android正在启动如何关闭
    要关闭正在启动的Android设备,您可以使用以下方法之一:1. 通过长按电源键:长按设备的电源键,直到出现关机或重启选项。然后选择关机选项,设备将关闭。2. 通过快捷菜单关闭:从设备屏幕的顶部向下滑动,以打开快捷菜单。在快捷菜单中,您...
    99+
    2023-08-09
    Android
  • 关闭win10启动项的方法
    我坚信目前最广泛使用的操作系统是Windows 10。当我们的win10操作系统设置太多的启动项目时,启动会变慢。此时,我们需要关闭启动项目。许多用户不知道如何关闭win10启动项目。今天,小编将教你如何关闭win10启动项目。让我们看看!...
    99+
    2023-07-10
  • win11快速启动如何关闭
    本篇内容介绍了“win11快速启动如何关闭”的有关知识,在实际案例的操作过程中,不少人都会遇到这样的困境,接下来就让小编带领大家学习一下如何处理这些情况吧!希望大家仔细阅读,能够学有所成! win11快速...
    99+
    2022-12-06
    win11
  • winrar怎么关闭向导自动启动
    这篇文章给大家分享的是有关winrar怎么关闭向导自动启动的内容。小编觉得挺实用的,因此分享给大家做个参考,一起跟随小编过来看看吧。关闭winrar向导自动启动方法/步骤:双击打开桌面Rar文件,电脑会弹出如图所示界面:直接在打开的界面中点...
    99+
    2023-06-27
  • linux怎么启动和关闭redis
    在Linux系统中,可以通过以下步骤来启动和关闭Redis: 启动Redis: 打开终端窗口,输入以下命令来启动Redis服务器:...
    99+
    2024-04-26
    redis linux
  • win10怎么关闭自动重启
    今天小编给大家分享一下win10怎么关闭自动重启的相关知识点,内容详细,逻辑清晰,相信大部分人都还太了解这方面的知识,所以分享这篇文章给大家参考一下,希望大家阅读完这篇文章后有所收获,下面我们一起来了解一下吧。win10关闭自动重启方法首先...
    99+
    2023-07-01
软考高级职称资格查询
编程网,编程工程师的家园,是目前国内优秀的开源技术社区之一,形成了由开源软件库、代码分享、资讯、协作翻译、讨论区和博客等几大频道内容,为IT开发者提供了一个发现、使用、并交流开源技术的平台。
  • 官方手机版

  • 微信公众号

  • 商务合作