Install environment:

Datastage

8.5

Linux

2.6.18

Remote

Oracle Database version is 11g

1)Install Oracle client

Install Oracle client 11g in the DS server with user oracle,

my install option is ‘Administrator ‘.

Copy tnsnames.ora

file from the Oracle server to $ORACLE_HOME/network/admin.Please pay attention to the HOST, we can use

IP or HOSTNAME.

[oracle@datastage admin]$ cat tnsnames.ora

# tnsnames.ora Network Configuration File:

C:\app\ligj\product\11.2.0\client_1\network\admin\tnsnames.ora

# Generated by Oracle configuration tools.

ORAJERRY =

(DESCRIPTION =

(ADDRESS_LIST =

(ADDRESS =

(PROTOCOL = TCP)(HOST = IBM-RS05L7GG9A3)(PORT = 1521))

)

(CONNECT_DATA =

(SERVICE_NAME =

ORAJERRY)

)

)

Add ORACLE_HOME in .bash_profile under oracle user.

Login oracle server with:

Sqlplus usera/pwd@ORAJERRY

2)Configuration on DS server

Add those parameters in the dsenv under DSHOME, following is

my:

DSHOME=/opt/IBM/InformationServer/Server/DSEngine

export ORACLE_HOME=/home/oracle/app/oracle/product/11.2.0/client_1

export

TNS_ADMIN=/home/oracle/app/oracle/product/11.2.0/client_1/network/admin

export

LD_LIBRARY_PATH=$APT_ORCHHOME/lib:$LD_LIBRARY_PATH:$ORACLE_HOME/lib:$ORACLE_HOME/rdbms/lib

export PATH=$PATH:$ORACLE_HOME/bin:$APT_ORCHHOME/bin

export ORACLE_BASE=/home/oracle/app

export

LIBPATH=$ORACLE_HOME/rdbms/lib:$ORACLE_HOME/lib:$LIBPATH

[root@datastage DSEngine]# find /opt -name install.liborchoracle

/opt/IBM/InformationServer/Server/StagingArea/Installed/PxOracle/install/install.liborchoracle

/opt/IBM/InformationServer/Server/DSComponents/install/install.liborchoracle

[root@datastage DSEngine]# find /opt -name libccora*

/opt/IBM/InformationServer/Server/StagingArea/Installed/OracleConnector/Server/linux/libccora11g.so

/opt/IBM/InformationServer/Server/StagingArea/Installed/OracleConnector/Server/linux/libccora10g.so

/opt/IBM/InformationServer/Server/DSComponents/bin/libccora11g.so

/opt/IBM/InformationServer/Server/DSComponents/bin/libccora10g.so

My error message are ‘Can’t find libccora10g.so’

[root@datastage DSEngine]# cd $ORACLE_HOME/lib

[root@datastage DSEngine]#ln –s /opt/IBM/InformationServer/Server/StagingArea/Installed/OracleConnector/Server/linux/libccora11g.so

licccora11g.so

[root@datastage DSEngine]#ln –s /opt/IBM/InformationServer/Server/StagingArea/Installed/OracleConnector/Server/linux/libccora10g.so

licccora10g.so

Then execute the ‘/opt/IBM/InformationServer/Server/StagingArea/Installed/PxOracle/install/install.liborchoracle’

with root user.

[root@datastage DSEngine]# exportDSHOME=/opt/IBM/InformationServer/Server/DSEngine

[root@datastage DSEngine]# export APT_ORCHHOME=/opt/IBM/InformationServer/Server/PXEngine

[root@datastage DSEngine]# vi /opt/IBM/InformationServer/Server/DSComponents/install/install.liborchoracle

Alter this:

install_driver() {

case $version in

9 ) VER='9i';;

10 ) VER='10g';;

0 ) return;;

esac

To

install_driver() {

case $version in

9 )

VER='9i';;

10|11 ) VER='10g';;

0 ) return;;

esac

Then can support Oracle 11g client

Execute it

