Aix6.1安装WebSphere(版本: 7.0.0.19)
2013-05-02 09:56
369 查看
主机信息概要
操作系统 Aix6.1-07 oslevel -s
主机名 topoapp01
服务IP 待定
网关 待定
子网掩码 待定
root密码
安装的软件 Websphere7.0.0.13
程序目录机构
[root@topodb01:/]df -gt
/dev/waslv 100G 1% /washome (需要实施分配)
内存 32768MB
CPU数量 4
参数调整 /usr/sbin/no -r -o ipqmaxlen=512
vmo -p -o maxclient%=20
vmo -p -o maxperm%=20
no -p -o udp_sendspace=65536
no -p -o udp_recvspace=262144
no -p -o tcp_sendspace=262144
no -p -o tcp_recvspace=262144
/usr/sbin/no -p -o rfc1323=1
/usr/sbin/no -p -o sb_max=1310720
chdev -l sys0 -a maxuproc='4096'
#more /etc/security/limits
default:
fsize = -1
core = -1
cpu = -1
data = -1
rss = -1
stack = -1
nofiles = 10240
1.Was目录备份
#cd /washome
#tar -cvf IBM.tar IBM
# tar -xvf IBM.tar IBM #解压tar文件,将tar文件拷贝到目标服务器
2.安装环境
#java –version
#smit install # / 选择java安装包,jdk1.6
# lslpp -l |grep Java
空间:
# df -gt
/dev/waslv 100.00 1% /washome #was 软件安装目录
2.安装JDK1.6
以下都用root安装配置:
# pwd
/washome/soft
# gunzip Java6_64.sdk.tar.gz
# ls
# tar -xvf Java6_64.sdk.tar
#smit install
选择“Software Installation and Maintenance”,Enter
下一步,选择“Install and Update Software”,Enter
下一步,选择“Install Software”,Enter
下一步,在“INPUT device / directory for software”后面,写上要安装软件的路径:/washome/soft/Java6_64.sdk,Enter
下一步,“accept new license agreements”把对应的"no"设置成“yes”
下一步,确认界面,Enter
稍等片刻之后,系统提示安装SUCCESS
修改/etc/下的environment文件
# more /etc/environment
# @(#)18 1.26 src/bos/etc/environment/environment, cmdsh, bos61B, b2007_34A0 7/23/07 09:46:21
# IBM_PROLOG_BEGIN_TAG
# This is an automatically generated prolog.
#
# bos61B src/bos/etc/environment/environment 1.26
#
# Licensed Materials - Property of IBM
#
# COPYRIGHT International Business Machines Corp. 1989,1994
# All Rights Reserved
#
# US Government Users Restricted Rights - Use, duplication or
# disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
#
# IBM_PROLOG_END_TAG
#
# COMPONENT_NAME: (CMDSH) Shell related commands
#
# ORIGINS: 27
#
# (C) COPYRIGHT International Business Machines Corp. 1989, 1994
# All Rights Reserved
# Licensed Materials - Property of IBM
#
# US Government Users Restricted Rights - Use, duplication or
# disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
#
################################################################
# System wide environment file. This file should only contain
# 1. comment lines which have a # in the first column,
# 2. blank lines, and
# 3. Lines in the form name=value.
#
# WARNING: This file is only for establishing environment variables.
# Execution of commands from this file or any lines other
# than specified above may cause failure of the initialization
# process.
#
# Searching the current directory last is usually a BIG time saver.
# If /usr/ucb is at the beginning of the PATH the BSD version of commands will
# be found.
#
#PATH=/usr/bin:/etc:/usr/sbin:/usr/ucb:/usr/bin/X11:/sbin:/usr/java5/jre/bin:/usr/java5/bin
PATH=/usr/bin:/etc:/usr/sbin:/usr/ucb:/usr/bin/X11:/sbin:/usr/java6_64/jre/bin:/usr/java6_64/bin
TZ=Asia/Shanghai
LANG=en_US
LOCPATH=/usr/lib/nls/loc
NLSPATH=/usr/lib/nls/msg/%L/%N:/usr/lib/nls/msg/%L/%N.cat
LC__FASTMSG=true
# ODM routines use ODMDIR to determine which objects to operate on
# the default is /etc/objrepos - this is where the device objects
# reside, which are required for hardware configuration
ODMDIR=/etc/objrepos
#
3.安装websphere7.0软件
Cd /washome/soft/WAS
./install
用户名:websphere
密码:admin
https://IP/ibm/console/logon.jsp
用户名:admin
密码:websphere
# pwd
/washome/IBM/WebSphere/AppServer/profiles/AppSrv01/bin
启动:
#./startServer.sh server1
停止:
#./stopServer.sh server1 -username admin -password websphere
4.安装补丁工具UpdateInstaller
# ls -l
total 3873296
-rw-r----- 1 root system 24549487 Apr 08 03:27 7.0.0-WS-IHS-AixPPC64-FP0000013.pak
-rw-r----- 1 root system 37237061 Apr 08 03:27 7.0.0-WS-PLG-AixPPC64-FP0000013.pak
-rw-r----- 1 root system 669904623 Apr 08 03:28 7.0.0-WS-WAS-AixPPC64-FP0000013.pak
-rw-r----- 1 root system 99677233 Apr 08 03:28 7.0.0-WS-WASSDK-AixPPC64-FP0000013.pak
-rw-r----- 1 root system 199751680 Apr 08 03:28 7.0.0.13-WS-UPDI-AixPPC64.tar
5.安装补丁WAS 7.0.0.13和WASSDK7.0.0.13
websphere7.0.0.13补丁地址:
http://www-01.ibm.com/support/docview.wss?rs=180&uid=swg27013594#
# pwd
/washome/IBM/WebSphere/UpdateInstaller
# ls
bin framework lafiles logs properties uninstall update.sh
docs java lib maintenance responsefiles update.jar version.txt
/washome/IBM/WebSphere/UpdateInstaller
# ls
bin framework lafiles logs properties uninstall update.sh
docs java lib maintenance responsefiles update.jar version.txt
# pwd
/washome/IBM/WebSphere/UpdateInstaller
# cd maintenance
# pwd
/washome/IBM/WebSphere/UpdateInstaller/maintenance
# pwd
/washome/IBM/WebSphere/UpdateInstaller/maintenance
# cp /washome/soft/7.0.0-WS-WAS*.pak ./
# ls
7.0.0-WS-WAS-AixPPC64-FP0000013.pak 7.0.0-WS-WASSDK-AixPPC64-FP0000013.pak
# pwd
/washome/IBM/WebSphere/UpdateInstaller/maintenance
#cd /washome/IBM/WebSphere/UpdateInstaller
#./update.sh
检查版本:
#cd /washome/IBM/WebSphere/AppServer/profiles/AppSrv01/bin
# ./versionInfo.sh
# ./versionInfo.sh
WVER0010I: Copyright (c) IBM Corporation 2002, 2005, 2008; All rights reserved.
WVER0012I: VersionInfo reporter version 1.15.1.26, dated 8/9/08
--------------------------------------------------------------------------------
IBM WebSphere Application Server Product Installation Status Report
--------------------------------------------------------------------------------
Report at date and time April 11, 2011 3:37:06 AM CST
Installation
--------------------------------------------------------------------------------
Product Directory /washome/IBM/WebSphere/AppServer
Version Directory /washome/IBM/WebSphere/AppServer/properties/version
DTD Directory /washome/IBM/WebSphere/AppServer/properties/version/dtd
Log Directory /washome/IBM/WebSphere/AppServer/logs
Backup Directory /washome/IBM/WebSphere/AppServer/properties/version/nif/backup
TMP Directory /tmp
Product List
--------------------------------------------------------------------------------
ND installed
Installed Product
--------------------------------------------------------------------------------
Name IBM WebSphere Application Server - ND
Version 7.0.0.13
ID ND
Build Level cf131039.07
Build Date 10/2/10
Architecture PPC64
--------------------------------------------------------------------------------
End Installation Status Report
--------------------------------------------------------------------------------
#
用root启动服务
cd /washome/IBM/WebSphere/AppServer/profiles/AppSrv01/bin
启动服务:
./startServer.sh server1
检查界面登录
https://192.168.205.158:9043/ibm/console/
websphere/abcd1234
停止:
#./stopServer.sh server1 -username websphere -password abcd1234
6.JVM调优:
服务器类型:websphere application server/server1/进程定义
当前设置为512m到1024m
# pwd
/washome/IBM/WebSphere/AppServer/profiles/AppSrv01/config/cells/lyglNode01Cell/nodes/lyglNode01/servers/server1
# ls
extensionregistry.properties resources-pme.xml server.xml
hamanagerservice.xml resources-pme502.xml sib-service.xml
namestore-cell.xml resources.xml variables.xml
namestore-node.xml server-cei.xml ws-security.xml
pmi-config.xml server-pme.xml
resources-cei.xml server-pme51.xml
# grep init server.xml
<stateManagement xmi:id="StateManageable_1183122130078" initialState="START"/>
<services xmi:type="pmiservice:PMIService" xmi:id="PMIService_1183122130078" enable="true" initialSpecLevel="" statisticSet="basic" synchronizedUpdate="false"/>
<stateManagement xmi:id="StateManageable_1183122130079" initialState="START"/>
<stateManagement xmi:id="StateManageable_1183122130080" initialState="START"/>
<stateManagement xmi:id="StateManageable_1183122130081" initialState="START"/>
<stateManagement xmi:id="StateManageable_1183122130082" initialState="START"/>
<processDefinitions xmi:type="processexec:JavaProcessDef" xmi:id="JavaProcessDef_1183122130078" workingDirectory="${USER_INSTALL_ROOT}" executableTargetKind="JAVA_CLASS" executableTarget="com.ibm.ws.runtime.WsServer">
<jvmEntries xmi:id="JavaVirtualMachine_1183122130078" verboseModeClass="false" verboseModeGarbageCollection="false" verboseModeJNI="false" initialHeapSize="2048" maximumHeapSize="4096" runHProf="false"
hprofArguments="" debugMode="false" debugArgs="-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=7777" genericJvmArguments="" executableJarFileName="" disableJIT="false">
</processDefinitions>
#
操作系统 Aix6.1-07 oslevel -s
主机名 topoapp01
服务IP 待定
网关 待定
子网掩码 待定
root密码
安装的软件 Websphere7.0.0.13
程序目录机构
[root@topodb01:/]df -gt
/dev/waslv 100G 1% /washome (需要实施分配)
内存 32768MB
CPU数量 4
参数调整 /usr/sbin/no -r -o ipqmaxlen=512
vmo -p -o maxclient%=20
vmo -p -o maxperm%=20
no -p -o udp_sendspace=65536
no -p -o udp_recvspace=262144
no -p -o tcp_sendspace=262144
no -p -o tcp_recvspace=262144
/usr/sbin/no -p -o rfc1323=1
/usr/sbin/no -p -o sb_max=1310720
chdev -l sys0 -a maxuproc='4096'
#more /etc/security/limits
default:
fsize = -1
core = -1
cpu = -1
data = -1
rss = -1
stack = -1
nofiles = 10240
1.Was目录备份
#cd /washome
#tar -cvf IBM.tar IBM
# tar -xvf IBM.tar IBM #解压tar文件,将tar文件拷贝到目标服务器
2.安装环境
#java –version
#smit install # / 选择java安装包,jdk1.6
# lslpp -l |grep Java
空间:
# df -gt
/dev/waslv 100.00 1% /washome #was 软件安装目录
2.安装JDK1.6
以下都用root安装配置:
# pwd
/washome/soft
# gunzip Java6_64.sdk.tar.gz
# ls
# tar -xvf Java6_64.sdk.tar
#smit install
选择“Software Installation and Maintenance”,Enter
下一步,选择“Install and Update Software”,Enter
下一步,选择“Install Software”,Enter
下一步,在“INPUT device / directory for software”后面,写上要安装软件的路径:/washome/soft/Java6_64.sdk,Enter
下一步,“accept new license agreements”把对应的"no"设置成“yes”
下一步,确认界面,Enter
稍等片刻之后,系统提示安装SUCCESS
修改/etc/下的environment文件
# more /etc/environment
# @(#)18 1.26 src/bos/etc/environment/environment, cmdsh, bos61B, b2007_34A0 7/23/07 09:46:21
# IBM_PROLOG_BEGIN_TAG
# This is an automatically generated prolog.
#
# bos61B src/bos/etc/environment/environment 1.26
#
# Licensed Materials - Property of IBM
#
# COPYRIGHT International Business Machines Corp. 1989,1994
# All Rights Reserved
#
# US Government Users Restricted Rights - Use, duplication or
# disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
#
# IBM_PROLOG_END_TAG
#
# COMPONENT_NAME: (CMDSH) Shell related commands
#
# ORIGINS: 27
#
# (C) COPYRIGHT International Business Machines Corp. 1989, 1994
# All Rights Reserved
# Licensed Materials - Property of IBM
#
# US Government Users Restricted Rights - Use, duplication or
# disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
#
################################################################
# System wide environment file. This file should only contain
# 1. comment lines which have a # in the first column,
# 2. blank lines, and
# 3. Lines in the form name=value.
#
# WARNING: This file is only for establishing environment variables.
# Execution of commands from this file or any lines other
# than specified above may cause failure of the initialization
# process.
#
# Searching the current directory last is usually a BIG time saver.
# If /usr/ucb is at the beginning of the PATH the BSD version of commands will
# be found.
#
#PATH=/usr/bin:/etc:/usr/sbin:/usr/ucb:/usr/bin/X11:/sbin:/usr/java5/jre/bin:/usr/java5/bin
PATH=/usr/bin:/etc:/usr/sbin:/usr/ucb:/usr/bin/X11:/sbin:/usr/java6_64/jre/bin:/usr/java6_64/bin
TZ=Asia/Shanghai
LANG=en_US
LOCPATH=/usr/lib/nls/loc
NLSPATH=/usr/lib/nls/msg/%L/%N:/usr/lib/nls/msg/%L/%N.cat
LC__FASTMSG=true
# ODM routines use ODMDIR to determine which objects to operate on
# the default is /etc/objrepos - this is where the device objects
# reside, which are required for hardware configuration
ODMDIR=/etc/objrepos
#
3.安装websphere7.0软件
Cd /washome/soft/WAS
./install
用户名:websphere
密码:admin
https://IP/ibm/console/logon.jsp
用户名:admin
密码:websphere
# pwd
/washome/IBM/WebSphere/AppServer/profiles/AppSrv01/bin
启动:
#./startServer.sh server1
停止:
#./stopServer.sh server1 -username admin -password websphere
4.安装补丁工具UpdateInstaller
# ls -l
total 3873296
-rw-r----- 1 root system 24549487 Apr 08 03:27 7.0.0-WS-IHS-AixPPC64-FP0000013.pak
-rw-r----- 1 root system 37237061 Apr 08 03:27 7.0.0-WS-PLG-AixPPC64-FP0000013.pak
-rw-r----- 1 root system 669904623 Apr 08 03:28 7.0.0-WS-WAS-AixPPC64-FP0000013.pak
-rw-r----- 1 root system 99677233 Apr 08 03:28 7.0.0-WS-WASSDK-AixPPC64-FP0000013.pak
-rw-r----- 1 root system 199751680 Apr 08 03:28 7.0.0.13-WS-UPDI-AixPPC64.tar
5.安装补丁WAS 7.0.0.13和WASSDK7.0.0.13
websphere7.0.0.13补丁地址:
http://www-01.ibm.com/support/docview.wss?rs=180&uid=swg27013594#
# pwd
/washome/IBM/WebSphere/UpdateInstaller
# ls
bin framework lafiles logs properties uninstall update.sh
docs java lib maintenance responsefiles update.jar version.txt
/washome/IBM/WebSphere/UpdateInstaller
# ls
bin framework lafiles logs properties uninstall update.sh
docs java lib maintenance responsefiles update.jar version.txt
# pwd
/washome/IBM/WebSphere/UpdateInstaller
# cd maintenance
# pwd
/washome/IBM/WebSphere/UpdateInstaller/maintenance
# pwd
/washome/IBM/WebSphere/UpdateInstaller/maintenance
# cp /washome/soft/7.0.0-WS-WAS*.pak ./
# ls
7.0.0-WS-WAS-AixPPC64-FP0000013.pak 7.0.0-WS-WASSDK-AixPPC64-FP0000013.pak
# pwd
/washome/IBM/WebSphere/UpdateInstaller/maintenance
#cd /washome/IBM/WebSphere/UpdateInstaller
#./update.sh
检查版本:
#cd /washome/IBM/WebSphere/AppServer/profiles/AppSrv01/bin
# ./versionInfo.sh
# ./versionInfo.sh
WVER0010I: Copyright (c) IBM Corporation 2002, 2005, 2008; All rights reserved.
WVER0012I: VersionInfo reporter version 1.15.1.26, dated 8/9/08
--------------------------------------------------------------------------------
IBM WebSphere Application Server Product Installation Status Report
--------------------------------------------------------------------------------
Report at date and time April 11, 2011 3:37:06 AM CST
Installation
--------------------------------------------------------------------------------
Product Directory /washome/IBM/WebSphere/AppServer
Version Directory /washome/IBM/WebSphere/AppServer/properties/version
DTD Directory /washome/IBM/WebSphere/AppServer/properties/version/dtd
Log Directory /washome/IBM/WebSphere/AppServer/logs
Backup Directory /washome/IBM/WebSphere/AppServer/properties/version/nif/backup
TMP Directory /tmp
Product List
--------------------------------------------------------------------------------
ND installed
Installed Product
--------------------------------------------------------------------------------
Name IBM WebSphere Application Server - ND
Version 7.0.0.13
ID ND
Build Level cf131039.07
Build Date 10/2/10
Architecture PPC64
--------------------------------------------------------------------------------
End Installation Status Report
--------------------------------------------------------------------------------
#
用root启动服务
cd /washome/IBM/WebSphere/AppServer/profiles/AppSrv01/bin
启动服务:
./startServer.sh server1
检查界面登录
https://192.168.205.158:9043/ibm/console/
websphere/abcd1234
停止:
#./stopServer.sh server1 -username websphere -password abcd1234
6.JVM调优:
服务器类型:websphere application server/server1/进程定义
当前设置为512m到1024m
# pwd
/washome/IBM/WebSphere/AppServer/profiles/AppSrv01/config/cells/lyglNode01Cell/nodes/lyglNode01/servers/server1
# ls
extensionregistry.properties resources-pme.xml server.xml
hamanagerservice.xml resources-pme502.xml sib-service.xml
namestore-cell.xml resources.xml variables.xml
namestore-node.xml server-cei.xml ws-security.xml
pmi-config.xml server-pme.xml
resources-cei.xml server-pme51.xml
# grep init server.xml
<stateManagement xmi:id="StateManageable_1183122130078" initialState="START"/>
<services xmi:type="pmiservice:PMIService" xmi:id="PMIService_1183122130078" enable="true" initialSpecLevel="" statisticSet="basic" synchronizedUpdate="false"/>
<stateManagement xmi:id="StateManageable_1183122130079" initialState="START"/>
<stateManagement xmi:id="StateManageable_1183122130080" initialState="START"/>
<stateManagement xmi:id="StateManageable_1183122130081" initialState="START"/>
<stateManagement xmi:id="StateManageable_1183122130082" initialState="START"/>
<processDefinitions xmi:type="processexec:JavaProcessDef" xmi:id="JavaProcessDef_1183122130078" workingDirectory="${USER_INSTALL_ROOT}" executableTargetKind="JAVA_CLASS" executableTarget="com.ibm.ws.runtime.WsServer">
<jvmEntries xmi:id="JavaVirtualMachine_1183122130078" verboseModeClass="false" verboseModeGarbageCollection="false" verboseModeJNI="false" initialHeapSize="2048" maximumHeapSize="4096" runHProf="false"
hprofArguments="" debugMode="false" debugArgs="-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=7777" genericJvmArguments="" executableJarFileName="" disableJIT="false">
</processDefinitions>
#
相关文章推荐
- Websphere 6.1 X64 base版本 安装配置
- Unix Study之--P5光盘安装AIX6.1全实录
- AIX6.1上升级安装gcc 4.2.0-3
- Oracle Study之--AIX 6.1安装Oracle 10gR2
- AIX 6.1安装memcache
- ATG平台下的中间件websphere7.0.0.19的安装(一)
- AIX6.1用g++安装Poco-1.6.1-all
- 非常实用的aix 6.1系统安装的教程
- 安装aix 6.1系统的完整教程_初学者都可以学会
- Websphere Application Server 6.1安装配置
- WebSphere 6.1 安装部署 Liferay4.2.2 的应用
- MyEclipse WebSphere开发教程:安装和更新WebSphere 6.1, JAX-WS, EJB 3.0(七)
- 查看aix下安装并升级的C/C++ compiler 的版本
- oracle安装报错检查操作系统版本: 必须是5.1 or 5.2。实际为 6.1未通过
- AIX6.1系统安装配置手册
- AIX 6.1 安装 oracle 10gR2之(一)----硬件准备
- Websphere6.1的安装与配置
- websphere 6.1 连接sqlserver数据库(适用于6.1.0.15之前的版本)
- Websphere Application Server 6.1安装配置(一)
- AIX6.1安装完操作系统之后的工作。