IBM TXSeries CICS8.2.2 For Linux 下 WLM配置说明文档-单机版

1 开始配置 TXSeries 的 WLM 前,需要先了解几个 WLM 的概念。
a) PLEX: Plex is a group of intercommunicating TXSeries Systems.
b) COR: COR is Client Owning Region. This region handles the incoming requests from the clients.
c) AOR: AOR is Application Owning Region. The business applications are deployed in an AOR.
d) ROUTING MONITOR: Applications that monitor the WLM plex.
e) WAP: WAP is WLM Application Program Cache. The WAP is the central control point of a CICS WLM configuration. The initial configuration information and updates to the
configuration are deposited in the WAP.
f) WCM: WCM is WLM cache manager located on each server on which a workload management routing decision occurs. The WAP cache transfers data to the local WCM
cache.
g) HMON : It is Health Monitor application that monitors health of the regions in WLM.
以下是 WLM 的目录结构:
目录 描述
/opt/ibm/cicssm Directory contains all the WLM runtime components, samples
/opt/ibm/cicssm/msg Directory contains language specific message catalogue files for WLM components
/opt/ibm/cicssm/lib Directory contains WLM runtime components
/opt/ibm/cicssm/bin Directory contains WLM runtime executables and setup scripts
/opt/ibm/cicssm/samples Makefile to setup WLM environment, sample client applications
/var/cicssm Directory contains all the WLM specific configuration, data and log files.
/var/cicssm/log Directory contains console messages from the WLM processes. Trace and debug messages are also created under this directory, if enabled.
/var/cicssm/repos Directory contains the WLM configuration file
2 TxseriesWLM Region 配置
此文档中, COR 为 CORSC、 AOR 为 AOR1SC、 AOR2SC
2.1 COR ( Client Owning Region ) 配置
2.1.1 创建 COR
执行命令:
cicscp –v create region CORSC DefaultFileServer=/.:/cics/sfs/rhel7SFS
2.1.2 更新 Region 定义
a ) RD 定义
#SysId 用于 wlm 的配置,也是 AOR CD 到 COR 的 CD 名称
#出口程序需要缓存在内存中,不退出,所以需要设置 ProgramCacheSize
cicsupdate -c rd -r CORSC LocalSysId=COR1
cicsupdate -c rd -r CORSC ProgramCacheSize=10//主要为了缓存 3 个出口程序
b) PD 定义
#以下三个 PD 是 wlm 的出口程序, COR 都需要配置上
cicsadd -c pd -r CORSC BHGDPL PathName=/opt/ibm/cicssm/bin/bhgdpl UserExitNumber=50 Resident=yes
cicsadd -c pd -r CORSC BHGDPLSP PathName=/opt/ibm/cicssm/bin/bhgdplsp UserExitNumber=51 Resident=yes
cicsadd -c pd -r CORSC BHGDTR PathName=/opt/ibm/cicssm/bin/bhgdtr UserExitNumber=25 Resident=yes
#测试用的 PD,此 PD 不需要写具体路径,只需要写 RemoteSysID,此 ID 为
#COR 到 AOR 的默认路由,也是 COR 里 CD 的名称之一
cicsadd -c pd -r CORSC IBMTRAN RemoteSysId=AOR1 RSLKey=public
c) LD 定义
#TCPService 的值需要在/etc/services 里面配置(CORSC,AOR1SC,AOR2SC的LD定义里的TCPService的值 在/etc/services的设置在文章最后附上)
cicsadd -c ld -r CORSC LD01 Protocol=TCP TCPAddress=rhel7 TCPService=tcpcor1sc
d) CD 定义
cicsadd -c cd -r CORSC AOR1 ConnectionType=cics_tcp RemoteLUName=AOR1SC ListenerName=LD01 RemoteTCPAddress=rhel7 RemoteTCPPort=29002
cicsadd -c cd -r CORSC AOR2 ConnectionType=cics_tcp RemoteLUName=AOR2SC ListenerName=LD01 RemoteTCPAddress=rhel7 RemoteTCPPort=29003

阅读更多

IBM TXSeries cics Fix 文件在Linux系统下的安装与升级

IBM 会定时给IBM TXSERIES CICS提供一些小更新的FIX,这些FIX可以看成是IF,也就是内部FIX,下面就是最新CICS 8.2.2.2的FIX更新记录,更新调用到TXSeriesFixInstaller.sh 脚本文件,该命令在安装前会将现有的CICS 作了BACKUP ,在/opt/ibm/cics/backup目录. 在更新后,如果发现兼容性问题,需要将CICS回滚,也可以调用TXSeriesFixUnInstaller.sh 脚 本命令,将IF删除,还原到原来的CICS版本。下面为FIX更新过程:

[root@rhel7 cics822]# tar zxvf 8.2.0.2-TXSeries-Linux-IF02.tar.Z
FixInstaller_TXSeries_8.2.0.2_InterimServiceFix_2.jar
8.2.0.2-TXSeries-IF-Install.readme
[root@rhel7 cics822]# more *-Install.readme

建议在安装前,详细阅读Install.readme文件,里面有安装与反安装的详细说明。

安装选项说明:

Usage: TXSeriesFixInstaller.sh { help | jarfilename [ silent | verbose | extract | info ] }
TXSeriesFixInstaller.bat { help | jarfilename [ silent | verbose | extract | info ] }

阅读更多

CICS安装与配置步骤-AIX系统下SMIT操作

CICS安装

1、     用smitty mkgroup建组

GROUP NAME:             cics

USER LIST:                  root

ADMINISTRATOR LIST:      root

GROUP NAME:             cicsterm

USER LIST:                  root

ADMINISTRATOR LIST:      root

 

2、     用smitty mkuser建立用户

USER NAME:               cics

PRIMARY GROUP:        cics

GROUP SET:                 cicsterm

USER NAME:               SFS_SERV

PRIMARY GROUP:        cics

GROUP SET:                 cicsterm

3、     用smitty crjfs创建jfs(Journaled File System)

SIZE OF FILE SYSTEM:      131072(64 Meta bytes)

MOUNT POINT:            /var/cics_servers

MOUNT AUTOMATICALLY AT SYSTEM RESTART?:      YES

SIZE OF FILE SYSTEM:      3G(40 Meta bytes 根据实际情况确定)

MOUNT POINT:            /var/cics_regions

MOUNT AUTOMATICALLY AT SYSTEM RESTART?:      YES

 

4、     用smitty mklv创建lv

LOGICAL VOLUME NAME:        sfs_SFS_SERV

NUMBER OF LOGICAL PARTITIONS:       8(32 Meta bytes)[128M]

LOGICAL VOLUME NAME:        log_SFS_SERV

NUMBER OF LOGICAL PARTITIONS:       8(32 Meta bytes)[256M]

5、     授权设备

cd /dev

chown SFS_SERV:cics *SFS*

阅读更多