Tag Archive | Installation manager

Web Based Mode for Ibm Installation Manager 1.8

With the Release of Ibm Installation Manager 1.8.0 , IBM has added one more Mode for Installation/Un-Installation etc of Websphere Product viz the Web Based Mode

So we have the Following Modes in IIM 1.8:
1) Graphical Mode
2) Silent mode
3) Console Mode
4) Web Based Mode

I have downloaded 1.8.2 for Linux from IBM FIX central . Click HERE for the download

NOTE : Use this Mode ONLY if you have trouble accessing the other Modes . Ensure  you have a Very Stable and High Speed Network to try this But I would not Recommend it

If there is any glitch in the network your installation may be in an inconsistent State Hence use Web Based as a Last Resort

Activity :
a) Install IIM 1.8.2
b) Start the ibmim-web Services from IIM
c) Access the IIM using browser
d) Change the port no of Ibmim-web

Steps :
1) Installation of IIM 1.8.2

a) Download IIM 1.8.2 from Fix Central
b) Extract the zip file in the server

ibmim-web1

c) Install IIM so run #./installc -acceptLicense

NOTE : I am installing IIM using root , but you could use any other user which has the rights to install IIM , In that case use userinstc

ibmim-web2

d) After the Installation of IIM 1.8 .2 Verify it using “#./imcl -version

ibmim-web3

 

2) Start the IIM Web Mode
The Modules needed to run the IIM Web is allready installed with the IIM 1.8.2 installation under /opt/IBM/InstallationManager/eclipse/web/ibmim-web

a)  To start the Webserver which will start the IIM Web Mode execute the “ibmim-web”
Its present in /opt/IBM/InstallationManager/eclipse/web/ibmim-web

Once this command is run it will also prompt the url for accessing the web iim . Here in this case its http://10.0.0.03:9090/ibmim

ibmim-web4

b)  You can run ibmim-web as background using “&”

#/opt/IBM/InstallationManager/eclipse/web/ibmim-web &

ibmim-web5

3) Verify the Process and the Ports
Check the Process and the Port no for ibmim-web using ps and netstat command

# ps -ef | grep ibmim
# netstat -ntlp | grep 9090

ibmim-web6

 

4) Access the browser to the url “http://10.0.0.03:9090/ibmim” 

Note : Ensure that you have network connectivity from the desktop to the server you are connecting. Also check the proxy settings of the Browser

ibmim-web7

 

Navigate to the File options of the  IIM

ibmim-web8

 

Uninstallation Option of IIM using the IIM Web Mode

ibmim-web9

 

In this way we can use the IIM Web Mode to Installation , Un-Installation etc etc for Websphere Products

 

===============================================================

Change the Port No for IBM IM – Web 

===============================================================

There may be situations wherein you would want to change the Port No of the IBM IM – Web
It could be due to the following
1) Port no are already used by some other application
2) Company policy to have a specific range of Ports
3) Difficulty in opening the firewall ports etc etc

 

a) Stop the ibmim-web process
1) You could terminate the process or Break the command prompt using Ctrl+C
2) Or to stop the web server, from the main menu, select File > Stop server.

b) Modify the port
Edit the ibmim-web.ini file to change the port no . This file is within the /opt/IBM/InstallationManager/eclipse/web/ibmim

ibmim-web10

NOTE: Take the backup before  changing it 

There are two parameters like

-Dorg.osgi.service.http.port=9090
-Dorg.osgi.service.http.port.secure=9095

You need to change the port as per your need to both Http and Https Attribute .

ibmim-web11

Below I changed the http port to 9091

ibmim-web12

c) Start the ibmim-web Services
You can run ibmim-web as background using “&”

#/opt/IBM/InstallationManager/eclipse/web/ibmim-web &

e) Access the url “http://10.0.0.03:9091/ibmim”

ibmim-web13

 

In this way we can change the port no for IBM Installation Manager Web Mode

 

 

To get regular mail updates on my Posts..
Please subscribe to the site http://webspherepundit.com
And also like the Facebook Page
https://www.facebook.com/webspherepundit

 

 

Silent Installation of Websphere Application Server 8.5 on Linux

Below are the highlevel steps to install Websphere application server 8.5 ( you can customize it based on your requirement)
OS : Red Hat Enterprise Linux

Step1 : Download WAS 8.5 multiple platform from passport Advantage or use the media

 

Step 2: Unpack the images
Ensure there is sufficient space in the filesystem where you are extracting
You can use $df -h  command to check the filesystem usage

         a) For IBM Installation Manager
$ mkdir /tmp/IIM
$ cd /tmp/IIM
$ unzip /mnt/was/Software/WAS85/InstalMgr1.5.2_LNX_X86_WAS_8.5.zip

