Tuxedo Memorial Mode Configuration

xiaoxiao2021-03-06  66

Tuxedo Memorial Mode Configuration

Two aspects of Tuxedo multi-machine configuration

Start TLISTEN

TLISTEN plays the role of the controller during Tuxedo, starting the BBL and the application server by TLISTEN on the non-MASTER machine, TLISTEN's startup method is

TListen -L // Host: ipport

Note that IPPORT here must be consistent with the NetWork field NLSADDR in the UBB file.

TLISTEN must start on all machines and start TMBoot after startup. It is recommended to run TLISTEN when the operating system starts.

2.Ubb file configuration

For multi-machine mode, it is generally a plurality of machines for Domain management. Only one UBB file is required on all machines, the following is a Template for UBB files.

* Resources

IPCKey 80952

Maxaccessers 40

MaxServers 35

Maxservices 75

Master Site1, Site2

Options lan, migrate

MODEL MP

* Machines

lmid = site1

Tuxdir = ""

Appdir = ""

Tuxconfig = " / tuxconfig"

TYPE = ""

Ulogpfx = " / ulog"

lmid = site2

Tuxdir = ""

Appdir = ""

TLOGDEVICE = " / tlog"

TLOGNAME = TLOG

Tuxconfig = " / tuxconfig"

TYPE = ""

Ulogpfx = " / ulog"

#

* Groups

* NetWork

Site1 naddr = ""

Bridge = ""

NLSADDR = ""

Site2 naddr = ""

Bridge = ""

NLSADDR = ""

* Servers

Default: restart = y maxGen = 5 replyq = y clopt = "- a"

#

* SERVICES

3. Management

You can only run TMADMIN on the MASTER machine. To get the statistics, you should run the default -m command in TMADMIN.

E.g:

TmAdmin

> default -m site1

> PrintService

SAMPLE:

#ident "@ (#) Samples / ATMI / SIMPAPP / UBBMP $ Revision: 1.2.8.1 $

* Resources

IPCKey 87654

Master Site1, Site2

Maxaccessers 40

MaxServers 20

Maxservices 40

Uid 0

GID 0

MODEL MP

Options lan, migrate

* Machines

Chris Lmid = Site1

Appdir = "D: / Tuxedo / Samples / ATMI / SimPApp"

Tuxconfig = "D: / Tuxedo / Samples / Atmi / SimPApp / Tuxconfig"

# Type = ""

Tuxdir = "d: / tuxedo"

Chrislinux Lmid = Site2

Appdir = "/ home / tuxedo / samples / atmi / simpApp"

Tuxconfig = "/ home / tuxedo / samples / atmi / simpApp / tuxconfig"

# Type = ""

Tuxdir = "/ home / tuxedo"

UID = 503

GID = 503

* Groups

Group1

LMID = Site1 Grpno = 1 openinfo = None

Group2

Lmid = site2 grpno = 2 openinfo = none

* NetWork

Site1 Naddr = "// 10.10.10.10:6033"

NLSADDR = "// 10.10.10.10:6034"

# Bridge = "

Site2 Naddr = "// 10.10.10.11:6033"

NLSADDR = "// 10.10.10.11:6034"

# Bridge = "

* Servers

DEFAULT:

Clopt = "- a"

SIMPSERV SRVGRP = Group1 SRVID = 3

* SERVICES

TouPper

转载请注明原文地址:https://www.9cbs.com/read-87631.html

New Post(0)