Do not use lsnrctl and sqlplus as SYSDBA in RAC

Do not use lsnrctl and sqlplus as SYSDBA in RAC

大家好,又见面了,我是全栈君。


In later releases of Oracle RAC, the traditional DBA control tools for managing RAC databases have been deprecated, and all commands should use the svrctl utility.

lsnrctl:  Oracle 10g and beyond have deprecated the lsnrctl command utility, and all listener start and stop commands are done via svrctl.

sqlplus:  We no longer use SQL*Plus as SYSDBA to bounce a RAC node, in favor of the svrctl utility. 
For complete details on managing RAC with the svrctl commands, see the book Oracle Grid & Real Application Clusters.

Here are the new syntax differences to start and stop a RAC node instance:

/*+ starting a RAC node instance & listener: 

root> export ORACLE_SID=orcl1
root> srvctl start nodeapps -n linux1
root> srvctl start asm -n linux1
root> srvctl start instance -d orcldb -i orclnode
root> srvctl start mylistwener
root> emctl start dbconsole 

Or do it all in one command:

root>  svrctl start database -d orcldb 

-------------------------------------------------------------------------------- 

/*+ shutdown a RAC node instance & listener: 

root> export ORACLE_SID=orcl1
root> emctl stop dbconsole
root> srvctl stop instance -d orcldb -i orclnode immediate
root> srvctl stop asm -n linux1
root> srvctl stop nodeapps -n linux1
root> srvctl stop mylistener -I 2

Or do it all in one command:

 

root>  svrctl stop database -d orcldb
 
REF:http://www.dba-oracle.com/t_svrctl_lsnrctl_sqlplus_rac.htm
 

本文转自海天一鸥博客园博客,原文链接:http://www.cnblogs.com/sgsoft/archive/2010/12/24/1915510.html,如需转载请自行联系原作者

版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请联系我们举报,一经查实,本站将立刻删除。

发布者:全栈程序员-站长,转载请注明出处:https://javaforall.net/107916.html原文链接:https://javaforall.net

(0)
全栈程序员-站长的头像全栈程序员-站长


相关推荐

  • 【转载】.NET Remoting学习笔记(三)信道

    【转载】.NET Remoting学习笔记(三)信道

    2021年11月18日
    68
  • 什么是内存(一):存储器层次结构「建议收藏」

    什么是内存(一):存储器层次结构「建议收藏」首先给大家讲个段子:2015年开网吧,买了DDR48g内存条400多根,一根180块,今年2017年,网吧赔了20多万,昨天我把网吧电脑全卖了。内存条600一根,居然赚回了我网吧的钱,感谢三星

    2022年8月6日
    8
  • ubuntu20.04清华源_ubuntu20.04更换国内源

    ubuntu20.04清华源_ubuntu20.04更换国内源Ubuntu22.04的稳定版计划于2022年4月21日发布。开发工作已经在紧锣密鼓地进行,它将遵循如下发布时间表:2022年2月24日:功能冻结2022年3月17日:用户界面冻结2022年3月31日:测试版发布2022年4月14日:候选版本2022年4月21日:最终稳定版本Ubuntu22.04仍在积极开发中。您不应该在生产机器或主系统上使用它。如果你想在备用机器或虚拟机上测试它,你可以从Ubuntu的网站下载每日

    2025年10月12日
    2
  • mysql创建新用户并分配权限

    mysql创建新用户并分配权限

    2022年3月12日
    46
  • JAVA中输出语句中+的作用[通俗易懂]

    JAVA中输出语句中+的作用[通俗易懂]System.out.println()输出语句里面的+号,根据俩边的数据类型作不同处理,有俩种情况。①+后输出字符串,例如1+”a”输出的就是1a②+后输出数字,而不是字符串,例如1+‘a’,输出的就是98个人理解,觉得1+“a”,String类的优先级比较高,所以把1转换成了字符串,最后连接了起来,1+’a’是Int型的精度比较高,故将a转换成了int型再相加…

    2022年7月16日
    23
  • iscsiadm命令基本用法[通俗易懂]

    iscsiadm命令基本用法[通俗易懂]发现目标iscsiadm-mdiscovery-tsendtargets-p192.168.1.1:3260-mdiscovery指定模式为discovery-p192.168.1.1:3260指定目标ip和端口登入节点iscsiadm-mnode–Tiqn.1997-05.com.test:raid-p192.168.1.1:3260-l系统启动时自动登入iscsiadm-mnode–Tiqn.1997-05.com.test:raid-p192.16

    2022年8月23日
    7

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注

关注全栈程序员社区公众号