[root@datastage DSEngine]# /opt/IBM/InformationServer/Server/DSComponents/install/install.liborchoracle

InstallingOracle

driver.

Installingdriver for

Oracle Version 10g

Oracle driver

installation is completed.

Test the dynamic library

[root@datastage DSEngine]# cd $ORACLE_HOME/lib

[root@datastage

lib]# ls -al libcc*

lrwxrwxrwx 1

oracle dba 65 Apr 24 17:26 libccora10g.so -> /opt/IBM/InformationServer/Server/DSComponents/bin/libccora10g.so

lrwxrwxrwx 1

oracle dba 65 Apr 24 17:25 libccora11g.so ->

/opt/IBM/InformationServer/Server/DSComponents/bin/libccora11g.so

[root@datastage

lib]# ldd libccora10g.so

linux-vdso.so.1 =>(0x00007fff5d960000)

/opt/IBM/InformationServer/Server/DSComponents/lib/libicui18n.so

(0x00002af26ea97000)

libicuio.so.32 =>

/opt/IBM/InformationServer/Server/PXEngine/lib/libicuio.so.32

(0x00002af26ecb5000)

libicuuc.so.32 => /opt/IBM/InformationServer/Server/PXEngine/lib/libicuuc.so.32

(0x00002af26edc1000)

libfcl.so =>

/opt/IBM/InformationServer/Server/PXEngine/lib/libfcl.so (0x00002af26efaf000)

libclntsh.so.10.1 =>

/home/oracle/app/oracle/product/11.2.0/client_1/lib/libclntsh.so.10.1

(0x00002af26f2b3000)

libstdc++.so.6 =>

/opt/IBM/InformationServer/ASBNode/apps/proxy/cpp/linux-all-x86_64/libstdc++.so.6

(0x00002af2718dd000)

libm.so.6 => /lib64/libm.so.6 (0x00002af271af9000)

libc.so.6 => /lib64/libc.so.6 (0x00002af271d7c000)

libgcc_s.so.1 =>

/lib64/libgcc_s.so.1 (0x00002af2720d3000)

libicudata.so.32 =>

/opt/IBM/InformationServer/Server/PXEngine/lib/libicudata.so.32

(0x00002af2722e2000)

libpthread.so.0 =>

/lib64/libpthread.so.0 (0x00002af273071000)

libnsl.so.1

=> /lib64/libnsl.so.1 (0x00002af27328d000)

libdl.so.2 => /lib64/libdl.so.2

(0x00002af2734a5000)

libicutu.so.32 =>

/opt/IBM/InformationServer/Server/PXEngine/lib/libicutu.so.32

(0x00002af2736a9000)

libxml4c.so.56 =>

/opt/IBM/InformationServer/Server/DSComponents/lib/libxml4c.so.56

(0x00002af2737b8000)

liborchx86_64.so =>

/opt/IBM/InformationServer/Server/PXEngine/lib/liborchx86_64.so

(0x00002af273c56000)

liborchcorex86_64.so => /opt/IBM/InformationServer/Server/PXEngine/lib/liborchcorex86_64.so

(0x00002af2747d5000)

libnnz11.so =>

/home/oracle/app/oracle/product/11.2.0/client_1/lib/libnnz11.so

(0x00002af274a23000)

libaio.so.1

=> /usr/lib64/libaio.so.1 (0x00002af274deb000)

/lib64/ld-linux-x86-64.so.2 (0x00000032b4a00000)

liborchmonitorx86_64.so =>

/opt/IBM/InformationServer/Server/PXEngine/lib/liborchmonitorx86_64.so

(0x00002af274fed000)

[root@datastage

lib]# ldd libccora11g.so

linux-vdso.so.1 =>(0x00007fffe5ffd000)

/opt/IBM/InformationServer/Server/DSComponents/lib/libicui18n.so

(0x00002b838afc7000)

libicuio.so.32 =>

/opt/IBM/InformationServer/Server/PXEngine/lib/libicuio.so.32