b) WAS 8.5 ( including ND, Supplements and SDK )

$ mkdir /tmp/WAS85
$ cd /tmp/WAS85
$ unzip /mnt/was/Software/WAS85/WAS_ND_V8.5_1_OF_3.zip
$ unzip /mnt/was/Software/WAS85/WAS_ND_V8.5_2_OF_3.zip
$ unzip /mnt/was/Software/WAS85/WAS_ND_V8.5_3_OF_3.zip

Here I have extracted the 3 zip files for WAS ND

 

Step 3:  Set up the hard and soft file limits

$ vi /etc/security/limits.conf

Append: –
*      soft     nofile          65535
*      hard    nofile          65535

This may vary based on the OS . Refer the infocenter for more details

 

Step 4:  Check the OS pre-requisites

a ) Refer the infocenter for more details
b ) The Installation manager would required the pre-requisite Linux libraries and RPMs.

 

Step 5: Install IBM Installation Manager (IIM)

$ cd /tmp/IIM/
$ ./installc -acceptLicense -nosplash

This will install IIM using the console option

 

Step 6:  Check IIM version

$ /opt/IBM/InstallationManager/eclipse/IBMIM -version -silent -nosplash
Installation Manager (installed)
Version: 1.5.2
Internal Version: 1.5.2000.20120223_0907

 

Step 7:  Record the Response File

$ /opt/IBM/InstallationManager/eclipse/IBMIM -record ~/install_WAS85.rsp -skipInstall /tmp

NOTE:  I added the currently available set of WAS 8.5 iFixes: –

-rwxr-xr-x 1 501 games  205117 Oct  3 13:20 8.5.0.0-ws-was-ifpm62795.zip
-rwxr-xr-x 1 501 games  304065 Oct  3 13:20 8.5.0.0-ws-was-ifpm63690.zip
-rwxr-xr-x 1 501 games  251862 Oct  3 13:20 8.5.0.0-ws-was-ifpm63827.zip
-rw-r–r– 1 501 games  300831 Oct  3 13:20 8.5.0.0-ws-was-ifpm71296.zip
-rw-r–r– 1 501 games 1561566 Oct  3 13:20 8.5.0.0-ws-wasihs-multios-ifpm72915.zip
-rwxr-xr-x 1 501 games 2252798 Oct  3 13:20 8.5.0.0-ws-wasnd-distexceptibmi-ifpm64890.zip
-rw-r–r– 1 501 games  437441 Oct  3 13:20 8.5.0.0-ws-wasnd-distexceptibmi-ifpm66137.zip
-rwxr-xr-x 1 501 games  227880 Oct  3 13:20 8.5.0.0-ws-wasprod-ifpm64186.zip
-rwxr-xr-x 1 501 games  235550 Oct  3 13:20 8.5.0.0-ws-wasprod-multios-ifpm63479.zip

and that the code was located in /tmp/WAS85 and the iFixes were located in /tmp/WAS85/Fixes.

which results in: –
=================install_WAS85.rsp=======================================
<?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=’/tmp/WAS85’/>
<repository location=’/tmp/WAS85/Fixes/8.5.0.0-ws-was-ifpm62795.zip’/>
<repository location=’/tmp/WAS85/Fixes/8.5.0.0-ws-was-ifpm63690.zip’/>
<repository location=’/tmp/WAS85/Fixes/8.5.0.0-ws-was-ifpm63827.zip’/>
<repository location=’/tmp/WAS85/Fixes/8.5.0.0-ws-was-ifpm71296.zip’/>
<repository location=’/tmp/WAS85/Fixes/8.5.0.0-ws-wasihs-multios-ifpm72915.zip’/>
<repository location=’/tmp/WAS85/Fixes/8.5.0.0-ws-wasnd-distexceptibmi-ifpm64890.zip’/>
<repository location=’/tmp/WAS85/Fixes/8.5.0.0-ws-wasnd-distexceptibmi-ifpm66137.zip’/>
<repository location=’/tmp/WAS85/Fixes/8.5.0.0-ws-wasprod-ifpm64186.zip’/>
<repository location=’/tmp/WAS85/Fixes/8.5.0.0-ws-wasprod-multios-ifpm63479.zip’/>
</server>
<profile id=’IBM WebSphere Application Server V8.5′ installLocation=’/opt/IBM/WebSphere/AppServer‘>
<data key=’eclipseLocation’ value=’/opt/IBM/WebSphere/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=’8.5.0.0-WS-WAS-IFPM62795′ version=’8.5.0.20120503_1150′ profile=’IBM WebSphere Application Server V8.5′ features=’-‘/>
<offering id=’8.5.0.0-WS-WAS-IFPM63690′ version=’8.5.0.20120611_1318′ profile=’IBM WebSphere Application Server V8.5′ features=’-‘/>
<offering id=’8.5.0.0-WS-WAS-IFPM63827′ version=’8.5.0.20120503_1507′ profile=’IBM WebSphere Application Server V8.5′ features=’-‘/>
<offering id=’8.5.0.0-WS-WASND-DistExceptIBMi-IFPM64890′ version=’8.5.0.20120608_1634′ profile=’IBM WebSphere Application Server V8.5′ features=’-‘/>
<offering id=’8.5.0.0-WS-WASND-DistExceptIBMi-IFPM66137′ version=’8.5.0.20120615_0733′ profile=’IBM WebSphere Application Server V8.5′ features=’-‘/>
<offering id=’8.5.0.0-WS-WASProd-IFPM64186′ version=’8.5.0.20120611_1543′ profile=’IBM WebSphere Application Server V8.5′ features=’-‘/>
<offering id=’8.5.0.0-WS-WASProd-MultiOS-IFPM63479′ version=’8.5.0.20120613_2056′ profile=’IBM WebSphere Application Server V8.5′ features=’-‘/>
<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/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=’true’/>
<preference name=’com.ibm.cic.common.core.preferences.preserveDownloadedArtifacts’ value=’true’/>
<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_WAS85.rsp=======================================

