Tuxedo实时接口系统安装手册

合集下载

Tuxedo安装及试用

Tuxedo安装及试用

Tuxedo软件安装及使用1前言Tuxedo是ORACLE公司的分布式运算环境下开发和管理三层客户/服务器结构应用系统的中间件产品,具备分布式事务处理和应用通信功能,并提供完善的各种服务来建立、运行和管理关键任务应用系统。

Tuxedo屏蔽分布式环境中各种通信协议、硬件体系结构、操作系统、数据库和其它应用服务等方面的差异,使得分布于网络节点上的应用程序的各个单元部件之间能够进行互操作,并协调操作的一致性和完整性,最大限度地节省系统资源,提高系统性能。

开发人员能够用它建立跨多个硬件平台、数据库和操作系统的可互操作的分布式应用系统,因而广泛地应用于金融、电信、制造业等各行各业的核心业务系统。

本文简要介绍Tuxedo的安装和使用,使得读者可以快速入门。

2软件安装为避免多机部署时可能出现的用户组、用户、目录位置问题,建议各机器的安装tuxedo 的用户组、用户名、目录位置均相同。

各资源规划如下表:2.1创建组及用户为避免安全性问题,应创建专属的用户和用户组运行tuxedo,并不得使用root。

本文档假定用户名是tuxedo,用户组也是tuxedo。

(1)创建tuxedo组;(2)创建tuxedo用户;(3)设置tuxedo用户登录密码;(4)创建安装目标目录并授权。

2.2安装GCCTuxedo示例程序使用C语言编写,为编译示例程序,需安装C语言开发环境。

将安装光盘介质mount到操作系统相应目录(如/media)后,参考下列命令安装开发环境。

安装开发环境的详细命令,可以参考操作系统相关手册。

2.3安装JRETuxedo的安装包需要JRE才能运行,因此需要先安装JRE,并设置JA V A_HOME环境变量指向新安装的JRE,设置PA TH添加java所在的目录。

本文档选择JDK的server-rumtime 版本作为JA V A运行环境。

(1)上传安装包server-jre-8u162-linux-x64.tar.gz到/tmp。

第一次安装tuxedo for linux 全过程

第一次安装tuxedo for linux 全过程
Preparing to install...
/tmp/install.dir.22860/Linux/resource/jre/bin/i386/native_threads/java: error while loading shared libraries: libstdc++-libc6.1-1.so.2: cannot open shared object file: No such file or directory
The included VM could not be uncompressed. Please try to download
the installer agng 'binary'
mode. Please do not attempt to install this currently downloaded copy.
解决办法:
ubb文件中主机名大小写弄错,即ubb文件中主机名要与实际相一致,包括大小写,改正即可
出错9------------------------------------------------------------------
[tuxedo@TUXSVR4 tuxedo]$ tmboot -y
参考:
https:///archives/fedora-list/2004-July/msg00315.html
出错4-----------------------------------------------------------------
Xlib: connection to ":0.0" refused by server

TUXEDO教程

