Thursday, 27 October 2016

WebSphere Application Server 9 - More from the command-line

Catching up with the latest version of WebSphere Application Server (WAS), namely version 9, on a Linux VM.

I followed this: -


 to download the product, plus the latest fixes from here: -


Specifically, I'm installing WAS 9 plus the latest fix pack, aka WAS 9.0.0.1.

This is what I've have downloaded: -

Product

-rwxrwxrwx 1 admin users  992220534 Sep  3 15:06 sdk.repo.8030.java8.hpux.zip
-rwxrwxrwx 1 admin users 1592381288 Oct  3 15:26 was.repo.9000.base.zip
-rwxrwxrwx 1 admin users  205003961 Oct 27 11:49 was.repo.9000.ihs.zip
-rwxrwxrwx 1 admin users  318279547 Oct 27 11:50 was.repo.9000.plugins.zip


Fixpack

-rwxr-xr-x 1 admin users  147063684 Oct 27 11:49 ibm-java-sdk-8.0-3.0-linux-x64-installmgr.zip
-rwxr-xr-x 1 admin users 1042896813 Oct 27 11:49 9.0.0-WS-WAS-FP001.zip
-rwxr-xr-x 1 admin users  477282996 Oct 27 11:48 9.0.0-WS-IHSPLG-FP001.zip

I then extracted these to /tmp: -

Product

unzip /mnt/hgfs/Software/WAS9/Product/was.repo.9000.base.zip -d /tmp/WAS
unzip /mnt/hgfs/Software/WAS9/Product/sdk.repo.8030.java8.hpux.zip -d /tmp/Java
unzip /mnt/hgfs/Software/WAS9/Product/was.repo.9000.ihs.zip -d /tmp/IHS
unzip /mnt/hgfs/Software/WAS9/Product/was.repo.9000.plugins.zip -d /tmp/Plugins

Fixes

unzip /mnt/hgfs/Software/WAS9/Fixes/9.0.0-WS-WAS-FP001.zip -d /tmp/WASFP
unzip /mnt/hgfs/Software/WAS9/Fixes/ibm-java-sdk-8.0-3.0-linux-x64-installmgr.zip -d /tmp/JavaFP
unzip /mnt/hgfs/Software/WAS9/Fixes/9.0.0-WS-IHSPLG-FP001.zip -d /tmp/IHSFP

validated the version of IBM Installation Manager installed: -

/opt/IBM/InstallationManager/eclipse/tools/imcl -version

Installation Manager (installed)
Version: 1.8.5
Internal Version: 1.8.5000.20160506_1125
Architecture: 64-bit


validated what I had available: -

/opt/IBM/InstallationManager/eclipse/tools/imcl listAvailablePackages -repositories /tmp/WAS,/tmp/IHS,/tmp/Plugins,/tmp/Java,/tmp/WASFP,/tmp/IHSFP,/tmp/JavaFP

com.ibm.websphere.BASE.v90_9.0.0.20160526_1854
com.ibm.websphere.IHS.v90_9.0.0.20160526_1854
com.ibm.websphere.PLG.v90_9.0.0.20160526_1854
com.ibm.java.jdk.v8_8.0.3000.20160526_1317
com.ibm.websphere.BASE.v90_9.0.1.20160906_0049
com.ibm.websphere.ILAN.v90_9.0.1.20160906_0049
com.ibm.websphere.ND.v90_9.0.1.20160906_0049
com.ibm.websphere.NDDMZ.v90_9.0.1.20160906_0049
com.ibm.websphere.IHS.v90_9.0.1.20160906_0049
com.ibm.websphere.PLG.v90_9.0.1.20160906_0049
com.ibm.java.jdk.v8_8.0.3000.20160526_1317

/opt/IBM/InstallationManager/eclipse/tools/imcl listAvailablePackages -repositories /tmp/WAS,/tmp/IHS,/tmp/Plugins,/tmp/Java,/tmp/WASFP,/tmp/IHSFP,/tmp/JavaFP -features

com.ibm.websphere.BASE.v90_9.0.0.20160526_1854 : core.feature,ejbdeploy,thinclient,embeddablecontainer,samples
com.ibm.websphere.IHS.v90_9.0.0.20160526_1854 : core.feature
com.ibm.websphere.PLG.v90_9.0.0.20160526_1854 : core.feature
com.ibm.java.jdk.v8_8.0.3000.20160526_1317 : com.ibm.sdk.8
com.ibm.websphere.BASE.v90_9.0.1.20160906_0049 : core.feature,ejbdeploy,thinclient,embeddablecontainer,samples
com.ibm.websphere.ILAN.v90_9.0.1.20160906_0049 : core.feature,ejbdeploy,thinclient,embeddablecontainer,samples
com.ibm.websphere.ND.v90_9.0.1.20160906_0049 : core.feature,ejbdeploy,thinclient,embeddablecontainer,samples
com.ibm.websphere.NDDMZ.v90_9.0.1.20160906_0049 : core.feature,thinclient
com.ibm.websphere.IHS.v90_9.0.1.20160906_0049 : core.feature
com.ibm.websphere.PLG.v90_9.0.1.20160906_0049 : core.feature
com.ibm.java.jdk.v8_8.0.3000.20160526_1317 : com.ibm.sdk.8

