文档详情

WAS安装部署手册(WebSphere).doc

发布:2016-12-17约字共29页下载文档
文本预览下载声明
应用服务器安装部署手册 (WebSphere/IHS) 北京科蓝软件系统有限公司 2011年05月一.安装准备 2 1. 1变量 安装目录 2 1. 2服务器服务端口 3 1. 3修改hosts文件 3 二.安装websphere 3 2. 1 将websphere 安装包解压 3 2. 2 创建概要文件 7 2. 3 IHS的安装 8 2. 4启动IHS 12 2. 5添加webserver 13 2. 6优化主配置文件 13 三. 增加并启动节点: 13 3. 1 向管理端添加节点 13 3. 2 启动节点 14 四. 创建集群 14 4. 1 创建集群 14 4. 2 在一个集群上部署两个server, 16 4. 3 虚拟主机 18 五.创建jdbc和数据源 19 5. 1 创建JDBC 19 5. 2 创建数据源 22 六. Was参数优化 25 6. 1 java虚拟机 25 6. 2 JDBC连接池 25 6. 3 WebSphereApplicationServer数据源属性 26 6. 4 Web容器线程池 27 七. 部署应用 27 7. 1 部署应用 27 7. 2 生成 plugin 28 一.安装准备 1. 1变量 安装目录 应用服务器: wyapp01 01 wyapp02 02 WAS_ND_HOME /usr/IBM/WebSphere/AppServer/ /usr/IBM/WebSphere/AppServer/profiles/AppSrv01 WebSphere 应用服务器 /usr/IBM/WebSphere/AppServer/profiles/Dmgr WebSpheer应用服务器网络部署 Web服务器: WEB_HOME/usr/IBM/WebSphere Plugin_HOME /usr/IBM/WebSphere/Plugin Web插件路径 启动程序路径:/usr/IBM/WebSphere/bin/apchectl 主配置文件: /usr/IBM/WebSphere/config/httpd.conf 1. 2服务器服务端口 管理控制台端口:9060 应用服务端口: Pweb 9081 Eweb 9083 Mweb 9084 1. 3修改hosts文件 分别修改两台应用服务器的hosts文件 Vi /etc/hosts 添加如下内容: 01 wyapp01 02 wyapp02 01 wyweb01 02 wyweb02 03 raserver 03 wydb_src 1.4安装浏览器, Was 在aix 上安装需要浏览器支持,建议去IBM官方下载火狐浏览器 二.安装websphere 2. 1 将websphere 安装包解压 进到解压目录下的WAS目录,运行安装程序install.sh如下图: 单击“下一步” 接受本软件的安装协议,点击“下一步”,进入系统条件检查点击“下一步” 点击“下一步” 把“应用程序服务器样本“去掉 点击”下一步“ 选择安装的目录” /usr/IBM/WebSphere/AppServe” 点击“下一步” 选择安装产品 出现was nd 安装摘要。选择“none”点击“next” 输入管理台密码“next” 显示安装摘要,“next” Websphere安装完成. 2. 2 创建概要文件 创建DMGR摘要文件 export WAS_HOME=/usr/IBM/WebSphere/AppServer cd /usr/IBM/WebSphere/AppServer/bin/ ./manageprofiles.sh -create -profileName Dmgr01 -profilePath $WAS_HOME/profiles/Dmgr01 -templatePath $WAS_HOME/profileTemplates/dmgr -hostName appA 创建完毕可以在/usr/IBM/WebSphere/profiles/看到Dmgr01目录。 创建应用程序摘要文件 export WAS_HOME=/usr/IBM/WebSphere/AppServer cd /usr/IBM/WebSphere/AppServer/bin/ ./manageprofiles.sh -create -profileName appA -profilePath $WAS_HOME/profiles/appA -templatePath
显示全部
相似文档