CICS和CTG安装与迁移
TXSeries CICS和CTG的安装与迁移 刘睿 概要 安装TXSeries 安装CTG/CUC 迁移到TXSeries v6.1 安装TXSeries 在Solaris上安装的准备工作 TXSeries需要的系统参数(修改/etc/system文件,需要重新启动):设置单进程的共享内存最大为50Mset shmsys:shminfo_shmmax设置单进程句柄硬限制为1024,然后再使用“ulimit -n 1024”set rlim_fd_cur=0x400 CTG需要的系统参数:set msgsys:msginfo_msgmax = 65535Maximum size of System V message. set msgsys:msginfo_msgmnb = 65535Maximum number of bytes that can be on any one message queue.set msgsys:msginfo_msgssz = 32Specifies size of chunks system uses to manage space for message buffers. Obsolete since the Solaris 8 release. set msgsys:msginfo_msgseg = 16384Number of msginfo_msgssz segments the system uses as a pool for available message memory. Total memory available for messages is msginfo_msgseg * msginfo_msgssz. Obsolete since the Solaris 8 release. set semsys:seminfo_semmni = 4096Maximum number of semaphore identifiers. set msgsys:msginfo_msgtql = 10000The maximum number of queue entries that can be in the system at the same time. A low value can adversely affect system performance, or cause the client to freeze. IBM recommends that you set this value to the maximum (10000), or at least double the maximum number of concurrent requests. Stress load your system, and then use the ipcs -qa command to determine the setting. 在HP-UX上安装的准备工作 use “sam” maxfiles=1024 maxswapchunks=512 max_thread_proc=1024 //即max_thread_proc=8 + (10 x MaxServers)。此参数不足时系统报ccreatethread失败 maxuprc=256 maxusers=256 nflocks=256 ninode=8192 nkthread=((nproc*7/4)+16) //nproc=(20 + 8 * maxusers)即nkthread= 64 + 33 x MaxServers。可用4096 npty=128 semmnu=64 semume=32 shmmax=0//256 MB shmmni=200 shmseg=120 #CTG需要的系统参数: msgssz=32 msgmnb=65535 msgmax=65535 msgseg=16384 msgmni=500 在AIX上的准备工作 修改“Maximum number of PROCESSES allowed per user”(默认128)chdev -l sys0 -a maxuproc=‘2048‘观察lsattr -El sys0 -a maxuproc 激活异步IOmkdev -l aio0 修改AIX的cics用户的限制数值(在/etc/security/limits文件) fsize = -1 fsize_hard = -1 core = -1 cpu =