and then installed it using a response file: -

installWAS9001.rsp

<?xml version='1.0' encoding='UTF-8'?>
<agent-input>
  <server>
    <repository location='/tmp/Java' temporary='true'/>
    <repository location='/tmp/WAS' temporary='true'/>
    <repository location='/tmp/IHS' temporary='true'/>
    <repository location='/tmp/Plugins' temporary='true'/>
    <repository location='/tmp/WASFP' temporary='true'/>
    <repository location='/tmp/IHSFP' temporary='true'/>
    <repository location='/tmp/JavaFP' temporary='true'/>
  </server>
  <profile id='IBM WebSphere Application Server V9.0' installLocation='/opt/IBM/WebSphere/AppServer'>
    <data key='cic.selector.arch' value='x86_64'/>
  </profile>
  <profile id='IBM HTTP Server V9.0' installLocation='/opt/IBM/HTTPServer'>
  <data key='eclipseLocation' value='/opt/IBM/HTTPServer'/>
    <data key='user.import.profile' value='false'/>
    <data key='cic.selector.os' value='linux'/>
    <data key='cic.selector.ws' value='gtk'/>
    <data key='cic.selector.arch' value='x86_64'/>
    <data key='user.ihs.allowNonRootSilentInstall' value='true'/>
    <data key='user.ihs.http.server.service.name' value='none'/>
    <data key='user.ihs.httpPort' value='8080'/>
    <data key='user.ihs.installHttpService' value='false'/>
    <data key='cic.selector.nl' value='en'/>
  </profile>
  <profile id='Web Server Plug-ins for IBM WebSphere Application Server V9.0' installLocation='/opt/IBM/WebSphere/Plugins'>
    <data key='eclipseLocation' value='/opt/IBM/WebSphere/Plugins'/>
    <data key='user.import.profile' value='false'/>
    <data key='cic.selector.os' value='linux'/>
    <data key='cic.selector.ws' value='gtk'/>
    <data key='cic.selector.arch' value='x86_64'/>
    <data key='cic.selector.nl' value='en'/>
  </profile>
  <install>
    <offering profile='IBM WebSphere Application Server V9.0' id='com.ibm.websphere.BASE.v90' version='9.0.1.20160906_0049' features='core.feature,ejbdeploy,thinclient,embeddablecontainer,samples'/>
    <offering profile='IBM WebSphere Application Server V9.0' id='com.ibm.java.jdk.v8' version='8.0.3000.20160526_1317' features='com.ibm.sdk.8'/>
    <offering profile='IBM HTTP Server V9.0' id='com.ibm.websphere.IHS.v90' version='9.0.1.20160906_0049' features='core.feature'/>
    <offering profile='IBM HTTP Server V9.0' id='com.ibm.java.jdk.v8' version='8.0.3000.20160526_1317' features='com.ibm.sdk.8'/>
    <offering profile='Web Server Plug-ins for IBM WebSphere Application Server V9.0' id='com.ibm.websphere.PLG.v90' version='9.0.1.20160906_0049' features='core.feature'/>
   <offering profile='Web Server Plug-ins for IBM WebSphere Application Server V9.0' id='com.ibm.java.jdk.v8' version='8.0.3000.20160526_1317' features='com.ibm.sdk.8'/>
  </install>
  <preference name='com.ibm.cic.common.core.preferences.eclipseCache' value='/opt/IBM/IMShared'/>
</agent-input>


/opt/IBM/InstallationManager/eclipse/tools/imcl -input installWAS9001.rsp -acceptLicense

Installed com.ibm.websphere.BASE.v90_9.0.1.20160906_0049 to the /opt/IBM/WebSphere/AppServer directory.
Installed com.ibm.java.jdk.v8_8.0.3000.20160526_1317 to the /opt/IBM/WebSphere/AppServer directory.
Installed com.ibm.websphere.IHS.v90_9.0.1.20160906_0049 to the /opt/IBM/HTTPServer directory.
Installed com.ibm.java.jdk.v8_8.0.3000.20160526_1317 to the /opt/IBM/HTTPServer directory.
Installed com.ibm.websphere.PLG.v90_9.0.1.20160906_0049 to the /opt/IBM/WebSphere/Plugins directory.
Installed com.ibm.java.jdk.v8_8.0.3000.20160526_1317 to the /opt/IBM/WebSphere/Plugins directory.