(0x00002b838b1e5000)

libicuuc.so.32 => /opt/IBM/InformationServer/Server/PXEngine/lib/libicuuc.so.32

(0x00002b838b2f1000)

libfcl.so =>

/opt/IBM/InformationServer/Server/PXEngine/lib/libfcl.so (0x00002b838b4df000)

libclntsh.so.11.1 =>

/home/oracle/app/oracle/product/11.2.0/client_1/lib/libclntsh.so.11.1

(0x00002b838b7e3000)

libstdc++.so.6 =>

/opt/IBM/InformationServer/ASBNode/apps/proxy/cpp/linux-all-x86_64/libstdc++.so.6

(0x00002b838de0d000)

libm.so.6 => /lib64/libm.so.6

(0x00002b838e029000)

libc.so.6 => /lib64/libc.so.6

(0x00002b838e2ac000)

libgcc_s.so.1 =>

/lib64/libgcc_s.so.1 (0x00002b838e603000)

libicudata.so.32 =>

/opt/IBM/InformationServer/Server/PXEngine/lib/libicudata.so.32

(0x00002b838e812000)

libpthread.so.0 => /lib64/libpthread.so.0 (0x00002b838f5a1000)

libnsl.so.1

=> /lib64/libnsl.so.1 (0x00002b838f7bd000)

libdl.so.2

=> /lib64/libdl.so.2 (0x00002b838f9d5000)

libicutu.so.32

=> /opt/IBM/InformationServer/Server/PXEngine/lib/libicutu.so.32

(0x00002b838fbd9000)

libxml4c.so.56

=> /opt/IBM/InformationServer/Server/DSComponents/lib/libxml4c.so.56

(0x00002b838fce8000)

liborchx86_64.so =>

/opt/IBM/InformationServer/Server/PXEngine/lib/liborchx86_64.so

(0x00002b8390186000)

liborchcorex86_64.so =>

/opt/IBM/InformationServer/Server/PXEngine/lib/liborchcorex86_64.so

(0x00002b8390d05000)

libnnz11.so

=> /home/oracle/app/oracle/product/11.2.0/client_1/lib/libnnz11.so

(0x00002b8390f53000)

libaio.so.1

=> /usr/lib64/libaio.so.1 (0x00002b839131b000)

/lib64/ld-linux-x86-64.so.2 (0x00000032b4a00000)

liborchmonitorx86_64.so =>

/opt/IBM/InformationServer/Server/PXEngine/lib/liborchmonitorx86_64.so

(0x00002b839151d000)

[root@datastage lib]#

Open ‘DS Administrator Client’

Click ‘Environment’ , go to

3)Restart DS server and IS agent:

1) stop DS engine

[root@datastage DSEngine]# cd /opt/IBM/InformationServer/Server/DSEngine/bin

[root@datastage DSEngine]#./uv –admin –stop

2) stop IS agent

[root@datastage DSEngine]# cd /opt/IBM/InformationServer/ASBNode/bin

[root@datastage DSEngine]#./NodeAgents.sh stop

3) start IS agent

[root@datastage DSEngine]# cd /opt/IBM/InformationServer/ASBNode/bin

[root@datastage DSEngine]#./NodeAgents.sh start

4) start DS engine

[root@datastage DSEngine]# cd /opt/IBM/InformationServer/Server/DSEngine/bin

[root@datastage DSEngine]#./uv –admin –start

Then I can connect to Oracle in Designer.

