补充 oracle网络环境配置.pptVIP

  • 1
  • 0
  • 约1.36万字
  • 约 19页
  • 2017-08-17 发布于河南
  • 举报
配置 Oracle 网络环境 Oracle Net 服务 Oracle Net 监听器 建立Net 连接 在建立数据库连接时, Oracle Net 需要客户端知晓下列信息: 监听器所在主机 监听器所监听端口 监听所使用协议 监听器所控制服务名 建立数据库连接 用户会话期 Oracle 网络配置管理工具 Enterprise Manager Net Services Administration 页面 Oracle Net Manager Oracle Net Configuration Assistant launched by OUI 命令行 监听控制工具 lsnrctl 工具,命令行方式,或者使用EM. Lsnrctl命令语句 运行 LSNRCTL命令. UNIX 或 Linux 命令行文法: 交互试命令行: Listener Control Utility Syntax Full Notes Page EM 监听器首页 建立监听器 添加监听地址 命名方式 Oracle Net 支持多种网络连接的名称解析: 简易连接命名: 使用TCP/IP 连接字符串 本地命名方式: 使用本地配置文件 目录命名: 使用中控LDAP-compliant 目录服务器 外界命名: 使用非Oracle的第三方命名方式 简易连接 默认方式 不需要客户端的配置和安装 只支持TCP/IP (no SSL) 不提供高级连接支持,例如: 连接实时失效切换 连接源路径转移 负载平衡 本地命名 需要客户端名称解析文件 支持所有Oracle Net网络协议 支持高级连接模式,例如: 连接实时失效切换 连接源路径转移 负载平衡 Advanced Connection Options Full Notes Page 测试Oracle Net连接 tnsping 工具可以用来测试Oracle Net服务假名: 验证客户端和Oracle Net监听的连接 对所需数据库服务不进行验证 支持简易命名解析: 支持本地命名和目录命名方式: 练习: Oracle网络连接 配置本地命名连接,名称my_conn, 使用tnsping测试连接名称 建立第二个监听器(使用EM) Adding Listener Addresses The workflow to create a listener continues: 5. Select the network protocol. TCP/IP is the most commonly used and is the default. Other choices are Internal Process Communication (IPC)—normally used for connecting to local applications (resident on the database server)—or external code libraries (EXTPROC), Named Pipes (NMP), and TCP/IP with SSL. Note: The NMP and EXTPROC protocols are configured by using the Other Services tab. 6. Enter the port that you want the listener to monitor. Oracle Net’s default port is 1521. If you choose to use a port other than 1521, then additional configuration is required for the listener or for the instance. 7. Enter the name or IP address of the server that the listener will run on. 8. All other configuration steps are optional for the listener. Click OK to save the address. The only required configuration is the listening address and name. Click OK to save your changes. 9. To start the new listener, select Start/Stop from the Actions drop-down list, and click Go. Naming Methods Oracle

文档评论(0)

1亿VIP精品文档

相关文档