简体   繁体   English

用于RPD的OBIEE 11g EM数据源连接

[英]OBIEE 11g EM Datasource connection to use in RPD

So I have created a datasource (MS SQL SERVER 2008) with JDBC settings using console of OBIEE 11g. 因此,我已经使用OBIEE 11g的控制台使用JDBC设置创建了一个数据源(MS SQL SERVER 2008)。

Settings I have used “Database Type: MS SQL Server” and “Database Driver: Other”, the URL and driver class will be as follows, 设置我使用了“数据库类型:MS SQL Server”和“数据库驱动程序:其他”,URL和驱动程序类如下,

jdbc:weblogic:sqlserver://IP:1433 JDBC:weblogic的:SQLSERVER:// IP:1433

weblogic.jdbc.sqlserver.SQLServerDriver weblogic.jdbc.sqlserver.SQLServerDriver

This connection tested fine. 此连接测试正常。 I want to use this datasource in my rpd. 我想在rpd中使用此数据源。 But since my obiee is installed in linux, i can not open my repository online. 但是由于我的obiee已安装在linux中,所以我无法在线打开存储库。 Therefore, I have to create a DSN in my windows system using Datasources (ODBC). 因此,我必须使用数据源(ODBC)在Windows系统中创建DSN。 Name of DSN in my windows and DS at EM is same. 我的Windows中的DSN名称与EM处的DS名称相同。 So when I deploy this RPD, it deploys fine. 因此,当我部署此RPD时,它会很好地部署。 But if i create analysis based on this, it expects an ODBC driver to be installed and throws error, Datasource name not found and no default driver specified. 但是,如果我基于此创建分析,则它期望安装ODBC驱动程序并引发错误,找不到数据源名称,并且未指定默认驱动程序。 Which seems logical because I created the datasource in ODBC at my windows system and rpd read those settings and expects odbc. 这似乎合乎逻辑,因为我是在Windows系统上的ODBC中创建数据源的,并且rpd读取了这些设置并期望使用odbc。 I want to use the datasource created in EM. 我想使用在EM中创建的数据源。 If thats not possible, how can i resolve odbc error. 如果那不可能,我该如何解决odbc错误。

When completing an Analysis, OBI will use a connection pool to connect to the database. 完成分析后,OBI将使用连接池连接到数据库。 This connection pool will connect from your OBI server, so you need to make sure the server is capable of making the ODBC connection too and that you've set up the connection pool properly. 该连接池将通过OBI服务器进行连接,因此您需要确保该服务器也能够进行ODBC连接,并且您已经正确设置了连接池。

On your Windows machine, where you're editing the RPD, the DSN connection will only be used for the purpose of importing database objects to the physical layer of the repository – it has nothing to do with how the BI server connects to the database at runtime. 在您正在编辑RPD的Windows计算机上,DSN连接仅用于将数据库对象导入到存储库的物理层的目的–与BI服务器如何连接到位于以下位置的数据库无关。运行。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM