Deploy Environment of ExtProc on Serve.

How to depoly the environment of C External Oracle Procdure on Oracle Server?
  1. Deploy
  There are two files need to focus on: at ORACLE_HOME\network\admin\Listener.ora and tnsnames.ora
  The Listener.ora must be like this:
  #====================Begin=========================
  LISTENER =
  (DESCRIPTION_LIST =
    (DESCRIPTION =
      (ADDRESS_LIST =
        (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.16.27)(PORT = 1521))
      )
      (ADDRESS_LIST =
       (ADDRESS = (PROTOCOL = IPC)(HOST = 192.168.16.27)(KEY = EXTPROC))#Map to the ADDRESS in tnsnames.ora
      )
    )
  )

  SID_LIST_LISTENER =
  (SID_LIST =
    (SID_DESC =
      (SID_NAME = PLSExtProc)#Map to the SID in tnsnames.ora
      (ORACLE_HOME = E:\oracle\ora90)
      (PROGRAM = extproc)
    )
    (SID_DESC =
      (GLOBAL_DBNAME = lbs)
      (ORACLE_HOME = E:\oracle\ora90)
      (SID_NAME = lbs)
    )
  )
  #===================End============================
  And the tnsnames.ora must be like this:
  #===================Begin===========================
EXTPROC_CONNECTION_DATA.CASWSOFT.CASW.COM =
  (DESCRIPTION =
    (ADDRESS_LIST = #Map to the ADDRESS_LIST in the Listener.ora
      (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC)) #Must match the KEY of ADDRESS_LIST in the Listener.ora
    )
    (CONNECT_DATA = (SID = PLSExtProc)(PRESENTATION = RO))#SID must equals to the SID_NAME in the Listener.ora
  )
  #===================End==============================
  2. Validate
  a. Validate the program of External Procedure
      Execute ORACLE_HOME\bin\extproc.exe, if display those information
      #==================================
      Oracle Corporation --- 星期三 11月 03 2004 21:02:58.931

      Heterogeneous Agent Release 9.0.1.1.1
     #======================================
     ,it is OK!
  b. Validate the database environment
      Compare the Listener.ora and tnsnames.ora file strictly following to the sample listed on the head of this file.
  c. Validate the Listener
      Confirm the Listener.ora file is correct firstly.
      Then with command: tnspint extproc_connect_data.DEFAULT_DOMAIN(in this case is extproc_connect_data.caswsoft.casw.com), if the tip information is:
         #================================================
         已使用的参数文件:
         E:\oracle\ora90\network\ADMIN qlnet.ora
         E:\oracle\ora90\network\ADMIN\tnsnames.ora

        已使用 TNSNAMES 适配器来解析别名
        Attempting to contact (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = IPC)
        (KEY = EXTPROC))) (CONNECT_DATA = (SID = PLSExtProc)(PRESENTATION = RO)))
        OK(20毫秒)
        #============================================
      it is Ok.

Now, Congratulation, you External Procedure environment is OK!

时间: 2024-08-29 09:34:23

Deploy Environment of ExtProc on Serve.的相关文章

Linux集群和自动化运维

Linux/Unix技术丛书 Linux集群和自动化运维 余洪春 著 图书在版编目(CIP)数据 Linux集群和自动化运维/余洪春著. -北京:机械工业出版社,2016.8 (Linux/Unix技术丛书) ISBN 978-7-111-54438-8 I. L- II.余- III. Linux操作系统 IV. TP316.89 中国版本图书馆CIP数据核字(2016)第176055号 Linux集群和自动化运维 出版发行:机械工业出版社(北京市西城区百万庄大街22号 邮政编码:100037

Linux集群和自动化维3.6.3 Fabric的核心API

3.6.3 Fabric的核心API Fabric的核心API主要有7类:带颜色的输出类(color output).上下文管理类(context managers).装饰器类(decorators).网络类(network).操作类(operations).任务类(tasks).工具类(utils). Fabric提供了一组操作简单但功能强大的fabric.api命令集,简单地调用这些API就能完成大部分应用场景的需求,Fabric支持的常用命令及说明如下. local:执行本地命令,如loc

Setting up a Production Docker Environment with Alibaba Container Service

Due to the portability, flexibility, and maintainability of containers, it's no surprise that Docker is a favorite amongst DevOps practitioners. Nearly every tech company-and a not-insignificant number of non-tech companies-use Docker in some fashion

[文档]Implementation of K-Means Clustering in Cloud Computing Environment

Implementation of K-Means Clustering in Cloud Computing Environment The main aim of this work is to implement and deploy K-Means algorithm in Google Cloud using Google App Engine with Cloud SQL. Key words-Cloud computing, cloud SQL, cluster, database

Spark源码分析 – Deploy

参考, Spark源码分析之-deploy模块   Client Client在SparkDeploySchedulerBackend被start的时候, 被创建, 代表一个application和spark cluster进行通信  Client的逻辑很简单, 封装ClientActor, 并负责该Actor的start和stop  而ClientActor的关键在于preStart的时候, 向master注册该application, 并且在执行过程中接收master发来的event /**

Deploy Web Apps with High Availability, Fault Tolerance, and Load Balancing on Alibaba Cloud

By Ngoi Se Keng, Alibaba Cloud Tech Share Author 1. Introduction High Availability (HA), Fault Tolerance (FT), and Horizontal Scale Friendly (HSF) are as equally important as to functionality for web applications to run and succeed today. Existing or

Why Your Dev/Test Environment is as Important as Production

Every element of your software delivery chain is important. You know that. But, as is the case with almost anything that involves human beings, or machines, or both, there are times when it is all too easy to assume that the most visible elements of

spring读取tomcat下context的Environment标签的内容

问题描述 spring读取tomcat下context的Environment标签的内容 1C 根据项目需要,我们要把相关关键的配置全都放入context中,目前通过jndi能配置数据库,现在希望将其他的配置也放入context,我之前上网查到了相关的Environment标签可以存放数据,现在就是需要能将Environment标签的内容在Spring的配置文件中给显示出来,求问各位大神,有没有类似的解决方案,(注:我不希望有多个关键项文件,例如多个properties文件等). 解决方案 不是

android开发-Environment.getExternalStorageDirectory()

问题描述 Environment.getExternalStorageDirectory() 各位大神好:我想读一个文件,知道文件夹相对路径,怎么用Environment.getExternalStorageDirectory()获取文件的绝对路径? 解决方案 http://blog.csdn.net/duancanmeng/article/details/9185689 假如Environment.getExternalStorageDirectory() 返回 mnt/sdcard 比如你的