- 最后登录
- 2014-12-25
- 在线时间
- 91 小时
- 威望
- 96
- 金钱
- 571
- 注册时间
- 2012-3-12
- 阅读权限
- 50
- 帖子
- 80
- 精华
- 1
- 积分
- 96
- UID
- 289
|
1#
发表于 2012-4-18 00:41:54
|
查看: 4955 |
回复: 2
节点1:
连接到:
Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit Production
With the Partitioning, Real Application Clusters, OLAP, Data Mining
and Real Application Testing options
SQL>
SQL>
SQL>
SQL> show parameter list
NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
local_listener string (ADDRESS=(PROTOCOL=TCP)(HOST=1
72.16.6.119)(PORT=1521))
remote_listener string LISTENERS_ORCL
节点2:
连接到:
Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit Producti
With the Partitioning, Real Application Clusters, OLAP, Data Mining
and Real Application Testing options
SQL>
SQL>
SQL>
SQL> show parameter list
NAME TYPE VALUE
------------------------------------ ----------- -------------------------
local_listener string (ADDRESS=(PROTOCOL=TCP)(H
72.16.6.124)(PORT=1521))
remote_listener string LISTENERS_ORCL
hosts:
172.16.6.84 data1
172.16.6.93 data2
10.10.0.2 data1-priv
10.10.0.3 data2-priv
172.16.6.119 data1-vip
172.16.6.124 data2-vip
在客户端连数据库集群:
SQL> conn [email=system/orcl@rac]system/orcl@rac[/email]
ERROR:
ORA-12560: TNS: 协议适配器错误
SQL>
SQL>
SQL>
SQL> conn [email=system/orcl@rac]system/orcl@rac[/email]
已连接。
SQL> select instance_name from v$instance;
INSTANCE_NAME
----------------
orcl1
SQL>
SQL>
SQL> conn [email=system/orcl@rac]system/orcl@rac[/email]
ERROR:
ORA-12560: TNS: 协议适配器错误
警告: 您不再连接到 ORACLE。 |
|