WAS中介軟體垂直叢集安裝
一
準備工作
1 檢視查詢系統版本
[root@was1 ~]# lsb_release -a LSB Version: :core-3.1-amd64:core-3.1-ia32:core-3.1-noarch:graphics-3.1-amd64:graphics-3.1-ia32:graphics-3.1-noarch Distributor ID: RedHatEnterpriseServer Description: Red Hat Enterprise Linux Server release 5.4 (Tikanga) Release: 5.4 Codename: Tikanga
2 檢視作業系統核心
[root@was1 ~]# uname -a Linux was1 2.6.18-164.el5 #1 SMP Tue Aug 18 15:51:48 EDT 2009 x86_64 x86_64 x86_64 GNU/Linux
3 檢視預設許可權
[root@was1 WAS]# umask 0022
umask 設定建立使用者的預設許可權
4 安裝缺少的安裝包
[root@was1 bin]# rpm -qa compat-libstdc* compat-libstdc++-33-3.2.3-61 compat-libstdc++-33-3.2.3-61 compat-libstdc++-296-2.96-138 [root@was1 bin]# rpm -qa compat-db* [root@was1 bin]# rpm -qa libXp-* [root@was1 bin]# yum install compat-db* [root@was1 bin]# yum install libXp-*
5 設定 ulimit
透過 ulimit -n 命令可以檢視 linux 系統裡開啟檔案描述符的最大值,
一般預設值是 1024 ,對一臺繁忙的伺服器來說,這個值偏小,
所以有必要重新設定 linux 系統裡開啟檔案描述符的最大值
[root@was1 ~]# vim .bashrc ulimit -n 8192 [root@was1 ~]# source .bashrc
6 安裝 WAS 所需安裝包
[root@was1 home]# ls was6_linux/ 6.1.0-WS-WAS-LinuxX64-FP0000031.pak Was61[1].Linux64.Disk1.zip 6.1.0-WS-WASSDK-LinuxX64-FP0000031.pak Was61[1].Linux64.Disk2.zip
7
解壓安裝包,檢視
java
版本
[root@was1 was6_linux]# unzip Was61\[1\].Linux64.Disk1.zip [root@was1 was6_linux]# unzip Was61\[1\].Linux64.Disk2.zip [root@was1 was6_linux]# ls 6.1.0-WS-WAS-LinuxX64-FP0000031.pak Was61[1].Linux64.Disk1.zip 6.1.0-WS-WASSDK-LinuxX64-FP0000031.pak Was61[1].Linux64.Disk2.zip TOOLS_ND_LINX64 WASV61_ND_LINX64
[root@was1 ~]# cd /home/was6_linux/WASV61_ND_LINX64/JDK/jre.pak/repository/package.java.jre/java/jre/bin/ [root@was1 bin]# ./java -version java version "1.5.0" Java(TM) 2 Runtime Environment, Standard Edition (build pxa64dev-20060511 (SR2)) IBM J9 VM (build 2.3, J2RE 1.5.0 IBM J9 2.3 Linux amd64-64 j9vmxa6423-20060504 (JIT enabled) J9VM - 20060501_06428_LHdSMr JIT - 20060428_1800_r8 GC - 20060501_AA) JCL - 20060511a
二 WAS安裝
[root@was1 WAS]# cd /home/was6_linux/WASV61_ND_LINX64/WAS/ [root@was1 WAS]# ./install
此處可以選擇Cell, 也可以選擇 None;
如果選擇None ,之後需要手工建立概要檔案 ( manageprofiles -create ...)
檢視概要檔案
Finish
認證安裝
[root@was1 WAS]# vim /opt/IBM/WebSphere/AppServer/profiles/Dmgr01/logs/AboutThisProfile.txt Application server environment to create: Cell Deployment manager Location: /opt/IBM/WebSphere/AppServer/profiles/Dmgr01 Disk space required: 30 MB Profile name: Dmgr01 Make this profile the default: True Cell name: was1Cell01 Node name: was1CellManager01 Host name: was1 Enable administrative security (recommended): False Administrative console port: 9060 Administrative console secure port: 9043 Bootstrap port: 9809 SOAP connector port: 8879 Run deployment manager as a service: True Create a Web server definition: False
三 IBM HTTP Server(IHS)安裝
[root@was1 ~]# cd /home/was6_linux/TOOLS_ND_LINX64/IHS/ [root@was1 IHS]# ./install
取消管理伺服器認證
取消安裝外掛
四 Plugin 的安裝
[root@was1 TOOLS_ND_LINX64]# cd /home/was6_linux/TOOLS_ND_LINX64/plugin/
[root@was1 plugin]# ./install
取消安裝路線圖
本地安裝
產品安裝目錄
概要檔案
Web 伺服器配置檔案
Web 伺服器定義名
五 WAS 補丁配置
1 安裝補丁安裝工具
[root@was1 was6_linux]# ll -rth 7.0.0.17-WS-UPDI-LinuxAMD64.tar.gz -rw-r--r-- 1 root root 106M Jul 31 2014 7.0.0.17-WS-UPDI-LinuxAMD64.tar.gz [root@was1 was6_linux]# tar -zxvf 7.0.0.17-WS-UPDI-LinuxAMD64.tar.gz
新生成兩個目錄
[root@was1 was6_linux]# ls UpdateInstaller JDK [root@was1 was6_linux]# cd UpdateInstaller/ [root@was1 UpdateInstaller]# ./install
2 開始 WAS 補丁安裝
安裝維護包
將補丁手動移動到
[root@was1 was6_linux]# cp 6.1.0-WS-WAS-LinuxX64-FP0000031.pak 6.1.0-WS-WASSDK-LinuxX64-FP0000031.pak /opt/IBM/WebSphere/UpdateInstaller/maintenance/
第一個補丁適用,第二個補丁不適用
、
單機 重新啟動Relaunch
IHS 打補丁
安裝維護包
NEXT 發現都已經安裝,點選 Cancel 取消
六 叢集的建立與配置
1 啟動 WAS 管理
檢視程式,發現WAS 管理已經啟動
如果沒有啟動,可以:
[root@was1 ~]# cd /opt/IBM/WebSphere/AppServer/profiles/Dmgr01/bin/ [root@was1 bin]# ./startManager.sh
[root@was1 ~]# ps -ef|grep less root 6731 1 0 15:08 pts/1 00:00:22 /opt/IBM/WebSphere/AppServer/java/bin/java -Declipse.security -Dwas.status.socket=50632 -Dosgi.install.area=/opt/IBM/WebSphere/AppServer -Dosgi.configuration.area=/opt/IBM/WebSphere/AppServer/profiles/Dmgr01/configuration -Djava.awt.headless=true -Dosgi.framework.extensions=com.ibm.cds -Xshareclasses:name=webspherev61_%g,groupAccess,nonFatal -Xscmx50M -Xbootclasspath/p:/opt/IBM/WebSphere/AppServer/java/jre/lib/ext/ibmorb.jar:/opt/IBM/WebSphere/AppServer/java/jre/lib/ext/ibmext.jar -classpath /opt/IBM/WebSphere/AppServer/profiles/Dmgr01/properties:/opt/IBM/WebSphere/AppServer/properties:/opt/IBM/WebSphere/AppServer/lib/startup.jar:/opt/IBM/WebSphere/AppServer/lib/bootstrap.jar:/opt/IBM/WebSphere/AppServer/lib/j2ee.jar:/opt/IBM/WebSphere/AppServer/lib/lmproxy.jar:/opt/IBM/WebSphere/AppServer/lib/urlprotocols.jar:/opt/IBM/WebSphere/AppServer/deploytool/itp/batchboot.jar:/opt/IBM/WebSphere/AppServer/deploytool/itp/batch2.jar:/opt/IBM/WebSphere/AppServer/java/lib/tools.jar -Dibm.websphere.internalClassAccessMode=allow -Xms50m -Xmx256m -Dws.ext.dirs=/opt/IBM/WebSphere/AppServer/java/lib:/opt/IBM/WebSphere/AppServer/profiles/Dmgr01/classes:/opt/IBM/WebSphere/AppServer/classes:/opt/IBM/WebSphere/AppServer/lib:/opt/IBM/WebSphere/AppServer/installedChannels:/opt/IBM/WebSphere/AppServer/lib/ext:/opt/IBM/WebSphere/AppServer/web/help:/opt/IBM/WebSphere/AppServer/deploytool/itp/plugins/com.ibm.etools.ejbdeploy/runtime -Dderby.system.home=/opt/IBM/WebSphere/AppServer/derby -Dcom.ibm.itp.location=/opt/IBM/WebSphere/AppServer/bin -Djava.util.logging.configureByServer=true -Duser.install.root=/opt/IBM/WebSphere/AppServer/profiles/Dmgr01 -Djavax.management.builder.initial=com.ibm.ws.management.PlatformMBeanServerBuilder -Dwas.install.root=/opt/IBM/WebSphere/AppServer -Dpython.cachedir=/opt/IBM/WebSphere/AppServer/profiles/Dmgr01/temp/cachedir -Djava.util.logging.manager=com.ibm.ws.bootstrap.WsLogManager -Dserver.root=/opt/IBM/WebSphere/AppServer/profiles/Dmgr01 -Djava.security.auth.login.config=/opt/IBM/WebSphere/AppServer/profiles/Dmgr01/properties/wsjaas.conf -Djava.security.policy=/opt/IBM/WebSphere/AppServer/profiles/Dmgr01/properties/server.policy com.ibm.wsspi.bootstrap.WSPreLauncher -nosplash -application com.ibm.ws.bootstrap.WSLauncher com.ibm.ws.runtime.WsServer /opt/IBM/WebSphere/AppServer/profiles/Dmgr01/config was1Cell01 was1CellManager01 dmgr root 9535 3886 0 16:23 pts/2 00:00:00 grep less
2 登入 WAS控制檯
[root@was1 bin]# firefox localhost:9060/ibm/console
先刪除預設安裝的Server1
開始建立叢集
叢集名設定為ncCluster
建立管理節點master, 權重為 0
建立節點ncMem01 ,點選 Add Member
建立節點ncMem02 ,點選 Add Member
Next
點選完成
叢集詳情
###chenjuchao 20150909###
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/29785807/viewspace-2941587/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- WAS中介軟體水平叢集安裝
- 【redis叢集安裝】Redis
- zookeeper 叢集安裝
- kafka叢集安裝Kafka
- hbase叢集安裝
- StarRocks 叢集安裝
- cdh 叢集安裝
- ElasticSearch 6.6.0叢集安裝Elasticsearch
- TiDB叢集安裝TiDB
- Elasticsearch 叢集安裝部署Elasticsearch
- 【Zookeeper】zookeeper叢集安裝
- 記HBase叢集安裝
- Hadoop叢集安裝Hadoop
- Hadoop叢集安裝配置Hadoop
- kubernetes叢集安裝
- elasticsearch叢集安裝(3臺)Elasticsearch
- Storm叢集安裝與部署ORM
- ZooKeeper叢集安裝和部署
- linux ZooKeeper叢集安裝Linux
- WAS叢集安裝配置過程
- Kubernetes 叢集安裝
- redis cluster 4.0.9 叢集安裝搭建Redis
- mongo副本集叢集安裝配置Go
- K8S叢集安裝K8S
- CDH5 叢集安裝教程H5
- Hadoop 叢集安裝與配置Hadoop
- hadoop叢集安裝檔案Hadoop
- Flink(四)叢集安裝(二)
- Zookeeper介紹與叢集安裝
- k8s 叢集安裝K8S
- websphere中介軟體安裝軟體需求requirementWebUIREM
- 訊息型中介軟體之RabbitMQ叢集MQ
- Kafka叢集安裝Version2.10Kafka
- Redis概述和單機、叢集安裝Redis
- Hadoop叢集安裝詳細教程Hadoop
- ElasticSearch 2.3.3 叢集安裝+ Marvel + kibanaElasticsearch
- oracle雙機叢集安裝小結Oracle
- Redis中介軟體與Web中介軟體RedisWeb