TPMonitor

Tmax Install

Memo
BW Server
Install Maintenance HTTPS Connector
ISM
Install
BWMAgent
Linux Compile

Tmax tmconfig 설정, tmadmin 명령어 정리

Configure

$ cfl -i sample.m
CFL is done successfully for node(localhost)

$ gst
SVC tables are successfully generated
GST is successfully done

start, stop

$ tmboot
$ tmdown -y

tmadmin

$ tmadmin 
$$1 localhost (tmadm): st [-pst] [Name] [-x] 
명령어 대상 표시 정보
$ st -p [Process Name] Server Process svr_name(서버 명)
svgname(서버 그룹명)
spr_no(프로세스 ID)
status(상태)
count(처리한 서비스 개수)
avg(프로세스 평균 처리 시간)
svc(처리중인 서비스명)
$ st -s [Service Name] Service svc_name
svr_name
count(서비스 처리 건수)
q_cnt(현재 대기 중인 서비스 요청 건수)
aq_cnt(잠시라도 대기했던 총 서비스 요청 건수)
q_avg(평균 대기 시간)
avg(평균 처리시간)
status(상태)
$ st -t [TMS Name] TMS tms_name
svgname
spr_no(프로세스 ID)
status(상태)
count(처리 건수)
avg(평균 처리 시간)
cqcount(현재 대기 중인 요청 건수)
aqcount(대기했던 총 요청 건수)
qavg(평균 대기 시간)

sample.m

*DOMAIN
tmax1           SHMKEY = 79990, MINCLH = 1, MAXCLH = 3,
                TPORTNO = 8888, BLOCKTIME = 30,
                MAXCPC = 300,MAXGW=4

*NODE
localhost        TMAXDIR = "/home/tmax/tmax5",
                APPDIR  = "/home/tmax/tmax5/appbin",
                PATHDIR = "/home/tmax/tmax5/path",
                TLOGDIR = "/home/tmax/tmax5/log/tlog",
                ULOGDIR = "/home/tmax/tmax5/log/ulog",
                SLOGDIR = "/home/tmax/tmax5/log/slog",
                MAXSVG = 64, MAXSVR = 128, MAXSPR = 1024, MAXTMS = 128,
                MAXCPC = 64, MAXGWSVR = 8, MAXRQSVR = 2, MAXGWCPC = 32,
                MAXRQCPC = 8,
                NODETYPE = SHM_RACD
                #SQKEY = 78550, SQSIZE = 8192, SQMAX = 1024, SQKEYMAX = 64, SQTIMEOUT = 30

*SVRGROUP
svg1            NODENAME = "localhost"
xagrp1         NODENAME = "localhost",
                DBNAME   = ORACLE,
                TMSNAME  = tms_ora,
                OPENINFO = "Oracle_XA+Acc=P/scott/tiger+sqlnet=ORCL+SesTm=60+DbgFl=0x15+LogDir=/home/tmax/tmax5/log/xatrace",
                MINTMS   = 2, MAXTMS = 5,
                APPDIR   = "/home/tmax/tmax5/appbin",
                TMSRECOVERY = N

*SERVER
svr2            SVGNAME = svg1

*SERVICE
TOUPPER         SVRNAME = svr2
TOLOWER         SVRNAME = svr2

*GATEWAY
GWTINF01        GWTYPE = JEUS,
                NODENAME = "localhost",
                PORTNO = 19891,
                RGWADDR = "localhost",
                RGWPORTNO = 65511,
                CPC = 2,
                MAXINRGW = 128,
                CLOPT = "-h 1 -r -R IGN -e $(SVR)_$(CDATE) -o $(SVR)_$(CDATE)"

Shared Memory 조회 및 삭제

- 조회
    $ ipcs  
    ------ Message Queues --------
    key        msqid      owner      perms      used-bytes   messages
    ------ Shared Memory Segments --------
    key        shmid      owner      perms      bytes      nattch     status
- 삭제
    $ ipcrm -M [shmkey] -m [shmid] -q [msgid]
This page was generated by GitHub Pages.
Author. silentjini