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


相关推荐

  • angular5面试题_大数据面试题

    angular5面试题_大数据面试题Angular更新还是非常快的,目前(2020)的速度是每年2个主版本。网上也有不少面试题,不过很多都是针对老的版本,尤其是AngularJS的。因为最近在看Angular的面试题,所以特意总结一下。下面内容都是基于Angularv8.0以上的。顺便科普一下,Angular最早期的版本,也叫AnugularJS,使用javascript开发;新的版本,才叫Angular,也称为Angular2,使用typescript开发,Angular和AngularJS是不兼容的(当然也有2个版本的集成方案)。

    2022年10月18日
    3
  • MATLAB心形图_心形曲线函数表达式

    MATLAB心形图_心形曲线函数表达式收藏几个经典的函数,用来当作数学优化方法求解的例子。再收藏几个有趣的函数图像。1平面心形图像经过网上搜索,平面坐标系中,下面函数最想心形图像,而且函数形式简单,不需要分段。改变右面的数值可以变化心形图像的大小。>ezplot(‘x^2+(y-(x^2)^(1/3))^2=9’)

    2025年9月16日
    8
  • 真是好高兴,CSDN论坛也开了Blog!

    真是好高兴,CSDN论坛也开了Blog!    真的好高兴,我好久没来Csdn了,今天在网上搜资料时看到一篇文章也得很好,一看网址竟是Blog.csdn开头的,我才知道别人都已注册好久了。于是我也来激活了自己的Blog。感觉很不错!于是写了这第一篇文章!希望大家多多支持关注Csdn!愿他越来越兴旺!

    2022年10月2日
    4
  • js 正则替换换行符

    js 正则替换换行符vardiv=document.getElementById(‘div’);vars=div.innerHTML.replace(/(\n|\r|(\r\n)|(\u0085)|(\u2028)|(\u2029))/g,””);//g的意思是:执行全局匹配(查找所有匹配而非在找到第一个匹配后停止)。//取消了空格之后在做其他的替换才可以,否则不能替换

    2022年5月24日
    141
  • Debian 使用VSFtpd安装配置架设FTP服务器「建议收藏」

    Debian 使用VSFtpd安装配置架设FTP服务器「建议收藏」Vsftpd的安装:aptitudeupdate//更新数据源列表aptitudeinstallvsftpd//安装vsftpdVsftpd的文件结构:/usr/sbin/vsftpd—-VSFTPD的主程序/etc/init.d/vsftpd—-启动脚本/etc/vsftpd.conf—-主配置文件/etc/pam…

    2022年7月21日
    16
  • 限制允许某些IP访问服务器

    限制允许某些IP访问服务器

    2021年10月18日
    43

发表回复

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

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