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


相关推荐

  • NSGA2 算法MATLAB完整代码 中文注释详解

    NSGA2 算法MATLAB完整代码 中文注释详解2019.7.17很意外本人这篇文章受到很多人的关注,在此把源码贴出来供大家更好的理解学习。https://download.csdn.net/download/joekepler/10590751========================分割=====================================本人最近研究NSGA2算法,网上有很多示例代码,但是基本没有…

    2022年5月12日
    44
  • 网易邮箱(126/163):授权码获取攻略

    网易邮箱(126/163):授权码获取攻略一、网易免费邮箱1、因为网易限制,第三方邮件客户端登陆网易邮箱必须用授权码登陆。浏览器登录mail.163.com(126邮箱:mail.126.com),点击路径:“设置”>>“POP3/SMTP/IMAP”。2、在右边网页中,选择“开启”(IMAP/SMTP服务),弹出“帐号安全验证”,用手机扫码发送短信,并点击“我已发送”3、验证后获取客户端授权密码4、此处可管理多个客户端授权密码二、网易VIP邮箱

    2022年4月4日
    2.7K
  • 如何上传代码到github?

    如何上传代码到github?github是什么?github是Git远程仓库。github是一个基于git的代码托管平台Git是什么:Git是一个开源的分布式版本控制系统,用于敏捷高效地处理任何或小或大的项目。如何上传代码到github?参考:https://www.runoob.com/git/git-remote-repo.html在githbu上注册账号注册账号 创建一个项目 获得…

    2025年6月6日
    3
  • Java输出结果保留两位小数

    Java输出结果保留两位小数Java输出结果保留两位小数

    2022年7月8日
    35
  • 测试常见面试题之场景测试回答策略(如电梯该怎么测等)

    测试常见面试题之场景测试回答策略(如电梯该怎么测等)1.概述这类问题是考察面试者测试思路和测试策略的常见问题,主要要根据软件质量的六个特性(功能性、易用性、效率、可靠性、可维护性、可移植性)来进行思考,进而需要结合实际测试软件时考虑的角度,比如功能方面、接口方面、性能方面、维护难度方面、兼容性方面、界面或者说外观方面(比如本地化的一些内容以及界面美观等等)、操作难度或者说易用性方面、可靠度(比如应对异常情况的能力)方面、安全性方面等,根据这些角度结合具体要测试的内容进行思考并作答,例如,在下例中,分别从功能、界面、易用、兼容、安全、性能这六个角度结合业

    2022年6月7日
    45
  • ubuntu中科大镜像源_中国科技大学开源镜像

    ubuntu中科大镜像源_中国科技大学开源镜像#vim/etc/apt/sources.list//修改网络镜像源文件debhttps://mirrors.ustc.edu.cn/ubuntu/bionicmainrestrict

    2022年8月2日
    35

发表回复

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

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