This results in creating the above response file in the path mentioned.

NOTE: If you want to change the Installation to alternative path we can change the installLocation and eclipseLocation

—Before rsp File —————–
<profile id=’IBM WebSphere Application Server V8.5′ installLocation=’/opt/IBM/WebSphere/AppServer‘>
<data key=’eclipseLocation’ value=’/opt/IBM/WebSphere/AppServer‘/>
<preference name=’com.ibm.cic.common.core.preferences.eclipseCache’ value=’/opt/IBM/IMShared‘/>
—Before rsp File —————–

For Eg :
a) WAS to be installed in /apps/WAS85 instead of /opt/IBM/WebSphere/AppServer
b) Shared location from /opt/IBM/IMShared to /apps/IMShared

—After Changes rsp File —————–
<profile id=’IBM WebSphere Application Server V8.5′ installLocation=’/apps/WAS85‘>
<data key=’eclipseLocation’ value=’/apps/WAS85‘/>
<preference name=’com.ibm.cic.common.core.preferences.eclipseCache’ value=’/apps/IMShared‘/>
—After Changes rsp File —————–

 

Step 8: Perform the installation

$ /opt/IBM/InstallationManager/eclipse/IBMIM -input ~/install_WAS85.rsp -log install_WAS85.log -silent -nosplash -acceptLicense

After some time you will see the result as

Installed 8.5.0.0-WS-WAS-IFPM62795_8.5.0.20120503_1150 to the /opt/IBM/WebSphere/AppServer directory.
Installed 8.5.0.0-WS-WAS-IFPM63690_8.5.0.20120611_1318 to the /opt/IBM/WebSphere/AppServer directory.
Installed 8.5.0.0-WS-WAS-IFPM63827_8.5.0.20120503_1507 to the /opt/IBM/WebSphere/AppServer directory.
Installed 8.5.0.0-WS-WASND-DistExceptIBMi-IFPM64890_8.5.0.20120608_1634 to the /opt/IBM/WebSphere/AppServer directory.
Installed 8.5.0.0-WS-WASND-DistExceptIBMi-IFPM66137_8.5.0.20120615_0733 to the /opt/IBM/WebSphere/AppServer directory.
Installed 8.5.0.0-WS-WASProd-IFPM64186_8.5.0.20120611_1543 to the /opt/IBM/WebSphere/AppServer directory.
Installed 8.5.0.0-WS-WASProd-MultiOS-IFPM63479_8.5.0.20120613_2056 to the /opt/IBM/WebSphere/AppServer directory.
Installed com.ibm.websphere.ND.v85_8.5.0.20120501_1108 to the /opt/IBM/WebSphere/AppServer directory.

 

Step 9:  Validate the installation

$ /opt/IBM/WebSphere/AppServer/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 October 3, 2012 3:16:37 PM BST

Installation
——————————————————————————–
Product Directory        /opt/IBM/WebSphere/AppServer
Version Directory        /opt/IBM/WebSphere/AppServer/properties/version
DTD Directory            /opt/IBM/WebSphere/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
——————————————————————————–

b) You can  also check the folders to ensure that the files are created in the location /opt/IBM/WebSphere/AppServer

 

Step 10: You can create the profiles now as required using PMT or manageprofile.sh

NOTE : you can use the similar steps to silently Install Websphere 8.0 also