Out of CICS region pool storage 问题解决

今天客户反应说,有生产环境的CICS REGION宕机,并收集一些日志,查看最新的console.log日志输出,留意到日志存在大量的如下报错信息:

ERZ057034I/0057 06/20/18 09:43:53.902830375 CICSGDIC 31064156/0001 : Previous console file is ** /var/cics_regions/CICSGDIC/console.000028 **
ERZ010135I/0057 06/20/18 09:43:53.903028062 CICSGDIC 31064156/0001 : CICS region ‘CICSGDIC’ is being started with locale categories ‘en_US en_US en_US en_US en_US en_US’
ERZ048002I/0202 06/20/18 09:43:53.901212742 CICSGDIC 52035664/0001 : CICS is under stress. CICS is short on Run Time Support storage
ERZ048002I/0202 06/20/18 09:43:53.899373656 CICSGDIC 17629370/0001 : CICS is under stress. CICS is short on Run Time Support storage
ERZ048002I/0202 06/20/18 09:43:53.904713382 CICSGDIC 17629370/0001 : CICS is under stress. CICS is short on Run Time Support storage
ERZ048002I/0202 06/20/18 09:43:53.904870750 CICSGDIC 17629370/0001 : CICS is under stress. CICS is short on Run Time Support storage
ERZ048014I/0201 06/20/18 09:43:53.905173318 CICSGDIC 17629370/0001 : Out of CICS region pool storage.
ERZ048002I/0202 06/20/18 09:43:53.906450562 CICSGDIC 48693276/0001 : CICS is under stress. CICS is short on Run Time Support storage
ERZ048002I/0202 06/20/18 09:43:53.916179687 CICSGDIC 47775810/0001 : CICS is under stress. CICS is short on Run Time Support storage
ERZ048002I/0202 06/20/18 09:43:53.916352750 CICSGDIC 47775810/0001 : CICS is under stress. CICS is short on Run Time Support storage
ERZ048014I/0201 06/20/18 09:43:53.916652283 CICSGDIC 47775810/0001 : Out of CICS region pool storage.

从日志报错来看,应该是cics region pool 空间给用满,或者之前cics region pool定得过小,致使region pool storage 溢出,致使之后的CICS事务都不能正常给处理,因而宕机.

解决办法:

建议将RD.stanza文件中增大MaxRegionPool值 调大到100M,然后观察一段时间,看看故障情况是否继续出现.

ERZ057001E/0277: Cannot access message catalog cics.cat for message ERZ096131I

今天在整理 普通用户SSH 到远程服务器并启停CICS时。总是遇到如下报错:

[root@co2 ~]# ssh wasadmin@192.168.179.11 ‘/home/wasadmin/FBM.sh’
wasadmin@192.168.179.11’s password:
ERZ058502I/0101: RPC daemon is already running.
ERZ057001E/0277: Cannot access message catalog cics.cat for message ERZ096131I
Please check if NLSPATH or LANG variable is set
ERZ057001E/0277: Cannot access message catalog cics.cat for message ERZ096160I
Please check if NLSPATH or LANG variable is set
ERZ057001E/0288: Cannot access message catalog cics.cat for message ERZ096135I
Please check if NLSPATH or LANG variable is set
ERZ057001E/0290: Cannot access message catalog cics.cat for message ERZ096134I
Please check if NLSPATH or LANG variable is set
ERZ057001E/0003: Cannot access message catalog cics.cat for message ERZ096002I
Please check if NLSPATH or LANG variable is set
ERZ058502I/0101: RPC daemon is already running.
ERZ057001E/0264: Cannot access message catalog cics.cat for message ERZ096122I
Please check if NLSPATH or LANG variable is set
ERZ057001E/0264: Cannot access message catalog cics.cat for message ERZ096158I
Please check if NLSPATH or LANG variable is set
ERZ057001E/0024: Cannot access message catalog cics.cat for message ERZ010013I
Please check if NLSPATH or LANG variable is set
ERZ057001E/0224: Cannot access message catalog cics.cat for message ERZ096111I
Please check if NLSPATH or LANG variable is set
ERZ057001E/0224: Cannot access message catalog cics.cat for message ERZ096141I
Please check if NLSPATH or LANG variable is set
ERZ057001E/0168: Cannot access message catalog cics.cat for message ERZ038214I
Please check if NLSPATH or LANG variable is set
ERZ057001E/0029: Cannot access message catalog cics.cat for message ERZ105102I
Please check if NLSPATH or LANG variable is set
ERZ057001E/0034: Cannot access message catalog cics.cat for message ERZ105107I
Please check if NLSPATH or LANG variable is set
ERZ057001E/0175: Cannot access message catalog cics.cat for message ERZ038216I
Please check if NLSPATH or LANG variable is set
ERZ057001E/0157: Cannot access message catalog cics.cat for message ERZ038272I
Please check if NLSPATH or LANG variable is set
ERZ057001E/0179: Cannot access message catalog cics.cat for message ERZ038219I
Please check if NLSPATH or LANG variable is set
ERZ057001E/0189: Cannot access message catalog cics.cat for message ERZ038228I
Please check if NLSPATH or LANG variable is set
ERZ057001E/0182: Cannot access message catalog cics.cat for message ERZ038182I
Please check if NLSPATH or LANG variable is set
ERZ057001E/0231: Cannot access message catalog cics.cat for message ERZ096113I
Please check if NLSPATH or LANG variable is set
ERZ057001E/0382: Cannot access message catalog cics.cat for message ERZ038216I
Please check if NLSPATH or LANG variable is set

