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)
全栈程序员-站长的头像全栈程序员-站长


相关推荐

  • java递归和迭代的区别

    java递归和迭代的区别出现栈的溢出.而迭代不会!  递归的基本概念:程序调用自身的编程技巧称为递归,是函数自己调用自己.一个函数在其定义中直接或间接调用自身的一种方法,它通常把一个大型的复杂的问题转化为一个与原问题相似的规模较小的问题来解决,可以极大的减少代码量.递归的能力在于用有限的语句来定义对象的无限集合.使用递归要注意的有两点:1)递归就是在过程或函数里面调用自身;2)在使用递归时,必须有一个明确的递归结束条件,称为递归出口. 递归分为两个阶段:1)递推:把复杂的问题的求解推到比原问

    2022年5月5日
    49
  • Vc6.0打开该文件坠毁

    Vc6.0打开该文件坠毁

    2022年1月3日
    51
  • matlab在极坐标中绘图y=sin(6x)_极坐标中θ范围怎么求

    matlab在极坐标中绘图y=sin(6x)_极坐标中θ范围怎么求在极坐标中绘图TryThisExampleTryThisExampleTryThisExampleTryThisExampleTryThisExampleTryThi

    2022年8月5日
    6
  • 微信公众号发布提醒(微信公众号模板消息接口)

    1.项目简介灵感来源于学校的每日健康日报,要求使用微信小程序进行每日健康打卡。所以此项目的功能类似于QQ群机器人,或者是每日闹钟。功能描述:用户访问给定的页面,进行授权登录,然后确认自己的身份(本科生或研究生),并开启通知,即可每天在约定时间收到微信服务号的消息提醒。当然,用户可以自定义每日通知的时间,也可以随时开启或关闭每日通知。

    2022年4月12日
    423
  • 首次备案图文引导

    首次备案图文引导

    2021年9月23日
    175
  • AlertDialog.Builder setPositiveButton 点击时不关闭dialog

    AlertDialog.Builder setPositiveButton 点击时不关闭dialogAlertDialog.BuildersetPositiveButton 与 setNegativeButton点击时都会自动关闭dialog,但是文本控制不想其关闭两种方法①:LayoutInflater inflater=LayoutInflater.from(mActivity);Viewview=inflater.inflate(R.layout.

    2022年6月16日
    34

发表回复

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

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