大家好,又见面了,我是全栈君。
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,如需转载请自行联系原作者
发布者:全栈程序员-用户IM,转载请注明出处:https://javaforall.cn/107916.html原文链接:https://javaforall.cn
【正版授权,激活自己账号】: Jetbrains全家桶Ide使用,1年售后保障,每天仅需1毛
【官方授权 正版激活】: 官方授权 正版激活 支持Jetbrains家族下所有IDE 使用个人JB账号...