Chinaunix首页 | 论坛 | 博客
  • 博客访问: 970116
  • 博文数量: 358
  • 博客积分: 8185
  • 博客等级: 中将
  • 技术积分: 3751
  • 用 户 组: 普通用户
  • 注册时间: 2008-10-15 16:27
个人简介

The views and opinions expressed all for my own,only for study and test, not reflect the views of Any Company and its affiliates.

文章分类

全部博文(358)

文章存档

2012年(8)

2011年(18)

2010年(50)

2009年(218)

2008年(64)

我的朋友

分类: Oracle

2009-08-23 16:11:26

check the values of the parameters INSTANCE_NAME and SERVICE_NAMES by querying the V$PARAMETER view.
If SERVICE_NAMES was not set in your parameter file, it will have defaulted to the INSTANCE_NAME suffixed with the DB_DOMAIN. The default for DB_DOMAIN is NULL.

Oracle Networking

■in release 10g Oracle’s network support is limited to:
①TCP
②Named Pipes (or NMP), 
③the new Sockets Direct Protocol(or SDP) over InfiniBand high-speed networks.
④The secure sockets variants of these protocols can also be used
⑤All operating systems also have an Inter-Process Communication (or IPC) protocol proprietary to the operating system—this is also available to Oracle Net for local connections where the user process is on the same machine as the server

■Techniques for Name Resolution

①Easy Connect:
SQL> conn gau001/gaudi@192.168.0.100:1521/gaudi
已连接。
②Local Naming:
GAUDI.ap.sony.com=
  (DESCRIPTION =
    (ADDRESS_LIST =
      (ADDRESS = (PROTOCOL = TCP)(HOST =192.168.0.100)(PORT = 1521))
    )
    (CONNECT_DATA =
      (SERVER = DEDICATED)
      (SERVICE_NAME = gaudi)
    )
  )
test =
  (DESCRIPTION =
    (ADDRESS_LIST =
      (ADDRESS = (PROTOCOL = TCP)(HOST = serv2.haunting.com)(PORT = 1521))
     )
   (CONNECT_DATA =
    (sid = testdb)
   )
 )
③Directory Naming
points the user toward an LDAP(the Lightweight Directory Protocol) directory server to resolve aliases.
offers a central repository, the directory server, for all your name resolution details

④External Naming
is conceptually similar to directory naming, but it uses third-party naming services

■Configuring Service Aliases
To launch the Net Manager, run netmgr from a Unix prompt, or on Windows you
will find it on the Start menu.

■Testing Oracle Net Connections
①the Net Manager
②tnsping

************************************************

■Advanced Connection Options
ocp10g_net1 =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = ora10g_net1.haunting.com)(PORT = 1521))
)
(CONNECT_DATA =
(service_name = ocp10g)
)
)
ocp10g_net2 =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = ora10g_net2.haunting.com)(PORT = 1521))
)
(CONNECT_DATA =
(service_name = ocp10g)
Chapter 12: Configuring Oracle Networking
21
PART I
)
)
ocp10g_either =
(DESCRIPTION =
(ADDRESS_LIST =
(load_balance=on)
(failover=on)
(ADDRESS = (PROTOCOL = TCP)(HOST = ora10g_net1.haunting.com)(PORT = 1521))
(ADDRESS = (PROTOCOL = TCP)(HOST = ora10g_net2.haunting.com)(PORT = 1521))
)
(CONNECT_DATA =
(service_name = ocp10g)
)
)
ocp10g_from_outside =
(DESCRIPTION =
(ADDRESS_LIST =
(source_route=on)
(ADDRESS = (PROTOCOL = TCP)(HOST = firewall.haunting.com)(PORT = 1521))
(ADDRESS = (PROTOCOL = TCP)(HOST = ora10g.haunting.com)(PORT = 1521))
)
(CONNECT_DATA =
(service_name = ocp10g)
)
)

阅读(369) | 评论(0) | 转发(0) |
0

上一篇:audit 审计

下一篇:Managing Shared Servers

给主人留下些什么吧!~~