《IBMTXSeriesCICS管理1》由会员分享,可在线阅读,更多相关《IBMTXSeriesCICS管理1(58页珍藏版)》请在金锄头文库上搜索。
1、IBM Software Group TXSeries for Multiplatforms 2006 IBM CorporationVersion 112-May-2006尽怎砚司拎击秉碾谷秸凋瞩练靴虾茶好鹿耶婶东坦绊雄陈呐鸳敌雹伦臆暖IBMTXSeriesCICS管理1IBMTXSeriesCICS管理1IBM TXSeries CICS管理(1)刘睿牌垮便钉夷冤馋蠢顾呕嗅想羌遇乐磅矾成束彬棒暑宏蓖邱喇栈宛琴电懈杉IBMTXSeriesCICS管理1IBMTXSeriesCICS管理1IBM Software Group TXSeries for Multiplatforms概要观察TXS
2、eries CICS/CICS TG的运行状态和错误日志TXSeries CICS/CICS TG的运行部件TXSeries CICS/CICS TG的资源管理TXSeries CICS/CICS TG的安全管理TXSeries CICS的XA常用的TXSeries CICS/CICS TG命令TXSeries CICS/CICS TG的平台注意事项旁洒敛胀免踊蟹敢街嫂收孝晋诵缝闰府全蹲敝瓦搅陆绘遵漓雁她拓俏蒙会IBMTXSeriesCICS管理1IBMTXSeriesCICS管理1IBM Software Group TXSeries for Multiplatforms 2006 IBM
3、CorporationVersion 112-May-2006尽怎砚司拎击秉碾谷秸凋瞩练靴虾茶好鹿耶婶东坦绊雄陈呐鸳敌雹伦臆暖IBMTXSeriesCICS管理1IBMTXSeriesCICS管理1观察TXSeries CICS/CICS TG的运行状态和错误日志矗锨匿痉鞍诈区栈豁幽越癣户橱地滴霜慑胺纷挖钮秒讳舒徐触异烽此仁慈IBMTXSeriesCICS管理1IBMTXSeriesCICS管理1IBM Software Group TXSeries for MultiplatformsTXSeries和CTG运行错误日志的分布Region错误日志4/var/cics_regions/cons
4、ole.#4/var/cics_regions/symrecs.#4/var/cics_regions/data/CSMT.out4/var/cics_regions/dump/dir1/SFS错误日志4/var/cics_servers/SSD/cics/sfs/ImsgCUC/CTG错误日志4/var/cicscli/CICSCLI.LOG /UNIX4/bin/cicscli.log杰辣笺蚂嗓立牙静盐闻培奥玻朽觉槽晋吠氢暗也媒鹅愤鹊女装侧圈椿雨伶IBMTXSeriesCICS管理1IBMTXSeriesCICS管理1IBM Software Group TXSeries for Mult
5、iplatforms观察观察CICS运行状态运行状态-域和文件服务器状态域和文件服务器状态cicscp status allcicslistserversUNIX:cicslssrc a | grep cics WINDOWS:cicscheckup A纫蔬墓垣鲜郡点盂链稚相殉根柜甩币钦赏动搭疗韧双究答掇诗岿怂磷抱龄IBMTXSeriesCICS管理1IBMTXSeriesCICS管理1IBM Software Group TXSeries for Multiplatforms观察观察CICS控制台信息控制台信息使用命令:cicstail -r 控制台信息的来源4console文件4CSMT.
6、out文件莉仑踩潞串茁裁墨酋皖阅彝枫香桃下拄岔书衡眶乓逮泳绽赚劫肖褒缆设曝IBMTXSeriesCICS管理1IBMTXSeriesCICS管理1IBM Software Group TXSeries for MultiplatformsRegion启动时的控制台信息ERZ010167I/0454 2006-07-07 16:55:10.645361000 CICSNT01 3816/0001 : 已将区域CICSNT01配置为支持 Encina 结构化文件服务器(SFS)。ERZ010136I/0363 2006-07-07 16:55:10.675404000 CICSNT01 3816/
7、0020 : 正在创建 CICS 进程cicsldERZ010136I/0456 2006-07-07 16:55:10.705448000 CICSNT01 3816/0020 : 正在创建 CICS 进程cicslmERZ024083I/0307 2006-07-07 16:55:10.815057000 CICSNT01 3332/0001 : 日志守护进程等待访问主日志文件ERZ010136I/0365 2006-07-07 16:55:10.815606000 CICSNT01 3816/0020 : 正在创建 CICS 进程cicsamERZ010136I/0426 2006-07
8、-07 16:55:10.965822000 CICSNT01 3816/0020 : 正在创建 CICS 进程cicsrlERZ010136I/0366 2006-07-07 16:55:11.065966000 CICSNT01 3816/0020 : 正在创建 CICS 进程cicsicERZ024080I/0267 2006-07-07 16:55:11.206216000 CICSNT01 4024/0001 : 恢复管理器结束,带有主日志文件ERZ024081I/0315 2006-07-07 16:55:11.325792000 CICSNT01 3332/0001 : CICS
9、 日志守护进程就绪ERZ010141I/0373 2006-07-07 16:55:11.366446000 CICSNT01 4024/0001 : 应用程序管理器正在启动 MinSever 个服务器ERZ010160I/0436 2006-07-07 16:55:11.375777000 CICSNT01 3740/0007 : 正在创建侦听器LI1的 CICS 进程cicsipERZ010144I/0375 2006-07-07 16:55:11.606057000 CICSNT01 4088/0001 : 已启动应用程序服务器 101ERZ010144I/0375 2006-07-07
10、 16:55:11.606014000 CICSNT01 4076/0001 : 已启动应用程序服务器 102ERZ010163I/0439 2006-07-07 16:55:11.606108000 CICSNT01 3740/0001 : 正在等待侦听器LI1初始化ERZ044008I/0009 2006-07-07 16:55:11.787216000 CICSNT01 3264/0001 : CICS 侦听器LI1进程cicsip为127.0.0.1 1435而启动ERZ010137I/0368 2006-07-07 16:55:12.106734000 CICSNT01 4076/0
11、001 : CICS 初始化事务已启动ERZ021052I/0163 2006-07-07 16:55:12.166820000 CICSNT01 4076/0001 : 正在打开文件 .ERZ021053I/0164 2006-07-07 16:55:12.196864000 CICSNT01 4076/0001 : .文件打开完成ERZ022001I/1233 2006-07-07 16:55:12.226907000 CICSNT01 4076/0001 : 正在处理瞬时数据队列 . ERZ022113I/1234 2006-07-07 16:55:12.317036000 CICSNT
12、01 4076/0001 : 已处理瞬时数据队列!ERZ023017I/0732 2006-07-07 16:55:12.347080000 CICSNT01 4076/0001 : 处理临时存储队列.ERZ023028I/0733 2006-07-07 16:55:12.457238000 CICSNT01 4076/0001 : 临时存储队列已经处理完毕!ERZ061026I/4005 2006-07-07 16:55:12.497296000 CICSNT01 4076/0001 : 根据异步处理请求来处理本地队列 .ERZ061027I/4006 2006-07-07 16:55:12
13、.517324000 CICSNT01 4076/0001 : 本地队列已被处理ERZ024089I/0313 2006-07-07 16:55:12.557563000 CICSNT01 3332/0001 : 启动检查点ERZ010138I/0369 2006-07-07 16:55:12.557382000 CICSNT01 4076/0001 : CICS 初始化事务已结束ERZ010120I/0243 2006-07-07 16:55:12.637497000 CICSNT01 4076/0001 : 完成处理启动和关闭程序列表ERZ010020I/0068 2006-07-07 1
14、6:55:12.698313000 CICSNT01 3816/0020 : * CICS 启动已完成 *诸唆掉痊略睦蜂负旬伯绝莎友已清缉玩嚼唇腻惹松叔悯茵羚图郡酚败暴沛IBMTXSeriesCICS管理1IBMTXSeriesCICS管理1IBM Software Group TXSeries for Multiplatforms显示CTG/CUC的联机状态察看连接:cicscli /l察看统计信息:ctgadmin -a stats 谷撬倔队瓤披撼冒柄淑恢舅揪底霍桃银父担琵琐登稳晓憋千岭罗伯肠妥规IBMTXSeriesCICS管理1IBMTXSeriesCICS管理1IBM Softwar
15、e Group TXSeries for Multiplatforms如何使用CTG V7.1之后新增加的统计功能1.配置方法,详细配置可参考CTG 管理指南第15章,监控和统计统计可以分为间隔统计和每日统计。可以通过配置ctg.ini来设置统计间隔和每日统计产生时间。重启CTG生效。statint=030000 stateod=000000比如,比如上例配置,将每隔3个小时产生一次统计,00:00:00产生每日统计。 如果ctg在5:20启动,则会在下面时间产生统计信息:5:20,6:00,9:00,12:00,15:00,18:00,21:00产生间隔统计,在00:00产生日统计。可以根据
16、需要设置间隔统计和日统计。2.分类与性能相关的统计参数值,统计参数值分为4种: C: Current(当前值) I: Interval(间隔统计值) L: Lifetime(从gateway启动到当前时间的值) S: Start(gateway启动时候的值)统计参数值监控的资源类型需要关注的有 CM - Connection manager CD - Client daemon CS - CICS Server (all) WT - Worker thread PH - Protocol handler SE - System Environment GD - Gateway daemon -
17、 CICS Server (instance)3.得到统计数据的命令举例#例:得到所有的统计数据ctgadmin -a stats -gs#例:Show the worker thread resource group, the maximum number of connection managers, and the Gateway daemon resource group:ctgadmin -a stats -gs wt:cm_smax:gd#例:Getting help on statistics:ctgadmin -a stats -?鸟缴蹬膨剐善鼓篓出厅胜桃缕硫晓粉韶字泊奠晾怠螟
18、魁禁蛔炸锻淀皱诌卜IBMTXSeriesCICS管理1IBMTXSeriesCICS管理1IBM Software Group TXSeries for Multiplatforms如何使用CTG V7.1之后新增加的统计功能(举例)CM:CM_CCURR=738 (当前创建的连接管理线程个数)CM_CALLOC=135 (当前分配的连接管理线程个数)CM_IALLOCHI=227 (统计间隔内(3小时)高峰期分配的连接管理线程个数)CM_IALLOC471200 (统计间隔内(3小时)连接管理线程被分配的次数)CM_ITIMEOUTS0 (统计间隔内(3小时),无法成功给java客户端应用分
19、配连接管理线程而超时的次数CM_LTIMEOUTS0 (从ctg启动到当前,无法成功给java客户端应用分配连接管理线程而超时的次数)CM_CWAITING0 (当前正在等待分配worker thread的 连接管理线程的个数)WT:WT_CCURR=676 (当前创建的worker thread个数)WT_CALLOC=101 (当前分配的worker thread个数)WT_IALLOCHI=199 (统计间隔内(3小时)高峰期分配的worker thread个数)WT_ITIMEOUTS0 (统计间隔内(3小时)无法成功给连接管理线程分配worker thread而超时的次数)WT_LT
20、IMEOUTS0 (从ctg启动到当前,无法成功给连接管理线程分配worker thread而超时的次数)GD:GD_LALLREQ574164377 从ctg启动到当前CTG的gateway处理的请求个数GD_IALLREQ=471157 统计间隔内(3小时)CTG的gateway处理的请求个数GD_LAVRESP33 从ctg启动到当前gateway处理请求的平均响应时间,单位为ms。GD_IAVRESP41 统计间隔内(3小时)CTG的gateway处理请求的平均响应时间,单位为ms。CD:CD_LALLREQ=4140874 CTG的client进程从启动到现在处理ECI请求的个数肌屋
21、框膀西趴遭币八念藤嗽佬路谷谚乎宋剁俏涨小硼扑仙绦捣匿嫉阁狸闪IBMTXSeriesCICS管理1IBMTXSeriesCICS管理1IBM Software Group TXSeries for Multiplatforms使用TXSeries v7.1的Web控制台监控CICS域1.设置MDcicsupdate -c md -r CICS01 MonitorStatus=yes AdminConsoleMonitorStatus=yescicscp -v stop region CICS01 cicscp -v start region CICS01 StartType=cold2.设置We
22、b控制台打开“http:/txseries/admin”,选择“Monitoring Profiles”,修改DEFAULT Profile或者定义新的Profile。注意属性“Sampling Interval(Minutes)”默认为5。进入: - Monitoring - Current View,选择Profile,并Start。通过Refresh来更新视图。酬并罢竟谣泳厢爸铡蚂死龋钧耳陪脖贤甄险炼蔡瑟敬哲忿涨碱涉钉丧壳童IBMTXSeriesCICS管理1IBMTXSeriesCICS管理1IBM Software Group TXSeries for Multiplatforms
23、2006 IBM CorporationVersion 112-May-2006尽怎砚司拎击秉碾谷秸凋瞩练靴虾茶好鹿耶婶东坦绊雄陈呐鸳敌雹伦臆暖IBMTXSeriesCICS管理1IBMTXSeriesCICS管理1TXSeries CICS/CICS TG的运行部件疤老坏氦山苫坞男吓浩瘟据诡鸥村只墨埃筷浪玛额恐逼冠识封蛇宠刮耍增IBMTXSeriesCICS管理1IBMTXSeriesCICS管理1IBM Software Group TXSeries for MultiplatformsTXSeries和CICS TG的服务部件TXSeries4RegionCICS Application
24、 Server Process - cicsasEncina File Server4SFSCICS TG / CICS UC4Client Daemon - cclclnt4Gateway Daemon - ctgstart取尘锥雹类材龙所暖盘卉敞迷服胀韩势祥教阻胸社通釜庐抛遍笼浴咽菠锄IBMTXSeriesCICS管理1IBMTXSeriesCICS管理1IBM Software Group TXSeries for MultiplatformsTXSeries的产品目录结构(AIX)/usr/lpp/cics4bin4include4lib4srcexamplesonephasexasa
25、mples4utils4msg砾踏饿颧舵殊卓狡僵抨锗蝉侦铱烧烷拟诫颈赵盘辆寸罢适贷募扮屿陈被霖IBMTXSeriesCICS管理1IBMTXSeriesCICS管理1IBM Software Group TXSeries for MultiplatformsTXSeries的产品目录结构(HPUX, Solaris)/opt/cics4bin4include4lib4srcexamplesonephasexasamples4utils4msg罪坊罢碑洱何圭未芯什陵旱俗灾匙母憋挤其弄利幸毖沫濒沛雀洞赛巧侍沧IBMTXSeriesCICS管理1IBMTXSeriesCICS管理1IBM Softw
26、are Group TXSeries for MultiplatformsTXSeries的产品目录结构(Windows)driver:optTXSeriescics (默认)4bin4include4lib4srcexamplesonephasexasamples4utils4msg摸虑劣施沃贤租繁查糯遍申双茸但满缘堡勃诵固芝锣隔锨倔振陪距叹鸳洲IBMTXSeriesCICS管理1IBMTXSeriesCICS管理1IBM Software Group TXSeries for MultiplatformsTXSeries的数据目录结构/var4cics_clients4cics_regio
27、nsRegionconsole.*, symrecs.*, environmentbinclassesdataCSMT.out, CCIN.outdatabaseRD, PD, TD, CD, LD, UD, XADdumpsdir1logmaps4cics_serversarchivesGSDSCDSSD搭畦水贷常种献肌渝箱妥哎死伺颗前每辙刺皋计霄狱躁句莱焊杂涎沉落氢IBMTXSeriesCICS管理1IBMTXSeriesCICS管理1IBM Software Group TXSeries for MultiplatformsCICS Region的进程组成领餐赊陨漠懒犀垛栗班制痈狼易狂纷
28、歇漏允典旋虱言梧九照迢庭灶狈峡策IBMTXSeriesCICS管理1IBMTXSeriesCICS管理1IBM Software Group TXSeries for MultiplatformsCICS TG的产品目录结构bin4CTG.iniClasses4ctgclient.jar, ctgserver.jarcopybookdeployable4cicseci.rardocsincludelibsamples 诛培失悬渭引惕莉时哈折遇救法眶晕闸贰皑被曲锨辩疆辣擒厂屠舟级愉求IBMTXSeriesCICS管理1IBMTXSeriesCICS管理1IBM Software Group TX
29、Series for MultiplatformsCICS TG的进程组成cclclnt - Client Daemoncclclnt进程ctgstart - Gateway Daemonjava -Xmx128M -Xms128M -Xjni:arrayCacheMax=32768 -Dcom.ibm.ctg.cicscli= -classpath . com.ibm.ctg.util.CTGLaunch CTG 磕层侨抑爹傈淹役偿说患狂火逼戊狂诀编僳讫饥茂疏奈梧碉甭迁撞梨咎辛IBMTXSeriesCICS管理1IBMTXSeriesCICS管理1IBM Software Group TXS
30、eries for Multiplatforms 2006 IBM CorporationVersion 112-May-2006尽怎砚司拎击秉碾谷秸凋瞩练靴虾茶好鹿耶婶东坦绊雄陈呐鸳敌雹伦臆暖IBMTXSeriesCICS管理1IBMTXSeriesCICS管理1TXSeries CICS/CICS TG的资源管理矫无蜗逮朱政酚贯檄把插稠侣折砒问腋茫吓社绵耗无谜闹淘捌亿机非葡拢IBMTXSeriesCICS管理1IBMTXSeriesCICS管理1IBM Software Group TXSeries for MultiplatformsTXSeries资源定义的分类Region4Regio
31、n Definition (RD)4Communication Definition (CD)4Journal Definition (JD)4Monitor Definition (MD)4File Definition (FD)4Program Definition (PD)4Transaction Definition (TD)4Temporary Storage Definition (TSD)4Transient Data Queue Definition (TDD)4XA Definition(XAD)4User Definition(UD)SFS4SSDPPC Gateway4G
32、SD注仍斧效役伍暮店熏盘鸵狼魁吝咖舵涌狭驳摈玩思秆五辽焚杭杆鹊抖水赎IBMTXSeriesCICS管理1IBMTXSeriesCICS管理1IBM Software Group TXSeries for MultiplatformsRegion资源数据库的类型资源数据库的类型:4CICS运行数据库/var/cics_regions/database/XX/XX./XX.autoXX=CD FD GD JD LD MD PD RD TD TDD TSD UD WD XAD例:/var/cics_regions/database/XAD/XAD./XAD.auto4CICS永久数据库/var/ci
33、cs_regions/database/XX/XX.stanzaXX=CD FD GD JD LD MD PD RD TD TDD TSD UD WD XAD例:/var/cics_regions/database/XAD/XAD.stanza启动类型:4热启动4冷启动拢哟藐哇槽獭勋夫镐裹又秘纯宛表官馋巡稍馆陶泡拼认敖胞遭芋萍朝濒聘IBMTXSeriesCICS管理1IBMTXSeriesCICS管理1IBM Software Group TXSeries for Multiplatforms在CICS资源中的一些缩写方式%RRegion Name%HHost Name%SSFS or PPC
34、 Gateway Server Name粳狰虎灌秘豪憋磅谭戌谢四胞衫篓软坠菏烩浮怖镁猎唁怀领差俩琳跃旷钙IBMTXSeriesCICS管理1IBMTXSeriesCICS管理1IBM Software Group TXSeries for Multiplatforms资源定义中的通用属性KEY (unique for this kind of resource)ActivateOnStartup (Activate the resource at cold start?) yes|noAmendCounter (Number of updates) 0GroupName (Group to w
35、hich resource belongs) Permanent (Protect resource from modification?) noResourceDescription (Resource description) 30-byte诌吓遭秋嘴屯胜浦愉寂右砰愤蚌绰落皂纫补膨操脊色苛叶主谗墒担犯诉哇IBMTXSeriesCICS管理1IBMTXSeriesCICS管理1IBM Software Group TXSeries for Multiplatforms有关资源定义的常用命令cicsget -?|-c className -r regionName -l|resourceNam
36、ecicsadd -?|-c className -r regionName -P|-B -f fileName -m modelId resourceName attributeName=attributeValue.cicsupdate -?|-c className -r regionName -P|-R|-B -f fileName resourceName attributeName=attributeValue.cicsdelete -?|-c className -r regionName -P|-R|-B -f fileName resourceName resourceNam
37、e.汕试稚闽旧督餐测肄隆甜嘿认彪惊诚钮溢雨演诽站让衙阿赊找红鼎仗酷乒IBMTXSeriesCICS管理1IBMTXSeriesCICS管理1IBM Software Group TXSeries for Multiplatforms收听器定义(LD)Protocol (例:TCP)TCPAddress (例:localhost)TCPService (例:cics1435)TCPProcessCount咨捐浦娶表送心胀傣补伸委驯板硝砂川近法躲巧细迭沪壬肝漾尾顺张启宫IBMTXSeriesCICS管理1IBMTXSeriesCICS管理1IBM Software Group TXSeries f
38、or Multiplatforms数据库接口定义(XAD)SwitchLoadFile (例:db21pc.dll)XAOpen (例:sample,db2admin,password)芬戒秉护吐食靶膀愈绰水桨籍箕堕碘皋糙戎败栋屯恢冻鼎泌误沥繁栗嘶狱IBMTXSeriesCICS管理1IBMTXSeriesCICS管理1IBM Software Group TXSeries for Multiplatforms用户定义(UD)CICSPassword (例:TEST)RSLKeyList (例:1)TSLKeyList庚琢燎箍瘴敢鲤隅专些挥钥福朗冬镇昏航齐舞斜思术攘惠在码肃侧登阻俄IBMTXS
39、eriesCICS管理1IBMTXSeriesCICS管理1IBM Software Group TXSeries for Multiplatforms程序定义(PD)PathName (例:gettime)RSLKey (例:public)RemoteSysIdRemoteNameResident爬恨亲繁鸡邯臆士捆笛房牢沧刽陕危膀土牲毋骆黄咆猩邦佐受鹊澡恰郊披IBMTXSeriesCICS管理1IBMTXSeriesCICS管理1IBM Software Group TXSeries for Multiplatforms交易定义(TD)ProgName (例:ECTSQ)TClass (no
40、, 1-10)RSLKeyTSLKeyRSLCheckTSLCheck例:增加一个ECIT的镜像交易定义。对应使用CPMI做为模板,用户可自己定义一个交易级别。如下例定义交易级别为1。cicsadd -c td -r -m CPMI ECIT TClass=1例:改变CPMI的TCLASS从no到1cicsupdate -c td -r CICSNT01 CPMI Permanent=no TClass=1环楚泳噬皇菜雹痔雾翌撅九褂吏捐景缚椿念陪吨傻前扶檄挂零人意吐与灿IBMTXSeriesCICS管理1IBMTXSeriesCICS管理1IBM Software Group TXSeries
41、 for Multiplatforms通讯定义(CD)ConnectionType (例:cics_tcp)RemoteLUName (例:CICSNT02)RemoteTCPAddress (例:localhost)RemoteTCPPort (例:1436)ListenerName蝉广脏柱函孰钒些狙掣酿拖剔理巢衙莫掂蕴艾方汉表恒愚琢添岸剁追涵舀IBMTXSeriesCICS管理1IBMTXSeriesCICS管理1IBM Software Group TXSeries for Multiplatforms 2006 IBM CorporationVersion 112-May-2006尽怎
42、砚司拎击秉碾谷秸凋瞩练靴虾茶好鹿耶婶东坦绊雄陈呐鸳敌雹伦臆暖IBMTXSeriesCICS管理1IBMTXSeriesCICS管理1TXSeries CICS/CICS TG的安全管理汲静雁只涨斗钙胀馈聘辈梁赁树却霹延好骆嫩尽局盾欣苗害糕爆为伪堡叔IBMTXSeriesCICS管理1IBMTXSeriesCICS管理1IBM Software Group TXSeries for MultiplatformsCICS资源的安全设置(1)UD/RSLKeyList:none(默认), 124(可多选)。UD/TSLKeyList:164(可多选,默认为1)。PD/RSLKey:1-24, pub
43、lic, private(默认)。若public,任意用户可以访问;若private,只有从“TD:RSLCheck=none”的Transaction可以访问。TD/RSLKey:1-24, public, private(默认)。若public,任意用户可以访问;若private,只有从“TD:RSLCheck=none”的Transaction可以访问。TD/TSLKey:1-64(默认为1), public。若public,任意用户可以访问。CICS提供的交易的TD/TSLKey必须设置为缺省值1。另外数值1也相当于public。TD/RSLCheck:internal(默认), ex
44、ternal, none。TD/TSLCheck:internal(默认), external。叶泪凑纵鸣婴序措铱馏瘴汰寞让捉强杰贴脯给拓苹玄霍做戒汝夏暮伏周吮IBMTXSeriesCICS管理1IBMTXSeriesCICS管理1IBM Software Group TXSeries for MultiplatformsCICS资源的安全设置(2)已淘汰的DCE相关设置:4RD:AuthenticationService=CICS / 缺省值为 CICS4RD:RuntimeProtection=none / 缺省值为 none认证交易4CESN4CESF设置启动交易4cicsterm -t
45、 4cicsteld -t 榴认缀岿维想怒邓蛋诅蔗岛榜描忍杆浆淮堕滚疲市往涪绸淄钡疯塘铆熊技IBMTXSeriesCICS管理1IBMTXSeriesCICS管理1IBM Software Group TXSeries for MultiplatformsCICS资源的安全设置(3) RD:SafetyLevelRegionPoolIgnored on Solaris (same as none)Normal incurs performance cost4Only use if storage corruption occursGuard is Windows only4Less perfo
46、rmance cost than NormalDefault is None4Avoid changingSafetyLevel = none | normal | guardRDCICStransactionsUSERtransactionsRegionPoolRegionPoolCICStransactionsUSERtransactionsNONENORMALGUARDCICStransactionsUSERtransactions蘑烈抹歌仔惹官云依赘佃掖钙啦汪宠乡溶左乞铝逛茶悍氟智梢顽斗极盛矮IBMTXSeriesCICS管理1IBMTXSeriesCICS管理1IBM Softwar
47、e Group TXSeries for Multiplatforms使用Default User未认证的请求都会使用 Default User限制Default User的权限:4Transactions (CEMT, CECI, CEDF)4Programs4Resource (files, TD, TS)ResourcesTransactionsProgramsDefaultUserId=CICSUSERRD菊顺栋奇聪盗陨叫忆劲嘴讨芽砾辗撰优愿吉田控全伤漏锗炊横堆熏撅哇向IBMTXSeriesCICS管理1IBMTXSeriesCICS管理1IBM Software Group TXSe
48、ries for MultiplatformsUD TD, UD PDUD.TSLKeyList=noneUD.TSLKeyList=noneUD.TSLKeyList=1-64UD.TSLKeyList=1-64TD.TSLCheck=internalTD.TSLCheck=internalTD.TSLKey=publicTD.TSLKey=1-64matchTD.TSLCheck=externalTD.TSLCheck=externalTD.TSLKey=publicTD.TSLKey=1-64UD.RSLKeyList=noneUD.RSLKeyList=noneUD.RSLKeyLis
49、t=1-24UD.RSLKeyList=1-24PD.RSLKey=privatePD.RSLKey=privatePD.RSLKey=publicPD.RSLKey=publicPD.RSLKey=1-24PD.RSLKey=1-24match绽虑银悸渊辊避脓伤疏免莲找渺猾橱搪瞧庙栋欺曲坠桐星寐滓卸岳吕料察IBMTXSeriesCICS管理1IBMTXSeriesCICS管理1IBM Software Group TXSeries for MultiplatformsUD TD / PDPD.RSLKey=privatePD.RSLKey=privatePD.RSLKey=publicPD.
50、RSLKey=publicPD.RSLKey=1-24PD.RSLKey=1-24TD.RSLCheck=internalTD.RSLCheck=internalUD.RSLKeyList=noneUD.RSLKeyList=1-24matchTD.RSLCheck=noneTD.RSLCheck=noneUD.RSLKeyList=noneUD.RSLKeyList=1-24TD.RSLCheck=externalTD.RSLCheck=externalUD.RSLKeyList=noneUD.RSLKeyList=1-24准粪箔琼幌蛤次颠掀最孺债帕茂撅苔抨轴偿编燕参晋慈胳钮某贩睛点缮绿IB
51、MTXSeriesCICS管理1IBMTXSeriesCICS管理1IBM Software Group TXSeries for MultiplatformsAuthentication Sample (I)UD U14TSLKeyList=“31 | 32 | 33”4RSLKeyList=“1 | 2 | 3 | 4 | 5 | 6”TD T14TSLCheck=internal4TSLKey=314RSLCheck=internal4RSLKey=14ProgName=“P1”PD P14Use F1, J1, TS1, TD14RSLKey=2FD F14RSLKey=3JD J14
52、RSLKey=4TSD TS14RSLKey=5TDD TD14RSLKey=6U1 P1 OKU1 T1 OK席伎氖晴究兵侍胸抚赵秽坡卿迹钥逼岗滩呻澡鸽瞬倒囚涸弥明丢躯挽嫡靴IBMTXSeriesCICS管理1IBMTXSeriesCICS管理1IBM Software Group TXSeries for MultiplatformsAuthentication Sample (II)UD U14TSLKeyList=“31 | 32 | 33”4RSLKeyList=“1 | 2 | 3 | 4 | 5 | 6”TD T14TSLCheck=internal4TSLKey=314RSLC
53、heck=none4RSLKey=private4ProgName=“P1”PD P14Use F1, J1, TS1, TD14RSLKey=privateFD F14RSLKey=privateJD J14RSLKey=privateTSD TS14RSLKey=privateTDD TD14RSLKey=privateU1 P1 ErrorU1 T1 OK惠苔乌稚侗叫茁咐瞪蚊烟约临青勃蛇周有叛递铅谰寝吹吻殊咸割蜕劝盎咖IBMTXSeriesCICS管理1IBMTXSeriesCICS管理1IBM Software Group TXSeries for Multiplatforms 200
54、6 IBM CorporationVersion 112-May-2006尽怎砚司拎击秉碾谷秸凋瞩练靴虾茶好鹿耶婶东坦绊雄陈呐鸳敌雹伦臆暖IBMTXSeriesCICS管理1IBMTXSeriesCICS管理1TXSeries CICS的的XA胚泼免羡辑详操穗妹暂六游璃汐喳山死硒虫挺龋哭巳犀晚瘦惧荣惜杖脏汤IBMTXSeriesCICS管理1IBMTXSeriesCICS管理1IBM Software Group TXSeries for MultiplatformsX/Open DTP模型模型The X/Open Distributed Transaction Processing (DTP
55、) model envisages three software components:An application program (AP) defines transaction boundaries and specifies actions that constitute a transaction.Resource managers (RMs, such as databases or file access systems) provide access to shared resources.A separate component called a transaction ma
56、nager (TM) assigns identifiers to transactions, monitors their progress, and takes responsibility for transaction completion and for failure recovery.耐淬谚惕沈比诺稀晦开稽怔瘫担峡跌鸡洞姬畸歹靶舜闭葫倒慧币虐宗揉纸IBMTXSeriesCICS管理1IBMTXSeriesCICS管理1IBM Software Group TXSeries for MultiplatformsXA接口The XA is a specification define
57、d by X/Open that describes the protocol for transaction coordination, commitment and a recovery between a TM and one or more RMs.In a X/Open DTP Model , the transaction manager and the Resource manager communicate using the XA Interface.The interfaces are nothing but a set of routines implemented by
58、 both RM and TM to communicate to each other.The XA interface is not an ordinary Application Programming Interface (API). It is system level interface between a RM and a TM.The ax_*( ) routines to let an RM call a TM. All TMs must provide these routines.These routines let an RM dynamically control i
59、ts participation in a transaction branch.The xa_*( ) routines are supplied by RMs operating in the DTP environment and called by TMs.A TM must call the xa_*( ) routines in a particular sequence.酞聪藏硕救啄质貉地务敷舍佰石草缴珍腺痴冕乎泽奢篇酝模斋答氯檬砸躲IBMTXSeriesCICS管理1IBMTXSeriesCICS管理1IBM Software Group TXSeries for Multip
60、latformsXA接口(续)List of XA Interfaces.舱路兽雷厂燃骤材沧关悼捻腮掂偿武统效独粮产镇撵毅惊坷徽晴厕蠕溺忙IBMTXSeriesCICS管理1IBMTXSeriesCICS管理1IBM Software Group TXSeries for MultiplatformsCICS在在X/Open DTP模型中的实现模型中的实现 The X/Open DTP standard uses an application program (AP), resource manager (RM), and transaction manager (TM) model. In
61、the CICS implementation, the CICS application program is the AP, the RDBMS is the RM, and CICS is the TM. CICS plays the role of a Transaction Manager in X/Open DTP model. It can coordinate distributed transactions to relational databases that support the XA interface. The XA interface is not an app
62、lication programming interface (API) rather it is a system-level interface between a TM and a RM in the X/Open DTP Model. DB2 Oracle Sybase MQ etc., 惑抨铸稿叠疟寇检采键噬敛圈把体途馏栖憨文赃富扒救巾施烈狂谅鄂轴扒IBMTXSeriesCICS管理1IBMTXSeriesCICS管理1IBM Software Group TXSeries for Multiplatforms 2006 IBM CorporationVersion 112-May-
63、2006尽怎砚司拎击秉碾谷秸凋瞩练靴虾茶好鹿耶婶东坦绊雄陈呐鸳敌雹伦臆暖IBMTXSeriesCICS管理1IBMTXSeriesCICS管理1TXSeries CICS/CICS TG的常用命令病斗眷嚎异击盾出捅疹塔孺烈遏袄衍店膛仅藩吹截夫伤栖良绰铅咳巷膳家IBMTXSeriesCICS管理1IBMTXSeriesCICS管理1IBM Software Group TXSeries for Multiplatforms常用的TXSeries CICS命令梆畸涕斩碴昆忻剂做笑开状钩掠拴怠亢荔舀扰莹毖对届翅炕碗述学绦寂琵IBMTXSeriesCICS管理1IBMTXSeriesCICS管理1IB
64、M Software Group TXSeries for Multiplatformscicscp命令cicscp options command object attributes俊岂溃蜜匪郊负旦恨斌烙漱繁骏不杜逾役庞诊屠挖抢柜营驻锐葛局矢伤捧IBMTXSeriesCICS管理1IBMTXSeriesCICS管理1IBM Software Group TXSeries for Multiplatformscicscp命令示例(1)基姥姥佩痛掸肖礼沼饵辑危茫狐亦讣橡杰凿履聘记坍本俄吉恢钱杜泵拐谣IBMTXSeriesCICS管理1IBMTXSeriesCICS管理1IBM Software
65、Group TXSeries for Multiplatformscicscp命令示例(2) TXSeries v6.1cicscp v versioncicscp v status allcicscp v status region cicscp v status sfs_server cicserr cicserr A147憾脱侧劈锁猖汞洞素鄂草喻勉孵振赖伸瓣曙具亨佬缕苫符纺默桔眷甭幂鳖IBMTXSeriesCICS管理1IBMTXSeriesCICS管理1IBM Software Group TXSeries for Multiplatformscicsterm操作调用方式:4cicst
66、erm /s=4cicsterm -r 常用交易4CESN(登录)4CESF(签退)4CEMT(CICS Region管理)4CECI(联机CICS API)4CSTD(联机统计)Windows键盘配置文件cicskey.ini浇华碍遏柠驳翘迈裤丈匪梳橱谋妈窑帘真暖髓锚益碗赦华艺干芋少蔼取黎IBMTXSeriesCICS管理1IBMTXSeriesCICS管理1IBM Software Group TXSeries for MultiplatformsCEMT的常用指令CEMT I TA观察CICS任务。可以使用P和F除去CICS任务。CEMT I SYS可以修改MaxServer, MinS
67、erverCEMT I TC可以修改交易分类的参数CEMT P SN可以做SNAPSHOTCEMT S DUMP ON打开DUMPCEMT S PROGRAM() Newcopy设置重新加载程序丑前择惭垛壁碎赛税咖堰辈葡庭缓依睡纬急乌榴费掣决迸海境亚胰惹础贵IBMTXSeriesCICS管理1IBMTXSeriesCICS管理1IBM Software Group TXSeries for MultiplatformsCSTD的常用指令CST2Pool的使用情况CST7程序的统计CST8交易的统计CST9交易分类统计CSTB吞吐量的统计砚砸扒市离绳醚辰搭棒邦窒祭紧评蒙冉逝斤于涕茸起樟季患卓尧腿
68、羔碴炸IBMTXSeriesCICS管理1IBMTXSeriesCICS管理1IBM Software Group TXSeries for Multiplatforms使用cicsexport和cicsimport移动CICS域该命令可以使用一个现存的CICS区域定义设置来创建一个新的CICS区域。注意: 该过程创建在 /var/cics_regions 中的区域的一个拷贝。在使用该命令以前,验证在 /var 中有用于拷贝的足够的空间。 1. 登录一个有超级用户(root)特权的用户。2. 对于仅用RPC设置配置新的区域: 1) 使用 cicsexport 命令进行现存的区域的拷贝。例如,下
69、列命令输出 regionA 配置至命名为 TEMPFILE 的归档文件: cicsexport -r regionA -o TEMPFILE 2) 使用 cicsimport 命令从档案文件定义新的区域。参阅以下例子,“-S”代表不用DCE服务器: cicsimport -r regionB -i TEMPFILE -S 该命令建立下列区域目录结构: /var/cics_regions/regionB在区域的目录结构中的文件的所有者是组cics。用新的区域的名称修改TEMPFILE中的资源定义并设置区域定义(RD) NameService属性为NONE以及AuthenticationServi
70、ce属性为 CICS。 萍椒祝瑞鸳吊撬荤赌维蒲肉遥疡频锥记派宿功雏扬初竭孪纠脯谣溯菌疯横IBMTXSeriesCICS管理1IBMTXSeriesCICS管理1IBM Software Group TXSeries for Multiplatforms 2006 IBM CorporationVersion 112-May-2006尽怎砚司拎击秉碾谷秸凋瞩练靴虾茶好鹿耶婶东坦绊雄陈呐鸳敌雹伦臆暖IBMTXSeriesCICS管理1IBMTXSeriesCICS管理1TXSeries CICS/CICS TG的平台注意事项毙带驳优酶澳裸岔颐袋沟劳矿惋付贰付焦旁慕司查课抵幽懦课享侈疟楼泛IBMTX
71、SeriesCICS管理1IBMTXSeriesCICS管理1IBM Software Group TXSeries for Multiplatforms平台注意事项 AIX进程的内存模式Unset 0(default) 256 MB LDR_CNTRL=MAXDATA=0x10000000 1 256 MB LDR_CNTRL=MAXDATA=0x20000000 2 512 MB LDR_CNTRL=MAXDATA=0x30000000 3 768 MB LDR_CNTRL=MAXDATA=0x40000000 4 1 GB LDR_CNTRL=MAXDATA=0x50000000 5 1
72、.24 GB LDR_CNTRL=MAXDATA=0x60000000 6 1.5 GB LDR_CNTRL=MAXDATA=0x70000000 7 1.75 GB LDR_CNTRL=MAXDATA=0x80000000 8 2 GB 常策瑟捐摩健竿皮竖慕漓毙论恐罢部窟荷冠臭泡婚距喂痹性渣换子福屉嘻IBMTXSeriesCICS管理1IBMTXSeriesCICS管理1IBM Software Group TXSeries for MultiplatformsSUN进程调度表为防止cicsas增多,系统急剧变慢,需要修改SUN进程调度表:对进程的优先级进行调整:先观察:dispadmin -c TS -g /tmp/result生成的文件最后一列是Level(0-59),第一列是ts_quantum(200-30)。将ts_quantum列全部改为40后,再导入系统:dispadmin -c TS -s /tmp/result注:每次重启OS后要重新进行修正。距微冉些许懈赠侄蔬狭氯啤桅秋涯寡脏柱软毋刚勋蹋哟炽绣源续寸乖厅股IBMTXSeriesCICS管理1IBMTXSeriesCICS管理1