- 论坛徽章:
- 0
|
Environment:
AIX 5.2, ML04, DB2 v7, websphere 4
Task:
Change ip address, hostname, websphere
hostname configuration
Websphere change node name
Environment:
AIX 5.2, ML04, DB2 v7, websphere 4
Task:
Change ip address, hostname, websphere
hostname configuration
1.
Export websphere node config from
admin client
Console --->Export to XML ---> input filename
2.
Replace the old hostname with the new hostname in the XML
file
3.
Drop WAS db with db2 user
db2 drop db was
4.
Create WAS db
db2 create db was
5.
Change hostname and ip address
smitty tcpip
vi /etc/hosts
6.
Modify
/usr/WebSphere/AppServer/bin/admin.config
#force websphere initial on the startup
install.initial.config=true
#Create Adminserver database tables
com.ibm.ejs.sm.adminServer.createTables=true
7.
Startup Webphere server
./usr/WebSphereAppServer/bin/startupServer.sh &
8.
Startup admin client
./usr/WebSphereAppServer/bin/adminclient.sh
9. Import websphere node config
Console --->Import
config file --->input
filename
本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u/6049/showart_21658.html |
|