1.用Root用户创建bill用户,且属于DBA组,然后创建tuxedo目录
使用admintool工具生成bill用户,Bill用户的home目录为/export/home/bill
# mkdir /export/homebill/tuxedo
2.将BEA TUXEDO V7.1 光盘介质放进光盘驱动器,开始安装
# cd /cdrom
$ su – bill
$ ./install.sh
3.TUXEDO 软件开始安装,按照安装提示给出相应的选择
选择相应的平台 sun solaris
显示“ 1 tuxcore BEA TUXEDO Core System”,选1后回车
显示“ 1 both
2 client “
选择 “1” 后回车继续安装过程:
显示 “ Directory where TUXEDO files are to be installed [?,q]”
输入tuxedo 安装路径即可. /bill/tuxedo
显示 “Directory where TUXEDO web GUI documents and images are to be installed”
回车即可
显示 “Directory where TUXEDO web GUI java applets are to be installed”
回车即可
显示 “Directory where TUXEDO web GUI CGI programs are to be installed”
回车即可
显示 “Web server client prefix for CGI directory”
回车即可
显示 “Please enter the tlisten password:”
输入密码 如 tuxedo
显示 “Please verify the password:”
再输一遍密码
显示 “Install license file?”
选n
退出安装脚本.
license的安装
将license 文件, copy 到TUXDIR/udataobj/目录下,以lic.txt名存放既可.
目前有两个lic:
一个是lic¬_rtk.txt。这个是商业运行时的lic。平时我们使用的就是这个lic。
一个是lic_sdk.txt。这个是开发时的lic。只是在我们编译程序时使用。中间件软件Tuxedo server for sun solaris配置步骤
配置环境变量
TUXDIR=/export/home/bill/tuxedo
APPDIR=/export/home/bill/ver2/bin
TUXCONFIG=$APPDIR/tuxconfig
LANG=C;
NLSPATH=$TUXDIR/locale/C
PATH=$PATH:$TUXDIR/bin
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$TUXDIR/lib
生成transaction manager
修改XA方式
在TUXDIR/udataobj/RM 文件中找到Oracle_XA行,修改后按如下设置:
Oracle_XA:xaosw:-L${ORACLE_HOME}/lib –lclntsh
其中:ORACLE_HOME为Oracle安装路径
运行: buildtms –r Oracle_XA –o TMS_ORA
将TMS_ORA放到$TUXDIR/bin下,以XA 方式和Oracle 连接, 必须执行如下SQL语句:
svrmgrl> grant select on DBA_PENDING_TRANSACTIONS to 用户名
配置文件的生成
tmloadcf –y ubbcfg (ubbcfg配置文件见附录)
TLOG生成(可用脚本或按命令行方式)
tmadmin <<-!
echo
crdl -b 600 -z /bill/ver2/bin/TLOG
q
!
/bill/ver2/bin/TLOG可随应用实际而变.
调整操作系统核心参数
可用tmloadcf –c ubbcfg 来看tuxedo 需要的操作系统核心参数,并进行修改。
安装tuxedo的ubbcfg配置文件
#ident "@(#) tt/bin/ubbcfg $Revision: 1.0 $"
*RESOURCES
IPCKEY 237456
MASTER nxtest
PERM 0660
MAXACCESSERS 1800
MAXSERVERS 550
BBLQUERY 100
BLOCKTIME 30
SCANUNIT 10
MAXGTT 500
MAXSERVICES 800
CMTRET COMPLETE
MODEL SHM
LDBAL Y
*MACHINES
nxtest LMID=nxtest
TUXCONFIG="/home/bill/ver2/bin/tuxconfig"
TUXDIR="/home/bill/tuxedo"
APPDIR="/home/bill/ver2/bin"
TLOGDEVICE="/home/bill/ver2/bin/TLOG"
TLOGNAME="TLOG"
ULOGPFX="/home/bill/ver2/log/ULOG"
TLOGSIZE=1000
MAXWSCLIENTS=100
CMPLIMIT="MAXLONG,MAXLONG"
NETLOAD=0
SPINCOUNT=0
MAXACLCACHE=100
*GROUPS
DEFAULT:
# OPENINFO="Oracle_XA:Oracle_XA+Acc=P/bill/nxjfbill+SesTm=30+SqlNet=bill1+nolocal=f+LogDir=."
# TMSNAME="TMS_ORA"
# TMSCOUNT=8
"GROUP1" LMID="nxtest" GRPNO=1
GROUP2 LMID="nxtest" GRPNO=2
GROUP3 LMID="nxtest" GRPNO=3 TMSCOUNT=5
#SZTELGWGRP LMID="nxtest" GRPNO=4
#"GROUP4" LMID="nxtest" GRPNO=5
# OPENINFO="Oracle_XA:Oracle_XA+Acc=P/local/nxjflocal+SesTm=30+SqlNet=bill1+LogDir=."
# TMSNAME="TMS_ORA"
# TMSCOUNT=4
*SERVERS
DEFAULT:
CLOPT="-A" RESTART=Y GRACE=86400
CASH_BILL SRVGRP=GROUP1 SRVID=2 MIN=4 MAX=20 MAXGEN=20
#CASH_BILL SRVGRP=GROUP2 SRVID=2 MIN=4 MAX=20 MAXGEN=20
#CASH_BILL SRVGRP=GROUP3 SRVID=2 MIN=4 MAX=20 MAXGEN=20
BILL_FORMAT SRVGRP=GROUP1 SRVID=22 MIN=4 MAX=5 MAXGEN=10
#BILL_FORMAT SRVGRP=GROUP2 SRVID=22 MIN=4 MAX=5 MAXGEN=10
#BILL_FORMAT SRVGRP=GROUP3 SRVID=22 MIN=4 MAX=5 MAXGEN=10
SQLAGENT SRVGRP=GROUP1 SRVID=122 MIN=8 MAX=20 MAXGEN=20
#SQLAGENT SRVGRP=GROUP2 SRVID=122 MIN=8 MAX=20 MAXGEN=20
#SQLAGENT SRVGRP=GROUP3 SRVID=122 MIN=8 MAX=20 MAXGEN=20
STAFF_AUTH SRVGRP=GROUP1 SRVID=32 MIN=4 MAX=5 MAXGEN=5
#STAFF_AUTH SRVGRP=GROUP2 SRVID=37 MIN=4 MAX=5 MAXGEN=5
#STAFF_AUTH SRVGRP=GROUP3 SRVID=37 MIN=4 MAX=5 MAXGEN=5
TRUST_BILL SRVGRP=GROUP1 SRVID=42 MIN=2 MAX=5 MAXGEN=5
#TRUST_BILL SRVGRP=GROUP2 SRVID=42 MIN=2 MAX=5 MAXGEN=5
PUBLIC_SERVICES SRVGRP=GROUP1 SRVID=52 MIN=4 MAX=5 MAXGEN=5
#PUBLIC_SERVICES SRVGRP=GROUP2 SRVID=52 MIN=4 MAX=5 MAXGEN=5
#PUBLIC_SERVICES SRVGRP=GROUP3 SRVID=52 MIN=4 MAX=5 MAXGEN=5
SPECIAL_BILL SRVGRP=GROUP1 SRVID=62 MIN=4 MAX=5 MAXGEN=5
#SPECIAL_BILL SRVGRP=GROUP2 SRVID=62 MIN=4 MAX=5 MAXGEN=5
#SPECIAL_BILL SRVGRP=GROUP3 SRVID=62 MIN=4 MAX=5 MAXGEN=5
AC_CASH_BILL SRVGRP=GROUP1 SRVID=72 MIN=4 MAX=5 MAXGEN=5
#AC_CASH_BILL SRVGRP=GROUP2 SRVID=72 MIN=4 MAX=5 MAXGEN=5
#AC_CASH_BILL SRVGRP=GROUP3 SRVID=72 MIN=4 MAX=5 MAXGEN=5
ADJUST SRVGRP=GROUP3 SRVID=82 MIN=2 MAX=5 MAXGEN=5
OWE SRVGRP=GROUP2 SRVID=92 MIN=2 MAX=5 MAXGEN=5
#OWE SRVGRP=GROUP3 SRVID=92 MIN=2 MAX=5 MAXGEN=5
#AGENT_BILL SRVGRP=GROUP4 SRVID=2 MIN=2 MAX=10 MAXGEN=10
#AGENT_BILL SRVGRP=GROUP4 SRVID=12 MIN=2 MAX=10 MAXGEN=10
#LOCAL_OWE SRVGRP=GROUP4 SRVID=22 MIN=3 MAX=10 MAXGEN=10
WSL SRVGRP=GROUP1 MAXGEN=5 SRVID=199 CLOPT="-t -A -- -n //135.163.24.101:3190 -T 4 -I 60 -M 20 -m 10 -x 5"
#DMADM SRVGRP=SZTELGWGRP SRVID=260 RESTART=Y MAXGEN=10
#GWADM SRVGRP=SZTELGWGRP SRVID=270 RESTART=Y MAXGEN=10
#GWTDOMAIN SRVGRP=SZTELGWGRP SRVID=280 RESTART=Y MAXGEN=10
*SERVICES
#DEFAULT: AUTOTRAN=Y SVCTIMEOUT=15
阅读(1028) | 评论(1) | 转发(0) |