BIEE安装及启动错误的处理(rhel5&hpux)

<?xml:namespace prefix = o />

BIEE RHEL5平台(x86

BIEE HPUX 11IV1

快速安装手册

作者: 齐琨

文档创建日期: <?xml:namespace prefix = st1 /><chsdate isrocdate="False" islunardate="False" day="21" month="3" year="2008" w:st="on">2008-03-21</chsdate>

最后更新日期: <chsdate isrocdate="False" islunardate="False" day="21" month="3" year="2008" w:st="on">2008-03-21</chsdate>

系统环境

Linux Test240 <chsdate isrocdate="False" islunardate="False" day="30" month="12" year="1899" w:st="on">2.6.18</chsdate>-8.el5 #1 SMP Fri Jan 26 14:15:14 EST 2007 x86_64 x86_64 x86_64 GNU/Linux

BIEE版本:biee_linux_x86_redhat_101332

Oracle版本:10gR2

安装前准备

n 创建用户 oraclebi/oraclebi,分配组为dba组。使用bash

n 安装JDK1.5,在java.sun.com下载jdk-1_5_0_15-linux-i586.bin,将文件传到/home/oraclebi目录下,赋予执行权限 ,执行bin文件,系统自动解压

$ chmod +x jdk-1_5_0_15-linux-i586.bin

$ ./ jdk-1_5_0_15-linux-i586.bin

n 编辑.bash_profile文件,将java路径放到最前。重新登录,检查。

$ java –version

java version "<chsdate isrocdate="False" islunardate="False" day="30" month="12" year="1899" w:st="on">1.5.0</chsdate>_15"

Java(TM) 2 Runtime Environment, Standard Edition (build <chsdate isrocdate="False" islunardate="False" day="30" month="12" year="1899" w:st="on">1.5.0</chsdate>_15-b04)

Java HotSpot(TM) Server VM (build <chsdate isrocdate="False" islunardate="False" day="30" month="12" year="1899" w:st="on">1.5.0</chsdate>_15-b04, mixed mode)

n 安装Oracle Client软件

具体安装步骤参考相应文档。

/u01/app/oracle目录下。

n 设置环境变量.bash_profileHPUX下的环境变量设置见.profile文件

$ vi .bash_profile

JAVA_HOME=/home/oraclebi/jdk<chsdate isrocdate="False" islunardate="False" day="30" month="12" year="1899" w:st="on">1.5.0</chsdate>_15

ORACLE_BASE=/u01/app/oracle

ORACLE_HOME=$ORACLE_BASE/oracle/product/<chsdate isrocdate="False" islunardate="False" day="30" month="12" year="1899" w:st="on">10.2.0</chsdate>/db_1

ORACLEBI_HOME=/usr/local/OracleBI

ORACLE_SID=orcl

NLS_LANG="Simplified Chinese_china".ZHS16GBK

PATH=$ORACLE_HOME/bin:/home/oraclebi/jdk<chsdate isrocdate="False" islunardate="False" day="30" month="12" year="1899" w:st="on">1.5.0</chsdate>_15/bin:$PATH:$HOME/bin

DISPLAY=192.168.2.17:0.0 #设置连接到X服务的IP地址

export ORACLE_SID

export ORACLE_BASE

export ORACLE_HOME

export ORACLEBI_HOME

export JAVA_HOME

export PATH

export DISPLAY

如果以 root 身份在 Solaris Linux 平台上安装,有时安装程序无法在 GUI 模式下正常启动,会出现以下消息:

The installer is unable to run in graphical mode.Try running the installer with the -console or -silent flag

如果未设置 DISPLAY 变量,则即使在本地计算机上运行安装程序也会出现此消息。

解决方案:如果在本地计算机上运行,请确保将 DISPLAY 变量设置为 :0.0

n 修改ulimit限制

$ ulimit –n unlimited

查看当前设置

$ ulimit

Unlimited

n 上传安装文件/home/oraclebi/bisetup解压

$cpio –idvm < biee_linux_x86_redhat_101332_disk1.cpio

n 进入目录,执行UnixChk.sh,我这里执行报错,

CHECK FAILED - ulimit -n should be at least 10240 or unlimited

但实际查看ulimit是设置为unlimited的,继续安装。

n 创建目录/usr/local/OracleBI/usr/local/OracleBIData

修改所有者和组

# mkdir /usr/local/OracleBI

# mkdir /usr/local/OracleBIData

$ chown oraclebi:users /usr/local/OracleBI

$ chown oraclebi:users /usr/local/OracleBIData

安装步骤

n 执行./setup.sh开始安装

<?xml:namespace prefix = v /><shapetype id="_x0000_t75" coordsize="21600,21600" o:spt="75" o:preferrelative="t" path="m@4@5l@4@11@9@11@9@5xe" filled="f" stroked="f"><stroke joinstyle="miter"></stroke><formulas><f eqn="if lineDrawn pixelLineWidth 0"></f><f eqn="sum @0 1 0"></f><f eqn="sum 0 0 @1"></f><f eqn="prod @2 1 2"></f><f eqn="prod @3 21600 pixelWidth"></f><f eqn="prod @3 21600 pixelHeight"></f><f eqn="sum @0 0 1"></f><f eqn="prod @6 1 2"></f><f eqn="prod @7 21600 pixelWidth"></f><f eqn="sum @8 21600 0"></f><f eqn="prod @7 21600 pixelHeight"></f><f eqn="sum @10 21600 0"></f></formulas><path o:extrusionok="f" gradientshapeok="t" o:connecttype="rect"></path><lock v:ext="edit" aspectratio="t"></lock></shapetype><shape id="_x0000_i1025" style="WIDTH: 414.75pt; HEIGHT: 323.25pt" type="#_x0000_t75"><imagedata src="file:///C:%5CDOCUME~1%5CADMINI~1%5CLOCALS~1%5CTemp%5Cmsohtml1%5C01%5Cclip_image001.png" o:title=""></imagedata></shape>

n 下一步,选择路径需要注意,

<shape id="_x0000_i1026" style="WIDTH: 414.75pt; HEIGHT: 323.25pt" type="#_x0000_t75"><imagedata src="file:///C:%5CDOCUME~1%5CADMINI~1%5CLOCALS~1%5CTemp%5Cmsohtml1%5C01%5Cclip_image003.png" o:title=""><font size="3"></font></imagedata></shape>

n 选择基本安装,如果选择高级安装则需要先安装好application server,点击下一步

<shape id="_x0000_i1027" style="WIDTH: 414.75pt; HEIGHT: 323.25pt" type="#_x0000_t75"><imagedata src="file:///C:%5CDOCUME~1%5CADMINI~1%5CLOCALS~1%5CTemp%5Cmsohtml1%5C01%5Cclip_image005.png" o:title=""><font size="3"></font></imagedata></shape>

n 选择完全安装,点击下一步

<shape id="_x0000_i1029" style="WIDTH: 414.75pt; HEIGHT: 323.25pt" type="#_x0000_t75"><imagedata src="file:///C:%5CDOCUME~1%5CADMINI~1%5CLOCALS~1%5CTemp%5Cmsohtml1%5C01%5Cclip_image007.png" o:title=""><font size="3"></font></imagedata></shape>

n 选择JAVA_HOME/home/oraclebi/jdk<chsdate isrocdate="False" islunardate="False" day="30" month="12" year="1899" w:st="on">1.5.0</chsdate>_15

输入OC4J管理员的密码,这里输入oc4jadmin与用户名相同

点击下一步

<shape id="_x0000_i1030" style="WIDTH: 414.75pt; HEIGHT: 323.25pt" type="#_x0000_t75"><imagedata src="file:///C:%5CDOCUME~1%5CADMINI~1%5CLOCALS~1%5CTemp%5Cmsohtml1%5C01%5Cclip_image009.png" o:title=""><font size="3"></font></imagedata></shape>

n 选择错误信息的提示语言,这里选择英文这会影响NQSServer.log的显示,点击下一步

<shape id="_x0000_i1031" style="WIDTH: 414.75pt; HEIGHT: 323.25pt" type="#_x0000_t75"><imagedata src="file:///C:%5CDOCUME~1%5CADMINI~1%5CLOCALS~1%5CTemp%5Cmsohtml1%5C01%5Cclip_image011.png" o:title=""><font size="3"></font></imagedata></shape>

n 安装信息汇总提示,点击下一步,开始安装

<shape id="_x0000_i1032" style="WIDTH: 414.75pt; HEIGHT: 323.25pt" type="#_x0000_t75"><imagedata src="file:///C:%5CDOCUME~1%5CADMINI~1%5CLOCALS~1%5CTemp%5Cmsohtml1%5C01%5Cclip_image013.png" o:title=""><font size="3"></font></imagedata></shape>

n 安装进度条会突然跳到100%,但是并不意味着安装完成,要等一段时间后进入下一截面才算安装完成。

<shape id="_x0000_i1033" style="WIDTH: 414.75pt; HEIGHT: 323.25pt" type="#_x0000_t75"><imagedata src="file:///C:%5CDOCUME~1%5CADMINI~1%5CLOCALS~1%5CTemp%5Cmsohtml1%5C01%5Cclip_image015.png" o:title=""><font size="3"></font></imagedata></shape>

n 提示一些关于oc4j的信息

<shape id="_x0000_i1034" style="WIDTH: 414.75pt; HEIGHT: 323.25pt" type="#_x0000_t75"><imagedata src="file:///C:%5CDOCUME~1%5CADMINI~1%5CLOCALS~1%5CTemp%5Cmsohtml1%5C01%5Cclip_image017.png" o:title=""><font size="3"></font></imagedata></shape>

安装后工作

n 修改user.sh,取消相应段的注释。

###############################################################

# Linux: Oracle BI 32 bit mode

################################################################

set +u

# Oracle Parameters

#---------------------------

# Make sure that Oracle DB 32 bit Client is installed

ORACLE_HOME=/u01/app/oracle/oracle/product/<chsdate isrocdate="False" islunardate="False" day="30" month="12" year="1899" w:st="on">10.2.0</chsdate>/db_1

export ORACLE_HOME

TNS_ADMIN=$ORACLE_HOME/network/admin

export TNS_ADMIN

PATH=$ORACLE_HOME/bin:/opt/bin:$PATH

export PATH

LD_LIBRARY_PATH=$ORACLE_HOME/lib:$LD_LIBRARY_PATH

export LD_LIBRARY_PATH

n 检查BI 进程是否能正常启动

Oracle Business Intelligence Server process.(run-sa.sh)

Oracle Business Intelligence Presentation Services process.(run-saw.sh)

Oracle Business Intelligence Javahost process.(run-saw.sh)

Oracle Business Intelligence Scheduler process.(run-sch.sh)

Oracle Business Intelligence Cluster Controller.(run-ccs.sh)

./run-sa.sh start

./run-saw.sh start

./run-sch.sh start

./oc4j –start

停止oc4j

./oc4j –shutdown –port 23791 –password oc4jadmin

后台运行oc4j脚本

$ nohup ./oc4j –start > /tmp/a.log &

$ tail –f /tmp/a.log

n 验证

http://192.168.131.240:9704/analytics 登录,administrator/administrator

如果能正常显示则说明安装成功。

<shape id="_x0000_i1028" style="WIDTH: 414.75pt; HEIGHT: 323.25pt" type="#_x0000_t75"><imagedata src="file:///C:%5CDOCUME~1%5CADMINI~1%5CLOCALS~1%5CTemp%5Cmsohtml1%5C01%5Cclip_image019.png" o:title=""><font size="3"></font></imagedata></shape>

Unix下配置Scheduler的过程和出现的问题

n 创建数据库用户S_NQ_SCHED/S_NQ_SCHED

n sqlplus连接到用户下,执行SQL语句,$ORACLEBI_HOME/server/Schema/SAJOBS.Oracle.sqlSAACCT.Oracle.sql

n 提示DSN的错误,需要修改odbc.ini

增加一个DSN的设置,

配置管理员名字和管理员密码,与rpd的一致

odbc.ini文件的内容

[ODBC Data Sources]

AnalyticsWeb=Oracle BI Server

Cluster=Oracle BI Server

SSL_Sample=Oracle BI Server

131.240=libnqsdbgatewayoci<chmetcnv w:st="on" tcsc="0" numbertype="1" negative="False" hasspace="False" sourcevalue="10" unitname="g">10g</chmetcnv>.so

[131.240]

Driver=/usr/local/OracleBI/server/Bin/libnqsdbgatewayoci<chmetcnv w:st="on" tcsc="0" numbertype="1" negative="False" hasspace="False" sourcevalue="10" unitname="g">10g</chmetcnv>.so

Description=test data source

ServerMachine=192.168.131.240

DBCName=192.168.131.240

Username=S_NQ_SCHED

Password=S_NQ_SCHED

Database=orcl

DefaultDatabase=orcl

$. sa-init.sh

$schconfig

database中配置DNS131.240

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
Oracle Business Intelligence Enterprise Edition 12c - Second Edition by Adrian Ward English | 20 Apr. 2017 | ASIN: B01N56LXID | 578 Pages | AZW3 | 29.96 MB A comprehensive guide from Oracle experts, that will act as your single point of reference for building an Oracle BI 12c system that turns data in actionable insight. About This Book Come, start your first Oracle Business intelligence system and excel in BI with this exhaustive guide An all-encompassing guide for your Oracle business intelligence needs Learn from the self-paced professional guidance and implement Oracle business intelligence using this easy-to-follow guide by our experts Who This Book Is For If your job includes working on data, improving the financial or operational performance of your organization or you are a consultant for the above, then this book is for you. If you have been placed on a business intelligence project, then this book is for you. If you are the Project Manager, Business Analyst or Data Scientist then this book is for you. If you are an end user of Oracle Business Intelligence, then this book is for you too. Having a basic understanding of databases and the use of Business Intelligence is expected, but no knowledge of Oracle BI is required. What You Will Learn Install OBIEE in Windows, including how to create the underlying Weblogic Application server and the required database Build the BI system repository, the vital engine connecting your data to the front end of Oracle BI Develop effective analysis, draw out meaning from the data, and present it to end users on interactive dashboards Build pixel-perfect, printable reports using the embedded BI Publisher feature Build agents for actionable insight and enable your users to act on Business Intelligence at their desktop or on the move Understand the various aspects of securing the Oracle BI system, from data restrictions to whole dashboard access rights Get acquainted with the system management tools and methods available for the continuous improvement of your system In Detail Oracle Business Intelligence Enterprise Edition (OBIEE) 12c is packed full of features and has a fresh approach to information presentation, system management, and security. OBIEE can help any organization to understand its data, to make useful information from data, and to ensure decision-making is supported by facts. OBIEE can focus on information that needs action, alerting users when conditions are met. OBIEE can be used for data analysis, form production, dashoarding, and workflow processes. We will introduce you to OBIEE features and provide a step-by-step guide to build a complete system from scratch. With this guide, you will be equipped with a good basic understanding of what the product contains, how to install and configure it, and how to create effective Business Intelligence. This book contains the necessary information for a beginner to create a high-performance OBIEE 12c system. This book is also a guide that explains how to use an existing OBIEE 12c system, and shows end users how to create. Style and approach This book will take you from one feature to another in a step-by-step manner and will teach how you can create effective business intelligence using Oracle Business Intelligence Enterprise Edition. You will be taught how to create BI solutions and dashboards from scratch. There will be multiple modules in the book, each module spread in chapters, that will cover one aspect of business intelligence in a systematic manner.

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值