通过Dmgr管理界面添加Web服务器定义
在WAS8.5 整合配置中,官方推荐的是利用 Web Server Plug-ins 和 WebSphere Customization Toolbox 来整合,前者生成整合的插件,后者来定义web服务。这里演示在Dmgr管理界面中手动添加Web服务器定义。
1.首先添加HTTP Server 所在的机器到Dmgr所管理的节点中,添加Web服务器节点
确认主机名和平台类型
2. 插件mod_was_ap22_http.so将其拷贝到IBM Http Server(/opt/IBM/HTTPServer/bin/)
安装目录下的bin目录下。比如Linux_64位系统mod_was_ap22_http.so所在目录为
/opt/IBM/WebSphere/Plugins/bin下的32bit/64bit目录下。Linux_32位系统在
/opt/IBM/WebSphere/Plugins/bin下。
3.添加Web服务器定义
选择刚创建的Web服务器节点,和IBM HTTP Server 类型,点击下一步
4.cd 到/opt/IBM/HTTPServer/conf/目录下,编辑httpd.conf文件配置Plug-ins插件,在末尾加上
如下内容:
LoadModule was_ap22_module /opt/IBM/HTTPServer/bin/mod_was_ap22_http.so
WebSpherePluginConfig /opt/IBM/HTTPServer/Plugins/config/webserver1/plugin-cfg.xml
5.cd 到/opt/IBM/HTTPServer/bin/下 使用apachectl start 启动web服务器。
6.为新建的web服务器添加应用web模块,参见http://dezewuyou.blog.51cto.com/2628602/1790642
转载于:https://blog.51cto.com/dezewuyou/1790639