你好,游客 登录 注册 搜索
背景:
阅读新闻

Oracle RAC 负载均衡与local_listener、remote_listener两个参数的配置关系

[日期:2012-06-15] 来源:Linux社区  作者:hijk139 [字体:大 中 小]
由于服务只运行于epmdb1,因此必定连接epmdb1实例
 
sqlplus system/Oracle@epmdb_scan_taf

SQL*Plus: Release 10.2.0.1.0 - Production on 星期四 6月 14 16:21:42 2012

Copyright (c) 1982, 2005, Oracle.  All rights reserved.


连接到:
Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production
With the Partitioning, Real Application Clusters, Automatic Storage Management,
OLAP,
Data Mining and Real Application Testing options

SQL> select instance_name from v$instance;

INSTANCE_NAME
----------------
epmdb1
 
 
  数据库实例EPMDB1 down后,service发生了切换,再次连接数据库,已经运行于instane 2 .
  sys@EPMDB1(10.4.124.233)> shutdown immediate;
 
[grid@dtydb3 ~]$ srvctl status service -d epmdb -s srv_epm1
Service srv_epm1 is running on instance(s) epmdb2
 
 
 
SQL> select instance_name from v$instance;

INSTANCE_NAME
----------------
epmdb1

SQL> /

INSTANCE_NAME
----------------
epmdb2linux
本文评论   查看全部评论 (0)
表情: 表情 姓名: 字数

       

评论声明
  • 尊重网上道德,遵守中华人民共和国的各项有关法律法规
  • 承担一切因您的行为而直接或间接导致的民事或刑事法律责任
  • 本站管理人员有权保留或删除其管辖留言中的任意内容
  • 本站有权在网站内转载或引用您的评论
  • 参与本评论即表明您已经阅读并接受上述条款