WebSphere® Application Server WebSphere Application Server Network Deployment 概要文件在 QWAS85 子系统中运行,并且要求在该系统上配置并激活 TCP/IP。了解如何准备系统以运行 WebSphere Application Server Network Deployment 概要文件。
开始之前
TCP/IP 必须处于活动状态,产品才能启动。在启动程序或自动启动作业中,请确保 STRTCP 命令在 STRSBS QWAS85/QWAS85 命令之前运行。
系统启动程序由
QSTRUPPGM 系统值定义。有关 QSTRUPPGM 系统值的更多信息,请参阅《工作管理指南》(SC41-5306),网址为:http://publib.boulder.ibm.com/cgi-bin/bookmgr/BOOKS/QB3ALG03/CCONTENTS。
关于此任务
请完成此任务以配置系统来执行以下步骤:
- 运行 WebSphere Application Server WebSphere Application Server Network Deployment 概要文件
- 配置这些概要文件以在 QWAS85 子系统启动时自动启动
过程
- 要准备系统以运行 WebSphere Application Server Network Deployment 概要文件,请执行以下步骤:
- 启动传输控制协议/因特网协议 (TCP/IP)。在 IBM® i 命令行上,输入以下命令:
STRTCP
- To start your application server profile, see one of
these topics:
- Starting an application server
- Starting and stopping the deployment manager
注: - Unlike previous releases, releases starting with WebSphere Application Server Version 6 do not
start the default application server when the subsystem is started.
When you use the startServer or startManager Qshell script to start
your server profile, the QWAS85 subsystem is started if it is not
currently active.
- WebSphere Application Server Network Deployment includes
support for stand-alone application server profiles, managed (federated)
profiles, and deployment manager profiles without requiring the product
to also be installed. When you install WebSphere Application Server Network Deployment, two profiles
are created: the default profile and the dmgr profile. The default
profile is a stand-alone application server profile and the dmgr profile
is a deployment manager profile.
- Use one of these methods to verify that your server
is running:
- On the IBM i command line,
run the Work with Active Jobs (WRKACTJOB) command:
WRKACTJOB SBS(QWAS85)
Your server job is listed. When the server is ready to accept requests,
the joblog contains message WAS0106: WebSphere Application Server serverName ready.
- In System i® Navigator,
look for QIBM_WSA_ADMIN under Server Jobs.
- If your profile has authority to the QWAS85/QWASJOBD job
description and QWAS85/QWAS85 subsystem description, you can configure WebSphere Application Server Network Deployment profiles to
automatically start when the QWAS85 subsystem starts. Perform these
steps for each profile:
- Create a duplicate of the job description that is used
by WebSphere Application Server Network Deployment profiles.
For example, on the IBM i command
line, run this command:
CRTDUPOBJ OBJ(QWASJOBD) FROMLIB(QWAS85) OBJTYPE(*JOBD) TOLIB(mywasjobd) NEWOBJ(mydmgr)
- 指定与 mydmgr 作业描述关联的用户概要文件的名称。
该用户概要文件必须为 QEJBSVR:
CHGJOBD JOBD(mywasjobd/mydmgr) USER(QEJBSVR)
- Use the CHGJOBD command to change the newly created
job description so that the Request data or command (RQSDTA) field
starts the server. For example, to start the default deployment manager
server (dmgr), set the RQSDTA value as follows:
'QSYS/CALL PGM(product_library/QWASSTRSVR)
PARM(''-profilePath'' ''/QIBM/UserData/WebSphere/
AppServer/V85/ND/profiles/
dmgr'' ''-server'' ''dmgr'')'
要启动缺省应用程序服务器 (server1),请按如下所示设置 RQSDTA 值:
'QSYS/CALL PGM(product_library/QWASSTRSVR) PARM(''-profilePath''
''/QIBM/UserData/WebSphere/AppServer/V85/ND/profiles/default''
''-server'' ''server1'')'
- 将自动启动作业条目添加至 QWAS85/QWAS85 子系统。从 IBM i 命令行中输入以下命令:
ADDAJE SBSD(QWAS85/QWAS85) JOB(mydmgr) JOBD(mywasjobd/mydmgr)
You can configure the system so that the QWAS85 subsystem
starts at system startup. To enable automatic startup, add the following
line to the system startup program:
STRSBS QWAS85/QWAS85
结果
You have configured your system to run WebSphere Application Server Network Deployment profiles, and
might have configured these profiles to start automatically when the
QWAS85 subsystem starts.
下一步做什么
Deploy an application to get started.