TUXEDO教程
TUXEDO教程 TUXEDO教程
2003.8
1.中间件 1.中间件
定义:中间件是一种独立的系统软件或服务程序,分布式应用软件借助这种软件在不 同的技术之间共享资源,中间件位于客户机服务器的操作系统之上,管理计算资源和 网络通讯 。 工作机制:客户端上的应用程序需要从网络中的某个地方获取一定的数据或服务,这 些数据或服务可能处于一个运行着不同操作系统和特定查询语言数据库的服务器中。 而C/S应用程序中负责寻找数据的部分只需访问一个中间件系统,由中间件完成到网络 C/S应用程序中负责寻找数据的部分只需访问一个中间件系统,由中间件完成到网络 中找到数据源或服务,进而传输客户请求、重组答复信息,最后将结果送回应用程序对象请求代理的标准,分别是CORBA和DCOM
事务处理中间件(TPM, Monitor) 事务处理中间件(TPM,Transaction Processing Monitor) IBM cics Bea Tuxedo
2.Tuxedo简介 2.Tuxedo简介
1.中间件(续) 1.中间件( 中间件
中间件的分类 :
数据库中间件(DM,Database Middleware) Middleware) 数据库中间件(DM,
ODBC是一种基于数据库的中间件标准 ODBC是一种基于数据库的中间件标准
远程过程调用中间件( Call) 远程过程调用中间件(RPC, Remote Procedure Call) 面向消息中间件(MOM, Middleware) 面向消息中间件(MOM,Message Oriented Middleware) IBM MQ 基于对象请求代理(ORB, Broker) 基于对象请求代理(ORB,Object Request Broker)的中间件

TUXEDO中间件安装手册

TUXEDO中间件安装手册

全国邮政综合计算机网应用软件系统版本号:V1.00 文档编号:邮区中心局生产系统TUXEDO中间件安装手册方正奥德计算机系统有限公司二○○三年五月文档管理信息表文档修改记录目录1TUXEDO安装环境 (4)1.1 服务端 (4)1.2 客户端 (4)2安装步骤 (4)2.1 安装T UXEDO8.0 FOR L INUX: (4)2.1.1用Tuxedo8.0 for Linux光盘进行安装: (4)2.1.2用Tuxedo8.0 for Linux 的tar 包进行安装 (4)2.2配置UBB文件(有关各参数的详细说明请参阅有关文档) (5)3相关设置 (6)3.1 SERVER端环境变量(在用户环境变量中加入以下设置) (7)3.2CLIENT端环境变量(在用户环境变量中加入以下设置) (8)1Tuxedo安装环境1.1 服务端操作系统:RedFlag Linux网络协议:TCP/IPTuxedo版本: BEA Tuxedo8.0 for Linux1.2 客户端操作系统:RedFlag Linux网络协议:TCP/IPTuxedo版本: BEA Tuxedo8.0 for Linux2 安装步骤2.1 安装Tuxedo8.0 for Linux2.1.1 用Tuxedo8.0 for Linux光盘进行安装2.1.1.1 CLIENT的安装a.先建一tuxedo用户;b.插入tuxedo's sdk盘,mount上之后;c.执行./LinuxTuxedo80.bin。

按界面提示操作即可完成安装。

2.1.1.2 SERVER的安装a.先建一tuxedo用户;b.插入tuxedo's sdk盘,mount上之后;c.执行./LinuxTuxedo80.bin。

按界面提示操作即可完成安装。

2.1.2 用Tuxedo8.0 for Linux的tar 包进行安装a.先建一tuxedo用户;b.将tuxedo8.0 for linux 的tar 包(假定名称为tuxedo8.0.tar.gz) ftp 至tuxedo用户的$HOME下;c.以tuxedo 的用户执行tar zxvf tuxedo8.0.tar.gz ,解开压缩包。

Tuxedo 功能说明书

Tuxedo 功能说明书

Tuxedo功能说明书说明:本说明书是为了适应光大银行的要求,为光大银行提供有关Tuxedo 功能的简要说明列表。

一、交易处理服务1.交易完整性保证机制●当应用系统只有局部事务、没有全局事务时,Tuxedo直接利用数据库的事务处理功能(用或不用XA),这样可提高系统性能。

●当应用系统涉及跨多个资源数据库(同构或异构)的全局事务的时,Tuxedo利用XA标准和两阶段提交协议,通过事务管理器,协调各个数据库的同步。

Tuxedo还可保证可靠性队列/Q 的入出队操作和数据库的更新操作的同步。

在各种情况下,Tuxedo能够确保异构的(或者同构的)数据库以及它资源管理器之间的完整性和一致,并且还在出现节点故障、网络故障或全局资源死锁时利用内部的交易日志来协调全局事务的恢复。

2.交易优先级请求优先级是Tuxedo的事务管理器提供的另一个核心能力。

当某一服务有比其他服务更高的优先级时,服务器在处理请求时,就不再单纯的按照请求在队列中的先后顺序处理,而是按优先级来定。

请求优先级越高的越早被处理。

为了防止低优先级请求总是得不到服务,服务器每隔十个请求,就按FIFO次序进行一次请求选择。

二、可管理性TUXEDO的三层逻辑结构提供了对应用程序高度的可管理性。

它以业务逻辑层为管理的主要对象,把基本业务组件即服务进程的服务做为管理的基本单位。

应用系统由一些基本的组件即服务构成,这样它的易理解、易修改、易扩充等需求都得到保证。

TUXEDO提供一个基于普通WEB浏览器的GUI管理工具,也可根据用户需要提供基于X Window/ Motif 的GUI管理工具;还提供综合性的字符型管理命令;并且提供一个管理信息库(MIB)和编程接口,使用户可根据特定需求编写自己的管理工具。

TUXEDO 的关联产品BEA MANAGER 通过网络管理协议SNMP和TUXEDO的管理信息库MIB可以把TUXEDO对应用程序的管理集成到一般的网络、数据库系统管理工具中,比如OpenView, NetView 等。

tuxedo安装手册

tuxedo安装手册

Tuxedo安装我用的是radhat5.0配置环境:1,首先要创建一个用户(我这里是tuxedo,密码123)2,防火墙什么的必须要关配置:在根目录里面打setup3,要改一个主机名主机名改动配置文件:/etc/hosts 直接添加一个主机名(我这里是info)命令:vim /etc/hosts/etc/sysconfig/network 把文件直接修改成info命令:vim /etc/sysconfig/network4,需要安装gcc环境这个可能有依赖包,但是耐心点一定能装完,知道打rpm –ivh gcc*出现下面的界面就说明安装好了5;把tuxedo111120_32_Linux_01_x86.bin 文件传到/home/tuxedo文件下记得改一下权限chmod 777 tuxedo111120_32_Linux_01_x86.bin传完之后reboot启动一下系统Tuxedo安装然后用tuxedo用户登录(这里必须用tuxedo用户安装这个文件)执行:./ tuxedo111120_32_Linux_01_x86.bin –i console第一项是选择语言:1这个是按enter继续按1选择完全安装,按1选择创建一个oracle目录下面是写路径/dev/tuxedo/tux -------------tux是我创建的这个文件夹名字这个选择2,确定选择创建的文件路径下面选择y,确认然后就开始安装了这个是为tuxedo创建密码我写的是tuxedo这个地方是说你的服务器是否要安装SSL,我们就不安装了选择2(NO)就可以了,如果你需要SSL 支持你可以选择,这里我就省略了。

这样tuxedo就算安装好了环境变量配置进入配置文件cd /home/tuxedo/tux/tuxedo11gR1下面我们为tuxedo成功启动做一个服务在/home/tuxedo/tux/tuxedo11gR1 目录下创建一个目录Mkdir Myserver将/home/tuxedo/tux/tuxedo11gR1/samples/atmi/simpapp中的所有文件拷贝到Myserver目录下cp samples/atmi/simpapp/* Myservercp ./tux.env ./Myserver/进入Myserver文件夹Cd Myserver编译vim tux.env添加行:TUXCONFIG=/home/tuxedo/tux/tuxedo11gR1/Myserver/tuxconfig ; export TUXCONFIG编译vim ubbsimple第一个是Ipckey 改成123456第二个就是路径了第三个就是主机名改写第四个就是修改vim /home/tuxedo/.bash_profile 文件里面加载一下TUXCONFIG=”/home/tuxedo/tux/tuxedo11gR1/Myserver/tuxconfig”现在reboot重新启动一下还是用tuxedo进入进入目录cd /home/tuxedo/tux/tuxedo11gR1/Myserver 下面先运行一下tux.env文件. ./tux.envbuildserver -o simpserv -f simpserv.c –s TOUPPER buildclient -o simpcl -f simpcl.c如果出现下面的情况就说明好了下面启动服务试试看加载ubbsimple文件tmloadcf –y ubbsimple 启动tuxedo程序tmboot –y这样的就成功了./simpcl Jianheng这就成功了进入管理界面Tmadminpsc查看服务运行状况psr查看服务程序运行状况这就是弄成了,你可以看一下效果。

linux系统tuxedo安装指导

linux系统tuxedo安装指导

[置顶]Linux系统下Tuxedo安装Linux系统下Tuxedo安装1. 在Linux 环境中新建一个用户tuxdeo/tuxdeo,从网上下载支持该Linux系统的tuxedo软件包。

2. 将文件通过ftp ,U盘或其他方式将软件包传到该用户的目录下/home/tuxedo/tuxedo111120_32_Linux_01_x86.bin执行sh tuxedo111120_32_Linux_01_x86.bin –i console命令开始安装tuxedo3. 安装开始进入如下界面,按Enter键继续:4. 选择安装设置,选择1- Full Instll,完全安装模式,按Enter键继续。

5. 选择tuxedo安装所放的路径/home/tuxedo/oracle6. 确定安装目录,还是要修改安装目录,选择2 ,选择现在的目录。

7. 显示之前选择的安装信息,按Enter键继续。

8. 准备安装,按Enter键继续。

9. 安装中出现,Configure tlisten Service,输入密码tuxedo10. 选择安装SSL,选择1,按Enter键继续11. 设置LDAPLDAP Service Name:LdapserLDAP PortID: 123456LDAP BaseObject: LdapbsojLDAP Filter File Location:按Enter 键继续12. 安装成功,按Enter键继续13. 接下来要用例子检查服务的联通性,在装完tuxedo的目录下有个文档里有tuxedo例子/home/tuxedo/oracle/tuxedo11gR1/samples1). 在目录/home/tuxedo/oracle/tuxedo11gR1/下有个tux.env文件,将该文件拷贝到该用户根目录下的 .bash_profile文件中,用命令source .bash_profile使环境变量生效,再注销系统,重新登陆。

TUXEDO安装部署使用排错文档

TUXEDO安装部署使用排错文档

TUXEDO安装部署使用排错文档
一、TUXEDO安装步骤:
1、使用root账号登录服务器,将安装包上传到服务器;
2、使用gunzip进行安装包解压,并使用tar格式安装;
4、在/usr/lib目录下,创建一个属于tuxedo自身的安装目录,并将安装包解压到指定的安装目录下;
5、拷贝编译参数,全选安装,选择正确版本;
6、执行makeml安装脚本,此时,系统会在/usr/lib/tuxedo下生成一个tuxedo11g.
10、最后,使用tmadmin启动TUXEDO;
二、TUXEDO使用方法
使用TUXEDO,可以实现负载均衡,并发支持,进程管理,安全服务等功能。

TUXEDO使用过程如下:
1、配置TUXEDO服务端:首先配置服务端环境,然后在一台服务器上配置TUXEDO服务;
2、配置TUXEDO客户端:配置客户端环境,配置TUXEDO客户端,并实现与服务端的连接;
3、测试TUXEDO服务:使用TUXEDO调试程序,测试TUXEDO客户端是否可以与TUXEDO服务器正常通信;
4、启动TUXEDO服务:使用tmadmin管理工具,启动TUXEDO服务,实现进程管理,负载均衡等功能;。

TUXEDO教程

TUXEDO教程

TUXEDO教程TUXEDO(The UniX Environment Developed for Operation)是一个基于UNIX的操作系统,它主要用于日常办公和个人使用。

TUXEDO具有简洁、稳定、高效的特点,而且非常容易上手。

在本教程中,我将为大家介绍TUXEDO的基本操作和一些常用功能。

第一部分:TUXEDO的安装和设置第二步:设置TUXEDO安装完成后,你需要对TUXEDO进行一些基本的设置。

例如,你可以设置语言和时区,还可以选择你喜欢的桌面环境。

在这一步,你应该根据自己的需求进行个性化设置。

第二部分:TUXEDO的基本操作1.系统登录启动TUXEDO后,你将会看到一个登录界面。

输入你的用户名和密码,然后点击登录按钮,你就可以进入系统了。

2.桌面环境3.文件管理在TUXEDO中,你可以使用Nautilus(GNOME)、Dolphin(KDE Plasma)等文件管理器来浏览你的文件夹和文件。

你可以通过双击文件夹打开它,或者使用右键菜单进行一些操作,比如复制、剪切、重命名等。

4.应用程序的安装和卸载5.系统更新6.终端操作TUXEDO提供了一个终端,你可以使用它来进行一些高级操作,比如安装软件包、管理用户、执行命令等。

通过打开终端,你可以输入一些命令来完成你想要的操作。

例如,你可以使用“sudo apt-get install<package>”来安装软件包。

第三部分:TUXEDO的高级功能1.多用户管理2.网络设置3.数据备份和恢复在TUXEDO中,你可以使用备份工具来备份你的重要文件和数据。

通过备份工具,你可以选择要备份的文件和文件夹,然后设置备份的位置和计划。

当你需要恢复数据时,只需使用备份工具来选择要恢复的文件和备份位置即可。

4.安全和隐私总结:通过这个教程,你应该已经了解了TUXEDO的基本操作和一些常用功能。

希望这个教程能够帮助你更好地使用TUXEDO,并享受到它简洁、稳定和高效的特点。

tuxedo配置维护手册

tuxedo配置维护手册

Tuxedo 配置维护手册Tuxedo 作为系统的中间件,其配置主要包括:资源文件的配置和应用环境的配置;其管理和维护主要包括:系统的启动和关闭、日志的跟踪查看工作。

Tuxedo应用系统的配置一、应用系统的资源配置,全都包含在两个资源配置文件中(ubbconfig 和dmconfig ),在这两个配置文件中包含了系统所有的应用资源(文件)。

1、对于ubbconfig文件,可以任意使用一个文件名(如:ubb.txt),使用一种文本编辑工具,将应用系统的资源分类进行配置,相关进程启动数量等等都应该配置在其中,然后设置环境变量TUXCONFIG,使用系统命令:tmloadcf 来将文本文件ubb.txt,转化生成环境变量TUXCONFIG制定的二进制文件。

在该文件中主要包含了几个参数的设置:系统所使用的共享内存的键值IPCKEY,针对workstation客户端的监听进程的端口(WSL),多台机器之间互连(登记中心与各网关)的网络地址和端口(NADDR,NLSADDR),数据依赖路由的设定等等。

详细的内容参看《Ubbconfig配置.doc》参看模版来实现移植或添加应用进程等等。

2、对于dmconfig文件,可以任意使用一个文件名(如:dm.txt),使用一种文本编辑工具,将应用系统的多域互联及互相调用的关系进行配置,包括多域之间互联的地址和端口,然后使用系统命令:dmloadcf 来将文本文件dm.txt,转化成环境变量BDMCONFIG所指定的二进制文件。

在该文件中主要包含了在多个域互连时用到的一些设置,主要包括:各个域的定义,各个域通讯连接的地址和端口(NWADDR),本地服务(DM_LOCAL_SERVICES)和远端服务(DM_REMOTE_SERVICES)以及数据依赖路由等等。

详细的内容参看《dmconfig配置.doc》参看模版来实现移植或添加应用远端或本地服务等等。

3、客户端代码:是指使用编译工具buildclient编译生成的执行代码。

TUXEDO三层程序安装、配置及开发流程

TUXEDO三层程序安装、配置及开发流程

三层改造程序安装、配置及开发第一部分前台的安装和配置一、TUXEDO安装插入安装盘,运行setup,按照安装程序的提示进行安装,使用缺省路径,安装在C:\TUXEDO下。

二、TUXEDO安装后的配置1、win98,win95的配置点击开始菜单中的“运行”,键入“sysedit”,回车后,在AUTOEXEC.BAT 文件中配置以下环境参数:SET TUXDIR=C:\TUXEDO(按缺省安装配置)SET LIB=C:\Program files\BEA SYSTEMS\TUXEDO\LIB(按缺省安装配置)SET INCLUDE=C:\TUXEDO\INCLUDE(按缺省安装配置)SET WSNADDR=//192.168.100.57:10000(按实际情况填写)在Path中加入"C:\TUXEDO\BIN";CY注:安装目录最好不要有空格,例如C:\TUXEDO而不要用C:\ Program files\BEA SYSTEMS\TUXEDO,带空格的路径AUTOEXEC.BAT可能不认,造成找不到wtuxws32.dll的错误。

配置完毕后,重起机器,看看MSDOS中相应变量是否也已设置,若没有,则在DOS下也进行相应的设置,重起机器。

2、winNT的配置右击“我的电脑”,点属性,选择菜单,“用户配置文件”,选择相应的用户,再点“环境”菜单,设置环境参数:TUXDIR=C:\TUXEDO(按缺省安装配置)LIB=C:\TUXEDO\LIB(按缺省安装配置)INCLUDE=C:\TUXEDO\INCLUDEWSNADDR=//192.168.100.57:10000(按实际情况填写,参照ubb)在Path中加入C:\TUXEDO\BIN;不用重新启动机器。

3、注意!!!!经过以上设置,如果win98和95还是找不到tuxedo所提供的一些函数,这时,设置查看为“显示所有文件包括隐藏文件”,将\TUXEDO\BIN\wtuxws32.dll 拷贝到windows目录下,即可。

Oracle Tuxedo Application Runtime for IMS安装指南说明书

Oracle Tuxedo Application Runtime for IMS安装指南说明书

Oracle Tuxedo Application Runtime for IMS Installation Guide12c Release 1 (12.1.1)September 2013Oracle Tuxedo Application Runtime for IMS Installation Guide, 12c Release 1 (12.1.1)Copyright © 2012, 2013 Oracle and/or its affiliates. All rights reserved.This software and related documentation are provided under a license agreement containing restrictions on use and disclosure and are protected by intellectual property laws. Except as expressly permitted in your license agreement or allowed by law, you may not use, copy, reproduce, translate, broadcast, modify, license, transmit, distribute, exhibit, perform, publish, or display any part, in any form, or by any means. Reverse engineering, disassembly, or decompilation of this software, unless required by law for interoperability, is prohibited.The information contained herein is subject to change without notice and is not warranted to be error-free. If you find any errors, please report them to us in writing.If this is software or related documentation that is delivered to the U.S. Government or anyone licensing it on behalf of the U.S. Government, the following notice is applicable:U.S. GOVERNMENT END USERS: Oracle programs, including any operating system, integrated software, any programs installed on the hardware, and/or documentation, delivered to U.S. Government end users are "commercial computer software" pursuant to the applicable Federal Acquisition Regulation and agency-specific supplemental regulations. As such, use, duplication, disclosure, modification, and adaptation of the programs, including any operating system, integrated software, any programs installed on the hardware, and/or documentation, shall be subject to license terms and license restrictions applicable to the programs. No other rights are granted to the U.S. Government.This software or hardware is developed for general use in a variety of information management applications. It is not developed or intended for use in any inherently dangerous applications, including applications that may create a risk of personal injury. If you use this software or hardware in dangerous applications, then you shall be responsible to take all appropriate fail-safe, backup, redundancy, and other measures to ensure its safe use. Oracle Corporation and its affiliates disclaim any liability for any damages caused by use of this software or hardware in dangerous applications.Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners.This software or hardware and documentation may provide access to or information on content, products, and services from third parties. Oracle Corporation and its affiliates are not responsible for and expressly disclaim all warranties of any kind with respect to third-party content, products, and services. Oracle Corporation and its affiliates will not be responsible for any loss, costs, or damages incurred due to your access to or use of third-party content, products, or services.Oracle Tuxedo Application Runtime for IMS Installation Guide Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1 System Requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2 Supported Platforms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2 Installing on UNIX Platforms in Graphics Mode . . . . . . . . . . . . . . . .2 Uninstall GUI Mode. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3 Installing on UNIX Platforms in Console Mode . . . . . . . . . . . . . . . .4 Installing on UNIX Platforms in Silent Mode. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .8 Installing in Silent Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .9Uninstall Silent Installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .9 See Also. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .9 Supported PlatformsSupported Platform Data Sheets . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2 IBM AIX 6.1 (64-bit) on IBM PowerPC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2IBM AIX 7.1 (64-bit) on IBM PowerPC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2Novell SUSE Linux Enterprise Server 10 SP2 (64-bit) on s390x . . . . . . . . . . . . . . . . .2Novell SUSE Linux Enterprise Server 11 (64-bit) on x86-64 . . . . . . . . . . . . . . . . . . . .3Oracle Enterprise Linux 5.6 (64-bit) on x86-64. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3Oracle Linux 5.6 (64-bit) on Exalogic 2.0. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3Oracle Solaris 10 (64-bit) on Sparc . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3Oracle Solaris 11 (64-bit) on Sparc . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3Red Hat Enterprise Linux 6.3 (64-bit) on s390x . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3Red Hat Enterprise Linux 5.6 (64-bit) on x86-64 . . . . . . . . . . . . . . . . . . . . . . . . . . . . .4Oracle Tuxedo Application Runtime for IMS Installation Guide iiiiv Oracle Tuxedo Application Runtime for IMS Installation GuideOracle Tuxedo Application Runtime for IMS Installation GuideThis chapter contains the following topics:z Overviewz System Requirementsz Supported Platformsz Installing on UNIX Platforms in Graphics Modez Installing on UNIX Platforms in Console Modez Installing on UNIX Platforms in Silent ModeOverviewOracle Tuxedo Application Runtime for IMS (Tuxedo ART for IMS) software is distributed as an installer file which can be executed on UNIX platforms using any of the following threemethods:z Graphical user interface (GUI) installation.z Console installation.z Silent installation.The Tuxedo ART for IMS 12c Release 1 (12.1.1) distribution contains the following keycomponents:Oracle Tuxedo Application Runtime for IMS Installation Guide1Oracle Tuxedo Application Runtime for IMS Installation Guidez Tuxedo ART for IMS administrative utilitiesz Tuxedo ART for IMS sample applications (optionally installed)Tuxedo ART for IMS is installed in the <ORACLEHOME>/artims12110 directory by default. System Requirementsz JRE version 1.5.0 or aboveSupported Platformsz AIX 6.1 64-bit on Powerz Linux 64-bit on x86_64 (Oracle Enterprise Linux 5.4 or Redhat Linux 5)z Oracle Linux 5.6 (64-bit) on Exalogic 2.0z Oracle Linux 5.6 (64-bit) on Non Exalogic Hardwarez Solaris 10 64-bit on SparcInstalling on UNIX Platforms in Graphics Mode To run GUI-mode installation, the computer console where you are installing the software must support a Java-based GUI.To install the Tuxedo ART for IMS software on UNIX systems in graphics mode, do the six following steps:unch the Tuxedo ART for IMS installation program.a.Log on as root or another user with sufficient permissions.b.Execute the installation program: ./installer_name.binThe Introduction screen appears.2.Click Next to proceed with the installation. The Choose Oracle Home Directory screenappears.You can select from the following options:a.Choose existing Oracle Home directory2Oracle Tuxedo Application Runtime for IMS Installation GuideUninstall GUI Mode Click the Choose an Oracle Home directory option button if you already have one ormore Oracle Home directories on your system. Select an Oracle Home directory fromthe list displayed to the right of the option buttons.All valid Oracle Home directories are displayed in this list. Valid Oracle Homedirectories are directories where Oracle products have been installed using the standard installation program.b.Specify Oracle Home directoryClick the Specify an Oracle Home directory button to enter a valid directory.Note:Tuxedo ART for IMS installation will report an error and will not proceed in the event of the following:If an existing Tuxedo ART for IMS 12c Release 1 (12.1.1) installation is detected,you are prompted to overwrite it or not. Select “yes” to overwrite the existinginstallation.3.Click Next to proceed with the installation. The Choose Install Folder screen appears.If the selected Oracle Home does not have Tuxedo ART for IMS 12.1.1.0 installed, you can modify the default install directory; otherwise the detected directory name issuggested. The default install directory is <ORACLEHOME>/artims12110.4.Click Next to proceed with the installation. The Sample Install Confirm screen appears.You are prompted to choose install samples or not.5.If the installation process continues, the Pre-Installation Summary screen appears.Review the summary information and click Install if the information is correct.Click Previous to go back and modify any input that you want to change.Click Cancel to terminate the installation process. This is the last chance you have tocancel your installation without copying any files on your target machine.6.The Install Complete screen appears when the installation is finished.Click Done to exit the installation program.Uninstall GUI ModeUnder <INSTALL_DIR>, there is a directory named 'uninstaller' which contains the uninstaller and resources specific to the un-installation of the product. To uninstall Tuxedo ART for IMS 12.1.1.0 in GUI mode, use the ./uninstall command.Oracle Tuxedo Application Runtime for IMS Installation Guide3Oracle Tuxedo Application Runtime for IMS Installation GuideInstalling on UNIX Platforms in Console Mode To install Tuxedo ART for IMS software in console mode on a certified UNIX platform, do the following steps:1.Log on as root or another user with sufficient permissions.2.Execute the installation program in character-based mode: ./installer_name.bin -iconsole3.The installation program runs and prompts you for responses as shown in Listing 1.Listing 1 Installation ProgramPreparing to install...Extracting the JRE from the installer archive...Unpacking the JRE...Extracting the installation resources from the installer archive...Configuring the installer for this system's environment...Launching installer...Preparing CONSOLE Mode Installation...========================================================================== =====Introduction------------InstallAnywhere will guide you through the installation ofOracle Tuxedo Application Runtime for IMS 12.1.1.0.It is strongly recommended that you quit all programs before continuing with this installation.Respond to each prompt to proceed to the next step in the installation. If you want to change something on a previous step, type 'back'.4Oracle Tuxedo Application Runtime for IMS Installation GuideInstalling on UNIX Platforms in Console ModeYou may cancel this installation by typing 'quit'.WARNING: "Quitting" creates an incomplete Oracle Tuxedo Application Runtime for IMS 12.1.1.0 installation.You must re-install Oracle Tuxedo Application Runtime for IMS 12.1.1.0.========================================================================== =====Choose Oracle Home----------------------------1- Choose existing Oracle Home directory2- Specify Oracle Home directoryEnter a number: 2Specify an Oracle Home directory: /home/user/oracle========================================================================== =====Choose Product Directory---------------------1- Modify Current Selection (/home/user/oracle/artims12110)2- Use Current Selection (/home/user/oracle/artims12110)Enter a number: 2========================================================================== =====Sample Install Confirm---------------------Install Samples?Oracle Tuxedo Application Runtime for IMS Installation Guide5Oracle Tuxedo Application Runtime for IMS Installation Guide->1- No2- YesENTER THE NUMBER OF THE DESIRED CHOICE, OR PRESS <ENTER> TO ACCEPT THE DEFAULT:========================================================================== =====Pre-Installation Summary------------------------Please Review the Following Before Continuing:Product Name:Oracle Tuxedo Application Runtime for IMS 12.1.1.0Install Folder:/home/user/oracle/artims12110Link Folder:/local/home/dxfRequired Space:83036116 bytesAvailable Space:23126462464 bytesPRESS <ENTER> TO CONTINUE:========================================================================== =====Installing...-------------=====Installation Complete---------------------6Oracle Tuxedo Application Runtime for IMS Installation GuideInstalling on UNIX Platforms in Console ModeCongratulations. Oracle Tuxedo Application Runtime for IMS 12.1.1.0 has been successfully installed to:/home/user/oracle/artims12110PRESS <ENTER> TO EXIT THE INSTALLER:Uninstall Console ModeUnder the <INSTALL_DIR>, there is a directory named 'uninstaller', which contains the uninstaller and resources specific to the un-installation of the product. To uninstall Tuxedo ART for IMS in console mode, use the./uninstall -i console command.About to uninstall screen: appears to prompt user the un-installation of the product starts.Uninstall Oracle Tuxedo Application Runtime for IMS 12.1.1.0----------------About to uninstall...Oracle Tuxedo Application Runtime for IMS 12.1.1.0This will remove features installed by InstallAnywhere. It will not remove files and folders created after the installation.PRESS <ENTER> TO CONTINUE:Uninstall screen: This screen simply shows the uninstall procedure item by item.Uninstalling ...---------------***************************************************************************************************...*Oracle Tuxedo Application Runtime for IMS Installation GuideUninstall Complete screen: After un-installation finishes, this screen appears, and reports the un-installation summary.Uninstall Complete------------------All items were successfully Uninstall.Installing on UNIX Platforms in Silent ModePreparing for Silent Mode InstallationBefore you install Tuxedo ART for IMS, complete the following tasks:z Verify that enough disk space is available.z Verify the login ID has proper permission for silent installation.z Create a template file containing the required keyword settings.Creating a Silent Mode Installation Template FileTo create a template file for use in the silent installation process, you must use keywords as shown in Table 1.Table 1 Silent Mode Installation Template FileFor This Keyword…Enter The Following Value…INSTALLER_UI= The mode of installation. The only supported value is silent; do not modifythis value.ORACLEHOME=The full pathname of the Oracle Home directory of your choice.USER_INSTALL_DIR The full pathname of the installation directory.INSTALL_SAMPLES=Y|N Specifies whether sample applications are installed or not.OVERWRITE=Y|N If you are using silent mode installation over an existing version of Tuxedo ARTfor IMS, you must add this line to your template file.Any value other than "Y" or "y" will not overwrite the existing Tuxedo ART forIMS version and cancels the installation.Installing in Silent ModeSample UNIX TemplateINSTALLER_UI=silentORACLEHOME=/home/user/oracleUSER_INSTALL_DIR=/home/user/oracle/artims12110INSTALL_SAMPLES=YOVERWRITE=YInstalling in Silent ModeTo use silent mode installation on a UNIX system, you must do the following steps:1.Create a file containing the required variables set to valid data.2.At the command line prompt, go to the directory containing the installer executable.3.Enter the following command: ./installer_name.bin -f path/installer.dataNote:path is the full path to the variable data file and installer.data is the data file containing the required variables.Verifying Silent Mode InstallationYou can verify successful silent mode installation by checking the installation directory to see if all the Tuxedo ART for IMS binaries are listed.If silent mode installation fails, check the following log file:$HOME/ARTIMS_silent_install.log.Uninstall Silent InstallationUnder <INSTALL_DIR> there is a directory named 'uninstaller', which contains the uninstaller and resources specific to the un-installation of the product. To uninstall Tuxedo ART for IMS in silent mode, use the ./uninstall -i silent command.See Alsoz Oracle Tuxedo Application Runtime for IMS Users Guidez Oracle Tuxedo Application Runtime for IMS Reference GuideOracle Tuxedo Application Runtime for IMS Installation GuideA P P E N D I X Supported PlatformsTable A-1 lists Oracle Tuxedo Application Runtime for IMS 12c Release 1 (12.1.1) supported platforms.Table A-1 Oracle Tuxedo Application Runtime for IMS 12c Release 1 (12.1.1)Supported PlatformsPlatform GA Port/Post-GA Port &Certification Release Date OS EOL DateIBM AIX 6.1 (64-bit) on IBM PowerPC GA2012.08TBD IBM AIX 7.1 (64-bit) on IBM PowerPC GA2012.08TBD Novell SUSE Linux Enterprise Server 10SP2 (64-bit) on s390xPost-GA2014.01TBDNovell SUSE Linux Enterprise Server 11(64-bit) on x86-64GA2012.08TBDOracle Enterprise Linux 5.6 (64-bit) onx86-64GA2012.08TBD Oracle Linux 5.6 (64-bit) on Exalogic 2.0GA2012.08TBD Oracle Solaris 10 (64-bit) on SPARC GA2012.08TBD Oracle Solaris 11 (64-bit) on SPARC GA2012.08TBDSupported PlatformsSupported Platform Data Sheets IBM AIX 6.1 (64-bit) on IBM PowerPCThe software requirements for AIX 6.1 (64-bit) on IBM PowerPC are as follows:z MicroFocus COBOL 5.1/COBOL-IT Enterprise Edition 3.3.13zIBM XL C/C++ Enterprise Edition V10 or V11 for AIX or later compatible versionsIBM AIX 7.1 (64-bit) on IBM PowerPCThe software requirements for AIX 7.1 (64-bit) on IBM PowerPC are as follows:z MicroFocus COBOL 5.1/COBOL-IT Enterprise Edition 3.3.13zIBM XL C/C++ Enterprise Edition V10 or V11 for AIX or later compatible versionsNovell SUSE Linux Enterprise Server 10 SP2 (64-bit) on s390xThe software requirements for SUSE Linux Enterprise Server 10 SP2 (64-bit) on s390x are as follows:z MicroFocus COBOL 5.1/COBOL-IT Enterprise Edition 3.3.13zgcc 4.1.2Red Hat Enterprise Linux 5.6 (64-bit) on x86-64GA 2012.08TBD Red Hat Enterprise Linux 6.3 (64-bit) on s390xPost-GA2014.01TBDTable A-1 Oracle Tuxedo Application Runtime for IMS 12c Release 1 (12.1.1) Supported PlatformsPlatformGA Port/Post-GA Port & CertificationRelease DateOS EOL DateSupported Platform Data SheetsNovell SUSE Linux Enterprise Server 11 (64-bit) on x86-64 The software requirements for Novell SUSE Linux Enterprise Server 11 (64-bit) on x86-64 are as follows:z MicroFocus COBOL 5.1/COBOL-IT Enterprise Edition 3.3.13z gcc 4.3.2Oracle Enterprise Linux 5.6 (64-bit) on x86-64The software requirements for Oracle Enterprise Linux 5.6 (64-bit) on x86-64 are as follows: z MicroFocus COBOL 5.1/COBOL-IT Enterprise Edition 3.3.13z gcc 4.1.2Oracle Linux 5.6 (64-bit) on Exalogic 2.0The software requirements for Oracle Linux 5.6 (64-bit) on Exalogic 2.0 are as follows:z MicroFocus COBOL 5.1/COBOL-IT Enterprise Edition 3.3.13z gcc 4.1.2Oracle Solaris 10 (64-bit) on SparcThe software requirements for Oracle Solaris 10 (64-bit) on Sparc are as follows:z MicroFocus COBOL 5.1/COBOL-IT Enterprise Edition 3.3.13z C/C++ Sun Studio 12Oracle Solaris 11 (64-bit) on SparcThe software requirements for Oracle Solaris 11 (64-bit) on Sparc are as follows:z MicroFocus COBOL 5.1/COBOL-IT Enterprise Edition 3.3.13z C/C++ Sun Studio 12Red Hat Enterprise Linux 6.3 (64-bit) on s390xThe software requirements for Red Hat Enterprise Linux 6.3 (64-bit) on s390x are as follows:Supported Platformsz MicroFocus COBOL 5.1/COBOL-IT Enterprise Edition 3.3.13z gcc 4.4.6Red Hat Enterprise Linux 5.6 (64-bit) on x86-64The software requirements for Red Hat Enterprise Linux 5.6 (64-bit) on x86-64 are as follows: z MicroFocus COBOL 5.1/COBOL-IT Enterprise Edition 3.3.13z gcc 4.1.2。

Tuxedo完全操作手册

Tuxedo完全操作手册

Tuxedo完全操作⼿册⼀、tuxedo的配置1、展开tuxedo包,例如:/home/tuxedo2、配置ubbconfig⽂件在江苏建⾏是jsccb.ubb*RESOURCES*RESOURCES节包含整个应⽤范围的信息。

本节必须在配置⽂件第⼀节,不可缺少。

参数意义*RESOURCES *RESOURCES节IPCKEY 共享内存idUID TUXEDO管理员⽤户idGID TUXEDO管理员⽤户idPERM TUXEDO管理员组⽤户的权限MAXACCESSERS 服务端和客户端的最⼤进程数MAXSERVERS 限制可以启动服务总数MAXSERVICES 限制可以发布交易总数MASTER 指出主控节点的逻辑名,第⼆个是备份节点MODEL 应⽤构架,MP表⽰多机OPTIONS LAN,MIGRA TE表⽰是⼀个⽹络应⽤,服务可以移植到替代处理器上SECURITY 安全级别(5个)AUTHSVC 客户端可以通过交易“AUTHSVC”获得认证NOTIFY DIPIN,客户端通过dip-in收到⼴播通知SYSTEM_ACCESS PROTECTED,NO_OVERRIDE,应⽤代码不得⼲扰共享内存LDBAL 设Y则进⾏负载平衡MAXBUF[S]TYPE 数据缓冲类型及⼦类的最⼤数SCANUNIT 内部时间间隔单位,单位是秒SANITYSCAN 检索公告牌的内部时间间隔,单位是SCANUNITBLOCKTIME 交易超时时间,单位是SCANUNITBBLQUERY DBBL查询所有BLL的时间间隔DBBLWAIT DBBL等待BBL回应的超时时间MAXCONV 同时最⼤会话数jsccb.ubb的实例###################### RESOURCES SECTION ######################*RESOURCESIPCKEY 234567DOMAINID JSCCBMASTER SERVER1MAXSERVERS 900MAXSERVICES 2000CMTRET LOGGEDMODEL MPLDBAL YSECURITY NONEMAXGTT 500OPTIONS LANBLOCKTIME 12*MACHINES*MACHINES节包含应⽤有关的每个处理器的信息。

tuxedo配置和服务部署

tuxedo配置和服务部署

tuxedo配置和服务部署TUXEDO应用服务配置、部署手册1. WINDOWS环境下TUXEDO服务端应用程序的部署和配置1.1 tuxedo的安装确定安装介质(Tuxedo安装程序)运行Setup图表 -1 Tuxedo安装向导图表-2 Tuxedo安装向导点击“Next”,继续图表 -3 许可证协议选择“YES”,继续图表 -4:选择安装类型选择“Full Installation”,继续图表 -5 制定安装路径路径设为“d:\bea”,继续图表 -6 产品路径6.路径设为“d:\bea\tuxedo”,继续图表 -7安装程序开始拷贝文件等待安装程序拷贝文件。

图表 -8输入Listen password输入Listen password,输入两个相同的密码,“lp”,继续图表 -9安装SSL选择“NO”,继续图表-10:安装LDAP取安装程序的默认值,继续图表 -11:安装License 选择“no”,继续图表 -12:Tuxedo安装完毕安装完毕注意事项LIC的安装假设TUXEDO安装在d:\bea\tuxedo,在udataobj子目录中考入lic.txt1.2 应用程序的配置关于环境变量的配置,setenv.bat文件格式如下:rem Copyright (c) 1995 Novell, Inc.rem All Rights Reservedrem THIS IS UNPUBLISHED PROPRIETARY SOURCE CODE OFrem Novell, Inc.rem The copyright notice above does not evidence anyrem actual or intended publication of such source code.rem Copyright (c) 1995 Novell, Inc.rem All rights reservedrem ident "@(#) apps/simpapp/setenv.cmd $Revision: 1.1 $"set TUXDIR=d:\bea\tuxedoset WSNADDR=//10.233.128.18:8888set APPDIR=d:\ydlwset PATH=%TUXDIR%\bin;%APPDIR%;%PATH%set LIB=%LIB%;d:\Oracle\Ora9\precomp\lib\msvc;set TUXCONFIG=%APPDIR%\tuxconfigset FIELDTBLS32=qqdata,fhdata,yhfymx,comfldset FLDTBLDIR32=%APPDIR%;%TUXDIR%\udataobjcall %APPDIR%\VCVARS32.BAT需要注意的地方用红色标记,其中TUXEDO为tuxedo的安装主目录,APPDIR 为应用程序主目录,根据实际情况进行修改。

Tuxedo实时接口系统安装手册

Tuxedo实时接口系统安装手册

文件版本:V1.0目录1 概述 (4)1.1 目的 (4)1.2 适用范围 (4)2 安装环境 (4)2.1 软件环境 (4)2.2 硬件环境 (4)3 系统搭建 (4)4 应用程序安装 (4)4.1 服务端安装 (4)4.2 客户端安装 (6)5 参数配置 (7)5.1 服务端参数配置 (7)5.1.1 XA的配置(RM文件的修改及编译) (8)5.1.2 ubbconfig文件的设置及编译 (8)5.1.3 创建TLOG交易日志 (9)5.2 客户端参数配置 (10)5.2.1 数据库的配置 (10)5.2.2 INI文件的配置 (10)5.2.3 ubbconfig文件的设置及编译............................................. 错误!未定义书签。

5.3 编译服务端可执行程序 (12)5.4 启动服务端程序 (12)5.5 客户端启动指令 (12)5.6 监控配置 (13)5.6.1 注意 (13)5.6.2 Console监控 (13)5.6.3 web监控 (14)6 验证标准 (16)7 注意事项 (16)1概述1.1目的为了使用户掌握Tuxedo实时接口的安装过程,及参数的配置方法,方便用户使用Tuxedo实时接口模块。

1.2适用范围本文档只限于Tuxedo实时接口模块的使用。

2安装环境2.1软件环境LINUX。

2.2硬件环境3系统搭建参见<<Tuxedo系统管理指南.doc>>系统安装节4应用程序安装4.1服务端安装第一步:服务端的应用需要Oracle的支持。

Oracle8i以上版本客户端即可,需要在环境变量中设置ORACLE_HOME,以及在PATH和LD_LIBRARY_PATH加入响应的oracle 部分的内容。

第二步:在主机上建立一个server目录,将源代码放至该目录下。

第三步:设置Tuxedo服务端程序所需要的环境变量,在文件setenv.sh中。

linux下安装tuxedo-香水恋的日志-网易博客

linux下安装tuxedo-香水恋的日志-网易博客

linux下安装tuxedo-香水恋的日志-网易博客linux下安装tuxedo系统配置 2010-01-22 12:30:22 阅读27 评论0 字号:大中小订阅一.以root身份建立tuxedo用户,并以tuxedu用户登陆,此用户将做为以后tuxedo管理员,用户默认目录为/home/tuxedo;二.用FTP把安装文件(tuxedo81_linux.bin)和用户许可证书文件(lic.txt)传到/home/tuxedo目录中;三. 配置环境变量,.bash_profile文件,附文末;四.进入/home/tuxedo目录中,执行sh tuxedo81_linux.bin;出错1--------------------------------------------------[tuxedo@TUXSVR4 tuxedo]$ sh tuxedo81_linux.binPreparing to install...The included VM could not be uncompressed. Please try to downloadthe installer again and make sure that you download using 'binary'mode. Please do not attempt to install this currently downloaded copy.解决办法:脚本使用uncompress命令,但是linux下没有。

使用cp /bin/gunzip /bin/uncompress出错2----------------------------------------------------------------[tuxedo@TUXSVR4 tuxedo]$ sh tuxedo81_linux.binPreparing to install.../tmp/install.dir.22860/Linux/resource/jre/bin/i386/native_th reads/java: error while loading shared libraries: libstdc++-libc6.1-1.so.2: cannot open shared object file: No such file or directory解决办法:[root@TUXSVR4 root]# rpm -ivh /tmp/compat-libstdc++-7.3-2.96.118.i386.rpmwarning: /tmp/compat-libstdc++-7.3-2.96.118.i386.rpm: V3 DSA signature: NOKEY, key ID db42a60ePreparing... ############################ ############### [100%]1:compat-libstdc++ ##################################### ###### [100%]参考:/bbs/thread.jspa?forumID=4&threadID=13265&messageID =72337#72337/archives/fedora-list/2005-February/msg04944.html出错3-----------------------------------------------------------------[tuxedo@TUXSVR4 tuxedo]$ sh tuxedo81_linux.binPreparing to install...Error occurred during initialization of VMUnable to load native library:/tmp/install.dir.14985/Linux/resource/jre/jre/lib/i386/libjava.so: symbol __libc_wait,version GLIBC_2.0 not defined in file libc.so.6 with link time reference解决办法:(解决这个报错花费了最多的时间,最少半天功夫,寻找了很多资料,尝试来了各种办法才搞定,已经到了崩溃的边缘:)在tuxedo用户下执行gcc -shared -fpic -o libcwait.so libcwait.cchmod a+x /home/tuxedo/tuxedo81_linux.binLD_PRELOAD=/home/tuxedo/libcwait.so/home/tuxedo/tuxedo81_linux.bin注意,是将libcwtit.c编译成libcwait.so文件,libcwait.c下载地址ftp:///drepper/libcwait.c,另要确认安装了C语言编译工具gcc。

linux下tuxedo安装说明

linux下tuxedo安装说明

linux下tuxedo安装说明Tu某edo学习笔记看了很多网站的linu某下的安装说明,但是照做,不一定就能成功这次,亲自实践了一把做个总结1,有两个环节要注意,一个是.bah_profile,这个文件隐藏在你的用户根目录下比如用户是tu某edo,它就在/home/tu某edo/下,l.bah_profile可以看到L-all也可以看到这个文件用vi.bah_profile(注意前面有个小点哦)里面是相关的环境配置下面是.bah_profile文件#.bah_profile#Getthealiaeandfunctionif[-f~/.bahrc];then.~/.bahrcfi#Uerpecificenvironmentandtartupprogram PATH=$PATH:$HOME/bine某portPATHunetUSERNAMEBASH_ENV=$HOME/.bahrcHISTIGNORE=\]某:&:bg:fg\ORACLE_HOME=/home/oracle/product/9.2.0//oracle安装的路径ORACLE_OWNER=oracleORACLE_SID=ora9i#oracle版本ORACLE_BASE=/home/oracle#根安装路径NLS_LANG=AMERICAN_AMERICA.ZHS16CGB231280#上面是ORACLE的配置我们就不管了,下面是5行tu某edo必须的配置简单介绍一下TU某DIR是tu某edo的安装路径,就是装tu某edo的路径APPDIR是你要测试程序impapp的路径TU某CONFIG是tmloadcf–yubbimple的路径TLOGDEVICE 是存放日志的路径最后一句是e某port一下如果修改成功,你env命令一下,应该可以看到你修改后的内容TU某DIR=/home/tu某edo/tu某edo8.1APPDIR=/home/tu某edo/tu某edo8.1/impappTU某CONFIG=/home/tu某edo/tu某edo8.1/impapp/tu某configTLOGDEVICE=/home/tu某edo/tu某edo8.1/impapp/TLOGe某portTU某DIRAPPDIRTU某CONFIGTLOGDEVICE#说明完毕LD_LIBRARY_PATH=$ORACLE_HOME/lib:/ur/lib:$TU某DIR/lib:.NLS_PATH=$TU某DIR/locale/CLANG=Ce某portNLS_PATHLANG#引入e某portORACLE_OWNERORACLE_SIDORACLE_HOMEORACLE_BASELD_LIBRARY_PATHe 某portUSERNAMEBASH_ENVPATHHISTIGNORENLS_LANGalial='l-N-F'PATH=$PATH:$HOME/bin:$ORACLE_HOME/bin:$TU某DIR/bin:.e某portPATHet-ovi下面简单一下安装过程操作系统是在fedoro8上(Linu某zc2.4.22)的,声明一下,fedoro10上报错,(内核2.6上的)安装文件名:tu某edo81_linu某.bin命令:htu某edo81_linu某.bin-iconole然后就是稍微等待几秒钟,叫你选择Englih,选择1继续Enter只到叫你输入tu某edo的密码然后输入KEY,lic,t某t这个等安装好了,在搞吧,很简单Cp,lic,t某t/tu某edo8.1/udataobj/拷到这个目录下面就OK了到这,tu某edo算是安装完了,下面是配置,说实话,配置比安装难啊先看tmadmin有没用,如果有用,说明你的key安装正确了下面就是配置ubbimple了建议把atmi下面的例子拷到tu某edo8.1下面来,这样在ubbimple 里面就好配置了看下ubbimple文件带#的先不管了#(c)2003BEASytem,Inc.AllRightReerved.#ident\$Reviion:1.5$\#SkeletonUBBCONFIGfilefortheTU某EDOSimpleApplication.#Replacetheitemwiththeappropriatevalue.某RESOURCESIPCKEY123457这个值是唯一的取值在3万到26万之间,且必须是唯一的(32768-262143)DOMAINIDimpapp管理域的标识符,随便取,没实在意义MASTERimpleite1,ite2主节点,用于多机环境中,起作用,ite2备用MA 某ACCESSERS10MA某SERVERS5MA某SERVICES10MODELSHM#单台主机,MP多台主机LDBALNBLOCKTIME6#客户端等待服务响应的最长时间6某1060秒某MACHINESDEFAULT:这个强烈要求.bah_proflie里面一定要一致APPDIR=\应用程序路径TU某CONFIG=\tu某config路径TU某DIR=\tu某edo安装的路径zc是用户名在命令下可以用hotname可以看出来zcLMID=imple某GROUPSGROUP1LMID=impleGRPNO=1OPENINFO=NONE某SERVERSDEFAULT:CLOPT=\imperv服务端生成的程序名称impervSRVGRP=GROUP1SRVID=1某SERVICESTOUPPER服务端的ervice名称下面还有就是客户端的编译,服务端的编译builderver-TOUPPER-oimperv-fimperv.cbuildclient–oclient-fimpcl.c下面是创建日志的方法敲tmadmin后Crdl–b2000–z//home/tu某edo/tu某edo8.1/impapp/TLOG crlog-mtib_bill创建日志文件Tmipcrm-y强制停掉所有的服务编译fml文件设置FML的环境变量。

tuxedo详细安装步骤

tuxedo详细安装步骤

Tuxedo使用Non-XA模式连接Oracle数据库实验的网络拓扑图:软件安装环境:3台主机都安装Cent OS 5.3操作系统,第1台主机作为Tuxedo的客户端,只安装Tuxedo 客户端(IP:192.168.1.61);第2台主机作为Tuxedo服务器安装Tuxedo Server,还要连接Oracle服务器,还安装了Oracle Client 11gR2(IP:192.168.1.66);第三台主机作为Oracle数据库服务器,只安装Oracle11gR2(IP:192.168.1.81)。

实验目的:了解Tuxedo使用Non-XA方式连接Oracle数据库。

通过客户端发送一个请求到Tuxedo服务器,再由Tuxedo服务器连接Oracle服务器,把客户端发送的信息写入数据库表。

实验步骤:1.安装Tuxedo的演示程序SimpApp (使用主机1和主机2)2.作一个Pro/C的Demo,来连接Oracle数据库(使用主机2和主机3)3.把第1步和第2步合并到一起,完成该实验4.测试并排错安装前准备:要使Tuxedo服务器,能连接到Oracle服务器。

Oracle服务器的实例名称为stone,在Tuxedo服务器上安装Oracle客户端后,建立一个服务,使其能够连接到Oracle数据库服务器。

在Tuxedo Server(主机2)上,先建立网络服务,再连接到Oracle数据库服务器,使用hr用户,并建立一个测试表:◆网络服务的名称为stone,结果为$ORACLE_HOME/network/admin目录下的tnsnames.ora文件[oracle@myapache ~]$cd /u01/app/oracle/product/11.2.0/client_1/network/admin/ [oracle@myapache admin]$lssamples shrept.lst sqlnet10031011AM2455.bak sqlnet.ora tnsnames.ora[oracle@myapache admin]$vi tnsnames.ora# tnsnames.ora Network Configuration File:/u01/app/oracle/product/11.2.0/client_1/network/admin/tnsnames.ora# Generated by Oracle configuration tools.STONE =(DESCRIPTION =(ADDRESS_LIST =(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.1.81)(PORT = 1521)))(CONNECT_DATA =(SERVICE_NAME = stone)))◆建立测试表[oracle@myapache ~]$sqlplus hr/hr@stoneSQL*Plus: Release11.2.0.1.0 Production on Wed Mar 10 21:17:22 2010Copyright (c) 1982, 2009, Oracle. All rights reserved.Connected to:Oracle Database11gEnterpriseEdition Release11.2.0.1.0 - ProductionWith the Partitioning, OLAP, Data Mining and Real Application Testing options SQL>create table t_test1(2 zj number,3 name varchar2(20)4 );Table created.SQL>insert into t_test1 values(1, 'aaa');1 row created.SQL>commit;Commit complete.SQL>select * from t_test1;ZJ NAME---------- --------------------1 aaaSQL>◆在主机2上还要把Oracle用户的环境变量设置好,使其能正确编译pro/c程序[oracle@myapache ~]$ vi .bash_profile设置好以下环境变量# User specific environment and startup programsORACLE_HOME=/u01/app/oracle/product/11.2.0/client_1export ORACLE_HOMELD_LIBRARY_PATH=$ORACLE_HOME/libLD_LIBRARY_PATH=${LD_LIBRARY_PATH}:$ORACLE_HOME/oracm/lib LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:/lib:/usr/lib:/usr/local/lib export LD_LIBRARY_PATHPATH=$PATH:$ORACLE_HOME/binexport PATHstty erase ^H(完)测试一下Pro/C是否正确[oracle@myapache ~]$procPro*C/C++: Release11.2.0.1.0 - Production on Thu Mar 11 01:16:42 2010Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.System default option values taken from:/u01/app/oracle/product/11.2.0/client_1/precomp/admin/pcscfg.cfg(下面内容从略)一、安装Tuxedo的演示程序SimpApp,并完成Tuxedo客户端访问服务器的配置1.在主机2上安装Tuxedo10gR3 Server建议采用字符安装界面,在安装过程中选择安装上Sample,以便运行SimpApp例子[root@myapache ~]#cd /home/OraFile/[root@myapache OraFile]#unzip tuxedo10gR3_32_Linux_01_x86.zip[root@myapache OraFile]#chmod +x tuxedo10gR3_32_Linux_01_x86.bin[root@myapache OraFile]#./tuxedo10gR3_32_Linux_01_x86.bin -i consoleExtracting the JRE from the installer archive...Unpacking the JRE...Extracting the installation resources from the installer archive...Configuring the installer for this system's environment...Launching installer...(比较重要的地方)Choose Oracle Home------------------1- Create new Oracle HomeEnter a number:1Specify a new Oracle Home directory:/bea=============================================================== ================Choose Product Directory------------------------1- Modify Current Selection (/bea/tuxedo10gR3)2- Use Current Selection (/bea/tuxedo10gR3)Enter a number:1Specify Product Installation Directory:/bea/tux10 (为操作方便,把安装目录修改为:/bea/tux10) Install Samples (Y/N):Y (选择安装Samples)2.在Tuxedo Server上运行SimpApp例子(1)把SimpApp例子拷贝到/home/myTuxeSrv目录下[oracle@myapache ~]$cp -R /bea/tux10/samples/atmi/simpapp/ /home/myTuxSrv/再拷贝环境变量[oracle@myapache ~]$cp /bea/tux10/tux.env /home/myTuxSrv/simpapp/[oracle@myapache ~]$cd /home/myTuxSrv/simpapp/[oracle@myapache simpapp]$lsREADME simpcl.c simpserv.c tux.env ubbsimple[oracle@myapache simpapp]$(2)编辑simpapp的配置文件[oracle@myapache simpapp]$ cp ubbsimple ubb[oracle@myapache simpapp]$ vi ubb修改结果:#Example:IPCKEY <Replace with a valid IPC Key># TUXCONFIG="/home/me/simpapp/tuxconfig"# APPDIR="/home/me/simpapp"#Example:TUXDIR="/bea/tux10"# (c) 2003 BEA Systems, Inc. All Rights Reserved.#ident "@(#) samples/atmi/simpapp/ubbsimple $Revision: 1.5 $"#Skeleton UBBCONFIG file for the TUXEDO Simple Application.#Replace the <bracketed> items with the appropriate values.*RESOURCESIPCKEY 123456DOMAINID simpappMASTER simpleMAXACCESSERS 10MAXSERVERS 5MAXSERVICES 10MODEL SHMLDBAL N*MACHINESDEFAULT:APPDIR="/home/myTuxSrv/simpapp"TUXCONFIG="/home/myTuxSrv/simpapp/tuxconfig" TUXDIR="/bea/tux10"myapache LMID=simple*GROUPSGROUP1LMID=simple GRPNO=1 PENINFO=NONE*SERVERSDEFAULT:CLOPT="-A"simpserv SRVGRP=GROUP1 SRVID=1*SERVICESTOUPPER(配置文件完)(3)修改环境变量文件tux.env[oracle@myapache simpapp]$ vi tux.env在最后加入两行TUXDIR=/bea/tux10; export TUXDIRJAVA_HOME=$TUXDIR/jre; export JAVA_HOMEJVMLIBS=$JAVA_HOME/lib/i386/server:$JAVA_HOME/jre/binPATH=$TUXDIR/bin:$JAVA_HOME/bin:$PATH; export PATHCOBCPY=:$TUXDIR/cobinclude; export COBCPYCOBOPT="-C ANS85 -C ALIGN=8 -C NOIBMCOMP -C TRUNC=ANSI -C SEXT=cbl"; export COBOPT SHLIB_PATH=$TUXDIR/lib:$JVMLIBS:$SHLIB_PATH; export SHLIB_PATHLIBPATH=$TUXDIR/lib:$JVMLIBS:$LIBPATH; export LIBPATHLD_LIBRARY_PATH=$TUXDIR/lib:$JVMLIBS:$LD_LIBRARY_PATH; export LD_LIBRARY_PATH WEBJAVADIR=$TUXDIR/udataobj/webgui/java; export WEBJAVADIRAPPDIR=/home/myTuxSrv/simpapp; export APPDIRTUXCONFIG=$APPDIR/tuxconfig; export TUXCONFIG(4)在服务器本地运行simpapp例子程序使环境变量生效[oracle@myapache simpapp]$. ./tux.env[oracle@myapache simpapp]$lsREADME simpcl.c simpserv.c tux.env ubb ubbsimple[oracle@myapache simpapp]$env | grep TUXTUXCONFIG=/home/myTuxSrv/simpapp/tuxconfigTUXDIR=/bea/tux10[oracle@myapache simpapp]$编译ubb (生成tuxconfig)[oracle@myapache simpapp]$ tmloadcf -y ubb[oracle@myapache simpapp]$ lsREADME simpcl.c simpserv.c tuxconfig tux.env ubb ubbsimple ULOG.031010编译simpserv.c文件和simpcl.c文件(生成可执行文件)[oracle@myapache simpapp]$buildserver -f simpserv.c -o simpserv -s TOUPPER (我这里有一些警告信息,不影响程序运行)[oracle@myapache simpapp]$buildclient -f simpcl.c -o simpcl[oracle@myapache simpapp]$lsREADME simpcl.c simpserv.c tux.env ubbsimplesimpcl simpserv tuxconfig ubb ULOG.031010运行服务器端程序[oracle@myapache simpapp]$tmboot -yBooting all admin and server processes in /home/myTuxSrv/simpapp/tuxconfig INFO: Oracle Tuxedo, Version10.3.0.0, 32-bit, Patch Level (none)Booting admin processes ...exec BBL -A :process id=11402 ... Started.Booting server processes ...exec simpserv -A :process id=11403 ... Started.2 processes started.[oracle@myapache simpapp]$测试一下运行情况:[oracle@myapache simpapp]$./simpcl hello_aleiReturned string is: HELLO_ALEI[oracle@myapache simpapp]$看到以上结果,程序在本地已经可以使用了3.把客户端程序转移到主机1上运行(1)在服务器端(主机2)先做一些设置,首先关闭服务程序[oracle@myapache simpapp]$tmshutdown -yShutting down all admin and server processes in /home/myTuxSrv/simpapp/tuxconfig Shutting down server processes ...Server Id = 1 Group Id = GROUP1 Machine = simple: shutdown succeededShutting down admin processes ...Server Id = 0 Group Id = simple Machine = simple: shutdown succeeded 2 processes stopped.[oracle@myapache simpapp]$(2)修改配置文件ubb,添加一些配置;并重新编译[oracle@myapache simpapp]$vi ubb修改了以下内容(标红部分)IPCKEY 123456DOMAINID simpappMASTER simpleMAXACCESSERS 10MAXSERVERS 5MAXSERVICES 10MODEL SHMLDBAL N*MACHINESDEFAULT:APPDIR="/home/myTuxSrv/simpapp"TUXCONFIG="/home/myTuxSrv/simpapp/tuxconfig"TUXDIR="/bea/tux10"myapache LMID=simpleMAXWSCLIENTS=5*GROUPSGROUP1LMID=simple GRPNO=1 PENINFO=NONE*SERVERSDEFAULT:CLOPT="-A"simpserv SRVGRP=GROUP1 SRVID=1WSL SRVGRP=GROUP1 SRVID=10CLOPT="-A -- -n//192.168.1.66:3200 -m 2 -M 5 -x 5"*SERVICESTOUPPER(配置文件完)重新编译生成配置文件tuxconfig[oracle@myapache simpapp]$lsaccess.031010 simpcl simpserv stderr tuxconfig ubb ULOG.031010 README simpcl.c simpserv.c stdout tux.env ubbsimple[oracle@myapache simpapp]$rm -rf tuxconfig (先删除)[oracle@myapache simpapp]$tmloadcf -y ubb[oracle@myapache simpapp]$tmboot -yBooting all admin and server processes in /home/myTuxSrv/simpapp/tuxconfigINFO: Oracle Tuxedo, Version10.3.0.0, 32-bit, Patch Level (none)Booting admin processes ...exec BBL -A :process id=13105 ... Started.Booting server processes ...exec simpserv -A :process id=13106 ... Started.exec WSL -A -- -n//192.168.1.66:3200 -m 2 -M 5 -x 5 :process id=13107 ... Started.3 processes started.[oracle@myapache simpapp]$[oracle@myapache simpapp]$netstat -anp可以看到WSL也已经侦听了(3)在Tuxedo Client (主机1)上运行simpapp的客户端程序在Tuxedo客户端上,也要安装Tuxedo10gR3,但只安装Tuxedo的客户端就行了,其安装目录也是:/bea/tux10;客户端程序在/home/myTuxClient/simpapp目录中运行。

Tuxedo安装与配置v1

Tuxedo安装与配置v1

湖南IP网认证计费系统中间件安装与配置手册1、Tuxedo安装、所需软件Tuxedo 或者以后的版本Oracle Tuxedo 11gR1的软件包(),下载地址:客户端Altibase客户端gcc编译器License文件License文件Tuxedo 10gR3之后不需要、软件安装、选择控制台安装(非图形方式)$ ls$ ./ -i console、选择安装语言Preparing to install...Extracting the JRE from the installer archive...Unpacking the JRE...Extracting the installation resources from the installer archive...Configuring the installer for this system's environment...Launching installer...Preparing CONSOLE Mode Installation...=============================================================Choose Locale...----------------->1- EnglishCHOOSE LOCALE BY NUMBER: 1(语言为英文)=============================================================Tuxedo .0 (created with InstallAnywhere by Macrovision)、同意协议==============================================================Introduction------------InstallAnywhere will guide you through the Tuxedo .0 installation.It is strongly recommended that you quit all programs before continuing with this installation.Enter "next' to proceed to the next screen. Enter "back" to modify the previous screen.You may cancel this installation at any time by typing "quit".WARNING: "Quitting" creates an incomplete Tuxedo .0must re-install Tuxedo .0. For more information, see "Preparing toInstall the Oracle Tuxedo System" in the Tuxedo .0 Installation Guide.PRESS <ENTER> TO CONTINUE:显示许可协议内容(一直回车)DO YOU ACCEPT THE TERMS OF THIS LICENSE AGREEMENT (Y/N): y(输入y同意协议)=============================================================Choose Install Set------------------、选择安装方式Please choose the Install Set to be installed by this installer.->1- Full Install2- Server Install3- Full Client Install4- Jolt Client Install5- ATMI Client Install6- CORBA Client Install7- Customize...ENTER THE NUMBER FOR THE INSTALL SET, OR PRESS <ENTER> TO ACCEPT THE DEFAULT: 1(完全安装:包括server和client两个组件,安装在一台机器上)、创建目录=============================================================Choose Oracle Home------------------1- Create new Oracle Home2- Use existing Oracle HomeEnter a number: 1(创建一个新目录)Specify a new Oracle Home directory: /app1/tux11g、选择产品目录==============================================================Choose Product Directory------------------------1- Modify Current Selection (/app1/tux11g/tuxedo11gR1)2- Use Current Selection (/app1/tux11g/tuxedo11gR1)Enter a number: 1(修改)Specify Product Installation Directory: /home/tuxedo/tux11g Install Samples (Y/N): Y、安装预览============================================================== Pre-Installation SummaryPlease Review the Following Before Continuing:Product Name:Tuxedo .0Install Folder:/home/tuxedo/tux11gLink Folder:/home/tuxedoDisk Space Information (for Installation Target):Required: 209,943,511 bytesAvailable: 2,432,757,760 bytesPRESS <ENTER> TO CONTINUE: (回车,继续安装)=============================================================、软件安装进度开始Ready To Install----------------InstallAnywhere is now ready to install Tuxedo .0 onto your system atthe following location:/home/tuxedo/tux11gPRESS <ENTER> TO INSTALL: (回车,安装软件)、安装进度结束=============================================================Installing...-------------[==================|==================|==================|==================][------------------|------------------|------------------|------------------]、配置监听密码==============================================================Configure tlisten Service-------------------------Password: hniiosbea(tlisten密码,这个tlisten是在集群环境下使用的)Verify Password: hniiosbea(tlisten密码,这个tlisten是在集群环境下使用的)Password Accepted! Please wait...、配置ssl支持=============================================================SSL Installation Choice.------------------------Would you like to install SSL Support->1- Yes2- NoENTER THE NUMBER FOR YOUR CHOICE, OR PRESS <ENTER> TO ACCEPT THE DEFAULT:: 2(不支持ssl)、安装完成=============================================================Installation Complete---------------------Congratulations. Tuxedo .0 has been successfully installed to:/home/tuxedo/tux11gPRESS <ENTER> TO EXIT THE INSTALLER: (回车,退出)[tuxedo@node1 ~]$、安装完成后确认$ lsbin cobinclude help include inventory jre lib locale logs samples udataobj uninstaller$ pwd/home/tuxedo/tux11g确认安装是否成功,可以用两种方法:1. 用tmadmin检查一下,如果执行不出错说明OK;2. 部署simpapp应用进行测试,运行成功,说明OK .执行命令检查首先要设置一下环境变量,执行自动产生的脚本即可:$ . ./$ tmadmin -vINFO: Oracle Tuxedo, Version .0, 32-bit, Patch Level (none)部署simpappSimpapp是一个产品自带的示例程序,功能是将客户端发过来的小写字符串改为大写字符串之后再返回给客户端。

客户端TUXEDO的安装设置及注意事项

客户端TUXEDO的安装设置及注意事项

客户端TUXEDO的安装设置及注意事项一、WINDOWNS98环境1、运行客户端TUXEDO软件存放目录下的\DISK1\Setup.exe2、选择安装目录(系统默认为 C:\Program Files\BEA Systems\TUXEDO,以下就以这个路径为例)3、然后按提示开始安装(一直按回车就OK了)4、文件COPY完后,系统提示是否进行环境变量设置(Would you lik to updateyour AUTOEXEC.BAT file with TUXEDO environment variables?),选择‘NO’5、安装完成6、设置环境变量在AUTOEXEC.BAT文件的最后加上SET TUXDIR=C:\Progra~1\BEASys~1\TUXEDO //请把长文件名方式改成短文件名方式SET PATH=%PATH%;%TUXDIR%\BIN //加上TUXEDO DLL文件的搜索路径SET WSENVFILE=%tuxdir%\WSENV //TUXDEO环境变量文件在C:\Progra~1\BEASys~1\TUXEDO目录下创建WSENV文件,在文件里加上LIB=%TUXDIR%\LIBINCLUDE=%TUXDIR%\INCLUDEWSNADDR=//主机IP:端口号(具体的值请询问管理员或看后台ubbcfg文件里的设置)注:现在我们TUXEDO环境变量都直接在AUTOEXEC.BAT里设置,这有一个缺点,就是更改后需要重启机器才能生效,如果我们设一个环境变量文件(WSENVFILE),那只要在文件里修改后存盘就能生效。

特别是变量WSNADDR,建议各地都采用这种方式。

7、运行CASH程序,如果能进入程序表示TUXEDO就设置OK了。

前提:后台服务要先启动二、WINDOWS ME 环境1、运行客户端TUXEDO软件存放目录下的\DISK1\Setup.exe2、选择安装目录(系统默认为 C:\Program Files\BEA Systems\TUXEDO,以下就以这个路径为例)3、然后按提示开始安装(一直按回车就OK了)4、文件COPY完后,系统提示是否进行环境变量设置(Would you lik to updateyour AUTOEXEC.BAT file with TUXEDO environment variables?),选择‘NO’5、安装完成6、设置环境变量运行msconfig选择环境栏编辑path项将C:\Progra~1\BEASys~1\TUXEDO添加到最后选择添加按钮:变量名设为WSENVFILE变量值设为C:\Progra~1\BEASys~1\TUXEDO\WSENV选择添加按钮:变量名设为TUXDIR变量值设为C:\Progra~1\BEASys~1\TUXEDO在C:\Progra~1\BEASys~1\TUXEDO目录下创建WSENV文件,在文件里加上LIB=%TUXDIR%\LIBINCLUDE=%TUXDIR%\INCLUDEWSNADDR=//主机IP:端口号(具体的值请询问管理员或看后台ubbcfg文件里的设置)重启机器就ok啦注:window me修改autoexec.bat文件添加以上路径有可能无效最好用msconfig,切记!7、运行CASH程序,如果能进入程序表示TUXEDO就设置OK了。

  1. 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
  2. 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
  3. 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。

文件版本:V1.0目录1 概述 (4)1.1 目的 (4)1.2 适用范围 (4)2 安装环境 (4)2.1 软件环境 (4)2.2 硬件环境 (4)3 系统搭建 (4)4 应用程序安装 (4)4.1 服务端安装 (4)4.2 客户端安装 (6)5 参数配置 (7)5.1 服务端参数配置 (7)5.1.1 XA的配置(RM文件的修改及编译) (8)5.1.2 ubbconfig文件的设置及编译 (8)5.1.3 创建TLOG交易日志 (9)5.2 客户端参数配置 (10)5.2.1 数据库的配置 (10)5.2.2 INI文件的配置 (10)5.2.3 ubbconfig文件的设置及编译............................................. 错误!未定义书签。

5.3 编译服务端可执行程序 (12)5.4 启动服务端程序 (12)5.5 客户端启动指令 (12)5.6 监控配置 (13)5.6.1 注意 (13)5.6.2 Console监控 (13)5.6.3 web监控 (14)6 验证标准 (16)7 注意事项 (16)1概述1.1目的为了使用户掌握Tuxedo实时接口的安装过程,及参数的配置方法,方便用户使用Tuxedo实时接口模块。

1.2适用范围本文档只限于Tuxedo实时接口模块的使用。

2安装环境2.1软件环境LINUX。

2.2硬件环境3系统搭建参见<<Tuxedo系统管理指南.doc>>系统安装节4应用程序安装4.1服务端安装第一步:服务端的应用需要Oracle的支持。

Oracle8i以上版本客户端即可,需要在环境变量中设置ORACLE_HOME,以及在PATH和LD_LIBRARY_PATH加入响应的oracle 部分的内容。

第二步:在主机上建立一个server目录,将源代码放至该目录下。

第三步:设置Tuxedo服务端程序所需要的环境变量,在文件setenv.sh中。

需要修改的项目有:APPDIR;例如:假定服务端的应用放在/home/oracle/tuxedo/server 下,则setenv.sh文件的内容如下:在当前目录下执行:source ./setenv.sh即可使得环境变量生效。

注意:在编译服务端应用时,需要去掉环境变量中的LANG。

执行env| grep LANG,如果存在LANG的设置,执行unset LANG将其去掉,程序编译完成之后再将LANG进行设置。

第四步:执行make all编译服务端的应用。

4.2客户端安装第一步:在主机上建立一个client目录,将原代码放至该目录下。

第二步:设置Tuxedo客户端程序所需要的环境变量,在文件setenv.sh中。

需要修改的项目有:APPDIR和WSNADDR;例如:假定服务端的应用放在/home/oracle/tuxedo/client下,而Tuxedo服务端应用所在的主机IP为192.168.218.210,则setenv.sh文件的内容如下:在当前目录下执行:source ./setenv.sh即可使得环境变量生效。

注意:在编译客户端应用时,需要去掉环境变量中的LANG。

执行env| grep LANG,如果存在LANG的设置,执行unset LANG将其去掉,程序编译完成之后再将LANG进行设置。

第三步:执行make all编译客户端的应用。

第四步:修改/etc/hosts文件执行命令uname –n获取当前客户端的主机名(例:主机名为server210)vi/etc/hosts将名为server210的机器所对应的IP,改为server210这台主机的实际IP。

5参数配置该章的内容参见<< Tuxedo系统管理指南.doc >>的应用指令节5.1服务端参数配置5.1.1XA的配置(RM文件的修改及编译)参见<< Tuxedo系统管理指南.doc >>的7.1节中的“设置Oracle_XA入口”和“编译TMS”5.1.2ubbconfig文件的设置及编译进入TUXEDO服务端路径:cd /home/oracle/tuxedo/server(1)服务端ubbconfig需要修改的设置有*MACHINES节,同客户端设置本节需要增加TLOG(事务日志)的配置(稍后将详细说明如何创建TLOG)TLOGDEVICE=" $TUX_ROOT /server/TLOG"TLOGNAME="TLOG"TLOGSIZE=1024*GROUPS节,要增加对数据库管理的操作OPENINFO 打开数据库的参数设置,可以指定数据库实例名,用户名,密码。

可以将密码写成明文,也可以写成暗文。

*SERVERS节需要配置监听的地址和端口WSL CLOPT="-A -- -n //192.168.218.210:3060 -m 10 -M 20 -x 10"(此处IP和PORT要与客户端环境变量文件setenv.sh中的WSNADDR的值一致)需要配置每个服务所对应的组SVC_FEECARD SRVID=10 SRVGRP=GROUP1例:*MACHINESserver210 LMID=SITE1APPDIR=" TUX_ROOT /server"TUXCONFIG=" TUX_ROOT /server/tuxconfig"TUXDIR="/bea/tuxedo8.1"TLOGDEVICE=" TUX_ROOT /server/TLOG"TLOGNAME="TLOG"TLOGSIZE=1024*GROUPSGROUP1 LMID=SITE1 GRPNO=1(明文形式:用户名unitele,密码lemontea)OPENINFO="Oracle_XA:Oracle_XA+SqlNet=billdb+Acc=P/unitele/lemontea+SesTm=12 0+MaxCur=5+LogDir=."(暗文形式:用户名unitele,密码改为五个”*”号)OPENINFO="Oracle_XA:Oracle_XA+SqlNet=billdb+Acc=P/unitele/*****+SesTm=120+ MaxCur=5+LogDir=."(两种形式选其中一种即可)TMSNAME="TMS_Ora8i" (即4.2.3节生成的TMS_Ora8i)TMSCOUNT=2*SERVERSSVC_FEECARD SRVID=10 SRVGRP=GROUP1SVC_GET_COUNT SRVID=50 SRVGRP=GROUP5WSL SRVID=90SRVGRP=WSGRPCLOPT="-A -- -n //192.168.218.210:3060 -m 10 -M 20 -x 10"其中:SVC_GET_COUNT,SVC_GETCTRLDATA,SVC_GET_H2INFO,SVC_USER_VERIFY,这四个服务对应的GROUP的OPENINFO所配置的数据库的实例名、用户名和密码应该与客户端建表脚本所刷的数据库的信息一致。

(2)编译ubbconfig文件:执行tmloadcf –y ubbconfig(生成tuxconfig二进制文件)如果OPENINFO用的是明文,则直接编译;如果OPENINFO用的是暗文,则屏幕会提示用户输入OPENINFO的密码: Password for OPENINFO (SRVGRP=GROUP1):用户输入密码后,编译再继续进行。

5.1.3创建TLOG交易日志这步的操作也要在TUXEDO服务端目录下进行:cd /home/oracle/tuxedo/server参见<< Tuxedo系统管理指南.doc >>的7.3节。

5.2客户端参数配置5.2.1数据库的配置在CRM和Billing库上执行bb_real_tuxedo_create.sql和bb_real_tuxedo_init.sql脚本。

在CRM库上执行bus_real_tuxedo_create.sql和bus_real_tuxedo_init.sql脚本。

[注]表bi_database_control_t表,需要同时在两个数据库(营业库、帐务库)中进行配置。

客户端需要对表bi_verify_info_t中的字段”PROG_PATH”(客户端可执行程序路径),按客户端可执行程序的实际路径进行修改。

5.2.2INI文件的配置客户端需要配置ini配置文件,程序运行时,从配置文件中读出各个变量的值。

Ini文件是按照节进行配置的[MAIN]和[TNS]节,MAIN节一个ini文件中只能有一个,而TNS节至少要有一个。

MAIN节的内容如下:cur_version 版本shm_key 共享内存key每一个TNS的内容如下:。

Name 对应的接口的名称system_id 系统ID(系统ID详见表bi_subsys_info_t中的数据)lsnr_num 子进程数目lsnr_port 端口号out_time 超时时间is_reuse_addr 监听端口重新使用标志(0 不重用等待端口释放1重用不等端口释放)is_rec_follow 是否记录返回后续包标志(0不记录1记录)is_long_link 是否长连接(0短连接1长连接)is_debug 调试开关(0关1开)is_authip 是否进行IP鉴权(0不鉴权1鉴权,默认=1)auth_ip 鉴权IP例:[MAIN]cur_version=00.000.00.07.01.2000 shm_key=1126[TNS]name=缴费卡测试system_id=1lsnr_num=2lsnr_port=8000out_time=10is_reuse_addr=1is_rec_follow=0is_long_link=0is_debug=1is_authip=0auth_ip=130.91.100.88[TNS]name=客服测试system_id=2lsnr_num=2lsnr_port=8001out_time=10is_reuse_addr=1is_rec_follow=0is_long_link=0is_debug=1is_authip=0auth_ip=130.91.100.825.3编译服务端可执行程序在服务端路径下执行make all,生成供客户端调用的服务,例SVC_BANK,SVC_CUS_BILL,SVC_FEECARD等。

相关文档
最新文档