在IBM WebSphere中创建概要文件是设置应用程序环境的第一步。知道该过程对于WebSphere管理员至关重要。
在本文中, 我将解释如何在IBM WebSphere Application Server网络部署中创建配置文件。
假设你已经在Linux环境中安装了IBM WAS。
在开始概要文件创建之前, 让我们了解一下IBM WAS中的概要文件是什么?
该概要文件是一个完整的运行时环境, 它结合了WAS二进制文件和概要文件(用户数据/配置)。
WebSphere中提供了多种类型的概要文件。
- 单元– DMGR和联合应用程序服务器的组合
- 单机版
- 管理
- 自订设定档
你可以通过两种方式创建WebSphere Application Server概要文件。
- GUI –使用配置文件管理工具
- 静默–使用manageprofile.sh脚本
在这篇文章中, 将使用GUI创建一个Cell配置文件。
- 登录到安装WAS的服务器
- 转至WAS二进制位置>> bin >> ProfileManagement(在默认安装位置, 它将为/ opt / IBM / WebSphere / AppServer / bin / ProfileManagement)
- 启动配置文件管理工具
./pmt.sh
- 它将打开” WebSphere Customization Toolbox”窗口, 单击”创建”。
- 选择” Cell”环境, 然后单击” Next”。
在下一个屏幕中, 你将可以选择配置文件创建过程。有两个过程。
- 典型的配置文件创建–将使用默认配置和端口号创建配置文件。在大多数情况下, 可以选择此选项。
- 高级配置文件创建–如果要自定义默认端口, 配置, 则将需要使用它。
- 让我们继续创建”典型”配置文件, 单击”下一步”。
- 输入DMGR的用户和密码, 如果你不希望DMGR受密码保护, 则可以取消选中”启用管理安全性”框。
- 查看配置文件摘要, 然后单击”创建”。如果需要, 你可以从此屏幕复制信息, 因为它将包含很多有用的信息。
Location
Profile name
Cell name
Node name
Ports
Profile type
- 创建配置文件将花费几分钟, 完成后, 你将看到一个确认。
如果你注意到了, 我在上面的屏幕中保留了默认选项”启动第一步控制台”。
这将打开第一步向导, 你可以在其中验证安装。验证是必不可少的, 因此你知道自己的个人资料可以正常工作, 并可以为你的业务部署必要的应用程序。
- 点击”安装验证”
验证过程涉及启动和停止DMGR, 你应该看到类似以下的内容。
Server name is:dmgr
Profile name is:Dmgr01
Profile home is:/opt/IBM/WebSphere/AppServer/profiles/Dmgr01
Profile type is:dmgr
Cell name is:localhostCell01
Node name is:localhostCellManager01
Current encoding is:UTF-8
Start running the following command:/opt/IBM/WebSphere/AppServer/profiles/Dmgr01/bin/startManager.sh -profileName Dmgr01
>ADMU0116I: Tool information is being logged in file
> /opt/IBM/WebSphere/AppServer/profiles/Dmgr01/logs/dmgr/startServer.log
>ADMU0128I: Starting tool with the Dmgr01 profile
>ADMU3100I: Reading configuration for server: dmgr
>ADMU3200I: Server launched. Waiting for initialization status.
>ADMU3000I: Server dmgr open for e-business; process id is 32013
Server port number is:9060
IVTL0010I: Connecting to the localhost WebSphere Application Server on port: 9060
IVTL0015I: WebSphere Application Server localhost is running on port: 9060 for profile Dmgr01
IVTL0035I: The Installation Verification Tool is scanning the /opt/IBM/WebSphere/AppServer/profiles/Dmgr01/logs/dmgr/SystemOut.log file for errors and warnings.
[11/20/16 4:53:38:556 PST] 00000001 WSKeyStore W CWPKI0041W: One or more key stores are using the default password.
[11/20/16 4:53:47:225 PST] 00000001 HostNameMap W HMGR0064W: Resolution of IP Addresses for host name localhost found only the loopback address. The loopback address will be used.
[11/20/16 4:53:53:571 PST] 00000001 SibMessage W [:] CWSJY0003W: MQJCA5001: WMQ messaging : '9.0.0.0-p900-L160509.1'.
[11/20/16 4:53:55:298 PST] 0000007a AuthConfigFac W SECJ8032W: AuthConfigFactory implementation is not defined, using the default JASPI factory implementation class: com.ibm.ws.security.jaspi.ProviderRegistry.
[11/20/16 4:54:00:239 PST] 00000078 AbstractInjec W CWNEN0070W: The javax.ws.rs.HeaderParam annotation class will not be recognized because it was loaded from the file:/opt/IBM/WebSphere/AppServer/systemApps/isclite.ear/kc.war/WEB-INF/lib/jsr311-api-1.1.1.jar location rather than from a product class loader.
[11/20/16 4:54:00:242 PST] 00000078 AbstractInjec W CWNEN0070W: The javax.ws.rs.MatrixParam annotation class will not be recognized because it was loaded from the file:/opt/IBM/WebSphere/AppServer/systemApps/isclite.ear/kc.war/WEB-INF/lib/jsr311-api-1.1.1.jar location rather than from a product class loader.
[11/20/16 4:54:00:243 PST] 00000078 AbstractInjec W CWNEN0070W: The javax.ws.rs.core.Context annotation class will not be recognized because it was loaded from the file:/opt/IBM/WebSphere/AppServer/systemApps/isclite.ear/kc.war/WEB-INF/lib/jsr311-api-1.1.1.jar location rather than from a product class loader.
[11/20/16 4:54:00:244 PST] 00000078 AbstractInjec W CWNEN0070W: The javax.ws.rs.CookieParam annotation class will not be recognized because it was loaded from the file:/opt/IBM/WebSphere/AppServer/systemApps/isclite.ear/kc.war/WEB-INF/lib/jsr311-api-1.1.1.jar location rather than from a product class loader.
[11/20/16 4:54:00:245 PST] 00000078 AbstractInjec W CWNEN0070W: The javax.ws.rs.PathParam annotation class will not be recognized because it was loaded from the file:/opt/IBM/WebSphere/AppServer/systemApps/isclite.ear/kc.war/WEB-INF/lib/jsr311-api-1.1.1.jar location rather than from a product class loader.
[11/20/16 4:54:00:246 PST] 00000078 AbstractInjec W CWNEN0070W: The javax.ws.rs.QueryParam annotation class will not be recognized because it was loaded from the file:/opt/IBM/WebSphere/AppServer/systemApps/isclite.ear/kc.war/WEB-INF/lib/jsr311-api-1.1.1.jar location rather than from a product class loader.
[11/20/16 4:54:02:982 PST] 00000001 TcpTransport W ADMD0025W: In process discovery, the 127.0.0.1 IP address is used to advertise an endpoint. This usage might cause problems in a network environment.
[11/20/16 4:54:03:213 PST] 00000051 FfdcProvider W com.ibm.ws.ffdc.impl.FfdcProvider logIncident FFDC1003I: FFDC Incident emitted on /opt/IBM/WebSphere/AppServer/profiles/Dmgr01/logs/ffdc/dmgr_917750c5_16.11.20_04.54.03.0579098089159114197997.txt com.ibm.ws.management.discovery.DiscoveryService.sendQuery 189
IVTL0040I: 12 errors/warnings are detected in the /opt/IBM/WebSphere/AppServer/profiles/Dmgr01/logs/dmgr/SystemOut.log file
IVTL0070I: The Installation Verification Tool verification succeeded.
IVTL0080I: The installation verification is complete.
这样就可以得出概要文件已成功创建的结论。
让我们尝试访问DMGR URL
做得好!你已经创建了单元环境配置文件, 并准备好部署应用程序并进行必要的配置。
我希望这对WebSphere Administrator有用。让我知道你的想法。
评论前必须登录!
注册