tuxedo的配置

(1) 修改文件 tuxedo.doma 内容
bjwl:/home/ap/ecds/etc/> view tuxedo.doma
#       Copyright (c) 1990, 1994 Novell, Inc.
#       Copyright (c) 1994 Novell
#         All Rights Reserved
 
#       THIS IS UNPUBLISHED PROPRIETARY SOURCE CODE OF
#       UNIX System Laboratories, Inc.
#       The copyright notice above does not evidence any
#       actual or intended publication of such source code.
 
#Copyright (c) 1994 Novell, Inc.
#All rights reserved
#ident  "@(#) apps/creditapp/domcon1    $Revision: 1.3 $"
 
#
# TUXEDO DOMAIN CONFIGURATION FILE
#
*DM_RESOURCES
#
#
VERSION=U22
 
#
#
*DM_LOCAL_DOMAINS
#
#
ecds    GWGRP=GROUP2
        TYPE=TDOMAIN
        MTYPE="HP-UX"
        DOMAINID="ecds100"
        BLOCKTIME=60
        MAXDATALEN=56
        MAXRDOM=89
        DMTLOGDEV="/home/ap/ecds/log/DMTLOG"
        AUDITLOG="/home/ap/ecds/log/AUDITLOG"
        DMTLOGNAME="DMTLOG_TDOM1"
        CONNECTION_POLICY=ON_STARTUP
        RETRY_INTERVAL=10
 
ecds_back       GWGRP=GROUP3
        TYPE=TDOMAIN
        DOMAINID="back100"
        BLOCKTIME=60
        MAXDATALEN=56
        MAXRDOM=89
        DMTLOGDEV="/home/ap/ecds/bin/DMTLOG"
        AUDITLOG="/home/ap/ecds/bin/AUDITLOG"
        DMTLOGNAME="DMTLOG_TDOM2"
        CONNECTION_POLICY=ON_STARTUP
        RETRY_INTERVAL=10
 
#
#
*DM_REMOTE_DOMAINS
#
#
 
EAIH_AIX6_BAGW3         TYPE=TDOMAIN
        DOMAINID="EAIH_AIX6_BAGW3"
EAIH_AIX6_BAGW4         TYPE=TDOMAIN
        DOMAINID="EAIH_AIX6_BAGW4"
 
 
#
#
*DM_TDOMAIN
#
#
ecds100 NWADDR="//128.32.100.100:12201" CMPLIMIT=0
back100 NWADDR="//128.32.100.100:12202" CMPLIMIT=0
EAIH_AIX6_BAGW3     NWADDR="//128.192.137.164:8666" CMPLIMIT=0
EAIH_AIX6_BAGW4    NWADDR="//128.192.137.164:8667" CMPLIMIT=0
#
#
*DM_LOCAL_SERVICES
CTS_SVR     LDOM=ecds
GETFILE     LDOM=ecds
CTS_SVR     LDOM=ecds_back
GETFILE     LDOM=ecds_back
#
#
 
*DM_REMOTE_SERVICES
#
#
TuxEntry        RDOM=EAIH_AIX6_BAGW3
TuxEntry        RDOM=EAIH_AIX6_BAGW4
 
(2) 修改文件 tuxedo.conf 内容
WH8HP361:/home/ap/ecds/etc/> view tuxedo.conf
*RESOURCES
IPCKEY                  123457
DOMAINID                ecds100
MASTER                  ecds100
PERM                    0666
MAXACCESSERS            500
MAXSERVERS              200
MAXSERVICES             500
MAXCONV                 20
MODEL                   SHM
LDBAL                   N
 
*RESOURCES
IPCKEY                  123457
DOMAINID                ecds100
MASTER                  ecds100
PERM                    0666
MAXACCESSERS            500
MAXSERVERS              200
MAXSERVICES             500
MAXCONV                 20
MODEL                   SHM
LDBAL                   N
 
*MACHINES
"WH8HP361"      LMID=ecds100
        APPDIR="/home/ap/ecds/bin"
        TUXCONFIG="/home/ap/ecds/etc/tuxedo.ubb"
        TUXDIR="/home/mw/tuxedo/tuxedo8.1"
        ULOGPFX="/home/ap/ecds/log/tuxedo.log"
        MAXWSCLIENTS=200
        MAXACCESSERS=300
 
*GROUPS
GROUP1  LMID=ecds100 GRPNO=1
GROUP2  LMID=ecds100 GRPNO=2
GROUP3  LMID=ecds100 GRPNO=3
 
*NETGROUPS
 
*SERVERS
DEFAULT:    RESTART=Y  MAXGEN=5  REPLYQ=Y  CLOPT="-A"
DMADM       SRVGRP=GROUP2   SRVID=1     REPLYQ=N
 
GWADM       SRVGRP=GROUP2   SRVID=2     REPLYQ=N
GWTDOMAIN   SRVGRP=GROUP2   SRVID=3     REPLYQ=N        CLOPT="-t"
GWADM       SRVGRP=GROUP3   SRVID=4     REPLYQ=N
GWTDOMAIN   SRVGRP=GROUP3   SRVID=5     REPLYQ=N        CLOPT="-t"
 
*SERVICES
 
3. 生成二进制文件 tuxedo.bdm tuxedo.ubb
1) 在执行以下命令的时候要先停掉 tuxedo
bjwl:/home/ap/ecds/etc/>tmshutdown -c -y
2) 生成 tuxedo.ubb 文件:
bjwl:/home/ap/ecds/etc/>tmloadcf -y tuxedo.conf
3) 生成 tuxedo.bdm 文件 :
bjwl:/home/ap/ecds/etc/>dmloadcf -y tuxedo.conf
 
4. 重启 tuxedo
bjwl:/home/ap/ecds/etc/>tmboot -y

你可能感兴趣的:(配置,Tuxedo)