Finally, I validated what was installed: -

/opt/IBM/InstallationManager/eclipse/tools/imcl listInstalledPackages

com.ibm.cic.agent_1.8.5000.20160506_1125
com.ibm.java.jdk.v8_8.0.3000.20160526_1317
com.ibm.websphere.BASE.v90_9.0.1.20160906_0049
com.ibm.java.jdk.v8_8.0.3000.20160526_1317
com.ibm.websphere.IHS.v90_9.0.1.20160906_0049
com.ibm.java.jdk.v8_8.0.3000.20160526_1317
com.ibm.websphere.PLG.v90_9.0.1.20160906_0049


/opt/IBM/WebSphere/AppServer/bin/versionInfo.sh 

Name            IBM SDK, Java Technology Edition, Version 8
Version         8.0.3.0
ID              JAVA8
Build Level     pxa6480sr3-20160428_01
Build Date      04/28/16
Architecture    x86-64 (64 bit)

Name                  IBM WebSphere Application Server
Version               9.0.0.1
ID                    BASE
Build Level           cf011636.02
Build Date            9/6/16
Package               com.ibm.websphere.BASE.v90_9.0.1.20160906_0049
Architecture          x86-64 (64 bit)
Installed Features    WebSphere Application Server traditional
                      EJBDeploy tool for pre-EJB 3.0 modules
                      Embeddable EJB container
                      Sample applications
                      Stand-alone thin clients and resource adapters


/opt/IBM/HTTPServer/bin/apachectl -v

Server version: IBM_HTTP_Server/9.0.0.1 (Unix)
Server built:   Jul 25 2016 13:31:50


/opt/IBM/HTTPServer/bin/apachectl -V

Server version: IBM_HTTP_Server/9.0.0.1 (Unix)
Apache version: 2.4.12 (with additional fixes)
Server built:   Jul 25 2016 13:31:50
Build level:    RIHSX.IHS/webIHS1630.01
Server's Module Magic Number: 20120211:57
Server loaded:  APR 1.5.1, APR-UTIL 1.5.2
Compiled using: APR 1.5.1, APR-UTIL 1.5.2
Architecture:   64-bit
Operating System: Linux x86_64
Server MPM:     event
  threaded:     yes (fixed thread count)
    forked:     yes (variable process count)
Server compiled with....
 -D APR_HAS_SENDFILE
 -D APR_HAS_MMAP
 -D APR_HAVE_IPV6 (IPv4-mapped addresses enabled)
 -D APR_USE_SYSVSEM_SERIALIZE
 -D APR_USE_PTHREAD_SERIALIZE
 -D SINGLE_LISTEN_UNSERIALIZED_ACCEPT
 -D APR_HAS_OTHER_CHILD
 -D AP_HAVE_RELIABLE_PIPED_LOGS
 -D DYNAMIC_MODULE_LIMIT=256
 -D HTTPD_ROOT="/opt/IBMIHS"
 -D DEFAULT_PIDLOG="logs/httpd.pid"
 -D DEFAULT_SCOREBOARD="logs/apache_runtime_status"
 -D DEFAULT_ERRORLOG="logs/error_log"
 -D AP_TYPES_CONFIG_FILE="conf/mime.types"
 -D SERVER_CONFIG_FILE="conf/httpd.conf"
Apache vulnerability fixes included:
  CVE-2009-1191  CVE-2009-1890  CVE-2009-3094  CVE-2009-3095
  CVE-2010-0434  CVE-2010-0425  CVE-2010-0408  CVE-2009-3555
  CVE-2010-1452  CVE-2010-1623  CVE-2011-3368  CVE-2011-3607
  CVE-2011-3192  CVE-2011-3348  CVE-2011-4317  CVE-2012-0021
  CVE-2012-0031  CVE-2012-0053  CVE-2012-0883  CVE-2012-2687
  CVE-2012-3502  CVE-2012-4558  CVE-2012-3499  CVE-2013-2249
  CVE-2013-1896  CVE-2013-4352  CVE-2013-6438  CVE-2014-0098
  CVE-2014-0963  CVE-2014-0231  CVE-2014-0118  CVE-2014-0226
  CVE-2014-3523  CVE-2014-0117  CVE-2013-5704  CVE-2014-8109
  CVE-2014-3581  CVE-2014-3583  CVE-2015-0253  CVE-2015-3185
  CVE-2015-3183  CVE-2015-1829  CVE-2014-8730  CVE-2015-0228
  CVE-2015-4947  CVE-2015-1283  CVE-2015-7420  CVE-2016-0201
  CVE-2016-0718  CVE-2016-5387  


Right, onto more stuff ….

No comments: