Saturday, August 31, 2013

Installing WebSphere 8.5 ND silently

Just a blog post of showing how I installed WAS 8.5 ND through a silent install. This post will go through the steps of gathering the correct files for WAS 8.5. ND for red hat linux.  Unziping the files,  doing a silent install of installation manager, and lastly creating a generic binary directory for WAS 8.5 ND. Not official just my notes on how I completed this process. Feel free to email me questions at info@jagtechllc.com

Installing Installation Manager


References:


get the installation zip file and unzip it

agent.installer.linux.gtk.x86_64_1.6.0.20120831_1216.zip


Create a directory for the Installation manager and place the zip file there

mkdir –p /opt/IBM/InstallationManager

mv agent.installer.linux.gtk.x86_64_1.6.0.20120831_1216.zip /opt/IBM/InstallationManager






Unzip the Installation Manager file


unzip agent.installer.linux.gtk.x86_64_1.6.0.20120831_1216.zip


































Run the command to install Installation Manager Silently

  • Linux and UNIX as an administrator: ./install --launcher.ini silent-install.ini -log <log file path and name>

./install --launcher.ini silent-install.ini -acceptLicense -log /opt/IBM/InstallationManager/log/installlogfile.xml

Should get the following message

Installed com.ibm.cic.agent_1.6.0.20120831_1216 to the /opt/IBM/InstallationManager/eclipse directory.

Create a directory called WAS85ND to store all was85nd media files

mkdir –p /opt/IBM/WAS85ND

get the three WAS 8.5 nd zip and move them into the WAS85ND folder

total 5870328
-rwxrwxrwx 1 root  root       1085470611 Jan 17  2013 WAS_ND_V8.5_1_OF_3.zip
-rwxrwxrwx 1 root  root       1007221018 Jan 17  2013 WAS_ND_V8.5_2_OF_3.zip
-rwxrwxrwx 1 root  root        909965423 Jan 17  2013 WAS_ND_V8.5_3_OF_3.zip

Unzip all three zip files

unzip  WAS_ND_V8.5_1_OF_3.zip
unzip  WAS_ND_V8.5_2_OF_3.zip
unzip  WAS_ND_V8.5_3_OF_3.zip


The directory should look like this when you are done.














Create a response file to install WASv85.nd


Place the following in a response file.  This will create a binary profile one it is triggered through the installation Manager. Create this response file in the /opt/IBM/InstallationManger directory

<?xml version="1.0" encoding="UTF-8"?>
<!--The "acceptLicense" attribute has been deprecated. Use "-acceptLicense" command line option to accept license agreements.-->
<agent-input acceptLicense='true'>
<server>
<repository location='/opt/IBM/WAS85ND'/>
</server>
<profile id='IBM WebSphere Application Server V8.5' installLocation='/opt/IBM/WebSphere85/AppServer'>
<data key='eclipseLocation' value='/opt/IBM/WebSphere85/AppServer'/>
<data key='user.import.profile' value='false'/>
<data key='cic.selector.os' value='linux'/>
<data key='cic.selector.arch' value='x86'/>
<data key='cic.selector.ws' value='gtk'/>
<data key='cic.selector.nl' value='en'/>
</profile>
<install modify='false'>
<offering id='com.ibm.websphere.ND.v85' version='8.5.0.20120501_1108' profile='IBM WebSphere Application Server V8.5' features='core.feature,ejbdeploy,thinclient,embeddablecontainer,com.ibm.sdk.6_64bit,samples,liberty' installFixes='none'/>
</install>
<preference name='com.ibm.cic.common.core.preferences.eclipseCache' value='/opt/IBM/WebSphere85/IMShared'/>
<preference name='com.ibm.cic.common.core.preferences.connectTimeout' value='30'/>
<preference name='com.ibm.cic.common.core.preferences.readTimeout' value='45'/>
<preference name='com.ibm.cic.common.core.preferences.downloadAutoRetryCount' value='0'/>
<preference name='offering.service.repositories.areUsed' value='true'/>
<preference name='com.ibm.cic.common.core.preferences.ssl.nonsecureMode' value='false'/>
<preference name='com.ibm.cic.common.core.preferences.http.disablePreemptiveAuthentication' value='false'/>
<preference name='http.ntlm.auth.kind' value='NTLM'/>
<preference name='http.ntlm.auth.enableIntegrated.win32' value='false'/>
<preference name='com.ibm.cic.common.core.preferences.preserveDownloadedArtifacts' value='false'/>
<preference name='com.ibm.cic.common.core.preferences.keepFetchedFiles' value='false'/>
<preference name='PassportAdvantageIsEnabled' value='false'/>
<preference name='com.ibm.cic.common.core.preferences.searchForUpdates' value='false'/>
<preference name='com.ibm.cic.agent.ui.displayInternalVersion' value='false'/>
<preference name='com.ibm.cic.common.sharedUI.showErrorLog' value='true'/>
<preference name='com.ibm.cic.common.sharedUI.showWarningLog' value='true'/>
<preference name='com.ibm.cic.common.sharedUI.showNoteLog' value='true'/></agent-input>


Install silently using Installation Manager


Run the following command

./IBMIM -showProgress -input /opt/IBM/InstallationManager/WAS85NDresponse.rsp -log /opt/IBM/InstallationManager/logs/WAS85nd.log -nosplash -acceptLicense –silent

You should see a progress bar that will let you know where you are in the install
                 25%                50%                75%                100%
------------------|------------------|------------------|------------------|
............................................................................

Ensure that the install was successful


I did get what appears to be a spurious message that the packages were 32 bit not 64 I learned that wasn’t true. To prove that to be the case do the following.

Navigate to:

/opt/IBM/WebSphere85/AppServer/logs/postinstall/postinstall.log

Look at the bottom of the log for this message:

<message>INSTCONFSUCCESS: All config actions ran successfully with return code 0</message>

That indicates an successful install.

Also navigate to:

/opt/IBM/WebSphere85/AppServer/bin

And run 

 ./versionInfo.sh

The output should validate the packages installed and the version and system information.

[root@pnsnpgen2008 bin]# ./versionInfo.sh
WVER0010I: Copyright (c) IBM Corporation 2002, 2012; All rights reserved.
WVER0012I: VersionInfo reporter version 1.15.1.48, dated 2/8/12

--------------------------------------------------------------------------------
IBM WebSphere Product Installation Status Report
--------------------------------------------------------------------------------

Report at date and time August 6, 2013 5:26:48 PM EDT

Installation
--------------------------------------------------------------------------------
Product Directory        /opt/IBM/WebSphere85/AppServer
Version Directory        /opt/IBM/WebSphere85/AppServer/properties/version
DTD Directory            /opt/IBM/WebSphere85/AppServer/properties/version/dtd
Log Directory            /var/ibm/InstallationManager/logs

Product List
--------------------------------------------------------------------------------
ND                       installed

Installed Product
--------------------------------------------------------------------------------
Name                  IBM WebSphere Application Server Network Deployment
Version               8.5.0.0
ID                    ND
Build Level           gm1218.01
Build Date            5/1/12
Package               com.ibm.websphere.ND.v85_8.5.0.20120501_1108
Architecture          x86-64 (64 bit)
Installed Features    IBM 64-bit WebSphere SDK for Java
                      WebSphere Application Server Full Profile
                      EJBDeploy tool for pre-EJB 3.0 modules
                      Embeddable EJB container
                      WebSphere Application Server Liberty Profile
                      Sample applications
                      Stand-alone thin clients and resource adapters

--------------------------------------------------------------------------------
End Installation Status Report
--------------------------------------------------------------------------------