tuxedo安装手册
- 格式:docx
- 大小:153.07 KB
- 文档页数:7
Window下安装tuxedo说明
第二步:
第三步:选择第一个Full install 将客户端和服务端都安装
第四步:选择tuxedo安装路径
第五步:将Install Samples选中安装示例程序
第六步:这一步是关键一步应该选中don’t create icons选项,不然会导致在windows下tuxedo 的客户端无法连接到外部服务端。
第七步:按install安装
第七步
第八步:
第九步:
到这里tuxedo已经安装完毕,如果想知道如何修改配置文件请参照
/wxb_nudt/article/details/3991060这篇文章进行修改。
如果安装之后需要用公司tuxedoclient对服务进行测试还需要配置两个环境变量。
右键点击“我的电脑”选择“属性”,在选择“高级”
在点击“环境变量”点击系统变量下的“新建”来新建系统变量
第一个变量名字为:TUXEDO_INCLUDE_PATH 变量值为:tuxedo安装路径下的include文件夹路径点击确定
然后在新建
创建一个变量名为:TUXEDO_LIB_PATH的环境变量变量值为tuxedo安装目录下的lib文件夹全目录,点击“确定”,“应用”即可。
TUXEDO安装、部署、使用、差错已经LINUX简单命令使用安装:一、TUXEDO安装1.windows 安装(linux下图形安装)安装步骤由图可视:(1)选OK(2)选next(3)这是tuxedo的安装路径,放哪个目录随你自己选(4)这里最好勾选上install simples(5)选install(6)这里需先选下cancle弹出界面再选resume 然后再输入密码(7)选NO (8)选doneOK texudo就装好了2.linux下非图形界面安装(脚本安装)Tuxedo 部署流程1.将tuxedo.tar拷贝到某个目录下2.修改/opt目录权限为rwx-rwx-rwx3.解压tuxedo,tar到当前目录: tar -vxf tuxedo.tar -C ./4.运行安装脚本./install.sh5.选择16.直接回车键7.选择18.选择19.输入:/opt10.选择211.选择Y或者N12.回车13.回车14.输入两次oracle15.选择216.回车17.回车安装完成程序所在目录为当前目录下的tuxedo目录二、tuxedo部署查看虚拟机IP查看机器名称修改环境变量文件:tux.env主要设置:TUXDIR,PATH,LD_LIBRARY_PA TH,LANG,APPDIR修改UBB配置文件(c) 2003 BEA Systems, Inc. All Rights Reserved.#ident "@(#) samples/atmi/simpapp/ubbsimple $Revision: 1.7 $"#Skeleton UBBCONFIG file for the TUXEDO Simple Application.#Replace the <bracketed> items with the appropriate values.*RESOURCESIPCKEY 123456 (1)DOMAINID simpappMASTER serverMAXACCESSERS 100MAXSERVERS 50MAXSERVICES 50MODEL SHMLDBAL NNOTIFY SIGNAL*MACHINESDEFAULT: (2)APPDIR="/home/oracle/simpapp"TUXCONFIG="/home/oracle/simpapp/tuxconfig"TUXDIR="/home/oracle/tuxedo11gR1"MAXWSCLIENTS=5#Example:# APPDIR="/home/me/simpapp"# TUXCONFIG="/home/me/simpapp/tuxconfig"# TUXDIR="/usr/tuxedo""bogon130" LMID=server#Example:#beatux LMID=iogon*GROUPSGROUP1 (3)LMID=server GRPNO=1 OPENINFO=NONE*SERVERSDEFAULT:CLOPT="-A"forward SRVGRP=GROUP1 SRVID=10 (4)toupper SRVGRP=GROUP1 SRVID=1WSL SRVGRP=GROUP1 SRVID=20 (5)CLOPT="-A -- -n //192.168.192.130:9977 -m 2 -M 5 -x 10 -p 10000 -P 11000"*SERVICES (6)TOUPPERTOUPPERTEST(1)IPC资源识别号设置(2)服务器程序环境设置(3)服务器组设置(4)服务设置(5)通讯设置(6)服务名设置设置环境变量. ./tux.env编译程序配置文件tmloadcf –y ubb启动程序tmboot建议:1.关闭服务器防火墙,或者设置通讯端口开发,WSH端口段开开放2.Selinux设置为不启动3.启动程序以后在客户端使用telnet命令测试连接是否成功。
Linux下安装TuxedoLinux 下安装Tuxedo以前由于没有在非Windows的操作系统下安装过Tuxedo,故一直都觉得在非Windows操作系统下安装Tuxedo很神秘。
今天在centos5.5下尝试了一把,觉得还是比较简单的,仅是配置Tuxedo的环境变量有点多。
闲话少扯,看正题1.从oracle 官网上下载tuxedo111120_32_Linux_01_x86.bin2.在centos上建立tuxedo用户,当然也可以不建,直接用root 用户安装配置,不过为了安全性和可维护性,建议最好建立该用户useradd tuxedo3.建立tuxedo 安装目录(安装的时候需要指定),本来用root用户安装配置时是不需要该步骤的,但是若要使用Tuxedo用户来进行安装会出现权限不足无法在根目录下创建下级子目录的情况,故最好手工建立mkdir /tuxedo11;chown tuxedo:tuxedo /tuxedo11;chmod 755 /tuxedo114.上传tuxedo111120_32_Linux_01_x86.bin文件到centos下tuxedo的home目录下5.从root用户切换到tuxedo用户su - tuxedo6.更改home目录下tuxedo111120_32_Linux_01_x86.bin文件权限chmod 777 ./tuxedo111120_32_Linux_01_x86.bin7.执行该文件进行安装(-i console代表在字符界面安装,-I console代表在图形化界面安装)./tuxedo111120_32_Linux_01_x86.bin -i console8.在安装时需要注意的地方当安装过程中出现“Choose Oracle Home”不要误以为是指定Oracle数据库的安装目录,其实这里是指定Tuxedo安装目录的地方,将在第3步建立的目录名称填到“specify a new Oracle Home Directory”处即可;还有如果你想玩一下tuxedo的simpapp的话,在安装的时候必须选上“Install Sample”;其余选项一路回车即可完成安装安装到此结束以下是配置simpapp的一些过程,以下操作均在tuxedo用户下运行1.cp -R /tuxedo11/tuxedo11g/simples/atim/simpapp /home/tuxedo/2.cp -R /tuxedo11/tuxedo11g/tux.env /home/tuxedo/simpapp3.cd ./simpapp;vi ./tux.env#若需要使用Oracle数据库时需添加ORACLE_BASE=/u01/app/oracle;export ORACLE_BASE#若需要使用Oracle数据库时需添加ORACLE_HOME=$ORACLE_BASE/product/11g2/db_1;export ORACLE_HOME#若需要使用Oracle数据库时需添加ORACLE_SID=oracle11g2;export ORACLE_SIDTUXDIR=/tuxedo11/tuxedo11gR1; export TUXDIRJA V A_HOME=$TUXDIR/jre; export JA V A_HOMEJVMLIBS=$JA V A_HOME/lib/i386/server:$JA V A_HOME/jre/binPA TH=$TUXDIR/bin:$JA V A_HOME/bin:$ORACLE_HOME/bin:$PA TH; export PA TH COBCPY=:$TUXDIR/cobinclude; export COBCPYCOBOPT="-C ANS85 -C ALIGN=8 -C NOIBMCOMP -C TRUNC=ANSI -C OSEXT=cbl"; export COBOPTSHLIB_PA TH=$TUXDIR/lib:$JVMLIBS:$SHLIB_PA TH; export SHLIB_PA THLIBPA TH=$TUXDIR/lib:$JVMLIBS:$LIBPA TH; export LIBPA THLD_LIBRARY_PATH=$TUXDIR/lib:$JVMLIBS:$ORACLE_HOME/lib:$ORACLE_HOM E/ora cm/lib:/lib:/usr/lib:/usr/local/lib:$LD_LIBRARY_PA TH; export LD_LIBRARY_PA THWEBJA V ADIR=$TUXDIR/udataobj/webgui/java; export WEBJA V ADIR#若运行simpapp时需添加APPDIR=/home/tuxedo/simpapp;export APPDIR#若运行simpapp时需添加TUXCONFIG=$APPDIR/tuxconfig;export TUXCONFIGNLS_LANG=AMERICAN_AMERICA.UTF8;export NLS_LANG LANG=C;export LANG这个环境变量文件包含了与Oracle连接的环境变量,仅执行simpapp时不需要添加;但下面的有关simpapp的环境变量必须添加,否则运行时会出错4.编辑simpapp的配置文件,其中“dcsproject”是centos的主机名,你可以根据你的主机名做相应更改,其中最后的“TOUPPER”是配置文件服务名称,从字面含义可以看出,他的功能就是简单的客户端输入的小写字母转换为大写字母# (c) 2003 BEA Systems, Inc. All Rights Reserved.#ident "@(#) samples/atmi/simpapp/ubbsimple $Revision: 1.7 $"#Skeleton UBBCONFIG file for the TUXEDO Simple Application.#Replace the items with the appropriate values.*RESOURCESIPCKEY 123456#Example:#IPCKEY 123456DOMAINID simpappMASTER simpleMAXACCESSERS 10MAXSERVERS 5MAXSERVICES 10MODEL SHMLDBAL N*MACHINESDEFAULT:APPDIR="/home/tuxedo/simpapp"TUXCONFIG="/home/tuxedo/simpapp/tuxconfig" TUXDIR="/tuxedo11/tuxedo11gR1"#Example:# APPDIR="/home/me/simpapp"# TUXCONFIG="/home/me/simpapp/tuxconfig"# TUXDIR="/usr/tuxedo"dcsproject LMID=simple#Example:#beatux LMID=simple*GROUPSGROUP1LMID=simple GRPNO=1 OPENINFO=NONE*SERVERSDEFAULT:CLOPT="-A"simpserv SRVGRP=GROUP1 SRVID=1*SERVICESTOUPPER5.运行环境变量文件,编译编辑后的ubb文件,生成tuxconfig文件. ./tux.envenv|grep TUX(检查一下环境变量)tmloadcf -y ubbls(j检查有没有生成tuxconfig文件)6.编译simpapp的SERVER端及Client端程序,生成可执行文件buildserver -f simpserv.c -o simpserv -s TOUPPER(-f 参数表示第一个输入文件-o 参数表示输出文件-s 参数表示服务)buildclient -f simpcl.c -o simpcl7.检查文件有无生成ls7.运行服务器端程序tmboot -y8.测试./simpcl hello_bigbombpanda若回显为:Returned String is:HELLO_BIGBOMBPANDA成功至于如何让tuxedo和Oracle数据库联动工作,首先要弄清楚XA,NONXA的连接方式。
文字界面Linux如何安装tuxedo11gR1
1、在安装介质目录下输入LL查看安装介质是否有运行的权限
其中没有X 表示没有运行权限
输入:
给这个介质增加运行权限
2:文字字幕安装就是运行时候后面加入参数–i console
3:出现选择语言种类,里面就只有E文可以选择。
4:接着会出现许可说明,无视他按回车
5:出现安装方式类型选择
分别是:
1:完全安装
2:服务器安装
3:完整客户端安装
4:Jolt客户端安装
5:A TMI客户端安装
6:CORBA客户端安装
7; 客户自定义
我选择的是1
6:接着出现的是安装路径的选择
表示我tuxedo根目录是/oracle/home
接着出现选择程序的目录
1:修改这个路径
2:使用这个路径
由于我觉得tuxedo11gR1太长了。
以后配置麻烦觉得修改成tux11
我选择了1,并且修改目录
输入完毕后出现安装信息:
安装开始了OY。
进度条完成以后呢?
出现
输入监听口令,用于集群的时候的哦。
那么我输入:listentux11(可以自己定义喜欢的)
需要输入两次。
接着出现安装SSL选择界面
这里我选择了2 安装SSL跟配置太复杂了。
而且我不懂。
所以暂时不装然后出现
安装结束了。
如何查看是否安装完成了呢?
首先到TUXEDO安装目录下运行一个叫tux.env 的文件。
这个文件的作用就是把环境变量设置好
. ./tux.env
接着用
tmadmin –v。
全国邮政综合计算机网应用软件系统版本号: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 ,解开压缩包。
[置顶]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安装步骤:
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服务,实现进程管理,负载均衡等功能;。
1.1.1建立tuxedo用户和安装主目录1.创建tuxedo用户创建tuxedo 帐号和组:groupadd dbauseradd -c tuxedo -G dba tuxedopasswd tuxedo2.创建tuxedo 目录su – rootmkdir -p /home/tuxedochown -R tuxedo:dba /home/tuxedo1.1.2建立oracle用户和安装主目录1.创建oracle用户创建oracle 帐号和组:su – rootgroupadd dba useradd -c oracle -G dba oraclepasswd oracle2.创建oracle 目录su – rootmkdir -p /home/oracle/chown -R oracle:dba /home/oracle1.1.3设置tuxedo用户环境变量设置Tuxedo用户的.bash_profile文件1.1.4设置oracle用户环境变量设置Tuxedo用户的.bash_profile文件1.2Tuxedo for linux安装过程1.2.1安装过程[tuxedo@localhost ~]$ sh tuxedo10gR3_64_Linux_01_x86.bin -i consolePreparing 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 10gR3 (created with InstallAnywhere by Macrovision) -------------------------------------------------------------------------------================================================================== =============Introduction------------InstallAnywhere will guide you through the Tuxedo 10gR3 installation.It is strongly recommended that you quit all programs before continuing withthis installation.Enter "next' to proceed to the next screen. Enter "back" to modify the previousscreen.You may cancel this installation at any time by typing "quit".WARNING: "Quitting" creates an incomplete Tuxedo 10gR3 installation.You mustre-install Tuxedo 10gR3. For more information, see "Preparing to Install theOracle Tuxedo System" in the Tuxedo 10gR3 Installation Guide.PRESS <ENTER> TO CONTINUE:================================================================== =============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================================================================== =============Choose Oracle Home------------------1- Create new Oracle HomeSpecify a new Oracle Home directory: /home/tuxedo/bea================================================================== =============Choose Product Directory------------------------1- Modify Current Selection (/home/tuxedo/bea/tuxedo10gR3)2- Use Current Selection (/home/tuxedo/bea/tuxedo10gR3)Enter a number: 2Install Samples (Y/N): Y================================================================== =============Pre-Installation Summary------------------------Please Review the Following Before Continuing:Product Name:Tuxedo 10gR3Install Folder:/home/tuxedo/bea/tuxedo10gR3Link Folder:/home/tuxedoDisk Space Information (for Installation Target):Required: 195,536,693 bytesAvailable: 127,128,031,232 bytesPRESS <ENTER> TO CONTINUE:================================================================== =============Ready To Install----------------InstallAnywhere is now ready to install Tuxedo 10gR3 onto your system at thefollowing location:/home/tuxedo/bea/tuxedo10gR3PRESS <ENTER> TO INSTALL:================================================================== =============Installing...-------------[==================|==================|==================|============== ====][------------------|------------------|------------------|------------------]================================================================== =============Configure tlisten Service-------------------------Password:Verify Password:Password Accepted! Press "Enter" to continue.================================================================== =============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================================================================== =============Installation Complete---------------------Congratulations. Tuxedo 10gR3 has been successfully installed to:/home/tuxedo/bea/tuxedo10gR3PRESS <ENTER> TO EXIT THE INSTALLER:Oracle客服端安装gunzip *.gzcpio -idcm < 10201_database_linux_x86_64.cpio 1.安装执行oracle10gR2安装介质runinstall.sh选择用户组选择“客户”2.选择安装路径3.下一步,检查安装的先决条件,通过则继续安装4.配置TNS1)在%ORALCE_HOME%\network\ADMIN\tnsnames.ora中增加如下TNS声明段: 本工具使用数据库TNSpmdb =(DESCRIPTION =(ADDRESS_LIST =(ADDRESS = (PROTOCOL = TCP)(HOST =工作用数据库IP)(PORT = 端口)) )(CONNECT_DATA =(SID = 工作用数据库实例名)(SERVER = DEDICATED)))sf =(DESCRIPTION =(ADDRESS_LIST =(ADDRESS = (PROTOCOL = TCP)(HOST =工作用数据库IP)(PORT = 端口)) )(CONNECT_DATA =(SID = 工作用数据库实例名)(SERVER = DEDICATED)))1.3Ubbconfig文件1.3.1原文样例*RESOURCESIPCKEY 163473DOMAINID TAPP_YHLW*MACHINEStuxedo LMID=SG186APPDIR="/home/tuxedo/work/application"ULOGPFX="/home/tuxedo/work/application/Logfile/ULOG"TUXCONFIG="/home/tuxedo/work/application/tuxconfig"TUXDIR="/home/tuxedo/bea/tuxedo9.1"MAXWSCLIENTS=20WSL SRVGRP=DF SRVID=1002 CLOPT=" -A -t -- -n //10.216.247.28:8888 -m 1 -M 5 -x 5 "1.3.2修改红色字体部分*MACHINEStuxedo LMID=SG186 为当前安装tuxedo的主机名称WSL SRVGRP=DF SRVID=1002 CLOPT=" -A -t -- -n //10.216.247.28:8888 -m 1为当前安装tuxedo的IP地址1.3.3编译ubbconfigTmloadcf –y ubbconfig输入密码lp确认密码lp1.4domconfig配置1.4.1domconfig原文件*DM_RESOURCESVERSION=U22*DM_LOCAL_DOMAINSTDF_MAIN GWGRP=DFTYPE=TDOMAINDOMAINID="TDF_MAIN"BLOCKTIME=20MAXDA TALEN=4194304MAXRDOM=89DMTLOGDEV="/home/tuxedo/work/application/Logfile/dmtlog"DMTLOGNAME="DMTLOG"CONNECTION_POLICY=ON_STARTUP*DM_REMOTE_DOMAINSWAPP_MAIN TYPE=TDOMAINDOMAINID="WAPP_MAIN"*DM_TDOMAINTDF_MAIN NW ADDR="//10.216.247.28:7500"DMKEEPALIVE=300000 DMKEEPALIVEWAIT=60000 WAPP_MAIN NW ADDR="//10.216.247.27:7580"*DM_REMOTE_SERVICES*DM_LOCAL_SERVICESinterface1.4.2修改配置1、TDF_MAIN NW ADDR="//10.216.247.28:7500"为当前tuxedo的IP地址,端口一般需要修改。
linux环境下TUXEDO安装和simpapp调用实例2010-10-24 18:49:17| 分类:Middleware | 标签:|字号大中小订阅TUXEDO安装分为GUI模式和console模式,本文主要图解linux下console模式的安装和simapapp应用实例的调用过程。
版本信息:linux 企业版4.0tuxedo 11gtuxedo安装介质下载地址:/technetwork/middleware/tuxedo/downloads/index.html 1.上传介质2查看介质上传成功3,切换为root用户,修改安装介质对其他用户为可执行权限4切换回tuxedo用户,安装tuxedo5安装语言,选择English,默认回车6软件介绍,有警告信息,跳过,回车7选择安装模式,默认全部安装,回车8选择oracle home目录,输入准备安装的路径9是否安装样例,选择是10确认安装信息11安装12输入tlisten密码,随便设置,别忘记了,配置集群是需要13是否支持SSL,选择NO14安装完毕15 配置ubb,进入安装目录下的samples/atmi/simpapp目录,用vi编辑器打开ubbsimple文件16,对ubb文件作如图中修改注意tux2为主机名,可以用hostname命令查询17进入安装目录下的tux.env文件,添加TUXDIR和TUXCONFIG环境变量的设置,如下图:17.5 修改环境变量,在tuxedo用户根目录下注意:.bash_profile文件在当前用户的根目录下即:[tuxedo@localhost ~]$下,可以用命令ls –l .bash_profile来查看.bash_profile的权限$ vi .bash_profile修改PATH;设置环境变量成功18编译服务器端程序和客户端程序19设置环境变量20加载配置文件ubbsimpletuxconfig文件会生成,在当前目录下,同时会生成ULOG日志文件21启动tuxedo22 调用测试,验证,如看到小写字母转为大写,则调用成功。
三层改造程序安装、配置及开发第一部分前台的安装和配置一、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 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的配置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应用服务配置、部署手册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 为应用程序主目录,根据实际情况进行修改。
LINUX下TUXEDO安装手册1.创建dba组groupadd dba2.创建tuxedo用户useradd tuxedo –g dba修改tuxedo用户密码:passwd tuxedo3.将安装包传到TUXEDO用户执行tuxedo81_linux_as3_i386.bin –i console 按提示安装完成。
在安装过程中提示拷贝lic.txt文件时,选择以后拷贝。
4.TUEXDO与ORACLE相连接安装好ORACLE后,登录oracle用户,在$ORACLE_HOME/rdbms/admin/下执行sqlplus /nologSQL >conn /as sysdbaSQL >@xaview.sql授权SQL>grant select on v$xatrans$ to public with grant option;SQL>grant select on v$pending_xatrans$ to public with grant option;SQL>connect system/managerSQL>grant select any table to public;5.修改TUXEDO配置修改环境变量:在.bash_profile中加入export ORACLE_HOME=/home/oracle/9.2.0TUXDIR=/home/tuxedo/tuxedo8.1; export TUXDIRPATH=$TUXDIR/bin:$PA TH; export PATHCOBCPY=:$TUXDIR/cobinclude; export COBCPYCOBOPT="-C ANS85 -C ALIGN=8 -C NOIBMCOMP -C TRUNC=ANSI -C OSEXT=cbl"; export COBOPTSHLIB_PATH=$ORACLE_HOME/lib:$TUXDIR/lib:/usr/lib:$SHLIB_PATH;export SHLIB_PATHLIBPATH=$ORACLE_HOME/lib:$TUXDIR/lib:/usr/lib:$LIBPA TH; export LIBPATHLD_LIBRARY_PA TH=$ORACLE_HOME/lib:$TUXDIR/lib:/usr/lib/$LD_LIBRARY_PA TH; export LD_LIBRARY_PATHWEBJA V ADIR=$TUXDIR/udataobj/webgui/javaLANG=C;export LANG在$HOME下运行. .bash_profile使环境变量有效将正式的lic.txt文件拷贝到$TUXDIR/udataobj目录下重命名下列文件,因为下列文件名与ORACLE 带的文件名有冲突,所以要改名把sqlca.h 改名为sqlca.h.bbb把sqlcode.h 改名为sqlcode.h.bbb把sqlda.h 改名为sqlda.h.bbb修改TUXEDO 安装路径的udataobj 目录下的RM 文件,把以Oracle_XA:xaosw: 开头的一行用# 注释掉,并加入一行:Oracle_XA:xaosw:-L${ORACLE_HOME}/lib -lclntsh 在TUXEDO 用户下创建TMS 文件:Oracle_XA buildtms -o $TUXDIR/bin/ Oracle_XA -r Oracle_XA。
文件版本: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中。
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的安装设置及注意事项一、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了。
Tuxedo安装
我用的是radhat5.0
配置环境:
1,首先要创建一个用户(我这里是tuxedo,密码123)
2,防火墙什么的必须要关
配置:在根目录里面打setup
3,要改一个主机名
主机名改动配置文件:/etc/hosts 直接添加一个主机名(我这里是info)
命令:vim /etc/hosts
/etc/sysconfig/network 把文件直接修改成info
命令:vim /etc/sysconfig/network
4,需要安装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/* Myserver
cp ./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.env
buildserver -o simpserv -f simpserv.c –s TOUPPER buildclient -o simpcl -f simpcl.c
如果出现下面的情况就说明好了
下面启动服务试试看
加载ubbsimple文件
tmloadcf –y ubbsimple 启动tuxedo程序tmboot –y
这样的就成功了
./simpcl Jianheng
这就成功了
进入管理界面Tmadmin
psc查看服务运行状况
psr查看服务程序运行状况
这就是弄成了,你可以看一下效果。