基于WebSphere与CICS的营业测试环境搭建操作指导书3

4.4.1    生成各种模板

运行#cicsdefaultservers,生成配置模板文件GSD.stanza、SCD.stanza、SSD.stanza分别放入/var/cics_servers目录下的3个目录GSD、SCD、SSD中。

4.4.2    配置DCE

创建DCE,运行#cicscp –v create dce –R

系统提示:

ERZ096006I/0007: Creating the DCE configuration

Gathering current configuration information…

 

Configuration of DCE Host, ibmoss61, will now begin.

Configuring RPC…

Starting RPC…

RPC was started successfully.

RPC configuration is complete.

Gathering component state information…

 

Component Summary for Host: ibmoss61

Component Configuration State Running State

RPC Configured Running

 

The component summary is complete.

Configuration of DCE Host, ibmoss61, was successful.

 

Configuration completed successfully.

ERZ096011I/0008: DCE successfully configured

ERZ096002I/0003: cicscp command completed successfully

启动DCE,运行#cicscp –v start dce

系统提示:

ERZ096037I/0052: The DCE is already running

ERZ096002I/0003: cicscp command completed successfully 

4.4.3    生成SFS文件系统

运行#smit cics,进入Manage Filesystem-> Manage Encina SFS Servers-> Define Encina SFS Servers-> Create菜单

输入如下内容(有两个默认值需要修改):

Model SFS Server Identifier [“”]

SFS Server Identifier [/.:/cics/sfs/ibmoss61]

Are you using DCE servers? no (默认为yes,修改为no)

Name Service for advertising server NONE(默认为DCE,修改为NONE)

回车,系统提示:

Please wait …

ERZ105006I/0011: Directory ‘/var/cics_servers/SSD/cics/sfs/ibmoss61’ created

ERZ038037I/0041: Server ‘/.:/cics/sfs/ibmoss61’ added to SSD

ERZ084009W/8429: No runtime recovery image for server ‘/.:/cics/sfs/ibmoss61’, cold start assumed

ERZ010130I/0734: Creating subsystem ‘cicssfs.SFS_SERV’

ERZ038038I/0044: Server ‘/.:/cics/sfs/ibmoss61’ added as a subsystem

Completed – OK … press ENTER to return to menu:

提示OK表示操作成功。

4.4.4    启动SFS

冷启动SFS(cold start):

#cicscp –v start sfs_server /.:/cics/sfs/ibmoss61 StartType=cold

或者#cicssfscold /.:/cics/sfs/ibmoss61

系统提示:

ERZ096111I/0224: Processing a start sfs_server command

ERZ096141I/0224: Starting SFS server ‘/.:/cics/sfs/ibmoss61’

ERZ096037I/0052: The DCE is already running

ERZ038214I/0168: Authorization for server ‘/.:/cics/sfs/ibmoss61’ has been set to ‘none’

ERZ038216I/0175: Subsystem ‘cicssfs.SFS_SERV’ has been initialized.

ERZ038219I/0179: Server ‘/.:/cics/sfs/ibmoss61’ is responding to RPCs.

ERZ036204I/0251: Created logical volume ‘log_SFS_SERV’ for server ‘/.:/cics/sfs/ibmoss61’

ERZ036206I/0253: Initialized logical volume ‘log_SFS_SERV’ initialized for logging by server ‘/.:/cics/sfs/ibmoss61’

ERZ036208I/0255: Created log file ‘log_SFS_SERV/logfile’ for server ‘/.:/cics/sfs/ibmoss61’

ERZ036231I/0260: Log file ‘logfile’ on server ‘/.:/cics/sfs/ibmoss61’ has been enabled.

ERZ036233I/0262: Logical volumes on server ‘/.:/cics/sfs/ibmoss61’ have been recovered.

ERZ038228I/0189: Server ‘/.:/cics/sfs/ibmoss61’ has been enabled.

ERZ038223I/0192: Encina Logical volume ‘sfs_SFS_SERV’ has been created for server ‘/.:/cics/sfs/ibmoss61’.

ERZ038224I/0194: Logical volume ‘sfs_SFS_SERV’ on server ‘/.:/cics/sfs/ibmoss61’ has been enabled.

ERZ038226I/0196: Logical volume ‘sfs_SFS_SERV’ has been added to server ‘/.:/cics/sfs/ibmoss61’.

ERZ038182I/0182: Server ‘/.:/cics/sfs/ibmoss61’ started successfully.

ERZ096113I/0231: SFS server ‘/.:/cics/sfs/ibmoss61’ successfully started

ERZ096002I/0003: cicscp command completed successfully

显示启动成功。此时逻辑卷sfs_SFS_SERV、log_SFS_SERV的状态自动变为open。

注意:第一次生成SFS可执行冷启动,以后就用auto start(省略StartType=cold)。

 

如果需要删除SFS,可以运行#cicssrcdestroy -s SFS_SERV

系统提示:

ERZ010072I/0702: Deleting subsystem and notify method ‘cicssfs.SFS_SERV’

 

可查看/var/cics_servers/SSD/cics/sfs/ibmoss61/msg显示启动情况。

运行#cicslssrc –a | grep cics(或#lssrc –a | grep cics)可查看cics服务是否启动。

系统提示:

cicssfs.SFS_SERV 385402 active

 

至此CICS服务端程序安装完毕。

运行#cicscp可以进入CICS控制台的提示符”cicscp>“,输入?并回车可以查看所有可使用的命令与格式。

4.5    安装CTG

4.5.1    启动安装

在Xmanager中运行:

#cd /data/install/ctg6

#./installer

弹出图形界面安装向导开始安装:


4.5.2    

单击”Next”按钮,出现License界面:

4.5.3    

选择accept,单击”Next”按钮,显示README文件内容:

4.5.4    

单击”Next”按钮,提示选择安装类型:

     

如果这文章对你有帮助,请扫左上角微信支付-支付宝,给于打赏,以助博客运营

发表评论

您的电子邮箱地址不会被公开。 必填项已用*标注