ds oracle connector 连接组件,Datastage 8.5 连接远程Oracle 数据库相关推荐

  1. 不用安装oracle客户端也可以用plsql连接远程oracle

    不用安装oracle客户端也可以用plsql连接远程oracle 关键字: plsql连接远程oracle     每次问人家,plsql 可不可以直接远程连接服务器,他们都说要安装客户端,记得以前用 ...

  2. ds oracle connector 连接组件,DataStage 错误集(持续更新)

    DataStage序列文章 1 执行dsadmin命令时报错$ dsadmin exec(): 0509-036 Cannot load program dsadmin because of the ...

  3. datastage配置oracle,Datastage 8.5 连接远程Oracle 数据库

    工作中需要使用Datastage  把Oracle的数据导到DB2 中,发现IBM 的文档不是很全, 在问了很多人,包括同事老杜.Bryan Zhang, Robert等,终于可以连接Oralce 了 ...

  4. 用oracle用户登陆toad,配置Toad连接远程Oracle数据库

    当前环境:web 本机系统:Win7 64位sql Toad版本:11 32位数据库 数据库:Oracle 10gspa ===================================ip 与 ...

  5. plsql连接mysql_使用PLSQL工具连接远程Oracle

    在不安装Oracle的情况下使用PLSQL连接远程的数据库步骤: 1)官网下载Instant client工具包 解压之后的文件夹叫:instantclient_11_2:可以放在本地磁盘任意目录下, ...

  6. jsch连接mysql_求用jsch网络工具包通过ssh连接远程oracle数据库并发送sql操作语句(数据库在unix上)java代码例子...

    求用jsch网络工具包通过ssh连接远程oracle数据库(数据库在unix上)java代码例子:为何jsch发送:sqlplususer/pwd@service此命令,却没有结果返回啊.下面是代码: ...

  7. 本地psql连接远程Oracle虚拟机_03

    接上一篇:plsql连接 oracle instantclient_11_2 本地机器不安装oracle_02 https://gblfy.blog.csdn.net/article/details/ ...

  8. plsql和navicate有什么区别_plsql和navicat连接远程oracle(易错点)

    plsql和navicat连接远程oracle,只需要安装oracle客户端即可.注意此处是oracle客户端(Instant Client),并不是oracle数据库. oracle客户端下载地址: ...

  9. PLSQL连接远程Oracle数据库教程(Windows11最新详细教程)

    PLSQL连接远程Oracle数据库教程(Windows11最新教程) 1.下载PLSQL,下载后直接下一步安装 https://www.allroundautomations.com/try-it- ...

最新文章

  1. Linux0.1源码分析,《Linux 0.01内核分析与操作系统设计——创造你自己的操作系统》...
  2. 开源ERP系统 CK-ERP
  3. 融入产业生态的靶向孵化
  4. 【译】Consortium Chain Development
  5. 使用async关键字进行TCP server的连接
  6. VHDL中的转换函数
  7. 图灵奖大佬+谷歌团队,为通用人工智能背书!CV 任务也能用 LM 建模!
  8. fcpx插件Corporate Story for Mac(商务公司视频宣传片头模板)
  9. Linux: 让切换目录更方便: pushd,popd,dirs,cd -
  10. 机器学习模型导出为PMML的方法
  11. java中的纸牌游戏_Java中的宾果纸牌游戏
  12. view中显示部分区域
  13. String s String s=null和String s=a区别
  14. navicat和 plsql 连接oracle数据库 总结
  15. 2010全国导游大赛总决赛现场调试及比赛抓图
  16. 服务器控制台网页登录,云服务器管理控制台登录网站
  17. 【Oracle学习笔记】索引
  18. 使用ActionSupport验证登录
  19. Qt环境下利用opencv逐帧播放视频
  20. CRC校验算法详解及代码实现

热门文章

  1. PullToRefreshListView下拉刷新与上拉载入
  2. Android 设置EditText光标位置(转)
  3. Ruby Cucumber环境
  4. (转帖)eclipse 下 搭建 django开发环境
  5. 29.进程和线程的区别
  6. android 购物车小美的店,[转载]【小美教程】买菜累啊有木有?购物车用的购物袋教程来啦.........
  7. 马走日poj java超时_简单搜索poj 2243(水
  8. 007_Curator框架二
  9. mysql为什么没有nvarchar,关于mysql:为什么不将每个VARCHAR指定为VARCHAR(65535)?
  10. 注册界面php mysql_php:用户登录注册并存入数据库的简单网页示例