Monday, 21 September 2015

WebSphere Liberty Profile - An Installation In Many Parts

See what's available to install

/opt/IBM/InstallationManager/eclipse/tools/imcl listAvailablePackages -repositories /home/wasadmin/Repository/LibertyCore/,/home/wasadmin/Repository/Java7/

com.ibm.websphere.liberty.v85_8.5.5000.20130514_1313
com.ibm.websphere.IBMJAVA.v70_7.0.4001.20130510_2103
com.ibm.websphere.liberty.IBMJAVA.v70_7.0.4001.20130510_2103

/opt/IBM/InstallationManager/eclipse/tools/imcl listAvailablePackages -repositories /home/wasadmin/Repository/LibertyCore/,/home/wasadmin/Repository/LibertyFP,/home/wasadmin/Repository/Java7/

com.ibm.websphere.liberty.v85_8.5.5000.20130514_1313
com.ibm.websphere.liberty.BASE.v85_8.5.5006.20150610_1804
com.ibm.websphere.liberty.BASETRIAL.v85_8.5.5006.20150610_1804
com.ibm.websphere.liberty.DEVELOPERS.v85_8.5.5006.20150610_1804
com.ibm.websphere.liberty.DEVELOPERSILAN.v85_8.5.5006.20150610_1804
com.ibm.websphere.liberty.EXPRESS.v85_8.5.5006.20150610_1804
com.ibm.websphere.liberty.ND.v85_8.5.5006.20150610_1804
com.ibm.websphere.liberty.NDTRIAL.v85_8.5.5006.20150610_1804
com.ibm.websphere.liberty.TRIAL.v85_8.5.5006.20150610_1804
com.ibm.websphere.liberty.WEBENAB.v85_8.5.5006.20150610_1804
com.ibm.websphere.liberty.v85_8.5.5006.20150610_1804
com.ibm.websphere.IBMJAVA.v70_7.0.4001.20130510_2103
com.ibm.websphere.liberty.IBMJAVA.v70_7.0.4001.20130510_2103

Perform a dummy installation

/opt/IBM/InstallationManager/eclipse/tools/imcl install com.ibm.websphere.liberty.v85 com.ibm.websphere.liberty.IBMJAVA.v70 -repositories /home/wasadmin/Repository/LibertyCore/,/home/wasadmin/Repository/LibertyFP,/home/wasadmin/Repository/Java7/ -installationDirectory /opt/IBM/WebSphere/Liberty -sharedResourcesDirectory /opt/IBM/IMShared -acceptLicense -skipInstall /tmp/snafu

Installed com.ibm.websphere.liberty.v85_8.5.5006.20150610_1804 to the /opt/IBM/WebSphere/Liberty directory.
Installed com.ibm.websphere.liberty.IBMJAVA.v70_7.0.4001.20130510_2103 to the /opt/IBM/WebSphere/Liberty directory.

Perform the real installation

/opt/IBM/InstallationManager/eclipse/tools/imcl install com.ibm.websphere.liberty.v85 com.ibm.websphere.liberty.IBMJAVA.v70 -repositories /home/wasadmin/Repository/LibertyCore/,/home/wasadmin/Repository/LibertyFP,/home/wasadmin/Repository/Java7/ -installationDirectory /opt/IBM/WebSphere/Liberty -sharedResourcesDirectory /opt/IBM/IMShared -acceptLicense

Installed com.ibm.websphere.liberty.v85_8.5.5006.20150610_1804 to the /opt/IBM/WebSphere/Liberty directory.
Installed com.ibm.websphere.liberty.IBMJAVA.v70_7.0.4001.20130510_2103 to the /opt/IBM/WebSphere/Liberty directory.

Validate installation

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

com.ibm.cic.agent_1.8.2000.20150303_1526
com.ibm.websphere.liberty.IBMJAVA.v70_7.0.4001.20130510_2103
com.ibm.websphere.liberty.v85_8.5.5006.20150610_1804

/opt/IBM/WebSphere/Liberty/bin/productInfo version

Product name: WebSphere Application Server
Product version: 8.5.5.6
Product edition: LIBERTY_CORE

/opt/IBM/WebSphere/Liberty/bin/server version

WebSphere Application Server 8.5.5.6 (1.0.9.cl50620150610-1749) on IBM J9 VM, version pxa6470sr4fp1ifx-20130423_02 (SR4 FP1+IV38579+IV38399+IV40208) (en_GB)

/opt/IBM/WebSphere/Liberty/java/java_1.7_64/bin/java -version

java version "1.7.0"
Java(TM) SE Runtime Environment (build pxa6470sr4fp1ifix-20130423_02(SR4 FP1+IV38579+IV38399+IV40208))
IBM J9 VM (build 2.6, JRE 1.7.0 Linux amd64-64 Compressed References 20130421_145945 (JIT enabled, AOT enabled)
J9VM - R26_Java726_SR4_FP1_2_20130421_2353_B145945
JIT  - r11.b03_20130131_32403ifx4
GC   - R26_Java726_SR4_FP1_2_20130421_2353_B145945_CMPRSS
J9CL - 20130422_145945)
JCL - 20130225_01 based on Oracle 7u13-b08


No comments:

Note to self - use kubectl to query images in a pod or deployment

In both cases, we use JSON ... For a deployment, we can do this: - kubectl get deployment foobar --namespace snafu --output jsonpath="{...