web viewwebsphere application server migration version 7.0 to 8.5 . base version-standalone server...
TRANSCRIPT
Websphere Application server Migration version 7.0 to 8.5 Base version-StandAlone server prepared by
Kiran Kumar Setty
Procedure:-1.Install WAS7.0
2.InstallWAS8.5 same like WAS7.0
3.Migration from 7.0 to 8.5
Login the server where our websphere 7.0 & 8.5 softwares existed.
[svadmin@gb3jump1 ~]$ pwd
/data01/home/svadmin
[svadmin@gb3jump1 ~]$ sshadmin gb3umwkiran01.gb3.savvis.net
##############################################################################
This computer system and associated networks are for the sole business use
of CenturyLink's authorized users. The company's computers and proprietary
data and information stored on them remain at all times the property of
CenturyLink. Users have no right to privacy as to any information
transmitted or stored in, by or through any portion of this system.
##############################################################################
Last login: Mon Mar 7 14:26:47 2016 from gb3jump1.gb3.savvis.net
[svadmin@GB3UMWKIRAN01 ~]$ sudo su -
Last login: Mon Mar 7 14:49:47 UTC 2016 on pts/0
[root@GB3UMWKIRAN01 ~]#
[root@GB3UMWKIRAN01 ~]# cd /data02
[root@GB3UMWKIRAN01 data02]# cd softwares/
[root@GB3UMWKIRAN01 softwares]# ls -trl
total 1477944
-rwxr-xr-x. 1 root root 5440 Sep 1 2008 launchpad.sh
-rw-r--r--. 1 root root 1113 Sep 1 2008 launchpad.ini
-rw-r-----. 1 root root 161341440 Oct 28 2008 trial_plugins_7000_linux.ia32.tar
-rw-r-----. 1 root root 155043840 Apr 21 2009 ihs.7000.linux.ia32.tar
-rw-r--r--. 1 root root 225 Dec 11 2009 Version.txt
-rw-r--r--. 1 root root 68230 Dec 11 2009 notices.txt
-rw-r--r--. 1 root root 4610 Dec 11 2009 non_IBM_license.txt
-rw-r--r--. 1 root root 336 Dec 11 2009 Copyright.txt
drwxr-xr-x. 3 root root 4096 Dec 11 2009 custom
drwxr-xr-x. 3 root root 4096 Dec 11 2009 JDK
drwxr-xr-x. 35 root root 4096 Dec 11 2009 launchpad
drwxr-xr-x. 8 root root 4096 Oct 7 00:29 jdk1.8.0_65
-rw-r-----. 1 root root 181260798 Oct 17 06:52 jdk-8u65-linux-x64.tar.gz
-rwxr-x---. 1 root root 904314880 Dec 3 12:13 was.cd.7007.trial.base.opt.linux.ia32.tar
-rwxr-x---. 1 root root 111278272 Dec 3 17:21 7.0.0.21-WS-UPDI-LinuxAMD64.zip
drwxr-x---. 3 root root 4096 Dec 4 11:15 Open_DS
drwxr-x---. 3 root root 4096 Dec 4 12:12 OpenLdap
drwxr-xr-x. 11 root root 4096 Dec 6 19:50 IHS
drwxr-xr-x. 14 root root 4096 Dec 6 20:33 plugin
drwxr-xr-x. 7 root root 4096 Dec 7 13:21 UpdateInstaller
drwxr-x---. 2 root root 4096 Dec 7 18:51 Fixpacks
drwxr-x---. 7 root root 4096 Feb 22 15:45 Plugins8.5
drwxr-x---. 7 root root 4096 Feb 22 15:57 Fixpack8.5version
drwxr-x---. 7 root root 4096 Feb 22 15:57 Fixpack8.5version_Supplements
drwxr-xr-x. 9 root root 4096 Feb 24 12:59 WAS
drwxr-x---. 11 root root 4096 Mar 1 17:29 websphere8.5
#####WAS folder contains binaries of WAS7.0 & websphere8.5 contains binaries of WAS8.5
[root@GB3UMWKIRAN01 softwares]# cd WAS
[root@GB3UMWKIRAN01 WAS]# ls –trl
[root@GB3UMWKIRAN01 WAS]# pwd
/data02/softwares/WAS
[root@GB3UMWKIRAN01 WAS]# ls -trl *txt
-rw-r--r--. 1 root root 29447 Dec 11 2009 responsefile.base_trial.txt
-rw-r-----. 1 root root 29448 Dec 6 19:05 res.txt
-rw-r-----. 1 root root 456 Mar 7 15:13 skk.txt
####Created the response file as required to install WAS7.0
[root@GB3UMWKIRAN01 WAS]# grep -v ^# skk.txt |grep -i " "
-OPT silentInstallLicenseAcceptance="true"
-OPT if_cip_modifyexistinginstall=customizationAndMaintenance
-OPT disableOSPrereqChecking="true"
-OPT checkFilePermissions="true"
-OPT installType="installNew"
-OPT profileType="standAlone"
-OPT feature="languagepack.console.all"
-OPT feature="languagepack.server.all"
-OPT PROF_enableAdminSecurity="false"
# -OPT PROF_adminPassword=
-OPT installLocation="/data01/IBM/WebSphere/SKK_AppServer7.0"
[root@GB3UMWKIRAN01 WAS]#
[root@GB3UMWKIRAN01 WAS]#
########use below to install WAS7.0
[root@GB3UMWKIRAN01 WAS]# ./install -options skk.txt -silent
[root@GB3UMWKIRAN01 WAS]# pwd
/data02/softwares/WAS
[root@GB3UMWKIRAN01 WAS]# cd /data01/IBM/WebSphere/SKK_AppServer7.0
[root@GB3UMWKIRAN01 SKK_AppServer7.0]# cd logs
[root@GB3UMWKIRAN01 logs]# cd install/
[root@GB3UMWKIRAN01 install]# grep -i instconfsuccess log.txt
(Mar 7, 2016 3:17:25 PM), Process, com.ibm.ws.install.ni.ismp.actions.ISMPLogSuccessMessageAction, msg1, INSTCONFSUCCESS
[root@GB3UMWKIRAN01 install]#
[root@GB3UMWKIRAN01 install]# cd ../../
[root@GB3UMWKIRAN01 SKK_AppServer7.0]# cd bin
[root@GB3UMWKIRAN01 bin]# pwd
/data01/IBM/WebSphere/SKK_AppServer7.0/bin
#####Start the newly created server using below
[root@GB3UMWKIRAN01 bin]# ./serverStatus.sh -all
ADMU0116I: Tool information is being logged in file
/data01/IBM/WebSphere/SKK_AppServer7.0/profiles/AppSrv01/logs/serverStatus.log
ADMU0128I: Starting tool with the AppSrv01 profile
ADMU0503I: Retrieving server status for all servers
ADMU0505I: Servers found in configuration:
ADMU0506I: Server name: server1
ADMU0509I: The Application Server "server1" cannot be reached. It appears to be
stopped.
[root@GB3UMWKIRAN01 bin]# ./startServer.sh server1
ADMU0116I: Tool information is being logged in file
/data01/IBM/WebSphere/SKK_AppServer7.0/profiles/AppSrv01/logs/server1/startServer.log
ADMU0128I: Starting tool with the AppSrv01 profile
ADMU3100I: Reading configuration for server: server1
ADMU3200I: Server launched. Waiting for initialization status.
ADMU3000I: Server server1 open for e-business; process id is 8775
[root@GB3UMWKIRAN01 bin]#
[root@GB3UMWKIRAN01 bin]#
[root@GB3UMWKIRAN01 bin]# ps -ef |grep server1
root 8775 1 79 15:18 pts/0 00:00:16 /data01/IBM/WebSphere/SKK_AppServer7.0/java/bin/java -Declipse.security -Dwas.status.socket=54354 -Dosgi.install.area=/data01/IBM/WebSphere/SKK_AppServer7.0 -Dosgi.configuration.area=/data01/IBM/WebSphere/SKK_AppServer7.0/profiles/AppSrv01/configuration -Djava.awt.headless=true -Dosgi.framework.extensions=com.ibm.cds,com.ibm.ws.eclipse.adaptors -Xshareclasses:name=webspherev70_%g,groupAccess,nonFatal -Xscmx50M -Xbootclasspath/p:/data01/IBM/WebSphere/SKK_AppServer7.0/java/jre/lib/ext/ibmorb.jar:/data01/IBM/WebSphere/SKK_AppServer7.0/java/jre/lib/ext/ibmext.jar -classpath /data01/IBM/WebSphere/SKK_AppServer7.0/profiles/AppSrv01/properties:/data01/IBM/WebSphere/SKK_AppServer7.0/properties:/data01/IBM/WebSphere/SKK_AppServer7.0/lib/startup.jar:/data01/IBM/WebSphere/SKK_AppServer7.0/lib/bootstrap.jar:/data01/IBM/WebSphere/SKK_AppServer7.0/lib/jsf-nls.jar:/data01/IBM/WebSphere/SKK_AppServer7.0/lib/lmproxy.jar:/data01/IBM/WebSphere/SKK_AppServer7.0/lib/urlprotocols.jar:/data01/IBM/WebSphere/SKK_AppServer7.0/deploytool/itp/batchboot.jar:/data01/IBM/WebSphere/SKK_AppServer7.0/deploytool/itp/batch2.jar:/data01/IBM/WebSphere/SKK_AppServer7.0/java/lib/tools.jar -Dibm.websphere.internalClassAccessMode=allow -Xms50m -Xmx256m -Dws.ext.dirs=/data01/IBM/WebSphere/SKK_AppServer7.0/java/lib:/data01/IBM/WebSphere/SKK_AppServer7.0/profiles/AppSrv01/classes:/data01/IBM/WebSphere/SKK_AppServer7.0/classes:/data01/IBM/WebSphere/SKK_AppServer7.0/lib:/data01/IBM/WebSphere/SKK_AppServer7.0/installedChannels:/data01/IBM/WebSphere/SKK_AppServer7.0/lib/ext:/data01/IBM/WebSphere/SKK_AppServer7.0/web/help:/data01/IBM/WebSphere/SKK_AppServer7.0/deploytool/itp/plugins/com.ibm.etools.ejbdeploy/runtime
-Dderby.system.home=/data01/IBM/WebSphere/SKK_AppServer7.0/derby -Dcom.ibm.itp.location=/data01/IBM/WebSphere/SKK_AppServer7.0/bin -Djava.util.logging.configureByServer=true -Duser.install.root=/data01/IBM/WebSphere/SKK_AppServer7.0/profiles/AppSrv01 -Djavax.management.builder.initial=com.ibm.ws.management.PlatformMBeanServerBuilder -Dwas.install.root=/data01/IBM/WebSphere/SKK_AppServer7.0 -Dpython.cachedir=/data01/IBM/WebSphere/SKK_AppServer7.0/profiles/AppSrv01/temp/cachedir -Djava.util.logging.manager=com.ibm.ws.bootstrap.WsLogManager -Dserver.root=/data01/IBM/WebSphere/SKK_AppServer7.0/profiles/AppSrv01 -Dcom.ibm.security.jgss.debug=off -Dcom.ibm.security.krb5.Krb5Debug=off -Djava.security.auth.login.config=/data01/IBM/WebSphere/SKK_AppServer7.0/profiles/AppSrv01/properties/wsjaas.conf -Djava.security.policy=/data01/IBM/WebSphere/SKK_AppServer7.0/profiles/AppSrv01/properties/server.policy com.ibm.wsspi.bootstrap.WSPreLauncher -nosplash -application com.ibm.ws.bootstrap.WSLauncher com.ibm.ws.runtime.WsServer /data01/IBM/WebSphere/SKK_AppServer7.0/profiles/AppSrv01/config GB3UMWKIRAN01Node04Cell GB3UMWKIRAN01Node04 server1
root 8865 6755 0 15:19 pts/0 00:00:00 grep --color=auto server1
[root@GB3UMWKIRAN01 bin]#
[root@GB3UMWKIRAN01 bin]# pwd
/data01/IBM/WebSphere/SKK_AppServer7.0/bin
#########Identify the admin port to launch the admin Console
[root@GB3UMWKIRAN01 bin]# cd ../profiles/AppSrv01/config/cells/GB3UMWKIRAN01Node04Cell/nodes/GB3UMWKIRAN01Node04/
[root@GB3UMWKIRAN01 GB3UMWKIRAN01Node04]# grep -i port serverindex.xml
<endPoint xmi:id="EndPoint_1183122129640" host="GB3UMWKIRAN01.gb3.savvis.net" port="2811"/>
<endPoint xmi:id="EndPoint_1183122129641" host="GB3UMWKIRAN01.gb3.savvis.net" port="8882"/>
<endPoint xmi:id="EndPoint_1183122129642" host="GB3UMWKIRAN01.gb3.savvis.net" port="9102"/>
<endPoint xmi:id="EndPoint_1183122129643" host="GB3UMWKIRAN01.gb3.savvis.net" port="9415"/>
<endPoint xmi:id="EndPoint_1183122129644" host="GB3UMWKIRAN01.gb3.savvis.net" port="9405"/>
<endPoint xmi:id="EndPoint_1183122129645" host="GB3UMWKIRAN01.gb3.savvis.net" port="9404"/>
<endPoint xmi:id="EndPoint_1183122129646" host="*" port="9062"/>
<endPoint xmi:id="EndPoint_1183122129647" host="*" port="9082"/>
<endPoint xmi:id="EndPoint_1183122129648" host="*" port="9356"/>
<endPoint xmi:id="EndPoint_1183122129649" host="*" port="9045"/>
<endPoint xmi:id="EndPoint_1183122129650" host="*" port="9445"/>
<endPoint xmi:id="EndPoint_1183122129651" host="*" port="5067"/>
<endPoint xmi:id="EndPoint_1183122129652" host="*" port="5066"/>
<endPoint xmi:id="EndPoint_1457363819512" host="*" port="7279"/>
<endPoint xmi:id="EndPoint_1457363819514" host="*" port="7289"/>
<endPoint xmi:id="EndPoint_1457363819516" host="*" port="5561"/>
<endPoint xmi:id="EndPoint_1457363819518" host="*" port="5581"/>
<endPoint xmi:id="EndPoint_1183122129657" host="${LOCALHOST_NAME}" port="9635"/>
########Launch the Websphere console 7.0
[root@GB3UMWKIRAN01 GB3UMWKIRAN01Node04]# hostname
GB3UMWKIRAN01.gb3.savvis.net
#######Use the below to launch the console
http://gb3umwkiran01.gb3.savvis.net:9062/ibm/console/login.do
###########Deploy an application which is already available in installedApps
[root@GB3UMWKIRAN01 installableApps]# pwd
/data01/IBM/WebSphere/AppServer7.0/installableApps
[root@GB3UMWKIRAN01 installableApps]# ls -trl CacheMonitor.ear
-rwxr-xr-x. 1 root root 540146 Feb 24 12:59 CacheMonitor.ear
[root@GB3UMWKIRAN01 installableApps]#
###########After the deployment restart the jvm.
[root@GB3UMWKIRAN01 GB3UMWKIRAN01Node04]# cd /data01/IBM/WebSphere/SKK_AppServer7.0/profiles/AppSrv01/
[root@GB3UMWKIRAN01 AppSrv01]# cd bin
[root@GB3UMWKIRAN01 bin]# ./stopServer.sh server1;./startServer.sh server1
ADMU0116I: Tool information is being logged in file
/data01/IBM/WebSphere/SKK_AppServer7.0/profiles/AppSrv01/logs/server1/stopServer.log
ADMU0128I: Starting tool with the AppSrv01 profile
ADMU3100I: Reading configuration for server: server1
ADMU3201I: Server stop request issued. Waiting for stop status.
ADMU4000I: Server server1 stop completed.
ADMU0116I: Tool information is being logged in file
/data01/IBM/WebSphere/SKK_AppServer7.0/profiles/AppSrv01/logs/server1/startServer.log
ADMU0128I: Starting tool with the AppSrv01 profile
ADMU3100I: Reading configuration for server: server1
ADMU3200I: Server launched. Waiting for initialization status.
ADMU3000I: Server server1 open for e-business; process id is 9782
[root@GB3UMWKIRAN01 bin]#
############Identify the default port & context root to access the application
[root@GB3UMWKIRAN01 GB3UMWKIRAN01Node04]# grep -i port serverindex.xml
<endPoint xmi:id="EndPoint_1183122129640" host="GB3UMWKIRAN01.gb3.savvis.net" port="2811"/>
<endPoint xmi:id="EndPoint_1183122129641" host="GB3UMWKIRAN01.gb3.savvis.net" port="8882"/>
<endPoint xmi:id="EndPoint_1183122129642" host="GB3UMWKIRAN01.gb3.savvis.net" port="9102"/>
<endPoint xmi:id="EndPoint_1183122129643" host="GB3UMWKIRAN01.gb3.savvis.net" port="9415"/>
<endPoint xmi:id="EndPoint_1183122129644" host="GB3UMWKIRAN01.gb3.savvis.net" port="9405"/>
<endPoint xmi:id="EndPoint_1183122129645" host="GB3UMWKIRAN01.gb3.savvis.net" port="9404"/>
<endPoint xmi:id="EndPoint_1183122129646" host="*" port="9062"/>
<endPoint xmi:id="EndPoint_1183122129647" host="*" port="9082"/>
<endPoint xmi:id="EndPoint_1183122129648" host="*" port="9356"/>
<endPoint xmi:id="EndPoint_1183122129649" host="*" port="9045"/>
<endPoint xmi:id="EndPoint_1183122129650" host="*" port="9445"/>
<endPoint xmi:id="EndPoint_1183122129651" host="*" port="5067"/>
<endPoint xmi:id="EndPoint_1183122129652" host="*" port="5066"/>
<endPoint xmi:id="EndPoint_1457363819512" host="*" port="7279"/>
<endPoint xmi:id="EndPoint_1457363819514" host="*" port="7289"/>
<endPoint xmi:id="EndPoint_1457363819516" host="*" port="5561"/>
<endPoint xmi:id="EndPoint_1457363819518" host="*" port="5581"/>
<endPoint xmi:id="EndPoint_1183122129657" host="${LOCALHOST_NAME}" port="9635"/>
[root@GB3UMWKIRAN01 GB3UMWKIRAN01Node04]#
#############Access the application using below
http://gb3umwkiran01.gb3.savvis.net:9082/cachemonitor/
###############Now install WAS8.5 binaries same like WAS7(with same profile NAME)
[root@GB3UMWKIRAN01 websphere8.5]# cd /
[root@GB3UMWKIRAN01 /]# cd /data02/softwares/websphere8.5
[root@GB3UMWKIRAN01 websphere8.5]# ls -trl
total 2869008
-rw-r--r--. 1 root root 380 May 14 2013 Copyright.txt
drwxr-xr-x. 3 root root 4096 May 14 2013 disk2
drwxr-xr-x. 3 root root 4096 May 14 2013 disk3
drwxr-xr-x. 5 root root 4096 May 14 2013 disk1
drwxr-xr-x. 2 root root 4096 May 14 2013 lafiles
drwxr-xr-x. 10 root root 4096 May 14 2013 readme
-rw-r--r--. 1 root root 81 May 14 2013 repository.config
drwxr-xr-x. 3 root root 4096 May 14 2013 Remote_Installation_Tool_for_IBM_i
-rw-r-----. 1 root root 3865 May 23 2013 README_WAS_DD-HTTP.txt
-rw-r-----. 1 root root 902463498 May 23 2013 was.repo.8550.basetrial_part3.zip
-rw-r-----. 1 root root 1022547788 May 23 2013 was.repo.8550.basetrial_part2.zip
-rw-r-----. 1 root root 1012779176 May 23 2013 was.repo.8550.basetrial_part1.zip
-rw-r-----. 1 root root 3216 Dec 6 19:50 index.html
drwxr-x---. 6 root root 4096 Feb 22 14:38 IHS8.5
drwxr-x---. 12 root root 4096 Feb 24 13:39 InstallationManager
drwxr-x---. 2 root root 4096 Mar 1 17:30 kk
################We need to unzip the InstallationManager and all the ZIP files (binaries of 8.5)
[root@GB3UMWKIRAN01 websphere8.5]#
[root@GB3UMWKIRAN01 websphere8.5]# unzip was.repo.8550.basetrial_part1.zip
[root@GB3UMWKIRAN01 websphere8.5]#
[root@GB3UMWKIRAN01 websphere8.5]# unzip was.repo.8550.basetrial_part2.zip
[root@GB3UMWKIRAN01 websphere8.5]#
[root@GB3UMWKIRAN01 websphere8.5]# unzip was.repo.8550.basetrial_part3.zip
[root@GB3UMWKIRAN01 websphere8.5]# cd InstallationManager/
[root@GB3UMWKIRAN01 InstallationManager]# ls -trl
total 129296
-rwxr-xr-x. 1 root root 63050 Aug 9 2012 userinstc
-rwxr-xr-x. 1 root root 63050 Aug 9 2012 userinst
-rwxr-xr-x. 1 root root 63050 Aug 9 2012 installc
-rwxr-xr-x. 1 root root 63050 Aug 9 2012 install
-rwxr-xr-x. 1 root root 63050 Aug 9 2012 groupinstc
-rwxr-xr-x. 1 root root 63050 Aug 9 2012 groupinst
-rwxr-xr-x. 1 root root 7983 Dec 11 2012 readme_1.6.2.html
drwxr-xr-x. 2 root root 4096 Mar 1 2013 Offerings
drwxr-xr-x. 2 root root 4096 Mar 1 2013 features
-rwxr-xr-x. 1 root root 230 Mar 1 2013 user-silent-install.ini
-rwxr-xr-x. 1 root root 176 Mar 1 2013 userinst.ini
-rwxr-xr-x. 1 root root 221 Mar 1 2013 userinstc.ini
-rwxr-xr-x. 1 root root 223 Mar 1 2013 silent-install.ini
drwxr-xr-x. 11 root root 69632 Mar 1 2013 plugins
drwxr-xr-x. 2 root root 4096 Mar 1 2013 native
drwxr-xr-x. 2 root root 4096 Mar 1 2013 license
drwxr-xr-x. 4 root root 4096 Mar 1 2013 jre_6.0.0.sr9_20110208_03
-rwxr-xr-x. 1 root root 265 Mar 1 2013 install.xml
-rwxr-xr-x. 1 root root 172 Mar 1 2013 install.ini
-rwxr-xr-x. 1 root root 217 Mar 1 2013 installc.ini
-rwxr-xr-x. 1 root root 174 Mar 1 2013 groupinst.ini
-rwxr-xr-x. 1 root root 219 Mar 1 2013 groupinstc.ini
drwxr-xr-x. 13 root root 4096 Mar 1 2013 documentation
-rwxr-xr-x. 1 root root 10177 Mar 1 2013 repository.xml
-rwxr-xr-x. 1 root root 171 Mar 1 2013 repository.config
-rwxr-xr-x. 1 root root 2225 Mar 1 2013 consoleinst.sh
-rw-r-----. 1 root root 131826308 May 23 2013 agent.installer.linux.gtk.x86_1.6.2000.20130301_2248.zip
drwxr-x---. 3 root root 4096 Feb 22 13:35 p2
drwxr-xr-x. 6 root root 4096 Feb 24 13:39 configuration
drwxr-xr-x. 2 root root 4096 Feb 24 13:39 tools
[root@GB3UMWKIRAN01 InstallationManager]#
[root@GB3UMWKIRAN01 InstallationManager]#
[root@GB3UMWKIRAN01 InstallationManager]#
[root@GB3UMWKIRAN01 InstallationManager]# cd tools
##########Once unzip of InstallationManager done , we will get imcl command like below to install our product
[root@GB3UMWKIRAN01 tools]# ls -trl
total 136
-rwxr-xr-x. 1 root root 63050 Aug 9 2012 imutilsc
-rwxr-xr-x. 1 root root 63050 Aug 9 2012 imcl
-rwxr-xr-x. 1 root root 334 Mar 1 2013 imutilsc.ini
-rwxr-xr-x. 1 root root 330 Mar 1 2013 imcl.ini
[root@GB3UMWKIRAN01 tools]#
[root@GB3UMWKIRAN01 tools]#
[root@GB3UMWKIRAN01 tools]#
#########List the available package of WAS8.5
[root@GB3UMWKIRAN01 tools]# ./imcl listAvailablePackages -repositories ../../
com.ibm.websphere.BASETRIAL.v85_8.5.5000.20130514_1044
[root@GB3UMWKIRAN01 tools]# pwd
/data02/softwares/websphere8.5/InstallationManager/tools
[root@GB3UMWKIRAN01 tools]#
[root@GB3UMWKIRAN01 tools]# pwd
/data02/softwares/websphere8.5/InstallationManager/tools
[root@GB3UMWKIRAN01 tools]# ./imcl install com.ibm.websphere.BASETRIAL.v85_8.5.5000.20130514_1044 -repositories /data02/softwares/websphere8.5/ -installationDirectory /data01/IBM/WebSphere/SKK_AppServer8.5 -acceptLicense -sP
25% 50% 75% 100%
------------------|------------------|------------------|------------------|
............................................................................
Installed com.ibm.websphere.BASETRIAL.v85_8.5.5000.20130514_1044 to the /data01/IBM/WebSphere/SKK_AppServer8.5 directory.
[root@GB3UMWKIRAN01 tools]#
[root@GB3UMWKIRAN01 bin]# cd /data01/IBM/WebSphere/SKK_AppServer8.5/bin
/data01/IBM/WebSphere/SKK_AppServer8.5/bin
###########Create a default profile
[root@GB3UMWKIRAN01 bin]# ./manageprofiles.sh -create
INSTCONFSUCCESS: Success: Profile AppSrv01 now exists. Please consult /data01/IBM/WebSphere/SKK_AppServer8.5/profiles/AppSrv01/logs/AboutThisProfile.txt for more information about this profile.
##########Start the newly created jvm
[root@GB3UMWKIRAN01 bin]#cd /data01/IBM/WebSphere/SKK_AppServer8.5/profiles/AppSrv01/bin
/data01/IBM/WebSphere/SKK_AppServer8.5/profiles/AppSrv01/bin
[root@GB3UMWKIRAN01 bin]# ./serverStatus.sh -all
ADMU0116I: Tool information is being logged in file
/data01/IBM/WebSphere/SKK_AppServer8.5/profiles/AppSrv01/logs/serverStatus.log
ADMU0128I: Starting tool with the AppSrv01 profile
ADMU0503I: Retrieving server status for all servers
ADMU0505I: Servers found in configuration:
ADMU0506I: Server name: server1
ADMU0509I: The Application Server "server1" cannot be reached. It appears to be
stopped.
[root@GB3UMWKIRAN01 bin]# ./startServer.sh server1
ADMU0116I: Tool information is being logged in file
/data01/IBM/WebSphere/SKK_AppServer8.5/profiles/AppSrv01/logs/server1/startServer.log
ADMU0128I: Starting tool with the AppSrv01 profile
ADMU3100I: Reading configuration for server: server1
ADMU3200I: Server launched. Waiting for initialization status.
ADMU3000I: Server server1 open for e-business; process id is 15877
################Launch the websphere console 8.5 same like 7.0
[root@GB3UMWKIRAN01 bin]#
[root@GB3UMWKIRAN01 bin]# hostname
GB3UMWKIRAN01.gb3.savvis.net
[root@GB3UMWKIRAN01 bin]#
[root@GB3UMWKIRAN01 bin]#
[root@GB3UMWKIRAN01 bin]#
[root@GB3UMWKIRAN01 bin]# pwd
/data01/IBM/WebSphere/SKK_AppServer8.5/profiles/AppSrv01/bin
[root@GB3UMWKIRAN01 bin]# cd ../config/cells/GB3UMWKIRAN01Node08Cell/nodes/GB3UMWKIRAN01Node08/
[root@GB3UMWKIRAN01 GB3UMWKIRAN01Node08]# grep port serverindex.xml
<endPoint xmi:id="EndPoint_1183122129640" host="GB3UMWKIRAN01.gb3.savvis.net" port="2813"/>
<endPoint xmi:id="EndPoint_1183122129641" host="GB3UMWKIRAN01.gb3.savvis.net" port="8884"/>
<endPoint xmi:id="EndPoint_1183122129642" host="GB3UMWKIRAN01.gb3.savvis.net" port="9104"/>
<endPoint xmi:id="EndPoint_1183122129643" host="GB3UMWKIRAN01.gb3.savvis.net" port="9418"/>
<endPoint xmi:id="EndPoint_1183122129644" host="GB3UMWKIRAN01.gb3.savvis.net" port="9417"/>
<endPoint xmi:id="EndPoint_1183122129645" host="GB3UMWKIRAN01.gb3.savvis.net" port="9416"/>
<endPoint xmi:id="EndPoint_1183122129646" host="*" port="9065"/>
<endPoint xmi:id="EndPoint_1183122129647" host="*" port="9084"/>
<endPoint xmi:id="EndPoint_1183122129648" host="*" port="9357"/>
<endPoint xmi:id="EndPoint_1183122129649" host="*" port="9048"/>
<endPoint xmi:id="EndPoint_1183122129650" host="*" port="9447"/>
<endPoint xmi:id="EndPoint_1183122129651" host="*" port="5069"/>
<endPoint xmi:id="EndPoint_1183122129652" host="*" port="5068"/>
<endPoint xmi:id="EndPoint_1457366674633" host="*" port="7280"/>
<endPoint xmi:id="EndPoint_1457366674634" host="*" port="7290"/>
<endPoint xmi:id="EndPoint_1457366674635" host="*" port="5562"/>
<endPoint xmi:id="EndPoint_1457366674637" host="*" port="5582"/>
<endPoint xmi:id="EndPoint_1183122129657" host="${LOCALHOST_NAME}" port="9637"/>
<endPoint xmi:id="EndPoint_1183122129658" host="*" port="11013"/>
<endPoint xmi:id="EndPoint_1183122129659" host="*" port="11014"/>
[root@GB3UMWKIRAN01 GB3UMWKIRAN01Node08]#
http://gb3umwkiran01.gb3.savvis.net:9065/ibm/console/unsecureLogon.jsp
Migration starts:-
Stop both the jvm’s 7.0 & 8.5
[root@GB3UMWKIRAN01 bin]# /data01/IBM/WebSphere/SKK*7.0/profiles/AppSrv01/bin/stopServer.sh server1
ADMU0116I: Tool information is being logged in file
/data01/IBM/WebSphere/SKK_AppServer7.0/profiles/AppSrv01/logs/server1/stopServer.log
ADMU0128I: Starting tool with the AppSrv01 profile
ADMU3100I: Reading configuration for server: server1
ADMU3201I: Server stop request issued. Waiting for stop status.
ADMU4000I: Server server1 stop completed.
[root@GB3UMWKIRAN01 bin]# /data01/IBM/WebSphere/SKK*8.5/profiles/AppSrv01/bin/stopServer.sh server1
ADMU0116I: Tool information is being logged in file
/data01/IBM/WebSphere/SKK_AppServer8.5/profiles/AppSrv01/logs/server1/stopServer.log
ADMU0128I: Starting tool with the AppSrv01 profile
ADMU3100I: Reading configuration for server: server1
ADMU3201I: Server stop request issued. Waiting for stop status.
ADMU4000I: Server server1 stop completed.
[root@GB3UMWKIRAN01 bin]# cd /data01/IBM/WebSphere/
[root@GB3UMWKIRAN01 WebSphere]# ls -trl
total 16
drwxr-x---. 13 root root 4096 Dec 7 17:42 UpdateInstaller
drwxr-xr-x. 35 root root 4096 Mar 7 15:15 AppServer7.0
drwxr-xr-x. 35 root root 4096 Mar 7 15:44 SKK_AppServer7.0
drwxr-x---. 36 root root 4096 Mar 7 16:06 SKK_AppServer8.5
[root@GB3UMWKIRAN01 WebSphere]#
#############WE have WASPreUpgrade.sh, WASPostUpgrade.sh to migrate from one version to another
[root@GB3UMWKIRAN01 bin]# pwd
/data01/IBM/WebSphere/SKK_AppServer8.5/bin
[root@GB3UMWKIRAN01 bin]# ls -trl WAS*Upgrade.sh
-rwxr-xr-x. 1 root root 2562 May 10 2013 WASPreUpgrade.sh
-rwxr-xr-x. 1 root root 2993 May 10 2013 WASPostUpgrade.sh
[root@GB3UMWKIRAN01 bin]# pwd
/data01/IBM/WebSphere/SKK_AppServer8.5/bin
WASPreUpgrade.sh:-
##############Use the preupgrade from the latestversion product(v8.5) bin directory which is used to take the backup of previous version product(v7.0)
[root@GB3UMWKIRAN01 bin]# ./WASPreUpgrade.sh /data01/IBM/WebSphere/SKK_AppServer7.0_backup_AppSrv01 /data01/IBM/WebSphere/SKK_AppServer7.0 -oldProfile AppSrv01
IBM WebSphere Application Server, Release 8.5
Product Upgrade PreUpgrade tool, Version 1.0
Copyright IBM Corp., 1997-2010
MIGR0300I: The migration function is starting to save the existing Application Server environment.
The file handle limit is set below the optimum limit of 10,000. If you do not change the file handle limit to 10,000 or above, then the migration might fail.
MIGR0302I: The existing files are being saved.
MIGR0385I: Starting to save profile AppSrv01.
MIGR0303I: The existing Application Server environment is saved.
MIGR0420I: The first step of migration completed successfully.
[root@GB3UMWKIRAN01 bin]# pwd
/data01/IBM/WebSphere/SKK_AppServer8.5/bin
[root@GB3UMWKIRAN01 bin]# ls -trl /data01/IBM/WebSphere/
total 20
drwxr-x---. 13 root root 4096 Dec 7 17:42 UpdateInstaller
drwxr-xr-x. 35 root root 4096 Mar 7 15:15 AppServer7.0
drwxr-xr-x. 35 root root 4096 Mar 7 16:20 SKK_AppServer7.0
drwxr-x---. 36 root root 4096 Mar 7 16:21 SKK_AppServer8.5
drwxr-x---. 5 root root 4096 Mar 7 16:21 SKK_AppServer7.0_backup_AppSrv01
[root@GB3UMWKIRAN01 bin]#
PostUpgrade:-
############## Use the PostUpgrade script to replace the previous version (7.0) backup to the latest versio(8.5) including ports and Apps as well.
Syntax Below:-
./WASPostUpgrade.sh /data01/IBM/WebSphere/SKK_AppServer7.0_backup_AppSrv01 -oldProfile AppSrv01 -profileName AppSrv01 -replacePorts true -includeApps true
[root@GB3UMWKIRAN01 bin]# ./WASPostUpgrade.sh /data01/IBM/WebSphere/SKK_AppServer7.0_backup_AppSrv01 -oldProfile AppSrv01 -profileName AppSrv01 -replacePorts true -includeApps true
IBM WebSphere Application Server, Release 8.5
Product Upgrade PostUpgrade tool, Version 1.0
Copyright IBM Corp., 1997-2010
MIGR0304I: The previous WebSphere environment is being merged into this profile.
The file handle limit is set below the optimum limit of 10,000. If you do not change the file handle limit to 10,000 or above, then the migration might fail.
MIGR0459I: Application Server configuration files are being migration.
MIGR0367I: Backing up the current Application Server environment.
MIGR0434I: Will not be migrating object query.ear of type Ear File, it is already installed.
MIGR0251I: The migration does not include object DefaultApplication.ear of type Ear File; it is a Sample.
MIGR0251I: The migration does not include object ivtApp.ear of type Ear File; it is a Sample.
CEIMI0006I Starting the migration of Common Event Infrastructure.
CWPST9006W: The application server did not migrate the defaultBindings.xml default bindings file because the file exists in the new system.
CWPST9004W: The application server did not migrate the Saml HoK Symmetric Provider sample binding because a binding with the same name exists in the new system.
CWPST9004W: The application server did not migrate the Client sample binding because a binding with the same name exists in the new system.
CWPST9004W: The application server did not migrate the Saml Bearer Provider sample binding because a binding with the same name exists in the new system.
CWPST9004W: The application server did not migrate the Saml Bearer Client sample binding because a binding with the same name exists in the new system.
CWPST9004W: The application server did not migrate the Saml HoK Symmetric Client sample binding because a binding with the same name exists in the new system.
CWPST9004W: The application server did not migrate the Provider sample binding because a binding with the same name exists in the new system.
CWPST9004W: The application server did not migrate the Provider sample V2 binding because a binding with the same name exists in the new system.
CWPST9004W: The application server did not migrate the Client sample V2 binding because a binding with the same name exists in the new system.
MIGR0229I: The migration function is updating the attributes of SSLConfig entry NodeDefaultSSLSettings. This entry is already defined in the existing model.
MIGR0486I: The Transports setting in file server.xml is deprecated.
MIGR0486I: The PMIService:initialSpecLevel setting in file server.xml is deprecated.
MIGR0545I: The WebSphere Application Server installation configuration file wasprofile.properties was migrated successfully. However, the changes should be reviewed and updated if necessary.
MIGR0527I: The java.security file was migrated. Review the contents of the file to ensure the desired behavior. Additional changes may be needed.
MIGR0339I: Application Dynamic Cache Monitor.ear is deploying using the wsadmin command.
MIGR0499I: Application Dynamic Cache Monitor.ear successfully deployed using the wsadmin command.
MIGR0339I: Application commsvc.ear is deploying using the wsadmin command.
MIGR0499I: Application commsvc.ear successfully deployed using the wsadmin command.
CEIMI0007I The Common Event Infrastructure migration is complete.
MIGR0307I: The restoration of the previous Application Server environment is complete.
MIGR0271W: Migration completed successfully, with one or more warnings.
[root@GB3UMWKIRAN01 bin]#
[root@GB3UMWKIRAN01 bin]# pwd
/data01/IBM/WebSphere/SKK_AppServer8.5/bin
##########start the jvm in latest version(v8.5)
[root@GB3UMWKIRAN01 bin]#
[root@GB3UMWKIRAN01 bin]#
[root@GB3UMWKIRAN01 bin]#
[root@GB3UMWKIRAN01 bin]# cd ..
[root@GB3UMWKIRAN01 SKK_AppServer8.5]# cd profiles
[root@GB3UMWKIRAN01 profiles]# cd AppSrv01/
[root@GB3UMWKIRAN01 AppSrv01]# cd bin
[root@GB3UMWKIRAN01 bin]# ./startServer.sh server1
ADMU0116I: Tool information is being logged in file
/data01/IBM/WebSphere/SKK_AppServer8.5/profiles/AppSrv01/logs/server1/startServer.log
ADMU0128I: Starting tool with the AppSrv01 profile
ADMU3100I: Reading configuration for server: server1
ADMU3200I: Server launched. Waiting for initialization status.
ADMU3000I: Server server1 open for e-business; process id is 17467
################Cross check whther the ports replaced successfully or Not
[root@GB3UMWKIRAN01 bin]# cd ../config/cells/
GB3UMWKIRAN01Node08Cell/ plugin-cfg.xml
[root@GB3UMWKIRAN01 bin]# cd ../config/cells/
GB3UMWKIRAN01Node08Cell/ plugin-cfg.xml
[root@GB3UMWKIRAN01 bin]# cd ../config/cells/
GB3UMWKIRAN01Node08Cell/ plugin-cfg.xml
[root@GB3UMWKIRAN01 bin]# cd ../config/cells/GB3UMWKIRAN01Node08Cell/nodes/GB3UMWKIRAN01Node08/
[root@GB3UMWKIRAN01 GB3UMWKIRAN01Node08]# grep port serverindex.xml
<endPoint xmi:id="EndPoint_1183122129640" host="GB3UMWKIRAN01.gb3.savvis.net" port="2811"/>
<endPoint xmi:id="EndPoint_1183122129641" host="GB3UMWKIRAN01.gb3.savvis.net" port="8882"/>
<endPoint xmi:id="EndPoint_1183122129642" host="GB3UMWKIRAN01.gb3.savvis.net" port="9102"/>
<endPoint xmi:id="EndPoint_1183122129643" host="GB3UMWKIRAN01.gb3.savvis.net" port="9415"/>
<endPoint xmi:id="EndPoint_1183122129644" host="GB3UMWKIRAN01.gb3.savvis.net" port="9405"/>
<endPoint xmi:id="EndPoint_1183122129645" host="GB3UMWKIRAN01.gb3.savvis.net" port="9404"/>
<endPoint xmi:id="EndPoint_1183122129646" host="*" port="9062"/>
<endPoint xmi:id="EndPoint_1183122129647" host="*" port="9082"/>
<endPoint xmi:id="EndPoint_1183122129648" host="*" port="9356"/>
<endPoint xmi:id="EndPoint_1183122129649" host="*" port="9045"/>
<endPoint xmi:id="EndPoint_1183122129650" host="*" port="9445"/>
<endPoint xmi:id="EndPoint_1183122129651" host="*" port="5067"/>
<endPoint xmi:id="EndPoint_1183122129652" host="*" port="5066"/>
<endPoint xmi:id="EndPoint_1457366674633" host="*" port="7279"/>
<endPoint xmi:id="EndPoint_1457366674634" host="*" port="7289"/>
<endPoint xmi:id="EndPoint_1457366674635" host="*" port="5561"/>
<endPoint xmi:id="EndPoint_1457366674637" host="*" port="5581"/>
<endPoint xmi:id="EndPoint_1183122129657" host="GB3UMWKIRAN01.gb3.savvis.net" port="9635"/>
<endPoint xmi:id="EndPoint_1183122129658" host="*" port="11013"/>
<endPoint xmi:id="EndPoint_1183122129659" host="*" port="11014"/>
[root@GB3UMWKIRAN01 GB3UMWKIRAN01Node08]# pwd
/data01/IBM/WebSphere/SKK_AppServer8.5/profiles/AppSrv01/config/cells/GB3UMWKIRAN01Node08Cell/nodes/GB3UMWKIRAN01Node08
[root@GB3UMWKIRAN01 GB3UMWKIRAN01Node08]#
###########Use below to launch the consle(Earlier it is WAS7 console.Now it is migrated to 8.5)
http://gb3umwkiran01.gb3.savvis.net:9062/ibm/console/login.do
################Check the Application and access the same ,whether it is working fine or not .
###############This is only Websphere BASE Product Migration#########################
###############This is only Websphere BASE Product Migration#########################