阅读更多

ssh 远程访问服务器并执行WAS 、MQ、CICS的启停脚本

昨天,更新了SSH 远程访问服务器并执行WAS,CICS,MQ的脚本,并在客户端用ROOT来访问目标机器并用ROOT权限来执行SH脚本。今天就更新同样SSH 远程访问服务器并执行WAS,CICS,MQ的脚本,只是用WAS普通用户来启停。

1、在目标机器A机创建wasadmin 用户和wasadmin 用户组。然后用wasadmin 来安装was的。
2、假设之前已经用ROOT账号安装好mq,cics的情况下,将wasadmin 用户加入到mqm、cicssm、cics、cicsterm 组,。
3、将FBM-wasadmin.sh 放置于目标机器A机的/home/wasadmin目录下,并chmod a+x FBM-wasadmin.sh 赋于执行权限。
more  FBM-wasadmin.sh

#!/bin/sh
#强制停止CICS REGION ,REGIONNAME根据实际节点名来填,有多少个REGION就填多少个
#su – cics -c “cicscp -v stop region test01 -f”
cicscp -v stop region test01 -f
#迅速启动cics REGION ,REGIONNAME根据实际节点名来填,有多少个REGION就填多少个
#su – cics -c “cicscp -v start region test01 StartType=cold”
cicscp -v start region test01 StartType=cold
#exit
sleep 5

# 停止was Node,这里是AppSer01,实际环境是按实际名字来填,实际路径按实际环境路径来填
# wasadmin是管理账号与密码
cd /home/wasadmin/IBM/WebSphere/AppServer/profiles/AppSrv01/bin
./stopNode.sh -username wasadmin -password wasadmin
sleep 3
# 停止was Dmgr,这里是Dmgr01,实际环境是按实际名字来填,实际路径按实际环境路径来填
## wasadmin是管理账号与密码
cd /home/wasadmin/IBM/WebSphere/AppServer/profiles/Dmgr01/bin
./stopManager.sh -username wasadmin -password wasadmin
sleep 3

# 启动was Dmgr,这里是Dmgr01,实际环境是按实际名字来填,实际路径按实际环境路径来填
#wasadmin是管理账号与密码
cd /home/wasadmin/IBM/WebSphere/AppServer/profiles/Dmgr01/bin
./startManager.sh
sleep 3
# 启动was Node,这里是AppSrv01,实际环境是按实际名字来填,实际路径按实际环境路径来填
# wasadmin是管理账号与密码#
cd /home/wasadmin/IBM/WebSphere/AppServer/profiles/AppSrv01/bin
./startNode.sh
sleep 3

# 强制停止mqm 队列管理器,这里演示test,实际环境是按实际要名字来填
endmqm -i test
#su – mqm -c “endmqm -i test; exit”
sleep 3
# 启动 mqm 队列管理器,这里演示是test,实际环境是按实际名字来填
strmqm test
#su – mqm -c “strmqm test;exit”
sleep 3
exit

 

阅读更多