Congratulations!

[Valid RSS] This is a valid RSS feed.

Recommendations

This feed is valid, but interoperability with the widest range of feed readers could be improved by implementing the following recommendations.

Source: http://portal2portal.blogspot.com/feeds/posts/default?alt=rss

  1. <?xml version='1.0' encoding='UTF-8'?><rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:openSearch="http://a9.com/-/spec/opensearchrss/1.0/" xmlns:blogger="http://schemas.google.com/blogger/2008" xmlns:georss="http://www.georss.org/georss" xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr="http://purl.org/syndication/thread/1.0" version="2.0"><channel><atom:id>tag:blogger.com,1999:blog-6740338341177826314</atom:id><lastBuildDate>Mon, 15 Jan 2018 17:04:22 +0000</lastBuildDate><title>A Portal to a Portal</title><description>In the words of Dr Cathy Ryan, &quot;If you don&#39;t write it down, it never happened&quot;.&#xa;&#xa;To paraphrase one of my clients, &quot;Every day is a school day&quot;.&#xa;&#xa;I do, I learn, I share&#xa;&#xa;The postings on this site are my own and don’t necessarily represent IBM’s positions, strategies or opinions.&#xa;&#xa;My blog is PERSONAL, and is a repository of the stuff that I learn, play with, enjoy and want to share.&#xa;&#xa;If you follow one of my tips, your mileage MAY well vary - Here be dragons :-)</description><link>http://portal2portal.blogspot.com/</link><managingEditor>[email protected] (Dave Hay)</managingEditor><generator>Blogger</generator><openSearch:totalResults>2547</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><item><guid isPermaLink="false">tag:blogger.com,1999:blog-6740338341177826314.post-901980472914020264</guid><pubDate>Mon, 15 Jan 2018 15:54:00 +0000</pubDate><atom:updated>2018-01-15T15:54:31.646+00:00</atom:updated><title>ADML0004E: An exception occurred when attempting to expand variable ${IBMSCMX} com.ibm.wsspi.runtime.variable.UndefinedVariableException: Undefined variable IBMSCMX</title><description>&lt;p class=&quot;&quot;&gt;Having installed BPM 8.6 CF2017-12, as part of my ongoing testing of   IBM BPM 8.5.5 to 8.6 side-by-side upgrades, I started seeing: -&lt;br class=&quot;&quot;&gt;&lt;/p&gt;&lt;p class=&quot;&quot;&gt;&lt;span style=&quot;font-family:courier new,courier,monospace;&quot; class=&quot;&quot;&gt;Continuing   with unexpanded genericJvmArguments &#39;-Xscmx120m -Xgcpolicy:gencon   -Xjit:iprofilerMemoryConsumptionLimit=67108864 ${IBMSCMX}   ${IBMGCPOLICY_GENCON} ${IBMJITPMC}&#39;&lt;br class=&quot;&quot;&gt;ADML0004E: An exception occurred   when attempting to expand variable ${IBMSCMX}   com.ibm.wsspi.runtime.variable.UndefinedVariableException: Undefined   variable IBMSCMX&lt;br class=&quot;&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;&quot;&gt;&lt;span style=&quot;font-family:courier new,courier,monospace;&quot; class=&quot;&quot;&gt;ADML0004E:   An exception occurred when attempting to expand variable   ${IBMGCPOLICY_GENCON}   com.ibm.wsspi.runtime.variable.UndefinedVariableException: Undefined   variable IBMGCPOLICY_GENCON&lt;br class=&quot;&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;&quot;&gt;&lt;span style=&quot;font-family:courier new,courier,monospace;&quot; class=&quot;&quot;&gt;ADML0004E:   An exception occurred when attempting to expand variable ${IBMJITPMC}   com.ibm.wsspi.runtime.variable.UndefinedVariableException: Undefined   variable IBMJITPMC&lt;/span&gt;&lt;br class=&quot;&quot;&gt;&lt;/p&gt;&lt;p class=&quot;&quot;&gt;This manifested itself whenever I ran a Java process such as &lt;strong class=&quot;&quot;&gt;startManager.sh&lt;/strong&gt; or &lt;strong class=&quot;&quot;&gt;startNode.sh&lt;/strong&gt; or &lt;strong class=&quot;&quot;&gt;DBUpgrade.sh&lt;/strong&gt;&lt;br class=&quot;&quot;&gt;&lt;/p&gt;&lt;p class=&quot;&quot;&gt;For the record, this is what I had installed: -&lt;br class=&quot;&quot;&gt;&lt;/p&gt;&lt;p class=&quot;&quot;&gt;&lt;span style=&quot;font-family:courier new,courier,monospace;&quot; class=&quot;&quot;&gt;com.ibm.cic.agent_1.8.8000.20171130_1105&lt;br class=&quot;&quot;&gt;com.ibm.bpm.ADV.v85_8.6.201712.20171211_1726&lt;br class=&quot;&quot;&gt;com.ibm.websphere.ND.v85_8.5.5012.20170627_1018&lt;br class=&quot;&quot;&gt;8.5.5.12-WS-WASND-IFPI82630_8.5.5012.20170718_1447&lt;/span&gt;&lt;br class=&quot;&quot;&gt;&lt;/p&gt;&lt;p class=&quot;&quot;&gt;As   part of my testing, I&#39;m using the Deployment Environment exported from a   BPM 8.5.5 environment as input into the 8.6 DE creation: -&lt;br class=&quot;&quot;&gt;&lt;/p&gt;&lt;p class=&quot;&quot;&gt;&lt;em class=&quot;&quot;&gt;/opt/ibm/WebSphere/AppServer/bin/BPMConfig.sh -create -de ~/BPM855DE/De1.properties&lt;/em&gt;&lt;br class=&quot;&quot;&gt;&lt;/p&gt;&lt;p class=&quot;&quot;&gt;Interestingly, this was NOT a problem when I had the base 8.6 binary ( &lt;em class=&quot;&quot;&gt;com.ibm.bpm.ADV.v85_8.6.0.20170918_1207&lt;/em&gt; ) installed.&lt;br class=&quot;&quot;&gt;&lt;/p&gt;&lt;p class=&quot;&quot;&gt;In essence, the problem was that WAS was looking for three variables: -&lt;br class=&quot;&quot;&gt;&lt;/p&gt;&lt;p class=&quot;&quot;&gt;&lt;em class=&quot;&quot;&gt;IBMJITPMC&lt;br class=&quot;&quot;&gt;&lt;/em&gt;&lt;/p&gt;&lt;p class=&quot;&quot;&gt;&lt;em class=&quot;&quot;&gt;IBMGCPOLICY_GENCON&lt;br class=&quot;&quot;&gt;&lt;/em&gt;&lt;/p&gt;&lt;p class=&quot;&quot;&gt;&lt;em class=&quot;&quot;&gt;IBMSCMX&lt;/em&gt;&lt;br class=&quot;&quot;&gt;&lt;/p&gt;&lt;p class=&quot;&quot;&gt;none of which existed within the WAS cell configuration.&lt;br class=&quot;&quot;&gt;&lt;/p&gt;&lt;p class=&quot;&quot;&gt;I &quot;cheated&quot; by adding the following three lines to the &lt;strong class=&quot;&quot;&gt;resources.xml&lt;/strong&gt; : -&lt;br class=&quot;&quot;&gt;&lt;/p&gt;&lt;p class=&quot;&quot;&gt;vi /opt/ibm/WebSphereProfiles/Dmgr01/config/cells/PCCell1/nodes/Dmgr/variables.xml&lt;br class=&quot;&quot;&gt;vi /opt/ibm/WebSphereProfiles/Dmgr01/config/cells/PCCell1/nodes/Node1/variables.xml&lt;br class=&quot;&quot;&gt;&lt;/p&gt;&lt;p class=&quot;&quot;&gt;appending: -&lt;br class=&quot;&quot;&gt;&lt;/p&gt;&lt;p class=&quot;&quot;&gt;&lt;span style=&quot;font-family:courier new,courier,monospace;&quot; class=&quot;&quot;&gt;&amp;lt;entries   xmi:id=&quot;VariableSubstitutionEntry_1515008456894&quot;   symbolicName=&quot;IBMJITPMC&quot;   value=&quot;-Xjit:iprofilerMemoryConsumptionLimit=67108864&quot;/&amp;gt;&lt;br class=&quot;&quot;&gt;&amp;lt;entries xmi:id=&quot;VariableSubstitutionEntry_1515008456717&quot; symbolicName=&quot;IBMGCPOLICY_GENCON&quot; value=&quot;-Xgcpolicy:gencon&quot;/&amp;gt;&lt;br class=&quot;&quot;&gt;&amp;lt;entries xmi:id=&quot;VariableSubstitutionEntry_1515008456476&quot; symbolicName=&quot;IBMSCMX&quot; value=&quot;-Xscmx120m&quot;/&amp;gt;&lt;/span&gt;&lt;br class=&quot;&quot;&gt;&lt;/p&gt;&lt;p class=&quot;&quot;&gt;in both cases.&lt;br class=&quot;&quot;&gt;&lt;/p&gt;&lt;p class=&quot;&quot;&gt;However, that felt too much like a &quot;hack&quot; so I dug further.&lt;br class=&quot;&quot;&gt;&lt;/p&gt;&lt;p class=&quot;&quot;&gt;Looking back at the &lt;strong class=&quot;&quot;&gt;De1.properties&lt;/strong&gt; file that I&#39;d generated from the 8.5.5 environment: -&lt;br class=&quot;&quot;&gt;&lt;/p&gt;&lt;p class=&quot;&quot;&gt;&lt;em class=&quot;&quot;&gt;/opt/ibm/WebSphere/AppServer/bin/BPMConfig.sh -export -profile Dmgr01 -de De1 -outputDir ~/BPM855DE&lt;/em&gt;&lt;br class=&quot;&quot;&gt;&lt;/p&gt;&lt;p class=&quot;&quot;&gt;I noticed this: -&lt;br class=&quot;&quot;&gt;&lt;/p&gt;&lt;p class=&quot;&quot;&gt;&lt;span style=&quot;font-family:courier new,courier,monospace;&quot; class=&quot;&quot;&gt;##################&lt;br class=&quot;&quot;&gt;# JVM properties #&lt;br class=&quot;&quot;&gt;##################&lt;br class=&quot;&quot;&gt;#   Do not modify this value. If running on z/OS, the name of the process   definition these settings are for. On non-z/OS platforms, this value   should be empty.&lt;br class=&quot;&quot;&gt;bpm.dmgr.jvmSettings.1.name=&lt;br class=&quot;&quot;&gt;bpm.dmgr.jvmSettings.1.jvmArgs=${IBMSCMX} ${IBMGCPOLICY_GENCON} ${IBMJITPMC}&lt;br class=&quot;&quot;&gt;bpm.dmgr.jvmSettings.1.initialHeapSize=768&lt;br class=&quot;&quot;&gt;bpm.dmgr.jvmSettings.1.maximumHeapSize=2048&lt;br class=&quot;&quot;&gt;bpm.dmgr.jvmSettings.1.verboseModeGarbageCollection=false&lt;br class=&quot;&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;&quot;&gt;&lt;span style=&quot;font-family:courier new,courier,monospace;&quot; class=&quot;&quot;&gt;##################&lt;br class=&quot;&quot;&gt;# JVM properties #&lt;br class=&quot;&quot;&gt;##################&lt;br class=&quot;&quot;&gt;#   Do not modify this value. If running on z/OS, the name of the process   definition these settings are for. On non-z/OS platforms, this value   should be empty.&lt;br class=&quot;&quot;&gt;bpm.de.node.1.clusterMember.1.jvmSettings.1.name=&lt;br class=&quot;&quot;&gt;bpm.de.node.1.clusterMember.1.jvmSettings.1.jvmArgs=${IBMSCMX} ${IBMGCPOLICY_GENCON} ${IBMJITPMC}&lt;br class=&quot;&quot;&gt;bpm.de.node.1.clusterMember.1.jvmSettings.1.initialHeapSize=&lt;br class=&quot;&quot;&gt;bpm.de.node.1.clusterMember.1.jvmSettings.1.maximumHeapSize=&lt;br class=&quot;&quot;&gt;bpm.de.node.1.clusterMember.1.jvmSettings.1.verboseModeGarbageCollection=false&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;&quot;&gt;&lt;span style=&quot;font-family:courier new,courier,monospace;&quot; class=&quot;&quot;&gt;##################&lt;br class=&quot;&quot;&gt;# JVM properties #&lt;br class=&quot;&quot;&gt;##################&lt;br class=&quot;&quot;&gt;#   Do not modify this value. If running on z/OS, the name of the process   definition these settings are for. On non-z/OS platforms, this value   should be empty.&lt;br class=&quot;&quot;&gt;bpm.de.node.1.clusterMember.2.jvmSettings.1.name=&lt;br class=&quot;&quot;&gt;bpm.de.node.1.clusterMember.2.jvmSettings.1.jvmArgs=${IBMSCMX}   ${IBMGCPOLICY_GENCON} ${IBMJITPMC}   -Dsun.net.http.allowRestrictedHeaders=true&lt;br class=&quot;&quot;&gt;bpm.de.node.1.clusterMember.2.jvmSettings.1.initialHeapSize=768&lt;br class=&quot;&quot;&gt;bpm.de.node.1.clusterMember.2.jvmSettings.1.maximumHeapSize=2048&lt;br class=&quot;&quot;&gt;bpm.de.node.1.clusterMember.2.jvmSettings.1.verboseModeGarbageCollection=false&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;&quot;&gt;&lt;span style=&quot;font-family:courier new,courier,monospace;&quot; class=&quot;&quot;&gt;##################&lt;br class=&quot;&quot;&gt;# JVM properties #&lt;br class=&quot;&quot;&gt;##################&lt;br class=&quot;&quot;&gt;#   Do not modify this value. If running on z/OS, the name of the process   definition these settings are for. On non-z/OS platforms, this value   should be empty.&lt;br class=&quot;&quot;&gt;bpm.de.node.1.clusterMember.3.jvmSettings.1.name=&lt;br class=&quot;&quot;&gt;bpm.de.node.1.clusterMember.3.jvmSettings.1.jvmArgs=${IBMSCMX} ${IBMGCPOLICY_GENCON} ${IBMJITPMC}&lt;br class=&quot;&quot;&gt;bpm.de.node.1.clusterMember.3.jvmSettings.1.initialHeapSize=768&lt;br class=&quot;&quot;&gt;bpm.de.node.1.clusterMember.3.jvmSettings.1.maximumHeapSize=2048&lt;br class=&quot;&quot;&gt;bpm.de.node.1.clusterMember.3.jvmSettings.1.verboseModeGarbageCollection=false&lt;/span&gt;&lt;br class=&quot;&quot;&gt;&lt;/p&gt;&lt;p class=&quot;&quot;&gt;In other words, the variables had been generated by the &lt;strong class=&quot;&quot;&gt;-export&lt;/strong&gt; process.&lt;br class=&quot;&quot;&gt;&lt;/p&gt;&lt;p class=&quot;&quot;&gt;For   some reason, these didn&#39;t cause a problem for the September 2017   release of 8.6, BUT did cause a problem with the December 2017 release.&lt;br class=&quot;&quot;&gt;&lt;/p&gt;&lt;p class=&quot;&quot;&gt;I&#39;m not 100% sure why.&lt;br class=&quot;&quot;&gt;&lt;/p&gt;&lt;p class=&quot;&quot;&gt;However, the mitigation was to remove the references in the De1.properties, and re-do the DE creation process.&lt;br class=&quot;&quot;&gt;&lt;/p&gt;&lt;p class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/p&gt;</description><link>http://portal2portal.blogspot.com/2018/01/adml0004e-exception-occurred-when.html</link><author>[email protected] (Dave Hay)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-6740338341177826314.post-397375492595542386</guid><pubDate>Thu, 04 Jan 2018 16:45:00 +0000</pubDate><atom:updated>2018-01-04T16:46:09.448+00:00</atom:updated><title>IBM BPM 8.6 - Performance Dashboard - Who Knew ?</title><description>&lt;div dir=&quot;auto&quot; style=&quot;word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;&quot; class=&quot;&quot;&gt;So I&#39;ve been tinkering with BPM 8.6 since it was first released in September.&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;And yet I&#39;ve just discovered this: -&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;b class=&quot;&quot;&gt;Performance &amp;gt; Performance Dashboard&lt;/b&gt;&lt;br class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;i class=&quot;&quot;&gt;View statistics (both real time and historical) that are relevant for BPM database performance and performance indicators that influence the performance of&amp;nbsp;your BPM system. Get housekeeping tips for improving performance and generate wsadmin commands for snapshot cleanup. To get started, click&amp;nbsp;Load Data.&lt;/i&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;a href=&quot;http://4.bp.blogspot.com/-EtOSW47mhTI/Wk5aUsCR1MI/AAAAAAAAC_s/QRmqqsHctVEL1pNavutaGflhuDtkpteCwCK4BGAYYCw/s1600/PastedGraphic-1-769465.png&quot;&gt;&lt;img src=&quot;http://4.bp.blogspot.com/-EtOSW47mhTI/Wk5aUsCR1MI/AAAAAAAAC_s/QRmqqsHctVEL1pNavutaGflhuDtkpteCwCK4BGAYYCw/s320/PastedGraphic-1-769465.png&quot;  border=&quot;0&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_6507237823061546178&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;within the Process Admin UI: -&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;a href=&quot;https://bpm86.uk.ibm.com:9444/ProcessAdmin/ProcessAdmin/com.lombardisoftware.processadmin.ProcessAdmin/ProcessAdmin.jsp&quot; class=&quot;&quot;&gt;https://bpm86.uk.ibm.com:9444/ProcessAdmin/ProcessAdmin/com.lombardisoftware.processadmin.ProcessAdmin/ProcessAdmin.jsp&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;a href=&quot;http://1.bp.blogspot.com/-TLpjFYFULIE/Wk5aVM808jI/AAAAAAAAC_0/4S0X5hst3gIaMvKxJ0djJ2gLWnjCl0vhACK4BGAYYCw/s1600/PastedGraphic-1-771435.png&quot;&gt;&lt;img src=&quot;http://1.bp.blogspot.com/-TLpjFYFULIE/Wk5aVM808jI/AAAAAAAAC_0/4S0X5hst3gIaMvKxJ0djJ2gLWnjCl0vhACK4BGAYYCw/s320/PastedGraphic-1-771435.png&quot;  border=&quot;0&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_6507237831897051698&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;a href=&quot;http://3.bp.blogspot.com/-pXQOddSdOPI/Wk5aVjaM4eI/AAAAAAAAC_8/GF-oTW9iFOkNKRwmZPYQGxaSC9kYro5VQCK4BGAYYCw/s1600/PastedGraphic-2-773331.png&quot;&gt;&lt;img src=&quot;http://3.bp.blogspot.com/-pXQOddSdOPI/Wk5aVjaM4eI/AAAAAAAAC_8/GF-oTW9iFOkNKRwmZPYQGxaSC9kYro5VQCK4BGAYYCw/s320/PastedGraphic-2-773331.png&quot;  border=&quot;0&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_6507237837925835234&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;a href=&quot;http://4.bp.blogspot.com/-Xb_kmhMWoj0/Wk5aV_wQgBI/AAAAAAAADAE/jox3N4YXIzE4zt9G0Ys8nI44liDOHk2wACK4BGAYYCw/s1600/PastedGraphic-4-774666.png&quot;&gt;&lt;img src=&quot;http://4.bp.blogspot.com/-Xb_kmhMWoj0/Wk5aV_wQgBI/AAAAAAAADAE/jox3N4YXIzE4zt9G0Ys8nI44liDOHk2wACK4BGAYYCw/s320/PastedGraphic-4-774666.png&quot;  border=&quot;0&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_6507237845534539794&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;a href=&quot;http://1.bp.blogspot.com/-W3eRRis93yk/Wk5aWbWP5kI/AAAAAAAADAM/rv2NuEY4-MgLTkdPDjXhL1cygHoo_fq1gCK4BGAYYCw/s1600/PastedGraphic-3-775752.png&quot;&gt;&lt;img src=&quot;http://1.bp.blogspot.com/-W3eRRis93yk/Wk5aWbWP5kI/AAAAAAAADAM/rv2NuEY4-MgLTkdPDjXhL1cygHoo_fq1gCK4BGAYYCw/s320/PastedGraphic-3-775752.png&quot;  border=&quot;0&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_6507237852941641282&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;etc.&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;which is AWESOME&lt;/div&gt;&lt;/div&gt;</description><link>http://portal2portal.blogspot.com/2018/01/ibm-bpm-86-performance-dashboard-who.html</link><author>[email protected] (Dave Hay)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://4.bp.blogspot.com/-EtOSW47mhTI/Wk5aUsCR1MI/AAAAAAAAC_s/QRmqqsHctVEL1pNavutaGflhuDtkpteCwCK4BGAYYCw/s72-c/PastedGraphic-1-769465.png" height="72" width="72"/><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-6740338341177826314.post-6697523458412615951</guid><pubDate>Wed, 03 Jan 2018 17:09:00 +0000</pubDate><atom:updated>2018-01-03T17:09:33.279+00:00</atom:updated><title>VMware - Driving it from the command-line</title><description>&lt;div dir=&quot;auto&quot; style=&quot;word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;&quot; class=&quot;&quot;&gt;I blogged about this a while back: -&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;a href=&quot;https://portal2portal.blogspot.co.uk/2009/10/learning-to-vmrun.html&quot; class=&quot;&quot;&gt;Learning to VMRUN&lt;/a&gt;&lt;br class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;a href=&quot;https://portal2portal.blogspot.co.uk/2010/01/vmware-server-202-and-its-use-of.html&quot; class=&quot;&quot;&gt;VMware Server 2.0.2 and it&#39;s use of datastores&lt;/a&gt;&lt;br class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;a href=&quot;https://portal2portal.blogspot.co.uk/2015/09/control-vmware-fusion-from-command-line.html&quot; class=&quot;&quot;&gt;Control VMware Fusion from the Command Line&lt;/a&gt;&lt;br class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;but I&#39;ve rediscovered the VMware CLI.&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;On my Ubuntu box, I&#39;m using VMrun: -&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;i class=&quot;&quot;&gt;vmrun list&lt;/i&gt;&lt;br class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;font face=&quot;IBMPlexMono&quot; class=&quot;&quot;&gt;Total running VMs: 3&lt;br class=&quot;&quot;&gt;/home/hayd/vmware/icpboot/icpboot.vmx&lt;br class=&quot;&quot;&gt;/home/hayd/vmware/icpproxy/icpproxy.vmx&lt;br class=&quot;&quot;&gt;/home/hayd/vmware/icpworker/icpworker.vmx&lt;/font&gt;&lt;br class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;and: -&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;i class=&quot;&quot;&gt;vmrun&amp;nbsp;suspend /home/hayd/vmware/icpproxy/icpproxy.vmx&lt;br class=&quot;&quot;&gt;vmrun&amp;nbsp;suspend /home/hayd/vmware/icpworker/icpworker.vmx&lt;br class=&quot;&quot;&gt;vmrun&amp;nbsp;suspend /home/hayd/vmware/icpboot/icpboot.vmx&lt;/i&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;and then on the Mac, I&#39;m doing this: -&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;i class=&quot;&quot;&gt;vmrun start &quot;/Users/davidhay/Documents/Virtual Machines.localized/BPM855.vmwarevm/BPM855.vmx&quot;&lt;/i&gt;&lt;br class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;and: -&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;i class=&quot;&quot;&gt;vmrun stop &quot;/Users/davidhay/Documents/Virtual Machines.localized/BPM855.vmwarevm/BPM855.vmx&quot;&lt;/i&gt;&lt;br class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;and: -&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;i class=&quot;&quot;&gt;vmrun clone &quot;/Users/davidhay/Documents/Virtual Machines.localized/BPM855.vmwarevm/BPM855.vmx&quot;&amp;nbsp;&quot;/Users/davidhay/Documents/Virtual Machines.localized/BPM86.vmwarevm/BPM86.vmx&quot; full&lt;/i&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;and: -&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;i class=&quot;&quot;&gt;vmrun start &quot;/Users/davidhay/Documents/Virtual Machines.localized/BPM86.vmwarevm/BPM86.vmx&quot;&lt;/i&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;which is, as ever, always nice&lt;/div&gt;&lt;/div&gt;</description><link>http://portal2portal.blogspot.com/2018/01/vmware-driving-it-from-command-line.html</link><author>[email protected] (Dave Hay)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-6740338341177826314.post-2766787631244535194</guid><pubDate>Tue, 02 Jan 2018 18:00:00 +0000</pubDate><atom:updated>2018-01-02T18:00:55.370+00:00</atom:updated><title>IBM DataPower Gateway on IBM Cloud Private - Can you say &quot;Doofus&quot; ?</title><description>Following my earlier post: -&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;I&#39;m having MORE fun with the IBM DataPower Gateway (IDG) pattern on IBM Cloud Private (ICP).&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;Having finally managed to instantiate my container ( I had to drop the&lt;b class=&quot;&quot;&gt;&amp;nbsp;resources.requests.cpu&lt;/b&gt; and&amp;nbsp;&lt;b class=&quot;&quot;&gt;resources.requests.memory&lt;/b&gt; values down, as I&#39;m running on a relatively small estate, with a single Worker node with 1 CPU and 8 GB RAM ) : -&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;a href=&quot;http://3.bp.blogspot.com/-6VbPAdttTig/WkvI2ILtc7I/AAAAAAAAC-w/rxvXqTG8ToQ046ZPt4FT5izPW1FJuxDRQCK4BGAYYCw/s1600/PastedGraphic-7-755395.png&quot;&gt;&lt;img src=&quot;http://3.bp.blogspot.com/-6VbPAdttTig/WkvI2ILtc7I/AAAAAAAAC-w/rxvXqTG8ToQ046ZPt4FT5izPW1FJuxDRQCK4BGAYYCw/s320/PastedGraphic-7-755395.png&quot;  border=&quot;0&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_6506514918901904306&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;I waited for the container to start ( there&#39;s quite a bit going on, including the bit where the Worker node has to pulled the IDG Docker image ).&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;Once it was running, I followed the guidance to get back the endpoint details: -&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;i class=&quot;&quot;&gt;export NODE_PORT=$(kubectl get --namespace default -o jsonpath=&quot;{.spec.ports[0].nodePort}&quot; services davidhay-ibm-datapower-dev)&lt;br class=&quot;&quot;&gt;export NODE_IP=$(kubectl get nodes --namespace default -o jsonpath=&quot;{.items[0].status.addresses[0].address}&quot;)&lt;br class=&quot;&quot;&gt;echo &lt;a href=&quot;https://$node_ip:$node_port&quot; class=&quot;&quot;&gt;https://$NODE_IP:$NODE_PORT&lt;/a&gt;&lt;/i&gt;&lt;br class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;and hit the endpoint&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;a href=&quot;https://192.168.1.200:30763&quot; class=&quot;&quot;&gt;https://192.168.1.200:30763&lt;/a&gt;&lt;br class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;and……&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;got the IBM website.&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;So I appeared to be proxying &lt;a href=&quot;http://IBM.COM&quot; class=&quot;&quot;&gt;IBM.COM&lt;/a&gt;, which was somewhat worrying.&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;I cleaned my configuration, and tried again, and then saw this: -&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;a href=&quot;http://3.bp.blogspot.com/-7u2hx_sUNtI/WkvI2oIvFHI/AAAAAAAAC-4/kXWW7xYL4Q0vDT_9OeyXE9bbuZwLfsXAgCK4BGAYYCw/s1600/PastedGraphic-6-757509.png&quot;&gt;&lt;img src=&quot;http://3.bp.blogspot.com/-7u2hx_sUNtI/WkvI2oIvFHI/AAAAAAAAC-4/kXWW7xYL4Q0vDT_9OeyXE9bbuZwLfsXAgCK4BGAYYCw/s320/PastedGraphic-6-757509.png&quot;  border=&quot;0&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_6506514927479362674&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;Yes, you&#39;ve guessed it, the default behaviour ( within the Helm chart ) is to act as a Web Application Proxy for …. &lt;a href=&quot;http://IBM.COM&quot; class=&quot;&quot;&gt;IBM.COM&lt;/a&gt;&amp;nbsp;:-)&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;There&#39;s even a clue: -&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;a href=&quot;http://2.bp.blogspot.com/-c7tJbEQCXhI/WkvI3M80rCI/AAAAAAAAC_A/C_x1FjA-hI0rjw-iLz-qHoe35v_XR2P4ACK4BGAYYCw/s1600/PastedGraphic-8-759517.png&quot;&gt;&lt;img src=&quot;http://2.bp.blogspot.com/-c7tJbEQCXhI/WkvI3M80rCI/AAAAAAAAC_A/C_x1FjA-hI0rjw-iLz-qHoe35v_XR2P4ACK4BGAYYCw/s320/PastedGraphic-8-759517.png&quot;  border=&quot;0&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_6506514937361509410&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;in the Helm chart.&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;So I deployed another Helm chart, to spin up a container instance of WebSphere Liberty Profile, deployed the Ferret app to it: -&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;i class=&quot;&quot;&gt;docker ps -a|grep -i websphere-liberty&lt;/i&gt;&lt;br class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;font face=&quot;IBMPlexMono&quot; class=&quot;&quot;&gt;1a9a6536444e &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;websphere-liberty &amp;nbsp; &quot;/opt/ibm/docker/doc…&quot; &amp;nbsp; 20 minutes ago &amp;nbsp; &amp;nbsp; &amp;nbsp;Up 20 minutes&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;k8s_ibm-websphere-liberty_davehaywlp-ibm-websphere-689cfdbb6c-ffq75_default_a8e5ac8e-efdb-11e7-93d6-000c29651885_0&lt;br class=&quot;&quot;&gt;&lt;/font&gt;&lt;br class=&quot;&quot;&gt;&lt;i class=&quot;&quot;&gt;docker exec -i -t 1a9a6536444e /bin/bash&lt;/i&gt;&lt;br class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;i class=&quot;&quot;&gt;docker cp ferret-1.2.war 1a9a6536444e://opt/ibm/wlp/usr/servers/defaultServer/dropins&lt;/i&gt;&lt;br class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;i class=&quot;&quot;&gt;docker logs 1a9a6536444e -f&lt;/i&gt;&lt;br class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;…&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;font face=&quot;IBMPlexMono&quot; class=&quot;&quot;&gt;[AUDIT&amp;nbsp;&amp;nbsp;&amp;nbsp;] CWWKF0011I: The server defaultServer is ready to run a smarter planet.&lt;br class=&quot;&quot;&gt;[AUDIT&amp;nbsp;&amp;nbsp;&amp;nbsp;] CWWKT0016I: Web application available (default_host): &lt;a href=&quot;http://davehaywlp-ibm-websphere-&quot; class=&quot;&quot;&gt;http://davehaywlp-ibm-websphere-&lt;/a&gt;689cfdbb6c-ffq75:9080/ferret/&lt;br class=&quot;&quot;&gt;[AUDIT&amp;nbsp;&amp;nbsp;&amp;nbsp;] CWWKZ0001I: Application ferret-1.2 started in 1.448 seconds.&lt;/font&gt;&lt;br class=&quot;&quot;&gt;…&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;and confirmed that I could hit Ferret via the normal ICP proxy: -&lt;br class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;a href=&quot;https://192.168.1.200:31585/ferret/&quot; class=&quot;&quot;&gt;https://192.168.1.200:31585/ferret/&lt;/a&gt;&lt;br class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;and, finally, redeployed my DataPower container, but this time specifying the WLP URL: -&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;a href=&quot;https://192.168.1.200:31585&quot; class=&quot;&quot;&gt;https://192.168.1.200:31585&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;I used the same approach to get the proxied endpoint of the DataPower URL: -&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;i class=&quot;&quot;&gt;export NODE_PORT=$(kubectl get --namespace default -o jsonpath=&quot;{.spec.ports[0].nodePort}&quot; services davehaywlp-ibm-websphere)&lt;br class=&quot;&quot;&gt;export NODE_IP=$(kubectl get nodes --namespace default -o jsonpath=&quot;{.items[0].status.addresses[0].address}&quot;)&lt;br class=&quot;&quot;&gt;echo &lt;a href=&quot;https://$node_ip:$node_port&quot; class=&quot;&quot;&gt;https://$NODE_IP:$NODE_PORT&lt;/a&gt;&lt;/i&gt;&lt;br class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;a href=&quot;https://192.168.1.200:30897&quot; class=&quot;&quot;&gt;https://192.168.1.200:30897&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;and was then able to hit the Ferret servlet, via the IDG Web Application Proxy: -&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;a href=&quot;https://192.168.1.200:30897/ferret/&quot; class=&quot;&quot;&gt;https://192.168.1.200:30897/ferret/&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;So I&#39;ve got DataPower running as a Web Application Proxy against Liberty, which is nice :-)&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;Finally, for reference, if I understand it correctly, I&#39;ve got four&amp;nbsp;&lt;u class=&quot;&quot;&gt;&lt;b class=&quot;&quot;&gt;additional&lt;/b&gt;&lt;/u&gt; containers running on my Worker node: -&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;i class=&quot;&quot;&gt;docker ps -a&lt;/i&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;font face=&quot;GB18030 Bitmap&quot; class=&quot;&quot;&gt;CONTAINER ID&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;IMAGE&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;COMMAND&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;CREATED&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;STATUS&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;PORTS&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;NAMES&lt;br class=&quot;&quot;&gt;&lt;font color=&quot;#ff2600&quot; class=&quot;&quot;&gt;b46395546542&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;ibmcom/datapower&amp;nbsp; &amp;nbsp;&amp;nbsp;&quot;/bin/drouter&quot;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;35 minutes ago&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;Up 35 minutes&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;k8s_ibm-datapower-dev_davehayidg-ibm-datapower-dev-585554d78c-pzbcj_default_211ade0c-efe0-11e7-93d6-000c29651885_0&lt;br class=&quot;&quot;&gt;7a81a4f421ab&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;ibmcom/pause:3.0&amp;nbsp; &amp;nbsp;&amp;nbsp;&quot;/pause&quot;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;35 minutes ago&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;Up 35 minutes&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;k8s_POD_davehayidg-ibm-datapower-dev-585554d78c-pzbcj_default_211ade0c-efe0-11e7-93d6-000c29651885_0&lt;br class=&quot;&quot;&gt;1a9a6536444e&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;websphere-liberty&amp;nbsp;&amp;nbsp;&amp;nbsp;&quot;/opt/ibm/docker/doc…&quot;&amp;nbsp;&amp;nbsp;&amp;nbsp;About an hour ago&amp;nbsp;&amp;nbsp;&amp;nbsp;Up About an&amp;nbsp;hour&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;k8s_ibm-websphere-liberty_davehaywlp-ibm-websphere-689cfdbb6c-ffq75_default_a8e5ac8e-efdb-11e7-93d6-000c29651885_0&lt;br class=&quot;&quot;&gt;0e8f9dbb49b9&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;ibmcom/pause:3.0&amp;nbsp; &amp;nbsp;&amp;nbsp;&quot;/pause&quot;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;About an hour ago&amp;nbsp;&amp;nbsp;&amp;nbsp;Up About an&amp;nbsp;hour&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;k8s_POD_davehaywlp-ibm-websphere-689cfdbb6c-ffq75_default_a8e5ac8e-efdb-11e7-93d6-000c29651885_0&lt;br class=&quot;&quot;&gt;&lt;/font&gt;a77aee47c7fb&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;bb4a6b774658&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&quot;/bin/node_exporter …&quot;&amp;nbsp;&amp;nbsp;&amp;nbsp;3 days ago&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;Up 3 days&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;k8s_nodeexporter_monitoring-prometheus-nodeexporter-amd64-x5268_kube-system_ce4afa9c-ecc7-11e7-93d6-000c29651885_0&lt;br class=&quot;&quot;&gt;4494b0042b5d&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;ibmcom/pause:3.0&amp;nbsp; &amp;nbsp;&amp;nbsp;&quot;/pause&quot;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;3 days ago&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;Up 3 days&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;k8s_POD_monitoring-prometheus-nodeexporter-amd64-x5268_kube-system_ce4afa9c-ecc7-11e7-93d6-000c29651885_0&lt;br class=&quot;&quot;&gt;4ef59603592a&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;56354bef6b82&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&quot;/bin/sh -c /startup…&quot;&amp;nbsp;&amp;nbsp;&amp;nbsp;3 days ago&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;Up 3 days&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;k8s_metering-reader-amd64_metering-reader-amd64-qf472_kube-system_8697c507-ecc7-11e7-93d6-000c29651885_0&lt;br class=&quot;&quot;&gt;852b06a7a54c&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;ibmcom/pause:3.0&amp;nbsp; &amp;nbsp;&amp;nbsp;&quot;/pause&quot;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;3 days ago&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;Up 3 days&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;k8s_POD_metering-reader-amd64-qf472_kube-system_8697c507-ecc7-11e7-93d6-000c29651885_0&lt;br class=&quot;&quot;&gt;261e111c20c2&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;af80995a4fcf&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&quot;filebeat -e&quot;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;3 days ago&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;Up 3 days&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;k8s_filebeat_filebeat-ds-amd64-x5bsp_kube-system_6e494fa5-ecc7-11e7-93d6-000c29651885_0&lt;br class=&quot;&quot;&gt;40767f0230db&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;ibmcom/pause:3.0&amp;nbsp; &amp;nbsp;&amp;nbsp;&quot;/pause&quot;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;3 days ago&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;Up 3 days&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;k8s_POD_filebeat-ds-amd64-x5bsp_kube-system_6e494fa5-ecc7-11e7-93d6-000c29651885_0&lt;br class=&quot;&quot;&gt;fee15f1d965a&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;88ca805c8ddd&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&quot;/install-cni.sh&quot;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;3 days ago&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;Up 3 days&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;k8s_install-cni_calico-node-amd64-2d2hk_kube-system_95bdffaa-ecc6-11e7-93d6-000c29651885_0&lt;br class=&quot;&quot;&gt;2b89043639c3&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;7643422fdf0f&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&quot;start_runit&quot;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;3 days ago&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;Up 3 days&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;k8s_calico-node-amd64_calico-node-amd64-2d2hk_kube-system_95bdffaa-ecc6-11e7-93d6-000c29651885_0&lt;br class=&quot;&quot;&gt;2fbc29422aa7&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;ibmcom/pause:3.0&amp;nbsp; &amp;nbsp;&amp;nbsp;&quot;/pause&quot;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;3 days ago&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;Up 3 days&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;k8s_POD_calico-node-amd64-2d2hk_kube-system_95bdffaa-ecc6-11e7-93d6-000c29651885_0&lt;br class=&quot;&quot;&gt;dac6368cc3f9&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;924aee0d6910&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&quot;/hyperkube proxy --…&quot;&amp;nbsp;&amp;nbsp;&amp;nbsp;3 days ago&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;Up 3 days&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;k8s_proxy_k8s-proxy-192.168.1.201_kube-system_8312bd0a1d5cee59daf19f2df2bdf2fe_0&lt;br class=&quot;&quot;&gt;631f76b15478&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;ibmcom/pause:3.0&amp;nbsp; &amp;nbsp;&amp;nbsp;&quot;/pause&quot;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;3 days ago&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;Up 3 days&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;k8s_POD_k8s-proxy-192.168.1.201_kube-system_8312bd0a1d5cee59daf19f2df2bdf2fe_0&lt;br class=&quot;&quot;&gt;&lt;/font&gt;&lt;br class=&quot;&quot;&gt;via the two Helm releases: -&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;a href=&quot;http://2.bp.blogspot.com/-1WpadTL1bdY/WkvI3YQbz5I/AAAAAAAAC_I/ypnBarCaYQ4mTzqDVfIzqZFGhbJhiVftACK4BGAYYCw/s1600/PastedGraphic-9-761231.png&quot;&gt;&lt;img src=&quot;http://2.bp.blogspot.com/-1WpadTL1bdY/WkvI3YQbz5I/AAAAAAAAC_I/ypnBarCaYQ4mTzqDVfIzqZFGhbJhiVftACK4BGAYYCw/s320/PastedGraphic-9-761231.png&quot;  border=&quot;0&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_6506514940396556178&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;a href=&quot;http://2.bp.blogspot.com/-yT5qGfvBcQA/WkvI37rZnII/AAAAAAAAC_Q/zIdnDatq5UwiWvfS2CqmJ4elyO4QPBQaQCK4BGAYYCw/s1600/PastedGraphic-10-762783.png&quot;&gt;&lt;img src=&quot;http://2.bp.blogspot.com/-yT5qGfvBcQA/WkvI37rZnII/AAAAAAAAC_Q/zIdnDatq5UwiWvfS2CqmJ4elyO4QPBQaQCK4BGAYYCw/s320/PastedGraphic-10-762783.png&quot;  border=&quot;0&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_6506514949904899202&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;a href=&quot;http://3.bp.blogspot.com/-SVCxlurlc5s/WkvI4RNcxuI/AAAAAAAAC_Y/2Y4iuCJETxMuRtXr398gOWUslViknZ6NQCK4BGAYYCw/s1600/PastedGraphic-11-764494.png&quot;&gt;&lt;img src=&quot;http://3.bp.blogspot.com/-SVCxlurlc5s/WkvI4RNcxuI/AAAAAAAAC_Y/2Y4iuCJETxMuRtXr398gOWUslViknZ6NQCK4BGAYYCw/s320/PastedGraphic-11-764494.png&quot;  border=&quot;0&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_6506514955684857570&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&amp;nbsp;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;</description><link>http://portal2portal.blogspot.com/2018/01/ibm-datapower-gateway-on-ibm-cloud.html</link><author>[email protected] (Dave Hay)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://3.bp.blogspot.com/-6VbPAdttTig/WkvI2ILtc7I/AAAAAAAAC-w/rxvXqTG8ToQ046ZPt4FT5izPW1FJuxDRQCK4BGAYYCw/s72-c/PastedGraphic-7-755395.png" height="72" width="72"/><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-6740338341177826314.post-7844801659385741873</guid><pubDate>Tue, 02 Jan 2018 15:20:00 +0000</pubDate><atom:updated>2018-01-02T15:20:51.235+00:00</atom:updated><title>IBM DataPower on IBM Cloud Private - Wrapping it up</title><description>I&#39;m using IBM Cloud Private (ICP) 2.1.0.1 to spin up a container running IBM DataPower Gateway (IDG), via a Helm chart.&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;Right now, I&#39;m cheating using the ICP admin UI: -&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;a href=&quot;https://192.168.1.200:8443/catalog/catalogdetails/ibm-charts/ibm-datapower-dev/1.0.3&quot; class=&quot;&quot;&gt;https://192.168.1.200:8443/catalog/catalogdetails/ibm-charts/ibm-datapower-dev/1.0.3&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;rather than the Helm command-line interface, as per my normal practice.&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;The Helm chart has two mandatory values -&amp;nbsp;&lt;b class=&quot;&quot;&gt;frontsideKey&lt;/b&gt; and&amp;nbsp;&lt;b class=&quot;&quot;&gt;frontsideCert&lt;/b&gt; - which contain a private key and a personal certificate.&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;I generated the key and certificate using &lt;b class=&quot;&quot;&gt;openssl&lt;/b&gt;&amp;nbsp;: -&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;i class=&quot;&quot;&gt;openssl req -subj &#39;/C=GB/O=IBM/CN=&lt;a href=&quot;http://davehay.uk.ibm.com&quot; class=&quot;&quot;&gt;davehay.uk.ibm.com&lt;/a&gt;&#39; -new -newkey rsa:2048 -days 365 -nodes -x509 &amp;nbsp;-sha256 -keyout&amp;nbsp;server.key -out server.crt&lt;/i&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;When I clicked the button to instal the Helm chart, I saw this exception in the UI : -&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;font face=&quot;IBMPlexMono&quot; class=&quot;&quot;&gt;Internal service error : release DaveH failed: &lt;b class=&quot;&quot;&gt;Secret in version &quot;v1&quot; cannot be handled as a Secret&lt;/b&gt;: v1.Secret: Data: decode&amp;nbsp;base64: &lt;b class=&quot;&quot;&gt;illegal base64 data at input byte 64&lt;/b&gt;, parsing 1177 ...X375XW1M=&quot;... at {&quot;apiVersion&quot;:&quot;v1&quot;,&quot;data&quot;:{&quot;cert.pem&quot;:&quot;MIIDQzCCAiugAwIBAgIJAMNFpd9mxNckMA0GCSqGSIb3DQEBCwUAMDgxCzAJBgNV&amp;nbsp;BAYTAkdCMQwwCgYDVQQKDANJQk0xGzAZBgNVBAMMEmRhdmVoYXkudWsuaWJtLmNv&amp;nbsp;&lt;/font&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;…&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;font face=&quot;IBMPlexMono&quot; class=&quot;&quot;&gt;G6rTAsZcFxBukcRxfCk4CmRR1C16dlsiz64rKVkdGO9IUTF0GchNAobYcAEK+dbW&amp;nbsp;v+jU2J13dMnmzYfOz9QZkpM=&quot;},&quot;kind&quot;:&quot;Secret&quot;,&quot;metadata&quot;:{&quot;labels&quot;:{&quot;app&quot;:&quot;DaveH-ibm-datapower-dev&quot;,&quot;chart&quot;:&quot;ibm-datapower-dev-1.0.3&quot;,&quot;heritage&quot;:&quot;Tiller&quot;,&quot;release&quot;:&quot;DaveH&quot;},&quot;name&quot;:&quot;DaveH-ibm-datapower-dev-secret&quot;,&quot;namespace&quot;:&quot;default&quot;}}&lt;/font&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;…&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;Reading this: -&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;a href=&quot;https://github.com/IBM/charts/tree/master/stable/ibm-datapower-dev&quot; class=&quot;&quot;&gt;https://github.com/IBM/charts/tree/master/stable/ibm-datapower-dev&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;…&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;a href=&quot;http://2.bp.blogspot.com/-aqC1p1mFTt4/WkujVF_sMaI/AAAAAAAAC-A/001gvMOOrVgQq-6iYgloR1QMG0R2uAfJQCK4BGAYYCw/s1600/PastedGraphic-1-751260.png&quot;&gt;&lt;img src=&quot;http://2.bp.blogspot.com/-aqC1p1mFTt4/WkujVF_sMaI/AAAAAAAAC-A/001gvMOOrVgQq-6iYgloR1QMG0R2uAfJQCK4BGAYYCw/s320/PastedGraphic-1-751260.png&quot;  border=&quot;0&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_6506473669448708514&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;…&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;a href=&quot;http://1.bp.blogspot.com/-GiqZaNs_y2k/WkujVU46qfI/AAAAAAAAC-I/HLmJNOBfUf8UH-Z0hsZLinU15FER6n6yACK4BGAYYCw/s1600/PastedGraphic-2-753144.png&quot;&gt;&lt;img src=&quot;http://1.bp.blogspot.com/-GiqZaNs_y2k/WkujVU46qfI/AAAAAAAAC-I/HLmJNOBfUf8UH-Z0hsZLinU15FER6n6yACK4BGAYYCw/s320/PastedGraphic-2-753144.png&quot;  border=&quot;0&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_6506473673446828530&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;…&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;I realised that the requisite values should be base64-encoded.&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;However, it&#39;s my understanding that X509 certificates already base-64 encoded.&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;I fiddled about for a bit …. and then realised where I was going wrong.&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;The .cer and .key files that are generated by the &lt;b class=&quot;&quot;&gt;openssl&lt;/b&gt;&amp;nbsp;command are written to files that are automatically formatted as …. 64-column files :-)&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;That may be the base64 encoding :-)&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;However, the ICP/Helm UI doesn&#39;t like the resulting wrapped text in the&amp;nbsp;&lt;b class=&quot;&quot;&gt;frontsideKey&lt;/b&gt; and&amp;nbsp;&lt;b class=&quot;&quot;&gt;frontsideCert&lt;/b&gt;&amp;nbsp;parameters.&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;So I manually stripped away the CR/LF characters at the end of each 64-bit row, and pasted the result into each of the requisite fields.&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;This got me further, but I then saw this: -&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;font face=&quot;IBMPlexMono&quot; class=&quot;&quot;&gt;Internal service error : release DaveH failed: Secret &quot;DaveH-ibm-datapower-dev-secret&quot; is invalid: metadata.name: Invalid value:&amp;nbsp;&quot;DaveH-ibm-datapower-dev-secret&quot;: a DNS-1123 subdomain must&amp;nbsp;consist of lower case alphanumeric characters, &#39;-&#39; or &#39;.&#39;, and must&amp;nbsp;start and end with an alphanumeric character (e.g. &#39;&lt;a href=&quot;http://example.com&quot; class=&quot;&quot;&gt;example.com&lt;/a&gt;&#39;,&amp;nbsp;regex used for validation is &#39;[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*&#39;)&lt;/font&gt;&lt;br class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;which is easier to fix.&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;This is what ICP says: -&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;a href=&quot;http://3.bp.blogspot.com/-KhR3mNP7yo0/WkujV9SC3nI/AAAAAAAAC-Q/2Dzq8A5_MU4yKfGeT81a7sd8egjOBdSSwCK4BGAYYCw/s1600/PastedGraphic-3-754719.png&quot;&gt;&lt;img src=&quot;http://3.bp.blogspot.com/-KhR3mNP7yo0/WkujV9SC3nI/AAAAAAAAC-Q/2Dzq8A5_MU4yKfGeT81a7sd8egjOBdSSwCK4BGAYYCw/s320/PastedGraphic-3-754719.png&quot;  border=&quot;0&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_6506473684289642098&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;and this is what I had for my Release Name: -&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;i class=&quot;&quot;&gt;DaveH&lt;/i&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;Can you say &quot;Doofus&quot; ?&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;Once I changed it to &lt;b class=&quot;&quot;&gt;daveh&lt;/b&gt;, we&#39;re good to go: -&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;b class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;a href=&quot;http://4.bp.blogspot.com/-n27sp2V0crc/WkujWZJhmXI/AAAAAAAAC-Y/mqj_-uTOLtMK0OlRYkC0BUD6Sw6qUwAmQCK4BGAYYCw/s1600/PastedGraphic-4-756371.png&quot;&gt;&lt;img src=&quot;http://4.bp.blogspot.com/-n27sp2V0crc/WkujWZJhmXI/AAAAAAAAC-Y/mqj_-uTOLtMK0OlRYkC0BUD6Sw6qUwAmQCK4BGAYYCw/s320/PastedGraphic-4-756371.png&quot;  border=&quot;0&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_6506473691770100082&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;a href=&quot;http://3.bp.blogspot.com/-v_qttPt0p48/WkujWoVDQcI/AAAAAAAAC-g/LoDnFZJtCkwo1g8WhVVw0GBI-OiN_gNTwCK4BGAYYCw/s1600/PastedGraphic-5-757990.png&quot;&gt;&lt;img src=&quot;http://3.bp.blogspot.com/-v_qttPt0p48/WkujWoVDQcI/AAAAAAAAC-g/LoDnFZJtCkwo1g8WhVVw0GBI-OiN_gNTwCK4BGAYYCw/s320/PastedGraphic-5-757990.png&quot;  border=&quot;0&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_6506473695844975042&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;</description><link>http://portal2portal.blogspot.com/2018/01/ibm-datapower-on-ibm-cloud-private.html</link><author>[email protected] (Dave Hay)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://2.bp.blogspot.com/-aqC1p1mFTt4/WkujVF_sMaI/AAAAAAAAC-A/001gvMOOrVgQq-6iYgloR1QMG0R2uAfJQCK4BGAYYCw/s72-c/PastedGraphic-1-751260.png" height="72" width="72"/><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-6740338341177826314.post-4779807435059889130</guid><pubDate>Fri, 29 Dec 2017 17:31:00 +0000</pubDate><atom:updated>2017-12-29T17:31:40.191+00:00</atom:updated><title>IBM UrbanCode Deploy - Commanding the Line</title><description>As ever, a Work-in-Progress, as I seek to understand the What, the Why and the How of IBM UrbanCode Deploy (UCD).&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;This time, it&#39;s getting to grips with the command-line, which leverages the out-of-the-box UCD REST interface.&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;This is the source from which I am working; -&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;a href=&quot;https://www.ibm.com/support/knowledgecenter/SS4GSP_6.2.7/com.ibm.udeploy.reference.doc/topics/cli_ch.html&quot; class=&quot;&quot;&gt;Command-line client (CLI) reference&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;a href=&quot;https://www.ibm.com/support/knowledgecenter/SS4GSP_6.2.7/com.ibm.udeploy.reference.doc/topics/cli_commands.html&quot; class=&quot;&quot;&gt;CLI Commands&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;and here I&#39;m creating a new Version ( to be used by a Component Process ) : -&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;i class=&quot;&quot;&gt;/opt/ibm/UCD/agent/opt/udclient/udclient -username admin -password passw0rd -weburl &lt;a href=&quot;https://ucd.uk.ibm.com:8443&quot; class=&quot;&quot;&gt;https://ucd.uk.ibm.com:8443&lt;/a&gt;&amp;nbsp;createVersion -component WebSphereLibertyProfile -name 1.0&lt;/i&gt;&lt;br class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;and then uploading a file to that newly created version: -&lt;br class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;i class=&quot;&quot;&gt;/opt/ibm/UCD/agent/opt/udclient/udclient -username admin -password passw0rd -weburl &lt;a href=&quot;https://ucd.uk.ibm.com:8443&quot; class=&quot;&quot;&gt;https://ucd.uk.ibm.com:8443&lt;/a&gt;&amp;nbsp;addVersionFiles -component WebSphereLibertyProfile -version 1.0 -base /wlpsource/5/&lt;/i&gt;&lt;br class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;The latter command looks within the directory &lt;b class=&quot;&quot;&gt;/wlpsource/5&lt;/b&gt;&amp;nbsp;and uploads EVERYTHING it finds, in this instance a single JAR file: -&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;i class=&quot;&quot;&gt;wlp-nd-all-17.0.0.4.jar&lt;/i&gt;&lt;br class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;I&#39;m now tinkering with using the same REST API to actually invoke an Application Process, using this JSON: -&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;u class=&quot;&quot;&gt;~/runProcess.json&lt;/u&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;font face=&quot;IBMPlexMono&quot; class=&quot;&quot;&gt;{&lt;br class=&quot;&quot;&gt;&amp;nbsp;&amp;nbsp;&quot;application&quot;:&amp;nbsp;&quot;Install WLP&quot;,&lt;br class=&quot;&quot;&gt;&amp;nbsp;&amp;nbsp;&quot;description&quot;:&amp;nbsp;&quot;Requesting deployment&quot;,&lt;br class=&quot;&quot;&gt;&amp;nbsp;&amp;nbsp;&quot;applicationProcess&quot;:&amp;nbsp;&quot;Install WLP&quot;,&lt;br class=&quot;&quot;&gt;&amp;nbsp;&amp;nbsp;&quot;environment&quot;:&amp;nbsp;&quot;Development&quot;,&lt;br class=&quot;&quot;&gt;&amp;nbsp;&amp;nbsp;&quot;onlyChanged&quot;:&amp;nbsp;&quot;false&quot;&lt;br class=&quot;&quot;&gt;&amp;nbsp;&amp;nbsp;},&lt;br class=&quot;&quot;&gt;&amp;nbsp;&amp;nbsp;&quot;versions&quot;:&amp;nbsp;[&lt;br class=&quot;&quot;&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;{&lt;br class=&quot;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&quot;version&quot;:&amp;nbsp;&quot;1.0&quot;,&lt;br class=&quot;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&quot;component&quot;:&amp;nbsp;&quot;WebSphereLibertyProfile&quot;&lt;br class=&quot;&quot;&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;}&lt;br class=&quot;&quot;&gt;&amp;nbsp;&amp;nbsp;]&lt;br class=&quot;&quot;&gt;}&lt;/font&gt;&lt;br class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;and this command: -&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;i class=&quot;&quot;&gt;/opt/ibm/UCD/agent/opt/udclient/udclient -username admin -password passw0rd -weburl &lt;a href=&quot;https://ucd.uk.ibm.com:8443&quot; class=&quot;&quot;&gt;https://ucd.uk.ibm.com:8443&lt;/a&gt; requestApplicationProcess ~/runProcess.json&lt;/i&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;It&#39;s not working thus far …. even though it returns a JSON response e.g.&amp;nbsp;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;i class=&quot;&quot;&gt;{&quot;requestId&quot;: &quot;160a34da-b3e6-fd1d-de6e-1069f89f0461&quot;}&lt;/i&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;etc.&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;the GUI reports &quot;No Version Selected&quot; : -&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;a href=&quot;http://3.bp.blogspot.com/-GmRIPyMNHS0/WkZ7_W0hvyI/AAAAAAAAC9w/ygxvbuUmdqQDArWOO7UdGMB9MKAQWCGDQCK4BGAYYCw/s1600/PastedGraphic-6-700218.png&quot;&gt;&lt;img src=&quot;http://3.bp.blogspot.com/-GmRIPyMNHS0/WkZ7_W0hvyI/AAAAAAAAC9w/ygxvbuUmdqQDArWOO7UdGMB9MKAQWCGDQCK4BGAYYCw/s320/PastedGraphic-6-700218.png&quot;  border=&quot;0&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_6505023040171130658&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;but that&#39;s tomorrow&#39;s problem :-)&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;</description><link>http://portal2portal.blogspot.com/2017/12/ibm-urbancode-deploy-commanding-line.html</link><author>[email protected] (Dave Hay)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://3.bp.blogspot.com/-GmRIPyMNHS0/WkZ7_W0hvyI/AAAAAAAAC9w/ygxvbuUmdqQDArWOO7UdGMB9MKAQWCGDQCK4BGAYYCw/s72-c/PastedGraphic-6-700218.png" height="72" width="72"/><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-6740338341177826314.post-808748717289981907</guid><pubDate>Fri, 29 Dec 2017 14:47:00 +0000</pubDate><atom:updated>2017-12-29T14:47:45.769+00:00</atom:updated><title>IBM UrbanCode Deploy - Syntax FTW</title><description>As per previous posts, I&#39;m tinkering with IBM UrbanCode Deploy : -&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;a href=&quot;https://portal2portal.blogspot.co.uk/2017/12/ibm-urbancode-deploy-error-creating-new.html&quot; class=&quot;&quot;&gt;IBM UrbanCode Deploy - Error Creating New Version: The provided base is not a directory&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;a href=&quot;https://portal2portal.blogspot.co.uk/2017/12/ibm-urbancode-deploy-upgrading-dont.html&quot; class=&quot;&quot;&gt;IBM UrbanCode Deploy - Upgrading - Don&#39;t forget the database&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;This time around, I&#39;m using UCD to install WebSphere Liberty Profile (WLP), using the appropriately named WebSphere Liberty Plugin: -&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;a href=&quot;https://developer.ibm.com/urbancode/plugin/ibm-websphere-liberty-ibmucd/&quot; class=&quot;&quot;&gt;IBM WebSphere Liberty&lt;/a&gt;&lt;br class=&quot;&quot;&gt;&lt;div class=&quot;&quot;&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;One of the steps provided by this Plugin is &lt;b class=&quot;&quot;&gt;Install Server Archive&lt;/b&gt;&amp;nbsp;which expands a JAR or ZIP file containing the WLP codebase.&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;This step takes a few mandatory ( indicated below with a &lt;font color=&quot;#ff2600&quot; class=&quot;&quot;&gt;&lt;b class=&quot;&quot;&gt;red asterisk&lt;/b&gt;&lt;/font&gt; ) including Source File: -&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;a href=&quot;http://2.bp.blogspot.com/-PPxkgOMkVkU/WkZVkx06-eI/AAAAAAAAC88/2Hl-nMmPOmIBKKifsxqIJebidFNRThjHwCK4BGAYYCw/s1600/PastedGraphic-1-765820.png&quot;&gt;&lt;img src=&quot;http://2.bp.blogspot.com/-PPxkgOMkVkU/WkZVkx06-eI/AAAAAAAAC88/2Hl-nMmPOmIBKKifsxqIJebidFNRThjHwCK4BGAYYCw/s320/PastedGraphic-1-765820.png&quot;  border=&quot;0&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_6504980802122217954&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;I specify the Source File property at the Application level: -&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;a href=&quot;http://4.bp.blogspot.com/-87eZcdw2-fk/WkZVlZ7GNRI/AAAAAAAAC9E/6ptNvibsBPYhjLDJ1cbkJhIXqm_h78hSgCK4BGAYYCw/s1600/PastedGraphic-2-768401.png&quot;&gt;&lt;img src=&quot;http://4.bp.blogspot.com/-87eZcdw2-fk/WkZVlZ7GNRI/AAAAAAAAC9E/6ptNvibsBPYhjLDJ1cbkJhIXqm_h78hSgCK4BGAYYCw/s320/PastedGraphic-2-768401.png&quot;  border=&quot;0&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_6504980812885538066&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;but saw this: -&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;…&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;font face=&quot;IBMPlexMono&quot; class=&quot;&quot;&gt;&amp;nbsp;&amp;nbsp;license=true&lt;br class=&quot;&quot;&gt;&amp;nbsp; source=wlp-webProfile7-17.0.0.3.zip&lt;/font&gt;&lt;br class=&quot;&quot;&gt;…&amp;nbsp;&lt;br class=&quot;&quot;&gt;&lt;font face=&quot;IBMPlexMono&quot; class=&quot;&quot;&gt;&amp;nbsp; wlpHome=/opt/ibm/WebSphere/Liberty/&lt;br class=&quot;&quot;&gt;&amp;nbsp; wlpUserDir=&lt;/font&gt;&lt;br class=&quot;&quot;&gt;…&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;font face=&quot;IBMPlexMono&quot; class=&quot;&quot;&gt;Unzipping server archive in : /opt/ibm/WebSphere/Liberty&lt;/font&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;font face=&quot;IBMPlexMono&quot; class=&quot;&quot;&gt;Caught: : src &#39;/opt/ibm/UCD/agent/var/work/WLP/wlp-webProfile7-17.0.0.3.zip&lt;br class=&quot;&quot;&gt;&#39; doesn&#39;t exist.&lt;br class=&quot;&quot;&gt;: src &#39;/opt/ibm/UCD/agent/var/work/WLP/wlp-webProfile7-17.0.0.3.zip&lt;br class=&quot;&quot;&gt;&#39; doesn&#39;t exist.&lt;br class=&quot;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt; &lt;/span&gt;at org.apache.tools.ant.taskdefs.Expand.execute(Expand.java:128)&lt;br class=&quot;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt; &lt;/span&gt;at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)&lt;br class=&quot;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt; &lt;/span&gt;at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)&lt;br class=&quot;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt; &lt;/span&gt;at com.urbancode.air.plugin.websphereliberty.WebSphereLibertyHelper.installServerArchive(WebSphereLibertyHelper.groovy:194)&lt;br class=&quot;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt; &lt;/span&gt;at com.urbancode.air.plugin.websphereliberty.WebSphereLibertyHelper$installServerArchive.call(Unknown Source)&lt;br class=&quot;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt; &lt;/span&gt;at installServerArchive.run(installServerArchive.groovy:25)&lt;/font&gt;&lt;br class=&quot;&quot;&gt;&amp;nbsp;&lt;br class=&quot;&quot;&gt;when I executed the Component Process.&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;One of my colleagues immediately spotted the flaw: -&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;…&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;font face=&quot;IBMPlexMono&quot; class=&quot;&quot;&gt;Caught: : src &#39;/opt/ibm/UCD/agent/var/work/WLP/wlp-webProfile7-17.0.0.3.zip&lt;br class=&quot;&quot;&gt;&#39; doesn&#39;t exist.&lt;/font&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;…&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;The clue is that there&#39;s a space between &lt;b class=&quot;&quot;&gt;.zip&lt;/b&gt;&amp;nbsp;and the trailing apostrophe.&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;As he rightly suggested, I&#39;d inserted a Carriage Return / Line Feed ( CR/LF ) in the Application Property.&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;Once I edited this from: -&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;a href=&quot;http://2.bp.blogspot.com/-kTuCsnC9OEQ/WkZVl26e_QI/AAAAAAAAC9M/l5kcZUfG-AwGoAmHezgfcqKXKqpbdcBtwCK4BGAYYCw/s1600/PastedGraphic-3-770700.png&quot;&gt;&lt;img src=&quot;http://2.bp.blogspot.com/-kTuCsnC9OEQ/WkZVl26e_QI/AAAAAAAAC9M/l5kcZUfG-AwGoAmHezgfcqKXKqpbdcBtwCK4BGAYYCw/s320/PastedGraphic-3-770700.png&quot;  border=&quot;0&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_6504980820667596034&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;to: -&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;a href=&quot;http://1.bp.blogspot.com/-H_oi45x_k5g/WkZVmgKCB_I/AAAAAAAAC9U/Alu3f_GfrTAnz4rqcBq0BA-eSJ7iakWSgCK4BGAYYCw/s1600/PastedGraphic-5-772958.png&quot;&gt;&lt;img src=&quot;http://1.bp.blogspot.com/-H_oi45x_k5g/WkZVmgKCB_I/AAAAAAAAC9U/Alu3f_GfrTAnz4rqcBq0BA-eSJ7iakWSgCK4BGAYYCw/s320/PastedGraphic-5-772958.png&quot;  border=&quot;0&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_6504980831738660850&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;all was well: -&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;a href=&quot;http://3.bp.blogspot.com/-oG4aDtqGsSc/WkZVnIEWn7I/AAAAAAAAC9c/Bv3Oz66TrRgOJpdVBWfvhPJRYpzvDhPjgCK4BGAYYCw/s1600/PastedGraphic-4-775208.png&quot;&gt;&lt;img src=&quot;http://3.bp.blogspot.com/-oG4aDtqGsSc/WkZVnIEWn7I/AAAAAAAAC9c/Bv3Oz66TrRgOJpdVBWfvhPJRYpzvDhPjgCK4BGAYYCw/s320/PastedGraphic-4-775208.png&quot;  border=&quot;0&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_6504980842452262834&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;</description><link>http://portal2portal.blogspot.com/2017/12/ibm-urbancode-deploy-syntax-ftw.html</link><author>[email protected] (Dave Hay)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://2.bp.blogspot.com/-PPxkgOMkVkU/WkZVkx06-eI/AAAAAAAAC88/2Hl-nMmPOmIBKKifsxqIJebidFNRThjHwCK4BGAYYCw/s72-c/PastedGraphic-1-765820.png" height="72" width="72"/><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-6740338341177826314.post-7145321413739310094</guid><pubDate>Wed, 27 Dec 2017 15:12:00 +0000</pubDate><atom:updated>2017-12-27T15:12:29.953+00:00</atom:updated><title>IBM Installation Manager - Uninstalling EVERYTHING</title><description>&lt;div class=&quot;&quot;&gt;***CAUTION - THIS IS DESTRUCTIVE***&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;On the rare occasion that one needs to uninstall a whole bunch o&#39; products installed by IBM Installation Manager (IIM) *AND* IIM itself, here&#39;s what one needs: -&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;i class=&quot;&quot;&gt;/opt/ibm/InstallationManager/eclipse/tools/imcl uninstallAll&lt;br class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;/opt/ibm/InstallationManager/eclipse/tools/imcl uninstall `/opt/ibm/InstallationManager/eclipse/tools/imcl listInstalledPackages`&lt;/i&gt;&lt;br class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;***CAUTION - THIS IS DESTRUCTIVE***&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;It may also be necessary to clean up what IIM etc. leaves behind e.g.&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;i class=&quot;&quot;&gt;rm -Rf /opt/ibm/WebSphere/&lt;/i&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;i class=&quot;&quot;&gt;rm -Rf /opt/ibm/WebSphereProfiles&lt;/i&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;etc.&lt;/div&gt;</description><link>http://portal2portal.blogspot.com/2017/12/ibm-installation-manager-uninstalling.html</link><author>[email protected] (Dave Hay)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-6740338341177826314.post-447026226631665047</guid><pubDate>Wed, 27 Dec 2017 14:39:00 +0000</pubDate><atom:updated>2017-12-27T14:39:39.180+00:00</atom:updated><title>IBM UrbanCode Deploy - Error Creating New Version: The provided base is not a directory</title><description>I saw this today, whilst creating some new Application Components, needed to install IBM Installation Manager and IBM BPM: -&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;font face=&quot;IBMPlexMono&quot; class=&quot;&quot;&gt;Error Creating New Version: The provided base is not a directory: /source&lt;br class=&quot;&quot;&gt;java.io.IOException: The provided base is not a directory: /source&lt;br class=&quot;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt; &lt;/span&gt;at com.urbancode.air.plugin.command.ImportVersion.execute(ImportVersion.java:119)&lt;br class=&quot;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt; &lt;/span&gt;at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)&lt;br class=&quot;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt; &lt;/span&gt;at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:95)&lt;br class=&quot;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt; &lt;/span&gt;at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:55)&lt;br class=&quot;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt; &lt;/span&gt;at java.lang.reflect.Method.invoke(Method.java:508)&lt;br class=&quot;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt; &lt;/span&gt;at com.urbancode.air.plugin.Main.execute(Main.java:113)&lt;br class=&quot;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt; &lt;/span&gt;at com.urbancode.air.plugin.Main.main(Main.java:47)&lt;/font&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;It took me a while before I smacked myself on the forehead ….&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;Yes, you&#39;ve guessed it, I&#39;d created the &lt;b class=&quot;&quot;&gt;/source&lt;/b&gt;&amp;nbsp;directory on …. the box upon which the Agent is installed rather than the box upon which the Server is running.&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;Obviously this is a mistake - the Agent &quot;phones home&quot; to the Server to get its configuration etc. including required versioned files such as response files etc.&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;Can you say &quot;Doh&quot; ? I bet you can ….&lt;/div&gt;</description><link>http://portal2portal.blogspot.com/2017/12/ibm-urbancode-deploy-error-creating-new.html</link><author>[email protected] (Dave Hay)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-6740338341177826314.post-2552425169482254111</guid><pubDate>Wed, 27 Dec 2017 09:08:00 +0000</pubDate><atom:updated>2017-12-27T09:08:46.331+00:00</atom:updated><title>IBM UrbanCode Deploy - Upgrading - Don&#39;t forget the database</title><description>So I&#39;m upgrading my UCD installation, from&amp;nbsp;6.2.6.1.940532 to&amp;nbsp;6.2.7.0.951830, using the provided script &lt;b class=&quot;&quot;&gt;install-server.sh&lt;/b&gt;&amp;nbsp;as per this: -&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;….&lt;br class=&quot;&quot;&gt;&lt;div class=&quot;&quot;&gt;&lt;font face=&quot;IBMPlexMono&quot; class=&quot;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;[echo] Installing IBM UrbanCode Deploy version 6.2.7.0.951830&lt;/font&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;font face=&quot;IBMPlexMono&quot; class=&quot;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;[echo] A previous version (6.2.6.1.940532) exists in the specified directory. Do you want to&amp;nbsp;upgrade the currently installed version? Y,n [Default Y]&lt;br class=&quot;&quot;&gt;&lt;b class=&quot;&quot;&gt;y&lt;/b&gt;&lt;br class=&quot;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;[echo]&amp;nbsp;&lt;br class=&quot;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;[echo] Installing IBM UrbanCode Deploy to: /opt/ibm/UCD/server&lt;br class=&quot;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;[echo] JVM Version detected: 1.8.0&lt;br class=&quot;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;[echo] JAVA_HOME: /opt/ibm/Java/jre&lt;br class=&quot;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;[echo] NOTICE: Upgrading the server while there are processes currently running is not&amp;nbsp;supported. Before proceeding with an upgrade, verify that there are no running processes on the&amp;nbsp;Current Activity page.&lt;br class=&quot;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;[echo]&amp;nbsp;&lt;br class=&quot;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;[echo] Server upgrades cannot be rolled back. Please ensure that you have backed up the server&#39;s&amp;nbsp;database and filesystem before proceeding. (press enter to continue)&lt;br class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&amp;nbsp; &amp;nbsp;[delete] Deleting directory /opt/ibm/UCD/server/opt/tomcat/webapps/ROOT/static&lt;br class=&quot;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;[copy] Copying 2 files to /mnt/ibm-ucd-install/bin/server&lt;br class=&quot;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;[copy] Copying 168 files to /mnt/ibm-ucd-install/.tmp-old-lib&lt;br class=&quot;&quot;&gt;&amp;nbsp;&amp;nbsp;[upgrade] Adding upgrade file for processing: /mnt/ibm-ucd-install/database/deploy/always/all/always_sql.xml&lt;br class=&quot;&quot;&gt;java.lang.Exception: Error trying to cancel currently running processes&lt;br class=&quot;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt; &lt;/span&gt;at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)&lt;br class=&quot;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt; &lt;/span&gt;at&amp;nbsp;sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:88)&lt;br class=&quot;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt; &lt;/span&gt;at&amp;nbsp;sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:57)&lt;br class=&quot;&quot;&gt;&lt;/font&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;…&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;font face=&quot;IBMPlexMono&quot; class=&quot;&quot;&gt;Caused by: : : com.ibm.db2.jcc.am.DisconnectNonTransientConnectionException: [jcc][t4][2043][11550][3.72.30] Exception java.net.ConnectException: Error opening socket to server&amp;nbsp;&lt;a href=&quot;http://ucd.uk.ibm.com/127.0.0.1&quot; class=&quot;&quot;&gt;ucd.uk.ibm.com/127.0.0.1&lt;/a&gt; on port 60,006 with message: Connection refused. ERRORCODE=-4499,&amp;nbsp;SQLSTATE=08001&lt;/font&gt;&lt;br class=&quot;&quot;&gt;…&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;font face=&quot;IBMPlexMono&quot; class=&quot;&quot;&gt;Caused by: : com.ibm.db2.jcc.am.DisconnectNonTransientConnectionException: [jcc][t4][2043][11550][3.72.30] Exception java.net.ConnectException: Error opening socket to server&amp;nbsp;&lt;a href=&quot;http://ucd.uk.ibm.com/127.0.0.1&quot; class=&quot;&quot;&gt;ucd.uk.ibm.com/127.0.0.1&lt;/a&gt; on port 60,006 with message: Connection refused. ERRORCODE=-4499,&amp;nbsp;SQLSTATE=08001&lt;/font&gt;&lt;br class=&quot;&quot;&gt;…&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;Guess what I forgot to do ?&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;Yep, having rebooted this VM, I forgot to start DB2: -&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;i class=&quot;&quot;&gt;su - db2inst1&lt;/i&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;i class=&quot;&quot;&gt;db2start&lt;/i&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;Having done that, quelle surprise, the upgrade just worked …&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;...&lt;br class=&quot;&quot;&gt;&lt;font face=&quot;IBMPlexMono&quot; class=&quot;&quot;&gt;[propertyfile] Updating property file: /opt/ibm/UCD/server/conf/installed.version&lt;br class=&quot;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;[echo] After starting the server, you may access the web UI by pointing your web-browser at&lt;br class=&quot;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;[echo] &lt;a href=&quot;https://ucd.uk.ibm.com:8443&quot; class=&quot;&quot;&gt;https://ucd.uk.ibm.com:8443&lt;/a&gt;&amp;nbsp;&lt;br class=&quot;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;[echo] Installer Complete. (press return to exit installer)&lt;br class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&amp;nbsp; &amp;nbsp;[delete] Deleting directory /tmp/install-6103865522074515176.tmp&lt;br class=&quot;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;[copy] Copying 1 file to /opt/ibm/UCD/server/var/install-log&lt;br class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;BUILD SUCCESSFUL&lt;br class=&quot;&quot;&gt;Total time: 3 minutes 1 second&lt;br class=&quot;&quot;&gt;&lt;/font&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;a href=&quot;https://developer.ibm.com/urbancode/products/urbancode-deploy/whats-new/fix-list/&quot; class=&quot;&quot;&gt;UCD Fix List&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;u class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/u&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;a href=&quot;https://www.ibm.com/support/knowledgecenter/en/SS4GSP_6.2.7/com.ibm.udeploy.install.doc/topics/upgrade_server.html&quot; class=&quot;&quot;&gt;Upgrading the server in interactive mode&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;</description><link>http://portal2portal.blogspot.com/2017/12/ibm-urbancode-deploy-upgrading-dont.html</link><author>[email protected] (Dave Hay)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-6740338341177826314.post-7439119630575022183</guid><pubDate>Sat, 23 Dec 2017 17:20:00 +0000</pubDate><atom:updated>2017-12-23T17:20:54.439+00:00</atom:updated><title>Windows, and missing my rm -rf</title><description>Whilst I know that things like PowerShell gives me Unix-like capabilities on Windows, I was looking for a Q&amp;amp;D solution.&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;All I wanted to do was to remove an entire directory structure.&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;Back in the day, we had &lt;b class=&quot;&quot;&gt;deltree&lt;/b&gt;&amp;nbsp;but that appears to have gone in later versions of Windows.&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;However, we do have &lt;b class=&quot;&quot;&gt;rmdir&lt;/b&gt;&amp;nbsp;which does the job, as per this example: -&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;i class=&quot;&quot;&gt;rmdir C:\IBM /S/Q&lt;/i&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;whereas my muscle memory would be do use this: -&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;i class=&quot;&quot;&gt;rm -Rf /IBM&lt;/i&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;In the words of the prophet, good luck with that.&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;</description><link>http://portal2portal.blogspot.com/2017/12/windows-and-missing-my-rm-rf.html</link><author>[email protected] (Dave Hay)</author><thr:total>2</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-6740338341177826314.post-7533030206545454354</guid><pubDate>Sat, 23 Dec 2017 17:07:00 +0000</pubDate><atom:updated>2017-12-23T17:07:43.948+00:00</atom:updated><title>IBM HTTP Server on Windows - 32-bit or 64-bit ?</title><description>&lt;div class=&quot;&quot;&gt;Following a previous post: -&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;a href=&quot;https://portal2portal.blogspot.co.uk/2017/12/ibm-http-server-on-windows-newish-to-me.html&quot; class=&quot;&quot;&gt;IBM HTTP Server on Windows - New(ish) to me&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;I&#39;m continuing to tinker with IBM HTTP Server (IHS) &lt;b class=&quot;&quot;&gt;9.0&lt;/b&gt; on Windows.&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;Most of my work involves Unix ( Linux, AIX, macOS ), so Windows is relatively new to me, leastways in the context of IBM middleware etc.&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;So, given that I&#39;m running a 64-bit version of Windows: -&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;a href=&quot;http://1.bp.blogspot.com/-6Xm0qcxO-H0/Wj6NYT_zC2I/AAAAAAAAC8s/NB55KwaoyWgMg6DQgRYL3xCkxY2fi0wkQCK4BGAYYCw/s1600/PastedGraphic-2-763972.png&quot;&gt;&lt;img src=&quot;http://1.bp.blogspot.com/-6Xm0qcxO-H0/Wj6NYT_zC2I/AAAAAAAAC8s/NB55KwaoyWgMg6DQgRYL3xCkxY2fi0wkQCK4BGAYYCw/s320/PastedGraphic-2-763972.png&quot;  border=&quot;0&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_6502790360793811810&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;I &lt;u style=&quot;font-weight: bold;&quot; class=&quot;&quot;&gt;assumed&lt;/u&gt;&amp;nbsp;that I could use the 64-bit version of the WebSphere Plugin: -&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;i class=&quot;&quot;&gt;LoadModule was_ap24_module &quot;c:\IBM\WebSphere\Plugins\bin\64bits\mod_was_ap24_http.dll&quot;&lt;/i&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;Alas, no, not possible :-(&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;I see this when I start IHS: -&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;font face=&quot;IBMPlexMono&quot; class=&quot;&quot;&gt;httpd.exe: Syntax error on line 806 of C:/IBM/HTTPServer/WAS/conf/httpd.conf: Cannot load&amp;nbsp;c:\\IBM\\WebSphere\\Plugins\\bin\\64bits\\mod_was_ap24_http.dll into server: %1 is not a valid Win32 application.&lt;br class=&quot;&quot;&gt;&lt;/font&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;I checked the underlying Apache binaries: -&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;i class=&quot;&quot;&gt;c:\IBM\HTTPServer\bin\apache.exe -v&lt;/i&gt;&lt;br class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;font face=&quot;IBMPlexMono&quot; class=&quot;&quot;&gt;Server version: IBM_HTTP_Server/9.0.0.6 (&lt;b class=&quot;&quot;&gt;Win32&lt;/b&gt;)&lt;br class=&quot;&quot;&gt;Server built: &amp;nbsp; Oct 10 2017 20:22:21&lt;/font&gt;&lt;br class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;c:\IBM\HTTPServer\bin\apache.exe -V&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;font face=&quot;IBMPlexMono&quot; class=&quot;&quot;&gt;Server version: IBM_HTTP_Server/9.0.0.6 (&lt;b class=&quot;&quot;&gt;Win32&lt;/b&gt;)&lt;br class=&quot;&quot;&gt;&lt;b class=&quot;&quot;&gt;Apache version: 2.4.12 (with additional fixes)&lt;br class=&quot;&quot;&gt;&lt;/b&gt;Server built: &amp;nbsp; Oct 10 2017 20:22:21&lt;br class=&quot;&quot;&gt;Build level: &amp;nbsp; &amp;nbsp;RIHSX.IHS/webIHS1741.01&lt;br class=&quot;&quot;&gt;Server&#39;s Module Magic Number: 20120211:57&lt;br class=&quot;&quot;&gt;Server loaded: &amp;nbsp;APR 1.5.1, APR-UTIL 1.5.2&lt;br class=&quot;&quot;&gt;Compiled using: APR 1.5.1, APR-UTIL 1.5.2&lt;br class=&quot;&quot;&gt;&lt;b class=&quot;&quot;&gt;Architecture: &amp;nbsp; 32-bit&lt;br class=&quot;&quot;&gt;&lt;/b&gt;Operating System: Windows&lt;br class=&quot;&quot;&gt;Server MPM: &amp;nbsp; &amp;nbsp; WinNT&lt;br class=&quot;&quot;&gt;&amp;nbsp; threaded: &amp;nbsp; &amp;nbsp; yes (fixed thread count)&lt;br class=&quot;&quot;&gt;&amp;nbsp; &amp;nbsp; forked: &amp;nbsp; &amp;nbsp; no&lt;br class=&quot;&quot;&gt;Server compiled with....&lt;br class=&quot;&quot;&gt;&amp;nbsp;-D APR_HAS_SENDFILE&lt;br class=&quot;&quot;&gt;&amp;nbsp;-D APR_HAS_MMAP&lt;br class=&quot;&quot;&gt;&amp;nbsp;-D APR_HAVE_IPV6 (IPv4-mapped addresses disabled)&lt;br class=&quot;&quot;&gt;&amp;nbsp;-D APR_HAS_OTHER_CHILD&lt;br class=&quot;&quot;&gt;&amp;nbsp;-D AP_HAVE_RELIABLE_PIPED_LOGS&lt;br class=&quot;&quot;&gt;&amp;nbsp;-D DYNAMIC_MODULE_LIMIT=256&lt;br class=&quot;&quot;&gt;&amp;nbsp;-D HTTPD_ROOT=&quot;/apache&quot;&lt;br class=&quot;&quot;&gt;&amp;nbsp;-D DEFAULT_PIDLOG=&quot;logs/httpd.pid&quot;&lt;br class=&quot;&quot;&gt;&amp;nbsp;-D DEFAULT_SCOREBOARD=&quot;logs/apache_runtime_status&quot;&lt;br class=&quot;&quot;&gt;&amp;nbsp;-D DEFAULT_ERRORLOG=&quot;logs/error.log&quot;&lt;br class=&quot;&quot;&gt;&amp;nbsp;-D AP_TYPES_CONFIG_FILE=&quot;conf/mime.types&quot;&lt;br class=&quot;&quot;&gt;&amp;nbsp;-D SERVER_CONFIG_FILE=&quot;conf/httpd.conf&quot;&lt;br class=&quot;&quot;&gt;Apache vulnerability fixes included:&lt;br class=&quot;&quot;&gt;&amp;nbsp; CVE-2009-1191 &amp;nbsp;CVE-2009-1890 &amp;nbsp;CVE-2009-3094 &amp;nbsp;CVE-2009-3095&lt;br class=&quot;&quot;&gt;&amp;nbsp; CVE-2010-0434 &amp;nbsp;CVE-2010-0425 &amp;nbsp;CVE-2010-0408 &amp;nbsp;CVE-2009-3555&lt;br class=&quot;&quot;&gt;&amp;nbsp; CVE-2010-1452 &amp;nbsp;CVE-2010-1623 &amp;nbsp;CVE-2011-3368 &amp;nbsp;CVE-2011-3607&lt;br class=&quot;&quot;&gt;&amp;nbsp; CVE-2011-3192 &amp;nbsp;CVE-2011-3348 &amp;nbsp;CVE-2011-4317 &amp;nbsp;CVE-2012-0021&lt;br class=&quot;&quot;&gt;&amp;nbsp; CVE-2012-0031 &amp;nbsp;CVE-2012-0053 &amp;nbsp;CVE-2012-0883 &amp;nbsp;CVE-2012-2687&lt;br class=&quot;&quot;&gt;&amp;nbsp; CVE-2012-3502 &amp;nbsp;CVE-2012-4558 &amp;nbsp;CVE-2012-3499 &amp;nbsp;CVE-2013-2249&lt;br class=&quot;&quot;&gt;&amp;nbsp; CVE-2013-1896 &amp;nbsp;CVE-2013-4352 &amp;nbsp;CVE-2013-6438 &amp;nbsp;CVE-2014-0098&lt;br class=&quot;&quot;&gt;&amp;nbsp; CVE-2014-0963 &amp;nbsp;CVE-2014-0231 &amp;nbsp;CVE-2014-0118 &amp;nbsp;CVE-2014-0226&lt;br class=&quot;&quot;&gt;&amp;nbsp; CVE-2014-3523 &amp;nbsp;CVE-2014-0117 &amp;nbsp;CVE-2013-5704 &amp;nbsp;CVE-2014-8109&lt;br class=&quot;&quot;&gt;&amp;nbsp; CVE-2014-3581 &amp;nbsp;CVE-2014-3583 &amp;nbsp;CVE-2015-0253 &amp;nbsp;CVE-2015-3185&lt;br class=&quot;&quot;&gt;&amp;nbsp; CVE-2015-3183 &amp;nbsp;CVE-2015-1829 &amp;nbsp;CVE-2014-8730 &amp;nbsp;CVE-2015-0228&lt;br class=&quot;&quot;&gt;&amp;nbsp; CVE-2015-4947 &amp;nbsp;CVE-2015-1283 &amp;nbsp;CVE-2015-7420 &amp;nbsp;CVE-2016-0201&lt;br class=&quot;&quot;&gt;&amp;nbsp; CVE-2016-0718 &amp;nbsp;CVE-2016-5387 &amp;nbsp;CVE-2012-0876 &amp;nbsp;CVE-2016-4472&lt;br class=&quot;&quot;&gt;&amp;nbsp; CVE-2016-8743 &amp;nbsp;CVE-2017-3169 &amp;nbsp;CVE-2017-3167 &amp;nbsp;CVE-2017-7668&lt;br class=&quot;&quot;&gt;&amp;nbsp; CVE-2017-7679 &amp;nbsp;CVE-2017-12618 &amp;nbsp;CVE-2017-9798&lt;/font&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;even though I chose to install the 64-bit version of IHS itself: -&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;…&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;font face=&quot;IBMPlexMono&quot; class=&quot;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;profile id=&#39;IBM HTTP Server V9.0&#39; installLocation=&#39;c:\IBM\HTTPServer&#39;&amp;gt;&lt;br class=&quot;&quot;&gt;&lt;b class=&quot;&quot;&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;lt;data key=&#39;cic.selector.arch&#39; value=&#39;x86_64&#39;/&amp;gt;&lt;/b&gt;&lt;br class=&quot;&quot;&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;lt;data key=&#39;user.ihs.http.server.service.name.key&#39; value=&#39;IBMHTTPServerV9.0&#39;/&amp;gt;&lt;br class=&quot;&quot;&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;lt;data key=&#39;user.ihs.http.server.service.name&#39; value=&#39;IBM HTTP Server V9.0&#39;/&amp;gt;&lt;br class=&quot;&quot;&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;lt;data key=&#39;user.ihs.win.serverServiceStartType&#39; value=&#39;auto&#39;/&amp;gt;&lt;br class=&quot;&quot;&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;lt;data key=&#39;user.ihs.win.serverServicePassword&#39; value=&#39;XjTveChg5ba6olBVMK/Reg==&#39;/&amp;gt;&lt;br class=&quot;&quot;&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;lt;data key=&#39;user.ihs.allowNonRootSilentInstall&#39; value=&#39;true&#39;/&amp;gt;&lt;br class=&quot;&quot;&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;lt;data key=&#39;user.ihs.win.serverServiceLogOnAsLocalSystem&#39; value=&#39;true&#39;/&amp;gt;&lt;br class=&quot;&quot;&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;lt;data key=&#39;user.ihs.installHttpService&#39; value=&#39;false&#39;/&amp;gt;&lt;br class=&quot;&quot;&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;lt;data key=&#39;user.ihs.win.serverServiceUser&#39; value=&#39;Administrator&#39;/&amp;gt;&lt;br class=&quot;&quot;&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;lt;data key=&#39;user.ihs.httpPort&#39; value=&#39;8080&#39;/&amp;gt;&lt;br class=&quot;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;/profile&amp;gt;&lt;/font&gt;&lt;br class=&quot;&quot;&gt;…&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;which explains everything.&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;Once I changed IHS, from: -&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;i class=&quot;&quot;&gt;LoadModule was_ap24_module &quot;c:\IBM\WebSphere\Plugins\bin\&lt;b class=&quot;&quot;&gt;64bits&lt;/b&gt;\mod_was_ap24_http.dll&quot;&lt;/i&gt;&lt;br class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;to: -&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;i class=&quot;&quot;&gt;LoadModule was_ap24_module &quot;c:\IBM\WebSphere\Plugins\bin\&lt;b class=&quot;&quot;&gt;32bits&lt;/b&gt;\mod_was_ap24_http.dll&quot;&lt;/i&gt;&lt;br class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;everything was fine.&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;It&#39;s also worth noting that, given that I&#39;m running Apache 2.4 under the covers, the syntax in the &lt;b class=&quot;&quot;&gt;httpd.conf&lt;/b&gt;&amp;nbsp;is to use &lt;b class=&quot;&quot;&gt;was_ap24_module&lt;/b&gt;&amp;nbsp;rather than &lt;b class=&quot;&quot;&gt;was_ap22_module&lt;/b&gt;.&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;I&#39;m not sure I&#39;ve paid much attention to 2.2 vs 2.4 in the past, but it&#39;s more important with v9.0, as per this: -&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;a href=&quot;https://www.ibm.com/support/knowledgecenter/en/SSEQTJ_9.0.0/com.ibm.websphere.ihs.doc/ihs/tihs_migrate.html&quot; class=&quot;&quot;&gt;Migrating to IBM HTTP Server 9.0&lt;/a&gt;&lt;br class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;i class=&quot;&quot;&gt;Migrate an IBM® HTTP Server, Version 7 or 8 server,&amp;nbsp;to IBM HTTP Server 9.0. Because IHS 9.0 is based on Apache&amp;nbsp;2.4,&amp;nbsp;you must modify your existing configuration.&lt;/i&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;a href=&quot;https://publib.boulder.ibm.com/httpserv/manual24/upgrading.html&quot; class=&quot;&quot;&gt;Upgrading to 2.4 from 2.2&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;i class=&quot;&quot;&gt;This document describes changes in Apache HTTP Server 2.4 that might require&amp;nbsp;you to change your configuration or how&amp;nbsp;you use the server in order to&amp;nbsp;use IHS 9.0 (Based on Apache 2.4) as you are currently using IHS 7.0 or 8.x&amp;nbsp;(based on&amp;nbsp;Apache 2.2) . For&amp;nbsp;step by step instructions on migrating a configuration file, see the &quot;Migrating a configuration&quot; section&amp;nbsp;below.&lt;/i&gt;&lt;/div&gt;</description><link>http://portal2portal.blogspot.com/2017/12/ibm-http-server-on-windows-32-bit-or-64.html</link><author>[email protected] (Dave Hay)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://1.bp.blogspot.com/-6Xm0qcxO-H0/Wj6NYT_zC2I/AAAAAAAAC8s/NB55KwaoyWgMg6DQgRYL3xCkxY2fi0wkQCK4BGAYYCw/s72-c/PastedGraphic-2-763972.png" height="72" width="72"/><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-6740338341177826314.post-2058602390407649886</guid><pubDate>Sat, 23 Dec 2017 09:12:00 +0000</pubDate><atom:updated>2017-12-23T09:12:54.979+00:00</atom:updated><title>IBM HTTP Server on Windows - New(ish) to me</title><description>This briefly caught me out.&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;Having install IBM HTTP Server 9.0.0.6 on a 64-bit Windows Server 2012 environment, I was trying, and failing, to start an instance: -&lt;br class=&quot;&quot;&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;i class=&quot;&quot;&gt;c:\IBM\HTTPServer\bin\apache.exe -k start -f c:\IBM\HTTPServer\WAS\conf\httpd.conf&lt;/i&gt;&lt;br class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;font face=&quot;IBMPlexMono&quot; class=&quot;&quot;&gt;[Sat Dec 23 09:08:44.988185 2017] [mpm_winnt:error] [pid 6328:tid 280] (OS 2)The system cannot find the file specified. &amp;nbsp;: AH00436: No installed service named &quot;IBM&amp;nbsp;HTTP Server V9.0&quot;.&lt;br class=&quot;&quot;&gt;[Sat Dec 23 09:08:44.988185 2017] [mpm_winnt:error] [pid 6328:tid 280] (OS 2)The system cannot find the file specified. &amp;nbsp;: If IBM HTTP Server was installed more than&amp;nbsp;once, or installed with other than the default offering name, the service name must be passed to httpd.exe -k start via the -n &amp;lt;servicename&amp;gt; &amp;nbsp;parameter.&lt;/font&gt;&lt;br class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;When I installed IHS, using a response file, I&#39;d specifically chosen NOT to install IHS as a service: -&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;…&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;font face=&quot;IBMPlexMono&quot; class=&quot;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;profile id=&#39;IBM HTTP Server V9.0&#39; installLocation=&#39;c:\IBM\HTTPServer&#39;&amp;gt;&lt;br class=&quot;&quot;&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;lt;data key=&#39;cic.selector.arch&#39; value=&#39;x86_64&#39;/&amp;gt;&lt;br class=&quot;&quot;&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;lt;data key=&#39;user.ihs.http.server.service.name.key&#39; value=&#39;IBMHTTPServerV9.0&#39;/&amp;gt;&lt;br class=&quot;&quot;&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;lt;data key=&#39;user.ihs.http.server.service.name&#39; value=&#39;IBM HTTP Server V9.0&#39;/&amp;gt;&lt;br class=&quot;&quot;&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;lt;data key=&#39;user.ihs.win.serverServiceStartType&#39; value=&#39;auto&#39;/&amp;gt;&lt;br class=&quot;&quot;&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;lt;data key=&#39;user.ihs.win.serverServicePassword&#39; value=&#39;XjTveChg5ba6olBVMK/Reg==&#39;/&amp;gt;&lt;br class=&quot;&quot;&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;lt;data key=&#39;user.ihs.allowNonRootSilentInstall&#39; value=&#39;true&#39;/&amp;gt;&lt;br class=&quot;&quot;&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;lt;data key=&#39;user.ihs.win.serverServiceLogOnAsLocalSystem&#39; value=&#39;true&#39;/&amp;gt;&lt;br class=&quot;&quot;&gt;&lt;b class=&quot;&quot;&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;lt;data key=&#39;user.ihs.installHttpService&#39; value=&#39;false&#39;/&amp;gt;&lt;/b&gt;&lt;br class=&quot;&quot;&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;lt;data key=&#39;user.ihs.win.serverServiceUser&#39; value=&#39;Administrator&#39;/&amp;gt;&lt;br class=&quot;&quot;&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;lt;data key=&#39;user.ihs.httpPort&#39; value=&#39;8080&#39;/&amp;gt;&lt;br class=&quot;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;/profile&amp;gt;&lt;/font&gt;&lt;br class=&quot;&quot;&gt;…&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;This, it transpires, was an error on my part :-)&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;The solution ?&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;Install IHS as a Windows service: -&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;i class=&quot;&quot;&gt;c:\IBM\HTTPServer\bin\apache.exe -k install&lt;/i&gt;&lt;br class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;font face=&quot;IBMPlexMono&quot; class=&quot;&quot;&gt;Installing the IBM HTTP Server V9.0 service&lt;br class=&quot;&quot;&gt;The IBM HTTP Server V9.0 service is successfully installed.&lt;br class=&quot;&quot;&gt;Testing httpd.conf....&lt;br class=&quot;&quot;&gt;Errors reported here must be corrected before the service can be started.&lt;/font&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;i class=&quot;&quot;&gt;c:\IBM\HTTPServer\bin\apache.exe -k start -f c:\IBM\HTTPServer\WAS\conf\httpd.conf&lt;/i&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;No errors this time around :-)&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;a href=&quot;http://3.bp.blogspot.com/-nOBObLxoqpc/Wj4eGFb-veI/AAAAAAAAC8c/3okMj2PUDlUZ7ofeCApJU1E7E96NjZ-KgCK4BGAYYCw/s1600/PastedGraphic-1-775030.png&quot;&gt;&lt;img src=&quot;http://3.bp.blogspot.com/-nOBObLxoqpc/Wj4eGFb-veI/AAAAAAAAC8c/3okMj2PUDlUZ7ofeCApJU1E7E96NjZ-KgCK4BGAYYCw/s320/PastedGraphic-1-775030.png&quot;  border=&quot;0&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_6502668001857158626&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;Happy days, more to learn :-)&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;</description><link>http://portal2portal.blogspot.com/2017/12/ibm-http-server-on-windows-newish-to-me.html</link><author>[email protected] (Dave Hay)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://3.bp.blogspot.com/-nOBObLxoqpc/Wj4eGFb-veI/AAAAAAAAC8c/3okMj2PUDlUZ7ofeCApJU1E7E96NjZ-KgCK4BGAYYCw/s72-c/PastedGraphic-1-775030.png" height="72" width="72"/><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-6740338341177826314.post-3628911996458687690</guid><pubDate>Fri, 22 Dec 2017 19:38:00 +0000</pubDate><atom:updated>2017-12-22T19:38:43.327+00:00</atom:updated><title>IBM Cloud Private - 2.1.0.1 now available</title><description>From this: -&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;IBM Cloud Private version 2.1.0.1 is now available for download&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;a href=&quot;https://www.ibm.com/developerworks/community/blogs/fe25b4ef-ea6a-4d86-a629-6f87ccf4649e/entry/IBM_Cloud_Private_version_2_1_0_1_is_now_available_for_download?lang=en&quot; class=&quot;&quot;&gt;Announcing the arrival of IBM Cloud Private version 2.1.0.1!&lt;/a&gt;&lt;br class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;i class=&quot;&quot;&gt;I know you didn&#39;t think that we were going to let the year&amp;nbsp;end without another delivery from the IBM Cloud Private team. So here&amp;nbsp;you go, to round out 2017 we got another one.........introducing IBM Cloud Private 2.1.0.1.&lt;br class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;IBM Cloud Private Version 2.1.0.1 iterates on our&amp;nbsp;2.1.0 edition,&amp;nbsp;with console enhancements, new capabilities, and a Kubernetes version&amp;nbsp;update. We do highly recommend this upgrade, as alongside these new&amp;nbsp;features, we took the time to also improve on some&amp;nbsp;features and fix some&amp;nbsp;of those pesky bugs.&lt;br class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;We do hope you enjoy!&lt;br class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;u class=&quot;&quot;&gt;What&#39;s new in version 2.1.0.1&lt;/u&gt;&lt;br class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;Here is a snapshot of what to expect with the release of version 2.1.0.1. You can also find more details on our&amp;nbsp;Bluemix blog, or by reviewing our&amp;nbsp;What&#39;s new&amp;nbsp;page in the IBM Knowledge Center.&lt;br class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/i&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;u style=&quot;font-style: italic;&quot; class=&quot;&quot;&gt;Kubernetes upgraded to 1.8.3&lt;/u&gt;&lt;br class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;i class=&quot;&quot;&gt;IBM Cloud Private version&amp;nbsp;2.1.0.1 is now upgraded to use Kubernetes version 1.8.3. For more&amp;nbsp;information about the features that are introduced in Kubernetes 1.8.3,&amp;nbsp;see&amp;nbsp;https://github.com/kubernetes/features/blob/master/release-1.8/release-notes-draft.md.&lt;/i&gt;&lt;br class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;u style=&quot;font-style: italic;&quot; class=&quot;&quot;&gt;Redesigned navigation menu&lt;/u&gt;&lt;br class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;i class=&quot;&quot;&gt;The navigation menu is now redesigned for better alignment&amp;nbsp;of functions, this should improve ease of use of the IBM Cloud Private&amp;nbsp;management console.&lt;/i&gt;&lt;br class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;u class=&quot;&quot;&gt;New networking capability&lt;/u&gt;&lt;br class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;i class=&quot;&quot;&gt;You can now integrate VMware NSX-T 2.0 with IBM Cloud Private.&lt;/i&gt;&lt;br class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;i class=&quot;&quot;&gt;&lt;u class=&quot;&quot;&gt;Technology Previews&lt;/u&gt;&lt;/i&gt;&lt;br class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;i class=&quot;&quot;&gt;Try out one of our beta features and let us know what you think&lt;/i&gt;&lt;br class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;div class=&quot;&quot;&gt;&lt;i class=&quot;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt; &lt;/span&gt;• Cluster federation - In multiple cluster environments, you can use a&amp;nbsp;federation to deploy and manage common services across multiple&amp;nbsp;Kubernetes clusters.&lt;br class=&quot;&quot;&gt;&lt;/i&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;i class=&quot;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt; &lt;/span&gt;• Vulnerability advisor - Use the advisor to get vulnerability&amp;nbsp;reports for containers and images in your IBM® Cloud Private private&amp;nbsp;registry.&amp;nbsp;Note:&amp;nbsp;The Vulnerability advisor is not available with&amp;nbsp;IBM Cloud Private Community Edition.&lt;/i&gt;&lt;/div&gt;&lt;/div&gt;</description><link>http://portal2portal.blogspot.com/2017/12/ibm-cloud-private-2101-now-available.html</link><author>[email protected] (Dave Hay)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-6740338341177826314.post-7161985808927987507</guid><pubDate>Fri, 22 Dec 2017 15:45:00 +0000</pubDate><atom:updated>2017-12-22T15:45:18.691+00:00</atom:updated><title>WebSphere Liberty Profile - 17.0.0.4</title><description>I missed this announcement t&#39;other day, although I did see this: -&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;a href=&quot;https://event.on24.com/eventRegistration/EventLobbyServlet?target=reg20.jsp&amp;amp;referrer=&amp;amp;eventid=1510791&amp;amp;sessionid=1&amp;amp;key=C6FC56E55DD56E458EC29C5EE5EABC69&amp;amp;regTag=&amp;amp;sourcepage=register&quot; class=&quot;&quot;&gt;WebSphere Liberty Virtual Proof of Technology 17.0.0.4 (Session 1)&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;i class=&quot;&quot;&gt;WebSphere Liberty 17.0.0.4&amp;nbsp;update will be available shortly. It includes many new enhancements.&amp;nbsp;During the Liberty vPOT,&amp;nbsp;you&#39;ll have a chance to get your hands on a&amp;nbsp;download containing the Liberty driver and a set of labs to help get&amp;nbsp;started quickly.&amp;nbsp;The webcast will also include the latest updates on&amp;nbsp;licensing and product support. During the Q&amp;amp;A and labs session,&amp;nbsp;developers from the WebSphere team will be on-hand to answer any&amp;nbsp;questions about Liberty or help get you unstuck with any&amp;nbsp;of the Liberty&amp;nbsp;labs, which you can do on your machine.&lt;/i&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;Anyway, here&#39;s WLP ….&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;a href=&quot;https://www-01.ibm.com/support/docview.wss?uid=swg24044285#LibertyJarAll&quot; class=&quot;&quot;&gt;17.0.0.4: WebSphere Application Server Liberty 17.0.0.4&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;i class=&quot;&quot;&gt;Abstract&lt;br class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;IBM WebSphere Application Server Liberty Fix Pack 17.0.0.4 for all platforms.&lt;/i&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;i class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;Download Description&lt;br class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;Notice:&amp;nbsp;Please read the important information included in this document in the&amp;nbsp;Known side effects&amp;nbsp;section.&amp;nbsp;&lt;br class=&quot;&quot;&gt;WebSphere Application Server Liberty 17.0.0.4&amp;nbsp;content is provided as below:&lt;br class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/i&gt;&lt;div class=&quot;&quot;&gt;&lt;i class=&quot;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt; &lt;/span&gt;• Archives packages&lt;br class=&quot;&quot;&gt;&lt;/i&gt;&lt;div class=&quot;&quot;&gt;&lt;i class=&quot;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt; &lt;/span&gt;• Liberty installation archives with all features&lt;br class=&quot;&quot;&gt;&lt;/i&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;i class=&quot;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt; &lt;/span&gt;• Convenience ZIP files with Java™ EE 7 or OSGi applications&lt;br class=&quot;&quot;&gt;&lt;/i&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;i class=&quot;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt; &lt;/span&gt;• Edition-specific archives&lt;br class=&quot;&quot;&gt;&lt;/i&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;i class=&quot;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt; &lt;/span&gt;• License upgrade archives&lt;br class=&quot;&quot;&gt;&lt;/i&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;i class=&quot;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt; &lt;/span&gt;• Directory-based repository for working offline&lt;br class=&quot;&quot;&gt;&lt;/i&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;i class=&quot;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt; &lt;/span&gt;• Cloud packages&lt;br class=&quot;&quot;&gt;&lt;/i&gt;&lt;div class=&quot;&quot;&gt;&lt;i class=&quot;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt; &lt;/span&gt;• Liberty Buildpack&lt;br class=&quot;&quot;&gt;&lt;/i&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;i class=&quot;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt; &lt;/span&gt;• IBM Installation Manager packages&lt;br class=&quot;&quot;&gt;&lt;/i&gt;&lt;div class=&quot;&quot;&gt;&lt;i class=&quot;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt; &lt;/span&gt;• Local repository files for IM install&lt;br class=&quot;&quot;&gt;&lt;/i&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;i class=&quot;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt; &lt;/span&gt;• Java SDK packages&lt;br class=&quot;&quot;&gt;&lt;/i&gt;&lt;div class=&quot;&quot;&gt;&lt;i class=&quot;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt; &lt;/span&gt;• IBM Java SDKs for WebSphere Liberty&lt;br class=&quot;&quot;&gt;&lt;/i&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;i class=&quot;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt; &lt;/span&gt;• IBM WebSphere Java SDKs for WebSphere Application Server V8.5&lt;/i&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;</description><link>http://portal2portal.blogspot.com/2017/12/websphere-liberty-profile-17004.html</link><author>[email protected] (Dave Hay)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-6740338341177826314.post-3260993969142588728</guid><pubDate>Thu, 14 Dec 2017 17:21:00 +0000</pubDate><atom:updated>2017-12-14T17:22:02.111+00:00</atom:updated><title>WebSphere Liberty Profile - Customising the Logging</title><description>On my current engagement, we had a requirement to trim out ( temporarily ) some information log messages which were &quot;spamming&quot; the &lt;b class=&quot;&quot;&gt;console.log&lt;/b&gt;&amp;nbsp;of a WebSphere Liberty Profile (WLP) environment.&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;Firstly, here&#39;s some context about WLP logging: -&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;font face=&quot;IBMPlexMono&quot; class=&quot;&quot;&gt;There&amp;nbsp;are three primary log files for a server:&lt;/font&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;font face=&quot;IBMPlexMono&quot; class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/font&gt;&lt;div class=&quot;&quot;&gt;&lt;font face=&quot;IBMPlexMono&quot; class=&quot;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt; &lt;/span&gt;• console.log&amp;nbsp;- containing the redirected standard&amp;nbsp;output and standard error from the JVM process. This console output&amp;nbsp;is intended for direct human consumption. The console output contains&amp;nbsp;major events and errors if you use the default&amp;nbsp;consoleLogLevel configuration.&amp;nbsp;The console output also contains any messages that are written to&amp;nbsp;the&amp;nbsp;System.out&amp;nbsp;and&amp;nbsp;System.err&amp;nbsp;streams&amp;nbsp;if you use the default copySystemStreams configuration. The console&amp;nbsp;output always contains&amp;nbsp;messages that are written directly by the JVM&amp;nbsp;process, such as&amp;nbsp;-verbose:gc&amp;nbsp;output. This file is&amp;nbsp;created only if the&amp;nbsp;server start&amp;nbsp;command is used,&amp;nbsp;and its location can be altered only by using the&amp;nbsp;LOG_DIR&amp;nbsp;environment&amp;nbsp;variable. For&amp;nbsp;more information, see&amp;nbsp;Administering Liberty from the command line.&lt;br class=&quot;&quot;&gt;&lt;/font&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;font face=&quot;IBMPlexMono&quot; class=&quot;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt; &lt;/span&gt;• messages.log&amp;nbsp;- containing all messages except&amp;nbsp;trace messages&amp;nbsp;that are written or captured by the&amp;nbsp;logging component.&amp;nbsp;All messages that are&amp;nbsp;written&amp;nbsp;to this file contain additional information such as the message time&amp;nbsp;stamp&amp;nbsp;and the ID of&amp;nbsp;the thread that wrote the message.&amp;nbsp;This file does not contain&amp;nbsp;messages that are written&amp;nbsp;directly by the JVM process.&lt;br class=&quot;&quot;&gt;&lt;/font&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;font face=&quot;IBMPlexMono&quot; class=&quot;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt; &lt;/span&gt;• trace.log&amp;nbsp;- containing all messages that&amp;nbsp;are written or&amp;nbsp;captured by the product. This file&amp;nbsp;is created only if you enable&amp;nbsp;additional trace.&amp;nbsp;This file does not contain messages that are written directly by the&amp;nbsp;JVM&amp;nbsp;process.&lt;/font&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;and: -&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;…&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;font face=&quot;IBMPlexMono&quot; class=&quot;&quot;&gt;The&amp;nbsp;console.log&amp;nbsp;file does not have&amp;nbsp;the same level of management as other log&amp;nbsp;files. The only&amp;nbsp;property that you can change is&amp;nbsp;consoleLogLevel.&lt;/font&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;…&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;and: -&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;…&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;font face=&quot;IBMPlexMono&quot; class=&quot;&quot;&gt;consoleLogLevel&lt;/font&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;font face=&quot;IBMPlexMono&quot; class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/font&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;font face=&quot;IBMPlexMono&quot; class=&quot;&quot;&gt;This filter controls the granularity of messages that go to the&amp;nbsp;console.log&amp;nbsp;file. The valid values are&amp;nbsp;INFO,&amp;nbsp;AUDIT,&amp;nbsp;WARNING,&amp;nbsp;ERROR, and&amp;nbsp;OFF. By default, the level is&amp;nbsp;AUDIT.&lt;/font&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;...&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;Source:&amp;nbsp;&lt;a href=&quot;https://www.ibm.com/support/knowledgecenter/en/SSEQTP_8.5.5/com.ibm.websphere.wlp.doc/ae/rwlp_logging.html&quot; class=&quot;&quot;&gt;Liberty:Logging and Trace&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;As an example, from my own VM ( and this is a TERRIBLE example ), let&#39;s say I wanted to suppress this message: -&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;font face=&quot;Courier New&quot; class=&quot;&quot;&gt;[AUDIT&amp;nbsp;&amp;nbsp;&amp;nbsp;] CWWKS1100A: Authentication did not succeed for user ID appcenteradmin. An invalid user ID&amp;nbsp;or password was specified.&lt;/font&gt;&lt;br class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;In a default, vanilla, installation of WLP, the default for &lt;b class=&quot;&quot;&gt;consoleLogLevel&lt;/b&gt;&amp;nbsp;is &lt;b class=&quot;&quot;&gt;AUDIT&lt;/b&gt;.&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;If I wanted to turn off ALL logging, I could change that to &lt;b class=&quot;&quot;&gt;OFF&lt;/b&gt;, but that&#39;d be a daft idea.&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;Therefore, there&#39;s this: -&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;...&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;font face=&quot;IBMPlexMono&quot; class=&quot;&quot;&gt;After version 8.5.5.4+ Liberty Profile; added new attribute&amp;nbsp;&quot;hideMessage&quot;&amp;nbsp;to logging element.&lt;br class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/font&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;font face=&quot;IBMPlexMono&quot; class=&quot;&quot;&gt;You can configure logging element on server.xml file;&lt;br class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&amp;lt;logging hideMessage=&quot;WELD-000900&quot; /&amp;gt;&lt;br class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;The &quot;WELD-000900&quot; messages will redirect to trace.log file.&lt;br class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;If you want to add multiple message, you can seperate it with a comma.&lt;br class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&amp;lt;logging hideMessage=&quot;WELD-000900, CWWKE0001I&quot; /&amp;gt;&lt;/font&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;…&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;a href=&quot;https://www.ibm.com/developerworks/community/blogs/be0e558a-25e4-48db-91b3-812f6eaa8d3b/entry/How_to_redirect_unnecessary_log_messages_to_another_file_for_WebSphere_Liberty_Profile?lang=en&quot; class=&quot;&quot;&gt;How to redirect unnecessary log messages to another file for WebSphere Liberty Profile ?&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;so I validated this, by changing &lt;b class=&quot;&quot;&gt;server.xml&lt;/b&gt;&amp;nbsp;: -&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;i class=&quot;&quot;&gt;vi /opt/ibm/WebSphere/Liberty/usr/servers/defaultServer/server.xml&lt;/i&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;and adding: -&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;font face=&quot;Courier New&quot; class=&quot;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;lt;logging&amp;nbsp;consoleLogLevel=&quot;AUDIT&quot;/&amp;gt;&lt;br class=&quot;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;lt;logging&amp;nbsp;hideMessage=&quot;CWWKS1100A&quot;/&amp;gt;&lt;/font&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;before the closing &lt;b class=&quot;&quot;&gt;&amp;lt;/server&amp;gt;&lt;/b&gt;&amp;nbsp;directive.&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;Now I can try/fail to login as many times as I like, and &lt;b class=&quot;&quot;&gt;console.log&lt;/b&gt;&amp;nbsp;will tell me nothing: -&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;i class=&quot;&quot;&gt;tail -f /opt/ibm/WebSphere/Liberty/usr/servers/defaultServer/logs/console.log&lt;/i&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;font face=&quot;Courier New&quot; class=&quot;&quot;&gt;[AUDIT&amp;nbsp;&amp;nbsp;&amp;nbsp;] CWWKS1100A: Authentication did not succeed for user ID adsda. An invalid user ID or&amp;nbsp;password was specified.&lt;br class=&quot;&quot;&gt;&lt;b class=&quot;&quot;&gt;[AUDIT&amp;nbsp;&amp;nbsp;&amp;nbsp;] CWWKG0016I: Starting server configuration update.&lt;/b&gt;&lt;br class=&quot;&quot;&gt;[AUDIT&amp;nbsp;&amp;nbsp;&amp;nbsp;] CWWKG0017I: The server configuration was successfully updated in 0.050 seconds.&lt;/font&gt;&lt;br class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;Note the&amp;nbsp;CWWKG0016I and&amp;nbsp;CWWKG0017I messages; they tell me that the server automatically updated its configuration once I saved the changes to &lt;b class=&quot;&quot;&gt;server.xml&lt;/b&gt;.&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;And, of course, I&#39;m going to change it back: -&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;i class=&quot;&quot;&gt;vi /opt/ibm/WebSphere/Liberty/usr/servers/defaultServer/server.xml&lt;/i&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;font face=&quot;Courier New&quot; class=&quot;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;lt;logging&amp;nbsp;consoleLogLevel=&quot;AUDIT&quot;/&amp;gt;&lt;/font&gt;&lt;br class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;and now I see all of the bad login messages: -&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;i class=&quot;&quot;&gt;tail -f /opt/ibm/WebSphere/Liberty/usr/servers/defaultServer/logs/console.log&lt;/i&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;font face=&quot;Courier New&quot; class=&quot;&quot;&gt;[AUDIT&amp;nbsp;&amp;nbsp;&amp;nbsp;] CWWKS1100A: Authentication did not succeed for user ID adsdas. An invalid user ID or&amp;nbsp;password was specified.&lt;br class=&quot;&quot;&gt;[AUDIT&amp;nbsp;&amp;nbsp;&amp;nbsp;] CWWKS1100A: Authentication did not succeed for user ID asdads. An invalid user ID or&amp;nbsp;password was specified.&lt;br class=&quot;&quot;&gt;a[AUDIT&amp;nbsp;&amp;nbsp;&amp;nbsp;] CWWKS1100A: Authentication did not succeed for user ID asda. An invalid user ID or&amp;nbsp;password was specified.&lt;/font&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;font face=&quot;Courier New&quot; class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/font&gt;&lt;/div&gt;</description><link>http://portal2portal.blogspot.com/2017/12/websphere-liberty-profile-customising.html</link><author>[email protected] (Dave Hay)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-6740338341177826314.post-6766442146925003107</guid><pubDate>Thu, 14 Dec 2017 16:29:00 +0000</pubDate><atom:updated>2017-12-14T16:29:34.945+00:00</atom:updated><title>IBM MobileFirst 8 - Commanding the CLI</title><description>As with many of my projects, this is another one in the category of &quot;Tinkering&quot;.&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;In order to better support my current client, I needed a quick-start into the world of IBM MobileFirst Platform (MFP).&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;I&#39;ve blogged about MFP before, but mainly in the context of building out a runtime on the WebSphere Liberty Platform: -&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;a href=&quot;https://portal2portal.blogspot.co.uk/2017/12/websphere-liberty-profile-why-doesnt.html&quot; class=&quot;&quot;&gt;WebSphere Liberty Profile - why doesn&#39;t HTTPS work ?&lt;/a&gt;&lt;br class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;a href=&quot;https://portal2portal.blogspot.co.uk/2017/12/using-nagios-to-monitor-ibm-http-server.html&quot; class=&quot;&quot;&gt;Using Nagios to monitor IBM HTTP Server and IBM WebSphere&amp;nbsp;Liberty Profile&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;but now I wanted to go a little bit further.&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;I started here: -&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;a href=&quot;https://github.com/MobileFirst-Platform-Developer-Center&quot; class=&quot;&quot;&gt;IBM MobileFirst Foundation Developer Center&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;and quickly ended up here: -&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;a href=&quot;http://mobilefirstplatform.ibmcloud.com/tutorials/en/foundation/8.0/quick-start/web/&quot; class=&quot;&quot;&gt;Web app end-to-end demonstration&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;and: -&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;a href=&quot;https://mobilefirstplatform.ibmcloud.com/tutorials/en/foundation/8.0/application-development/using-mobilefirst-cli-to-manage-mobilefirst-artifacts/&quot; class=&quot;&quot;&gt;Using MobileFirst CLI to Manage MobileFirst Artifacts&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;Having downloaded and installed the MobileFirst Developer Kit for macOS, as per this: -&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;a href=&quot;https://mobilefirstplatform.ibmcloud.com/downloads/&quot; class=&quot;&quot;&gt;Downloads&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;I was able to start up the native MobileFirst Server: -&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;i class=&quot;&quot;&gt;cd /Users/davidhay/MobileFirst-8.0.0.0&lt;/i&gt;&lt;/div&gt;&lt;i class=&quot;&quot;&gt;./run.sh&lt;/i&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;….&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;font face=&quot;Courier New&quot; class=&quot;&quot;&gt;Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed in&amp;nbsp;8.0&lt;br class=&quot;&quot;&gt;Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=512m; support was removed in&amp;nbsp;8.0&lt;br class=&quot;&quot;&gt;objc[10046]: Class JavaLaunchHelper is implemented in both&amp;nbsp;/Library/Java/JavaVirtualMachines/jdk1.8.0_151.jdk/Contents/Home/bin/java (0x100da94c0) and&amp;nbsp;/Library/Java/JavaVirtualMachines/jdk1.8.0_151.jdk/Contents/Home/jre/lib/libinstrument.dylib&amp;nbsp;(0x100e674e0). One of the two will be used. Which one is undefined.&lt;br class=&quot;&quot;&gt;Listening for transport dt_socket at address: 10777&lt;br class=&quot;&quot;&gt;Launching mfp (WebSphere Application Server 8.5.5.8/wlp-1.0.11.cl50820151201-1942) on Java&amp;nbsp;HotSpot(TM) 64-Bit Server VM, version 1.8.0_151-b12 (en_GB)&lt;br class=&quot;&quot;&gt;[AUDIT&amp;nbsp;&amp;nbsp;&amp;nbsp;] CWWKE0001I: The server mfp has been launched.&lt;br class=&quot;&quot;&gt;[AUDIT&amp;nbsp;&amp;nbsp;&amp;nbsp;] CWWKE0100I: This product is licensed for development, and limited production use. The&amp;nbsp;full license terms can be viewed here:&amp;nbsp;&lt;a href=&quot;https://public.dhe.ibm.com/ibmdl/export/pub/software/websphere/wasdev/license/base_ilan/ilan/8.5.5&quot; class=&quot;&quot;&gt;https://public.dhe.ibm.com/ibmdl/export/pub/software/websphere/wasdev/license/base_ilan/ilan/8.5.5&lt;/a&gt;.8/lafiles/en.html&lt;br class=&quot;&quot;&gt;[AUDIT&amp;nbsp;&amp;nbsp;&amp;nbsp;] CWWKZ0058I: Monitoring dropins for applications.&amp;nbsp;&lt;/font&gt;&lt;br class=&quot;&quot;&gt;…&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;font face=&quot;Courier New&quot; class=&quot;&quot;&gt;[AUDIT&amp;nbsp;&amp;nbsp;&amp;nbsp;] CWWKT0016I: Web application available (default_host): &lt;a href=&quot;http://192.168.153.1:9080/doc/&quot; class=&quot;&quot;&gt;http://192.168.153.1:9080/doc/&lt;/a&gt;&lt;br class=&quot;&quot;&gt;[AUDIT&amp;nbsp;&amp;nbsp;&amp;nbsp;] CWWKT0016I: Web application available (default_host): &lt;a href=&quot;http://192.168.153.1:9080/mfp-dev-&quot; class=&quot;&quot;&gt;http://192.168.153.1:9080/mfp-dev-&lt;/a&gt;artifacts/&lt;br class=&quot;&quot;&gt;[AUDIT&amp;nbsp;&amp;nbsp;&amp;nbsp;] CWWKT0016I: Web application available (default_host):&amp;nbsp;&lt;a href=&quot;http://192.168.153.1:9080/IBMJMXConnectorREST/&quot; class=&quot;&quot;&gt;http://192.168.153.1:9080/IBMJMXConnectorREST/&lt;/a&gt;&lt;/font&gt;&lt;br class=&quot;&quot;&gt;…&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;font face=&quot;Courier New&quot; class=&quot;&quot;&gt;[AUDIT&amp;nbsp;&amp;nbsp;&amp;nbsp;] CWWKT0016I: Web application available (default_host):&amp;nbsp;&lt;a href=&quot;http://192.168.153.1:9080/mfpconsole/&quot; class=&quot;&quot;&gt;http://192.168.153.1:9080/mfpconsole/&lt;/a&gt;&lt;/font&gt;&lt;br class=&quot;&quot;&gt;…&lt;/div&gt;&lt;font face=&quot;Courier New&quot; class=&quot;&quot;&gt;[AUDIT&amp;nbsp;&amp;nbsp;&amp;nbsp;] CWWKT0016I: Web application available (default_host):&amp;nbsp;&lt;a href=&quot;http://192.168.153.1:9080/mfpadminconfig/&quot; class=&quot;&quot;&gt;http://192.168.153.1:9080/mfpadminconfig/&lt;/a&gt;&lt;/font&gt;&lt;br class=&quot;&quot;&gt;…&lt;br class=&quot;&quot;&gt;&lt;div class=&quot;&quot;&gt;&lt;font face=&quot;Courier New&quot; class=&quot;&quot;&gt;[AUDIT&amp;nbsp;&amp;nbsp;&amp;nbsp;] CWWKT0016I: Web application available (default_host):&amp;nbsp;&lt;a href=&quot;http://192.168.153.1:9080/analytics/&quot; class=&quot;&quot;&gt;http://192.168.153.1:9080/analytics/&lt;/a&gt;&lt;br class=&quot;&quot;&gt;[AUDIT&amp;nbsp;&amp;nbsp;&amp;nbsp;] CWWKT0016I: Web application available (default_host): http://192.168.153.1:9080/imfpush/&lt;br class=&quot;&quot;&gt;[AUDIT&amp;nbsp;&amp;nbsp;&amp;nbsp;] CWWKT0016I: Web application available (default_host):&amp;nbsp;http://192.168.153.1:9080/mfpadmin/&lt;/font&gt;&lt;br class=&quot;&quot;&gt;…&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;I then hit the MFP Console: -&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;a href=&quot;http://192.168.153.1:9080/mfpconsole/index.html#/dashboard&quot; class=&quot;&quot;&gt;http://192.168.153.1:9080/mfpconsole/index.html#/dashboard&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;and navigated to the Get CLI link: -&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;a href=&quot;http://192.168.153.1:9080/mfpconsole/index.html#/downloads#tools&quot; class=&quot;&quot;&gt;http://192.168.153.1:9080/mfpconsole/index.html#/downloads%23tools&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;a href=&quot;http://4.bp.blogspot.com/-e6nPXZSluHM/WjKm7yGMhdI/AAAAAAAAC78/Eo1LeiTcw08fCefVkPMXPzQ870EJjEMMwCK4BGAYYCw/s1600/PastedGraphic-1-774972.png&quot;&gt;&lt;img src=&quot;http://4.bp.blogspot.com/-e6nPXZSluHM/WjKm7yGMhdI/AAAAAAAAC78/Eo1LeiTcw08fCefVkPMXPzQ870EJjEMMwCK4BGAYYCw/s320/PastedGraphic-1-774972.png&quot;  border=&quot;0&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_6499440758239299026&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;At this point, I hit a blocker.&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;When I tried to use the local version ( having downloaded it from here &lt;a href=&quot;http://192.168.153.1:9080/mfp-dev-artifacts/mfpdev-cli.tgz&quot; class=&quot;&quot;&gt;http://192.168.153.1:9080/mfp-dev-artifacts/mfpdev-cli.tgz&lt;/a&gt;&amp;nbsp;) : -&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;i class=&quot;&quot;&gt;sudo npm install -g ~/Downloads/mfpdev-cli.tgz&amp;nbsp;&lt;/i&gt;&lt;br class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;I saw this: -&lt;br class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;font face=&quot;Courier New&quot; class=&quot;&quot;&gt;npm WARN deprecated [email protected]: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue&lt;br class=&quot;&quot;&gt;npm WARN deprecated [email protected]: express 2.x series is deprecated&lt;br class=&quot;&quot;&gt;npm WARN deprecated [email protected]: connect 1.x series is deprecated&lt;br class=&quot;&quot;&gt;npm WARN deprecated [email protected]: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue&lt;br class=&quot;&quot;&gt;npm WARN deprecated [email protected]: Use uuid module instead&lt;br class=&quot;&quot;&gt;npm WARN deprecated [email protected]: ReDoS vulnerability parsing Set-Cookie &lt;a href=&quot;https://nodesecurity.io/advisories/130&quot; class=&quot;&quot;&gt;https://nodesecurity.io/advisories/130&lt;/a&gt;&lt;br class=&quot;&quot;&gt;npm WARN deprecated [email protected]: please upgrade to graceful-fs 4 for compatibility with current and future versions&amp;nbsp;of Node.js&lt;br class=&quot;&quot;&gt;npm WARN deprecated [email protected]: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue&lt;br class=&quot;&quot;&gt;npm ERR! code E404&lt;br class=&quot;&quot;&gt;npm ERR! 404 Not Found: [email protected]&lt;br class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;npm ERR! A complete log of this run can be found in:&lt;br class=&quot;&quot;&gt;npm ERR! &amp;nbsp; &amp;nbsp; /Users/davidhay/.npm/_logs/2017-12-14T15_19_12_355Z-debug.log&lt;/font&gt;&lt;br class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;When I tried the version from the net: -&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;i class=&quot;&quot;&gt;sudo npm install -g mfpdev-cli&lt;/i&gt;&lt;br class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;I saw this: -&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;font face=&quot;Courier New&quot; class=&quot;&quot;&gt;npm WARN deprecated [email protected]: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue&lt;br class=&quot;&quot;&gt;npm WARN deprecated [email protected]: express 2.x series is deprecated&lt;br class=&quot;&quot;&gt;npm WARN deprecated [email protected]: connect 1.x series is deprecated&lt;br class=&quot;&quot;&gt;npm WARN deprecated [email protected]: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue&lt;br class=&quot;&quot;&gt;npm WARN deprecated [email protected]: Use uuid module instead&lt;br class=&quot;&quot;&gt;npm WARN deprecated [email protected]: ReDoS vulnerability parsing Set-Cookie &lt;a href=&quot;https://nodesecurity.io/advisories/130&quot; class=&quot;&quot;&gt;https://nodesecurity.io/advisories/130&lt;/a&gt;&lt;br class=&quot;&quot;&gt;npm WARN deprecated [email protected]: please upgrade to graceful-fs 4 for compatibility with current and future versions&amp;nbsp;of Node.js&lt;br class=&quot;&quot;&gt;npm WARN deprecated [email protected]: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue&lt;br class=&quot;&quot;&gt;npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/mfpdev-cli/node_modules/fsevents):&lt;br class=&quot;&quot;&gt;npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename&amp;nbsp;&#39;/usr/local/lib/node_modules/.staging/fsevents-4718b8bb/node_modules/tar&#39; -&amp;gt; &#39;/usr/local/lib/node_modules/.staging/tar-0c43e4b7&#39;&lt;br class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;npm ERR! path /Users/mdo-windows-support/package.json&lt;br class=&quot;&quot;&gt;npm ERR! code ENOPACKAGEJSON&lt;br class=&quot;&quot;&gt;npm ERR! errno -2&lt;br class=&quot;&quot;&gt;npm ERR! syscall open&lt;br class=&quot;&quot;&gt;npm ERR! package.json ENOENT: no such file or directory, open &#39;/Users/mdo-windows-support/package.json&#39;&lt;br class=&quot;&quot;&gt;npm ERR! package.json npm can&#39;t find a package.json file in your current directory.&lt;br class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;npm ERR! A complete log of this run can be found in:&lt;br class=&quot;&quot;&gt;npm ERR! &amp;nbsp; &amp;nbsp; /Users/davidhay/.npm/_logs/2017-12-14T15_19_51_237Z-debug.log&lt;br class=&quot;&quot;&gt;&lt;/font&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;Interestingly, this page: -&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;a href=&quot;https://www.npmjs.com/package/mfpdev-cli&quot; class=&quot;&quot;&gt;IBM MobileFirst Platform Foundation&amp;nbsp;Development Command Line Interface&amp;nbsp;(CLI)&lt;/a&gt;&lt;br class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;doesn&#39;t specify dependencies, in terms of NodeJS and NPM.&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;However, this: -&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;a href=&quot;https://stackoverflow.com/questions/46168090/ibm-mobile-first-mfpdev-cli-installation-failure&quot; class=&quot;&quot;&gt;IBM Mobile First - mfpdev-cli Installation Failure&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;does say: -&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;…&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;font face=&quot;Courier New&quot; class=&quot;&quot;&gt;IBM MobileFirst CLI is not supported in the npm version whatever you&amp;nbsp;are trying with.&lt;br class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;Try installing the same with npm version&amp;nbsp;&lt;b class=&quot;&quot;&gt;3.10.10&lt;/b&gt;&amp;nbsp;and this should&amp;nbsp;resolve the issue which you are facing.&lt;/font&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;…&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;I checked my versions: -&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;i class=&quot;&quot;&gt;npm -v&lt;/i&gt;&lt;br class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;font face=&quot;Courier New&quot; class=&quot;&quot;&gt;5.5.1&lt;/font&gt;&lt;br class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;i class=&quot;&quot;&gt;node -v&lt;/i&gt;&lt;br class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;font face=&quot;Courier New&quot; class=&quot;&quot;&gt;v8.9.3&lt;/font&gt;&lt;br class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;Ah, ha :-)&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;This table: -&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;a href=&quot;https://nodejs.org/en/download/releases/&quot; class=&quot;&quot;&gt;NodeJS&amp;nbsp;Previous Releases&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;helped me find the Node &amp;lt;-&amp;gt; NPM relationship: -&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;a href=&quot;http://3.bp.blogspot.com/-wyF6aoG1q74/WjKm8lQcTPI/AAAAAAAAC8E/mx3yTy40Bvs65PtvrCCXGyCENXmuOt5UgCK4BGAYYCw/s1600/PastedGraphic-3-777341.png&quot;&gt;&lt;img src=&quot;http://3.bp.blogspot.com/-wyF6aoG1q74/WjKm8lQcTPI/AAAAAAAAC8E/mx3yTy40Bvs65PtvrCCXGyCENXmuOt5UgCK4BGAYYCw/s320/PastedGraphic-3-777341.png&quot;  border=&quot;0&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_6499440771972484338&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;a href=&quot;http://3.bp.blogspot.com/-ENRFzMZelGk/WjKm84Xn-dI/AAAAAAAAC8M/JieJWDueKDIRBI3gIe15SO1dGSu81bb2wCK4BGAYYCw/s1600/PastedGraphic-2-778620.png&quot;&gt;&lt;img src=&quot;http://3.bp.blogspot.com/-ENRFzMZelGk/WjKm84Xn-dI/AAAAAAAAC8M/JieJWDueKDIRBI3gIe15SO1dGSu81bb2wCK4BGAYYCw/s320/PastedGraphic-2-778620.png&quot;  border=&quot;0&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_6499440777102883282&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;so I went here: -&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;a href=&quot;https://nodejs.org/download/release/v7.3.0/&quot; class=&quot;&quot;&gt;https://nodejs.org/download/release/v7.3.0/&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;Having downloaded and installed, I re-checked my versions: -&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;i class=&quot;&quot;&gt;npm -v&lt;/i&gt;&lt;br class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;font face=&quot;Courier New&quot; class=&quot;&quot;&gt;3.10.10&lt;/font&gt;&lt;br class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;i class=&quot;&quot;&gt;node -v&lt;/i&gt;&lt;br class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;font face=&quot;Courier New&quot; class=&quot;&quot;&gt;v7.3.0&lt;/font&gt;&lt;br class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;Whilst I still struggled with the local version: -&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;i class=&quot;&quot;&gt;sudo npm install -g ~/Downloads/mfpdev-cli.tgz&lt;/i&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;font face=&quot;Courier New&quot; class=&quot;&quot;&gt;npm&amp;nbsp;ERR!&amp;nbsp;addLocal&amp;nbsp;Could not install /usr/local/lib/node_modules/mdo-adapter-actions&lt;br class=&quot;&quot;&gt;npm&amp;nbsp;ERR!&amp;nbsp;addLocal&amp;nbsp;Could not install /usr/local/lib/node_modules/mdo-android-support&lt;br class=&quot;&quot;&gt;npm&amp;nbsp;ERR!&amp;nbsp;addLocal&amp;nbsp;Could not install /usr/local/lib/node_modules/mdo-app-config&lt;br class=&quot;&quot;&gt;npm&amp;nbsp;ERR!&amp;nbsp;addLocal&amp;nbsp;Could not install /usr/local/lib/node_modules/mdo-app-preview&lt;br class=&quot;&quot;&gt;npm&amp;nbsp;ERR!&amp;nbsp;addLocal&amp;nbsp;Could not install /usr/local/lib/node_modules/mdo-app-pull&lt;br class=&quot;&quot;&gt;npm&amp;nbsp;ERR!&amp;nbsp;addLocal&amp;nbsp;Could not install /usr/local/lib/node_modules/mdo-app-push&lt;br class=&quot;&quot;&gt;npm&amp;nbsp;ERR!&amp;nbsp;addLocal&amp;nbsp;Could not install /usr/local/lib/node_modules/mdo-app-register&lt;br class=&quot;&quot;&gt;npm&amp;nbsp;ERR!&amp;nbsp;addLocal&amp;nbsp;Could not install /usr/local/lib/node_modules/mdo-app-webencrypt&lt;br class=&quot;&quot;&gt;npm&amp;nbsp;ERR!&amp;nbsp;addLocal&amp;nbsp;Could not install /usr/local/lib/node_modules/mdo-app-webupdate&lt;br class=&quot;&quot;&gt;npm&amp;nbsp;ERR!&amp;nbsp;addLocal&amp;nbsp;Could not install /usr/local/lib/node_modules/mdo-cmd-adapter&lt;br class=&quot;&quot;&gt;npm&amp;nbsp;ERR!&amp;nbsp;addLocal&amp;nbsp;Could not install /usr/local/lib/node_modules/mdo-cmd-app&lt;br class=&quot;&quot;&gt;npm&amp;nbsp;ERR!&amp;nbsp;addLocal&amp;nbsp;Could not install /usr/local/lib/node_modules/mdo-cmd-config&lt;br class=&quot;&quot;&gt;npm&amp;nbsp;ERR!&amp;nbsp;addLocal&amp;nbsp;Could not install /usr/local/lib/node_modules/mdo-cmd-info&lt;br class=&quot;&quot;&gt;npm&amp;nbsp;ERR!&amp;nbsp;addLocal&amp;nbsp;Could not install /usr/local/lib/node_modules/mdo-cmd-server&lt;br class=&quot;&quot;&gt;npm&amp;nbsp;ERR!&amp;nbsp;addLocal&amp;nbsp;Could not install /usr/local/lib/node_modules/mdo-cordova-support&lt;br class=&quot;&quot;&gt;npm&amp;nbsp;ERR!&amp;nbsp;addLocal&amp;nbsp;Could not install /usr/local/lib/node_modules/mdo-errors&lt;br class=&quot;&quot;&gt;npm&amp;nbsp;ERR!&amp;nbsp;addLocal&amp;nbsp;Could not install /usr/local/lib/node_modules/mdo-exec&lt;br class=&quot;&quot;&gt;npm&amp;nbsp;ERR!&amp;nbsp;addLocal&amp;nbsp;Could not install /usr/local/lib/node_modules/mdo-ios-support&lt;br class=&quot;&quot;&gt;npm&amp;nbsp;ERR!&amp;nbsp;addLocal&amp;nbsp;Could not install /usr/local/lib/node_modules/mdo-mbs&lt;br class=&quot;&quot;&gt;npm&amp;nbsp;ERR!&amp;nbsp;addLocal&amp;nbsp;Could not install /usr/local/lib/node_modules/mdo-server-support&lt;br class=&quot;&quot;&gt;npm&amp;nbsp;ERR!&amp;nbsp;addLocal&amp;nbsp;Could not install /usr/local/lib/node_modules/mdo-windows-support&lt;br class=&quot;&quot;&gt;npm&amp;nbsp;ERR!&amp;nbsp;addLocal&amp;nbsp;Could not install /usr/local/lib/node_modules/platform-manager&lt;br class=&quot;&quot;&gt;npm&amp;nbsp;ERR!&amp;nbsp;fetch failed&amp;nbsp;&lt;a href=&quot;https://registry.npmjs.org/mfp-config-xml/-/mfp-config-xml-0.0.3.tgz&quot; class=&quot;&quot;&gt;https://registry.npmjs.org/mfp-config-xml/-/mfp-config-xml-0.0.3.tgz&lt;/a&gt;&lt;br class=&quot;&quot;&gt;npm&amp;nbsp;WARN&amp;nbsp;retry&amp;nbsp;will retry, error on last attempt: Error: fetch failed with status code 404&lt;br class=&quot;&quot;&gt;npm&amp;nbsp;ERR!&amp;nbsp;fetch failed&amp;nbsp;&lt;a href=&quot;https://registry.npmjs.org/pluggington/-/pluggington-0.3.3.tgz&quot; class=&quot;&quot;&gt;https://registry.npmjs.org/pluggington/-/pluggington-0.3.3.tgz&lt;/a&gt;&lt;br class=&quot;&quot;&gt;npm&amp;nbsp;WARN&amp;nbsp;retry&amp;nbsp;will retry, error on last attempt: Error: fetch failed with status code 404&lt;br class=&quot;&quot;&gt;npm&amp;nbsp;ERR!&amp;nbsp;fetch failed&amp;nbsp;&lt;a href=&quot;https://registry.npmjs.org/ibm-strings/-/ibm-strings-0.1.4.tgz&quot; class=&quot;&quot;&gt;https://registry.npmjs.org/ibm-strings/-/ibm-strings-0.1.4.tgz&lt;/a&gt;&lt;br class=&quot;&quot;&gt;npm&amp;nbsp;WARN&amp;nbsp;retry&amp;nbsp;will retry, error on last attempt: Error: fetch failed with status code 404&lt;br class=&quot;&quot;&gt;npm&amp;nbsp;ERR!&amp;nbsp;fetch failed&amp;nbsp;&lt;a href=&quot;https://registry.npmjs.org/mfp-config-xml/-/mfp-config-xml-0.0.3.tgz&quot; class=&quot;&quot;&gt;https://registry.npmjs.org/mfp-config-xml/-/mfp-config-xml-0.0.3.tgz&lt;/a&gt;&lt;br class=&quot;&quot;&gt;npm&amp;nbsp;WARN&amp;nbsp;retry&amp;nbsp;will retry, error on last attempt: Error: fetch failed with status code 404&lt;br class=&quot;&quot;&gt;npm&amp;nbsp;ERR!&amp;nbsp;fetch failed&amp;nbsp;&lt;a href=&quot;https://registry.npmjs.org/pluggington/-/pluggington-0.3.3.tgz&quot; class=&quot;&quot;&gt;https://registry.npmjs.org/pluggington/-/pluggington-0.3.3.tgz&lt;/a&gt;&lt;br class=&quot;&quot;&gt;npm&amp;nbsp;WARN&amp;nbsp;retry&amp;nbsp;will retry, error on last attempt: Error: fetch failed with status code 404&lt;br class=&quot;&quot;&gt;npm&amp;nbsp;ERR!&amp;nbsp;fetch failed&amp;nbsp;&lt;a href=&quot;https://registry.npmjs.org/ibm-strings/-/ibm-strings-0.1.4.tgz&quot; class=&quot;&quot;&gt;https://registry.npmjs.org/ibm-strings/-/ibm-strings-0.1.4.tgz&lt;/a&gt;&lt;br class=&quot;&quot;&gt;npm&amp;nbsp;WARN&amp;nbsp;retry&amp;nbsp;will retry, error on last attempt: Error: fetch failed with status code 404&lt;br class=&quot;&quot;&gt;npm&amp;nbsp;ERR!&amp;nbsp;fetch failed&amp;nbsp;&lt;a href=&quot;https://registry.npmjs.org/mfp-config-xml/-/mfp-config-xml-0.0.3.tgz&quot; class=&quot;&quot;&gt;https://registry.npmjs.org/mfp-config-xml/-/mfp-config-xml-0.0.3.tgz&lt;/a&gt;&lt;br class=&quot;&quot;&gt;npm&amp;nbsp;ERR!&amp;nbsp;fetch failed&amp;nbsp;&lt;a href=&quot;https://registry.npmjs.org/pluggington/-/pluggington-0.3.3.tgz&quot; class=&quot;&quot;&gt;https://registry.npmjs.org/pluggington/-/pluggington-0.3.3.tgz&lt;/a&gt;&lt;br class=&quot;&quot;&gt;npm&amp;nbsp;ERR!&amp;nbsp;fetch failed&amp;nbsp;&lt;a href=&quot;https://registry.npmjs.org/ibm-strings/-/ibm-strings-0.1.4.tgz&quot; class=&quot;&quot;&gt;https://registry.npmjs.org/ibm-strings/-/ibm-strings-0.1.4.tgz&lt;/a&gt;&lt;br class=&quot;&quot;&gt;npm&amp;nbsp;ERR!&amp;nbsp;Darwin 17.3.0&lt;br class=&quot;&quot;&gt;npm&amp;nbsp;ERR!&amp;nbsp;argv&amp;nbsp;&quot;/usr/local/bin/node&quot; &quot;/usr/local/bin/npm&quot; &quot;install&quot; &quot;-g&quot;&amp;nbsp;&quot;/Users/davidhay/Downloads/mfpdev-cli.tgz&quot;&lt;br class=&quot;&quot;&gt;npm&amp;nbsp;ERR!&amp;nbsp;node&amp;nbsp;v7.3.0&lt;br class=&quot;&quot;&gt;npm&amp;nbsp;ERR!&amp;nbsp;npm&amp;nbsp;&amp;nbsp;v3.10.10&lt;br class=&quot;&quot;&gt;npm&amp;nbsp;ERR!&amp;nbsp;path&amp;nbsp;/usr/local/lib/node_modules/mdo-adapter-actions&lt;br class=&quot;&quot;&gt;npm&amp;nbsp;ERR!&amp;nbsp;code&amp;nbsp;ENOENT&lt;br class=&quot;&quot;&gt;npm&amp;nbsp;ERR!&amp;nbsp;errno&amp;nbsp;-2&lt;br class=&quot;&quot;&gt;npm&amp;nbsp;ERR!&amp;nbsp;syscall&amp;nbsp;open&lt;br class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;npm&amp;nbsp;ERR!&amp;nbsp;enoent&amp;nbsp;ENOENT: no such file or directory, open &#39;/usr/local/lib/node_modules/mdo-adapter-actions&#39;&lt;br class=&quot;&quot;&gt;npm&amp;nbsp;ERR!&amp;nbsp;enoent&amp;nbsp;ENOENT: no such file or directory, open &#39;/usr/local/lib/node_modules/mdo-adapter-actions&#39;&lt;br class=&quot;&quot;&gt;npm&amp;nbsp;ERR!&amp;nbsp;enoent&amp;nbsp;This is most likely not a problem with npm itself&lt;br class=&quot;&quot;&gt;npm&amp;nbsp;ERR!&amp;nbsp;enoent&amp;nbsp;and is related to npm not being able to find a file.&lt;br class=&quot;&quot;&gt;npm&amp;nbsp;ERR!&amp;nbsp;enoent&amp;nbsp;&lt;br class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;npm&amp;nbsp;ERR!&amp;nbsp;Please include the following file with any support request:&lt;br class=&quot;&quot;&gt;npm&amp;nbsp;ERR!&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;/usr/local/bin/npm-debug.log&lt;/font&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;I was able to install / use the online version: -&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;i class=&quot;&quot;&gt;sudo npm install -g mfpdev-cli&lt;/i&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;i class=&quot;&quot;&gt;which mfpdev&lt;/i&gt;&lt;br class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;font face=&quot;Courier New&quot; class=&quot;&quot;&gt;/usr/local/bin/mfpdev&lt;/font&gt;&lt;br class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;i class=&quot;&quot;&gt;mfpdev -v&lt;/i&gt;&lt;br class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;font face=&quot;Courier New&quot; class=&quot;&quot;&gt;8.0.0-2017102406&lt;/font&gt;&lt;br class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;Now to learn what to do with it ...&lt;/div&gt;</description><link>http://portal2portal.blogspot.com/2017/12/ibm-mobilefirst-8-commanding-cli.html</link><author>[email protected] (Dave Hay)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://4.bp.blogspot.com/-e6nPXZSluHM/WjKm7yGMhdI/AAAAAAAAC78/Eo1LeiTcw08fCefVkPMXPzQ870EJjEMMwCK4BGAYYCw/s72-c/PastedGraphic-1-774972.png" height="72" width="72"/><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-6740338341177826314.post-3427911870654929643</guid><pubDate>Tue, 12 Dec 2017 09:46:00 +0000</pubDate><atom:updated>2017-12-12T09:47:51.146+00:00</atom:updated><title>Oracle Database 11gR2 - Get the dependencies right ...</title><description>Having just installed Oracle 11.2 ( 11gR2 ) onto a Red Hat Enterprise Linux 7.4 VM, I was kinda getting fed up with the &lt;b class=&quot;&quot;&gt;sqlplus&lt;/b&gt;&amp;nbsp;command not working …..&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;i class=&quot;&quot;&gt;sqlplus&amp;nbsp;&lt;/i&gt;&lt;br class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;font face=&quot;Courier New&quot; class=&quot;&quot;&gt;sqlplus: error while loading shared libraries: libclntsh.so.11.1: cannot open shared object file: No such file or directory&lt;/font&gt;&lt;br class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;i class=&quot;&quot;&gt;ls -al `locate libclntsh.so`&lt;/i&gt;&lt;br class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;font face=&quot;Courier New&quot; class=&quot;&quot;&gt;-rwxrwx---. 1 oracle oracle 48797739 Dec 12 08:49 /home/oracle/app/oracle/product/11.2.0/dbhome_1/inventory/backup/2017-12-12_08-48-58AM/Scripts/ext/lib/libclntsh.so.11.1&lt;br class=&quot;&quot;&gt;-rwxrwx---. 1 oracle oracle 48797739 Dec 12 08:49&amp;nbsp;/home/oracle/app/oracle/product/11.2.0/dbhome_1/inventory/Scripts/ext/lib/libclntsh.so.11.1&lt;br class=&quot;&quot;&gt;-rwxr-xr-x. 1 oracle oracle &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;0 Dec 12 08:50 /home/oracle/app/oracle/product/11.2.0/dbhome_1/lib/libclntsh.so&lt;/font&gt;&lt;br class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;i class=&quot;&quot;&gt;echo $LD_LIBRARY_PATH&lt;/i&gt;&lt;br class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;font face=&quot;Courier New&quot; class=&quot;&quot;&gt;/home/oracle/app/oracle/product/11.2.0/dbhome_1/lib:&lt;/font&gt;&lt;br class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;i class=&quot;&quot;&gt;ls -al /home/oracle/app/oracle/product/11.2.0/dbhome_1/lib/libclntsh.so*&lt;/i&gt;&lt;br class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;font face=&quot;Courier New&quot; class=&quot;&quot;&gt;-rwxr-xr-x. 1 oracle oracle 0 Dec 12 08:50 /home/oracle/app/oracle/product/11.2.0/dbhome_1/lib/libclntsh.so&lt;/font&gt;&lt;br class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;and yet ….&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;As is ever the case, Google came to my rescue; more importantly, Cody Burleson: -&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;a href=&quot;http://www.dba-oracle.com/t_sqlplus_error_while_loading_shared_libraries.htm&quot; class=&quot;&quot;&gt;sqlplus:&amp;nbsp;error while loading shared&amp;nbsp;libraries tips&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;which told me about the &lt;b class=&quot;&quot;&gt;relink&lt;/b&gt;&amp;nbsp;command: -&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;i class=&quot;&quot;&gt;~/app/oracle/product/11.2.0/dbhome_1/bin/relink&lt;/i&gt;&lt;br class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;The log for this: -&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;font face=&quot;Courier New&quot; class=&quot;&quot;&gt;/home/oracle/app/oracle/product/11.2.0/dbhome_1/install/relink.log&lt;/font&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;showed me the error of my ways: -&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;…&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;font face=&quot;Courier New&quot; class=&quot;&quot;&gt;INFO: gcc -o tnslsnr -m64&lt;/font&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;…&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;font face=&quot;Courier New&quot; class=&quot;&quot;&gt;INFO: &lt;b class=&quot;&quot;&gt;/bin/sh: gcc: command not found&lt;/b&gt;&lt;br class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;INFO: make: *** [tnslsnr] Error 127&lt;/font&gt;&lt;br class=&quot;&quot;&gt;…&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;Ah, dependency time :-)&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;So I installed &lt;b class=&quot;&quot;&gt;gcc&lt;/b&gt;&amp;nbsp;using Yum, and reinstalled Oracle: -&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;i class=&quot;&quot;&gt;rm -Rf /home/oracle/app/&lt;br class=&quot;&quot;&gt;/mnt/database/runInstaller -silent -responseFile ~/db_install.rsp&amp;nbsp;&lt;/i&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;and now it works: -&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;i class=&quot;&quot;&gt;sqlplus&lt;/i&gt;&lt;br class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;font face=&quot;Courier New&quot; class=&quot;&quot;&gt;SQL*Plus: Release 11.2.0.1.0 Production on Tue Dec 12 09:46:19 2017&lt;br class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;Copyright (c) 1982, 2009, Oracle.&amp;nbsp;&amp;nbsp;All rights reserved.&lt;br class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;Enter user-name:&amp;nbsp;&lt;br class=&quot;&quot;&gt;&lt;/font&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;Next time (!), check the dependencies, doofus !&lt;/div&gt;</description><link>http://portal2portal.blogspot.com/2017/12/oracle-database-11gr2-get-dependencies.html</link><author>[email protected] (Dave Hay)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-6740338341177826314.post-8760594131892547335</guid><pubDate>Thu, 07 Dec 2017 14:13:00 +0000</pubDate><atom:updated>2017-12-07T14:14:09.808+00:00</atom:updated><title>DB2 on Windows - where does the db2nodes.cfg file live ?</title><description>I was briefly tinkering with the need to update the &lt;b class=&quot;&quot;&gt;db2nodes.cfg&lt;/b&gt;&amp;nbsp;file to help DB2 Express 11.1 cope with the hostname change of a Windows Server 2012 R2 boxen.&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;I&#39;d created a new VM, via OpenStack, using a snapshot from an existing VM - which I&#39;d NOT yet deleted.&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;Therefore, OpenStack, being the nice IaaS solution that it is, kindly helped me out by creating the new instance with a new hostname.&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;This borked DB2, as you&#39;d expect ….&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;I&#39;ve seen similar issues with DB2 on Linux: -&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;a href=&quot;https://portal2portal.blogspot.co.uk/2015/04/sql10003c-there-are-not-enough-system.html&quot; class=&quot;&quot;&gt;SQL10003C There are not enough system resources to process the&amp;nbsp;request. The request cannot be processed.&lt;br class=&quot;&quot;&gt;&lt;/a&gt;&lt;div class=&quot;&quot;&gt;and it&#39;s typically just a case of updating the &lt;b class=&quot;&quot;&gt;db2nodes.cfg&lt;/b&gt;&amp;nbsp;file, which lives under the DB2 instance&#39;s home directory: -&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;font face=&quot;Courier New&quot; class=&quot;&quot;&gt;/home/db2inst1/sqllib/db2nodes.cfg&lt;/font&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;On Windows …. yeah, good luck with that.&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;Of course, I found it ….&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;It&#39;s HERE&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;font face=&quot;Courier New&quot; class=&quot;&quot;&gt;C:\ProgramData\IBM\DB2\DB2COPY1\BPMINST\db2nodes.cfg&lt;/font&gt;&lt;br class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;Easy when you know how.&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;For the record, DB2 was installed, via IBM Installation Manager, as part of an IBM BPM 8.6 installation.&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;But that&#39;s not important right now ….&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;For more info about changing DB2 hostnames ( ideally you don&#39;t want to do this but … ), please go here: -&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;a href=&quot;https://www-01.ibm.com/support/docview.wss?uid=swg21258834&quot; class=&quot;&quot;&gt;Changing hostname of the DB2 server&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;which says, in part: -&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;…&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;font face=&quot;Courier New&quot; class=&quot;&quot;&gt;Locate db2nodes.cfg in one of the following directories:&lt;br class=&quot;&quot;&gt;&lt;/font&gt;&lt;div class=&quot;&quot;&gt;&lt;font face=&quot;Courier New&quot; class=&quot;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt; &lt;/span&gt;• UNIX/Linux:&lt;br class=&quot;&quot;&gt;&amp;lt;db2 instance home directory&amp;gt;/sqllib/db2nodes.cfg&lt;br class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/font&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;font face=&quot;Courier New&quot; class=&quot;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt; &lt;/span&gt;• All Windows flavors running DB2 v8 and v9.1:&amp;nbsp;&lt;br class=&quot;&quot;&gt;Program Files\IBM\SQLLIB\DB2\db2nodes.cfg&amp;nbsp;&lt;br class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/font&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;font face=&quot;Courier New&quot; class=&quot;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt; &lt;/span&gt;• Windows XP and 2003 running DB2 v9.5:&amp;nbsp;&lt;br class=&quot;&quot;&gt;Documents and Settings\All Users\Application Data\IBM\DB2\&amp;lt;DB2COPY&amp;gt;\DB2\db2nodes.cfg&lt;br class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;NOTE: Application Data is a hidden folder&lt;br class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/font&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;font face=&quot;Courier New&quot; class=&quot;&quot;&gt;&lt;b class=&quot;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt; &lt;/span&gt;• Windows Vista and later operating systems: ProgramData\IBM\DB2\&amp;lt;DB2COPY&amp;gt;\DB2\db2nodes.cfg&lt;/b&gt;&lt;/font&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;…&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;Ah, Windows Vista, how quaint !&lt;/div&gt;</description><link>http://portal2portal.blogspot.com/2017/12/db2-on-windows-where-does-db2nodescfg.html</link><author>[email protected] (Dave Hay)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-6740338341177826314.post-7855372410522419680</guid><pubDate>Thu, 07 Dec 2017 10:59:00 +0000</pubDate><atom:updated>2017-12-07T11:00:00.515+00:00</atom:updated><title>Windows Server 2012 - Ooops, I locked my account</title><description>&lt;div class=&quot;&quot;&gt;One of my colleagues had a bad day with a shared Windows Server 2012 R2 environment, in that he locked out the main account that we use to access the box, via Remote Desktop Protocol (RDP).&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;This is NOT an Active Directory environment, so there&#39;s no domain controller in the mix; these are merely local accounts.&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;Thankfully, I had another account that WASN&#39;T locked out, so I RDP&#39;d into the box using that account and used the Advanced User Accounts Control Panel ( aka netplwiz ), which did the trick: -&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;a href=&quot;http://2.bp.blogspot.com/-qGI_uGGC_Xs/WikfMZ-VHFI/AAAAAAAAC7c/1q_QZrbv-QMi4RMb0IfcJNJZNzUKd89OQCK4BGAYYCw/s1600/PastedGraphic-2-700563.png&quot;&gt;&lt;img src=&quot;http://2.bp.blogspot.com/-qGI_uGGC_Xs/WikfMZ-VHFI/AAAAAAAAC7c/1q_QZrbv-QMi4RMb0IfcJNJZNzUKd89OQCK4BGAYYCw/s320/PastedGraphic-2-700563.png&quot;  border=&quot;0&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_6496758235449859154&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;and: -&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;a href=&quot;http://1.bp.blogspot.com/-Pjv--YL6JxA/WikfM2TSzII/AAAAAAAAC7k/q20DDFnG8cYGRxS3QYhzO9vmx0TQw1A-ACK4BGAYYCw/s1600/PastedGraphic-1-702229.png&quot;&gt;&lt;img src=&quot;http://1.bp.blogspot.com/-Pjv--YL6JxA/WikfM2TSzII/AAAAAAAAC7k/q20DDFnG8cYGRxS3QYhzO9vmx0TQw1A-ACK4BGAYYCw/s320/PastedGraphic-1-702229.png&quot;  border=&quot;0&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_6496758243053980802&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;The &quot;Account is locked out&quot; checkbox WAS checked, it&#39;s checked no longer :-)&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;Thanks to the internet for the assist: -&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;a href=&quot;https://community.spiceworks.com/topic/729224-localsystem-user-account-locked-out&quot; class=&quot;&quot;&gt;LocalSystem user account locked out&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;</description><link>http://portal2portal.blogspot.com/2017/12/windows-server-2012-ooops-i-locked-my.html</link><author>[email protected] (Dave Hay)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://2.bp.blogspot.com/-qGI_uGGC_Xs/WikfMZ-VHFI/AAAAAAAAC7c/1q_QZrbv-QMi4RMb0IfcJNJZNzUKd89OQCK4BGAYYCw/s72-c/PastedGraphic-2-700563.png" height="72" width="72"/><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-6740338341177826314.post-4848358361365718359</guid><pubDate>Wed, 06 Dec 2017 18:25:00 +0000</pubDate><atom:updated>2017-12-06T18:25:36.613+00:00</atom:updated><title>Nagios and NRPE - There&#39;s more ...</title><description>Following on from my earlier post: -&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;a href=&quot;https://portal2portal.blogspot.co.uk/2017/12/nagios-remote-plugin-executor-nrpe-and.html&quot; class=&quot;&quot;&gt;Nagios Remote Plugin Executor (NRPE) and xinetd on Red Hat Enterprise Linux&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;things are starting to become more clear.&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;As far as I can establish, on the NRPE client/agent side, we have several components at work here.&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;So we have the NRPE agent itself, as started using &lt;b class=&quot;&quot;&gt;xinetd&lt;/b&gt;&amp;nbsp;: -&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;i class=&quot;&quot;&gt;/etc/xinetd.d/nrpe&lt;/i&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&amp;nbsp;&lt;br class=&quot;&quot;&gt;&lt;font face=&quot;Courier New&quot; class=&quot;&quot;&gt;# default: on&lt;br class=&quot;&quot;&gt;# description: NRPE (Nagios Remote Plugin Executor)&lt;br class=&quot;&quot;&gt;service nrpe&lt;br class=&quot;&quot;&gt;{&lt;br class=&quot;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt; &lt;/span&gt;flags&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;= REUSE&lt;br class=&quot;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;socket_type&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;= stream&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;br class=&quot;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt; &lt;/span&gt;port&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt; &lt;/span&gt;= 5666&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;br class=&quot;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt; &lt;/span&gt;wait&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;= no&lt;br class=&quot;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;user&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;= nagios&lt;br class=&quot;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt; &lt;/span&gt;group&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt; &lt;/span&gt;= nagios&lt;br class=&quot;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt; &lt;/span&gt;server&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;= /usr/local/nagios/bin/nrpe&lt;br class=&quot;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;server_args&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;= -c /usr/local/nagios/etc/nrpe.cfg --inetd&lt;br class=&quot;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt; &lt;/span&gt;log_on_failure&amp;nbsp;&amp;nbsp;+= USERID&lt;br class=&quot;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;disable&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;= no&lt;br class=&quot;&quot;&gt;#&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt; &lt;/span&gt;only_from&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;= 192.168.153.130&lt;br class=&quot;&quot;&gt;}&lt;/font&gt;&lt;br class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;and then we have the command(s) that we want to invoke from the Nagios server itself: -&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;i class=&quot;&quot;&gt;ls -1 /usr/local/nagios/libexec&lt;br class=&quot;&quot;&gt;&lt;/i&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;font face=&quot;Courier New&quot; class=&quot;&quot;&gt;check_disk&lt;br class=&quot;&quot;&gt;check_load&lt;br class=&quot;&quot;&gt;check_nrpe&lt;br class=&quot;&quot;&gt;check_procs&lt;br class=&quot;&quot;&gt;check_swap&lt;br class=&quot;&quot;&gt;check_users&lt;br class=&quot;&quot;&gt;diskfree.py&lt;br class=&quot;&quot;&gt;hello.pl&lt;/font&gt;&lt;br class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;and then we have the configuration file that acts as the lookup/aliasing agent: -&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;i class=&quot;&quot;&gt;cat&amp;nbsp;/usr/local/nagios/etc/nrpe.cfg&lt;/i&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;…&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;font face=&quot;Courier New&quot; class=&quot;&quot;&gt;command[&lt;b class=&quot;&quot;&gt;check_users&lt;/b&gt;]=/usr/local/nagios/libexec/check_users -w 5 -c 10&lt;br class=&quot;&quot;&gt;command[&lt;b class=&quot;&quot;&gt;check_load&lt;/b&gt;]=/usr/local/nagios/libexec/check_load -r -w .15,.10,.05 -c .30,.25,.20&lt;br class=&quot;&quot;&gt;command[&lt;b class=&quot;&quot;&gt;check_sda1&lt;/b&gt;]=/usr/local/nagios/libexec/check_disk -w 20% -c 10% -p /dev/sda1&lt;br class=&quot;&quot;&gt;command[&lt;b class=&quot;&quot;&gt;check_zombie_procs&lt;/b&gt;]=/usr/local/nagios/libexec/check_procs -w 5 -c 10 -s Z&lt;br class=&quot;&quot;&gt;command[&lt;b class=&quot;&quot;&gt;check_total_procs&lt;/b&gt;]=/usr/local/nagios/libexec/check_procs -w 150 -c 200&lt;br class=&quot;&quot;&gt;command[&lt;b class=&quot;&quot;&gt;sayHello&lt;/b&gt;]=/usr/local/nagios/libexec/hello.pl&lt;br class=&quot;&quot;&gt;command[&lt;b class=&quot;&quot;&gt;diskFree&lt;/b&gt;]=/usr/local/nagios/libexec/diskfree.py&lt;/font&gt;&lt;br class=&quot;&quot;&gt;…&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;This means that, from the Nagios server, I can invoke any of the above commands: -&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;i class=&quot;&quot;&gt;/usr/local/nagios/libexec/check_nrpe -H &lt;a href=&quot;http://mfp.uk.ibm.com&quot; class=&quot;&quot;&gt;mfp.uk.ibm.com&lt;/a&gt; -c check_users&lt;/i&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;font face=&quot;Courier New&quot; class=&quot;&quot;&gt;USERS OK - 2 users currently logged in |users=2;5;10;0&lt;/font&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;i class=&quot;&quot;&gt;/usr/local/nagios/libexec/check_nrpe -H &lt;a href=&quot;http://mfp.uk.ibm.com&quot; class=&quot;&quot;&gt;mfp.uk.ibm.com&lt;/a&gt; -c check_load&lt;/i&gt;&lt;br class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;font face=&quot;Courier New&quot; class=&quot;&quot;&gt;CRITICAL - load average: 0.39, 0.24,&amp;nbsp;0.17|load1=0.390;0.150;0.300;0; load5=0.240;0.100;0.250;0;&amp;nbsp;load15=0.170;0.050;0.200;0;&amp;nbsp;&lt;/font&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;i class=&quot;&quot;&gt;/usr/local/nagios/libexec/check_nrpe -H &lt;a href=&quot;http://mfp.uk.ibm.com&quot; class=&quot;&quot;&gt;mfp.uk.ibm.com&lt;/a&gt; -c check_sda1&lt;/i&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;font face=&quot;Courier New&quot; class=&quot;&quot;&gt;DISK OK - free space: /boot 274 MB (55.29% inode=100%);|&amp;nbsp;/boot=222MB;396;446;0;496&lt;/font&gt;&lt;br class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;i class=&quot;&quot;&gt;/usr/local/nagios/libexec/check_nrpe -H &lt;a href=&quot;http://mfp.uk.ibm.com&quot; class=&quot;&quot;&gt;mfp.uk.ibm.com&lt;/a&gt; -c check_zombie_procs&lt;/i&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;font face=&quot;Courier New&quot; class=&quot;&quot;&gt;PROCS OK: 0 processes with STATE = Z | procs=0;5;10;0;&lt;/font&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;i class=&quot;&quot;&gt;/usr/local/nagios/libexec/check_nrpe -H &lt;a href=&quot;http://mfp.uk.ibm.com&quot; class=&quot;&quot;&gt;mfp.uk.ibm.com&lt;/a&gt; -c check_total_procs&lt;/i&gt;&lt;br class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;font face=&quot;Courier New&quot; class=&quot;&quot;&gt;PROCS WARNING: 185 processes | procs=185;150;200;0;&lt;/font&gt;&lt;br class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;i class=&quot;&quot;&gt;/usr/local/nagios/libexec/check_nrpe -H &lt;a href=&quot;http://mfp.uk.ibm.com&quot; class=&quot;&quot;&gt;mfp.uk.ibm.com&lt;/a&gt; -c sayHello&lt;/i&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;font face=&quot;Courier New&quot; class=&quot;&quot;&gt;Hello, World!&lt;/font&gt;&lt;br class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;i class=&quot;&quot;&gt;/usr/local/nagios/libexec/check_nrpe -H &lt;a href=&quot;http://mfp.uk.ibm.com&quot; class=&quot;&quot;&gt;mfp.uk.ibm.com&lt;/a&gt; -c diskFree&lt;/i&gt;&lt;br class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;font face=&quot;Courier New&quot; class=&quot;&quot;&gt;FREE SPACE OK: &#39;/&#39; is 26.00% full&lt;/font&gt;&lt;br class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;From a Nagios console perspective, I can define all/any of these&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;i class=&quot;&quot;&gt;sudo vi /usr/local/nagios/etc/servers/mfp.cfg&amp;nbsp;&lt;/i&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;…&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;font face=&quot;Courier New&quot; class=&quot;&quot;&gt;define command {&lt;br class=&quot;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;command_name&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;check_nrpe_with_args&lt;br class=&quot;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;command_line&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;$USER1$/check_nrpe -H&amp;nbsp;$HOSTADDRESS$ -c $ARG1$&lt;br class=&quot;&quot;&gt;}&lt;/font&gt;&lt;br class=&quot;&quot;&gt;…&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;font face=&quot;Courier New&quot; class=&quot;&quot;&gt;define service {&lt;br class=&quot;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;use&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;generic-service&lt;br class=&quot;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;host_name&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;a href=&quot;http://mfp.uk.ibm.com&quot; class=&quot;&quot;&gt;mfp.uk.ibm.com&lt;/a&gt;&lt;br class=&quot;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;service_description&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;Check_Load&lt;br class=&quot;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;check_command&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;check_nrpe_with_args!check_load&lt;br class=&quot;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;notifications_enabled&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;1&lt;br class=&quot;&quot;&gt;}&lt;br class=&quot;&quot;&gt;define service {&lt;br class=&quot;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;use&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;generic-service&lt;br class=&quot;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;host_name&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;mfp.uk.ibm.com&lt;br class=&quot;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;service_description&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;Hello_World&lt;br class=&quot;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;check_command&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;check_nrpe!sayHello&lt;br class=&quot;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;notifications_enabled&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;0&lt;br class=&quot;&quot;&gt;}&lt;br class=&quot;&quot;&gt;define service {&lt;br class=&quot;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;use&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;generic-service&lt;br class=&quot;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;host_name&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;mfp.uk.ibm.com&lt;br class=&quot;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;service_description&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;Disk_Free&lt;br class=&quot;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;check_command&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;check_nrpe!diskFree&lt;br class=&quot;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;notifications_enabled&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;0&lt;br class=&quot;&quot;&gt;}&lt;/font&gt;&lt;br class=&quot;&quot;&gt;…&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;i class=&quot;&quot;&gt;sudo systemctl restart nagios.service&lt;/i&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;and then check the Nagios dashboard: -&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;a href=&quot;http://3.bp.blogspot.com/-xAEWsMVkDmI/Wig2IVRHSfI/AAAAAAAAC7I/qDab9xlIYO0F_oQL88BeB1GT_1GWQ2HEwCK4BGAYYCw/s1600/PastedGraphic-1-736615.png&quot;&gt;&lt;img src=&quot;http://3.bp.blogspot.com/-xAEWsMVkDmI/Wig2IVRHSfI/AAAAAAAAC7I/qDab9xlIYO0F_oQL88BeB1GT_1GWQ2HEwCK4BGAYYCw/s320/PastedGraphic-1-736615.png&quot;  border=&quot;0&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_6496501979257719282&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;Finally, purely for the record, whilst the shipped plugins are mainly C/C++ binaries e.g.&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;i class=&quot;&quot;&gt;file /usr/lib64/nagios/plugins/check_disk&amp;nbsp;&lt;/i&gt;&lt;br class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;font face=&quot;Courier New&quot; class=&quot;&quot;&gt;/usr/lib64/nagios/plugins/check_disk: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV),&amp;nbsp;dynamically linked (uses shared libs), for GNU/Linux 2.6.32,&amp;nbsp;BuildID[sha1]=0f75d7633e74455320d40f0b75071f8eabe148de, stripped&lt;br class=&quot;&quot;&gt;&lt;/font&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;but I also have a Perl script: -&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;i class=&quot;&quot;&gt;file hello.pl&amp;nbsp;&lt;/i&gt;&lt;br class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;font face=&quot;Courier New&quot; class=&quot;&quot;&gt;hello.pl: Perl script, ASCII text executable&lt;/font&gt;&lt;br class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;and a Python script: -&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;i class=&quot;&quot;&gt;file diskfree.py&amp;nbsp;&lt;/i&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;font face=&quot;Courier New&quot; class=&quot;&quot;&gt;diskfree.py: Python script, ASCII text executable&lt;/font&gt;&lt;br class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;( kudos to&amp;nbsp;&lt;a href=&quot;http://www.linux-mag.com/id/7706/&quot; class=&quot;&quot;&gt;Linux Magazine&lt;/a&gt;&amp;nbsp;for this latter script )&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;</description><link>http://portal2portal.blogspot.com/2017/12/nagios-and-nrpe-theres-more.html</link><author>[email protected] (Dave Hay)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://3.bp.blogspot.com/-xAEWsMVkDmI/Wig2IVRHSfI/AAAAAAAAC7I/qDab9xlIYO0F_oQL88BeB1GT_1GWQ2HEwCK4BGAYYCw/s72-c/PastedGraphic-1-736615.png" height="72" width="72"/><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-6740338341177826314.post-7868466650601559850</guid><pubDate>Wed, 06 Dec 2017 14:15:00 +0000</pubDate><atom:updated>2017-12-06T14:15:45.765+00:00</atom:updated><title>Nagios Remote Plugin Executor (NRPE) and xinetd on Red Hat Enterprise Linux</title><description>As per a few previous posts, I&#39;m tinkering ( there&#39;s that word again, I must think of another simile ) with Nagios.&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;This time I&#39;m looking to have my Nagios monitoring server ( which runs on Ubuntu ) execute an agent on a remote boxen running Red Hat Enterprise Linux (RHEL).&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;Having installed the pre-requisites ( and I do need to document those steps more clearly ), I setup a NRPE script to be started using &lt;b class=&quot;&quot;&gt;xinetd&lt;/b&gt;&amp;nbsp;(&amp;nbsp;&lt;i class=&quot;&quot;&gt;A Powerful Replacement For Inetd&lt;/i&gt; )&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;i class=&quot;&quot;&gt;cat /etc/xinetd.d/nrpe&amp;nbsp;&lt;/i&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;font face=&quot;Courier New&quot; class=&quot;&quot;&gt;# default: on&lt;br class=&quot;&quot;&gt;# description: NRPE (Nagios Remote Plugin Executor)&lt;br class=&quot;&quot;&gt;service nrpe&lt;br class=&quot;&quot;&gt;{&lt;br class=&quot;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;flags&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;= REUSE&lt;br class=&quot;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;socket_type&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;= stream&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;br class=&quot;&quot;&gt;&lt;b class=&quot;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;port&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;= 5666&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/b&gt;&lt;br class=&quot;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;wait&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;= no&lt;br class=&quot;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;user&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;= nagios&lt;br class=&quot;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;group&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;= nagios&lt;br class=&quot;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;server&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;= /usr/local/nagios/bin/nrpe&lt;br class=&quot;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;server_args&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;= -c /usr/local/nagios/etc/nrpe.cfg --inetd&lt;br class=&quot;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;log_on_failure&amp;nbsp;&amp;nbsp;+= USERID&lt;br class=&quot;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;disable&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;= no&lt;br class=&quot;&quot;&gt;#&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;only_from&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;= 192.168.153.130&lt;br class=&quot;&quot;&gt;}&lt;/font&gt;&lt;br class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;Having started the service: -&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;i class=&quot;&quot;&gt;systemctl restart xinetd.service&lt;/i&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;I was expecting to see NRPE listening on port 5666: -&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;i class=&quot;&quot;&gt;netstat -aon | grep LISTEN | grep 5666&lt;/i&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;but saw nothing alas.&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;I checked the logs: -&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;i class=&quot;&quot;&gt;tail -f /var/log/messages&lt;/i&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;font face=&quot;Courier New&quot; class=&quot;&quot;&gt;Dec&amp;nbsp;&amp;nbsp;6 14:00:01 mfp systemd: Starting Session 222 of user root.&lt;br class=&quot;&quot;&gt;Dec&amp;nbsp;&amp;nbsp;6 14:00:14 mfp xinetd[5771]: unexpected signal: 18 (Continued) in signal pipe&lt;br class=&quot;&quot;&gt;Dec&amp;nbsp;&amp;nbsp;6 14:00:14 mfp systemd: Stopping Xinetd A Powerful Replacement For Inetd...&lt;br class=&quot;&quot;&gt;Dec&amp;nbsp;&amp;nbsp;6 14:00:14 mfp xinetd[5771]: Exiting...&lt;br class=&quot;&quot;&gt;Dec&amp;nbsp;&amp;nbsp;6 14:00:14 mfp systemd: Starting Xinetd A Powerful Replacement For Inetd...&lt;br class=&quot;&quot;&gt;Dec&amp;nbsp;&amp;nbsp;6 14:00:14 mfp systemd: PID file /var/run/xinetd.pid not readable (yet?) after start.&lt;br class=&quot;&quot;&gt;&lt;b class=&quot;&quot;&gt;Dec&amp;nbsp;&amp;nbsp;6 14:00:14 mfp xinetd[6205]: service/protocol combination not in /etc/services: nrpe/tcp&lt;/b&gt;&lt;br class=&quot;&quot;&gt;Dec&amp;nbsp;&amp;nbsp;6 14:00:14 mfp xinetd[6205]: xinetd Version 2.3.15 started with libwrap loadavg labeled-networking options compiled in.&lt;br class=&quot;&quot;&gt;Dec&amp;nbsp;&amp;nbsp;6 14:00:14 mfp xinetd[6205]: Started working: 0 available services&lt;br class=&quot;&quot;&gt;Dec&amp;nbsp;&amp;nbsp;6 14:00:14 mfp systemd: Started Xinetd A Powerful Replacement For Inetd.&lt;br class=&quot;&quot;&gt;&lt;/font&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;which makes sense.&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;Following this: -&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;a href=&quot;https://www.question-defense.com/2008/10/09/xinetd-11497-service-protocol-combination-not-in-etc-services-nrpe-tcp&quot; class=&quot;&quot;&gt;xinetd[11497]: service/protocol combination not in&amp;nbsp;/etc/services: nrpe/tcp&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;I updated the services table: -&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;i class=&quot;&quot;&gt;vi /etc/services&lt;/i&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;and changed it from: -&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;...&lt;br class=&quot;&quot;&gt;&lt;font face=&quot;Courier New&quot; class=&quot;&quot;&gt;cfengine&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;5308/tcp&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;# CFengine&lt;br class=&quot;&quot;&gt;cfengine&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;5308/udp&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;# CFengine&lt;br class=&quot;&quot;&gt;&lt;/font&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;;&quot; class=&quot;&quot;&gt;cvsup&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;;&quot; class=&quot;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;;&quot; class=&quot;&quot;&gt;5999/tcp&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;;&quot; class=&quot;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;;&quot; class=&quot;&quot;&gt;CVSup&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;;&quot; class=&quot;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;;&quot; class=&quot;&quot;&gt;# CVSup file transfer/John Polstra/FreeBSD&lt;/span&gt;&lt;font face=&quot;Courier New&quot; class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;cvsup&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;5999/udp&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;CVSup&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;# CVSup file transfer/John Polstra/FreeBSD&lt;/font&gt;&lt;br class=&quot;&quot;&gt;...&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;to: -&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;...&lt;br class=&quot;&quot;&gt;&lt;font face=&quot;Courier New&quot; class=&quot;&quot;&gt;cfengine&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;5308/tcp&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;# CFengine&lt;br class=&quot;&quot;&gt;cfengine&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;5308/udp&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;# CFengine&lt;br class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;b class=&quot;&quot;&gt;nrpe&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;5666/tcp&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;# NRPE&lt;/b&gt;&lt;br class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;cvsup&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;5999/tcp&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;CVSup&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;# CVSup file transfer/John Polstra/FreeBSD&lt;br class=&quot;&quot;&gt;cvsup&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;5999/udp&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;CVSup&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;# CVSup file transfer/John Polstra/FreeBSD&lt;/font&gt;&lt;br class=&quot;&quot;&gt;...&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;Once I again restarted &lt;b class=&quot;&quot;&gt;xinetd&lt;/b&gt;&amp;nbsp;: -&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;i class=&quot;&quot;&gt;systemctl restart xinetd.service&lt;/i&gt;&lt;br class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;the &lt;b class=&quot;&quot;&gt;nrpe&lt;/b&gt;&amp;nbsp;service started listening on port 5666: -&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;i class=&quot;&quot;&gt;netstat -aon | grep LISTEN | grep 5666&lt;/i&gt;&lt;br class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;font face=&quot;Courier New&quot; class=&quot;&quot;&gt;tcp6&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;0&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;0 :::5666&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;:::*&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;LISTEN&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;off (0.00/0/0)&lt;/font&gt;&lt;br class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;with no issues in the logs: -&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;i class=&quot;&quot;&gt;tail -f /var/log/messages&lt;/i&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;font face=&quot;Courier New&quot; class=&quot;&quot;&gt;Dec&amp;nbsp;&amp;nbsp;6 14:09:54 mfp systemd: Starting Xinetd A Powerful Replacement For Inetd...&lt;br class=&quot;&quot;&gt;Dec&amp;nbsp;&amp;nbsp;6 14:09:54 mfp systemd: PID file /var/run/xinetd.pid not readable (yet?) after start.&lt;br class=&quot;&quot;&gt;Dec&amp;nbsp;&amp;nbsp;6 14:09:54 mfp xinetd[6803]: xinetd Version 2.3.15 started with libwrap loadavg labeled-networking options compiled in.&lt;br class=&quot;&quot;&gt;Dec&amp;nbsp;&amp;nbsp;6 14:09:54 mfp xinetd[6803]: Started working: 1 available service&lt;br class=&quot;&quot;&gt;Dec&amp;nbsp;&amp;nbsp;6 14:09:54 mfp systemd: Started Xinetd A Powerful Replacement For Inetd.&lt;/font&gt;&lt;br class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;Thanks, Google, you again served me well ...&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;</description><link>http://portal2portal.blogspot.com/2017/12/nagios-remote-plugin-executor-nrpe-and.html</link><author>[email protected] (Dave Hay)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-6740338341177826314.post-1771433658816400522</guid><pubDate>Wed, 06 Dec 2017 13:39:00 +0000</pubDate><atom:updated>2017-12-06T13:40:07.733+00:00</atom:updated><title>WebSphere Liberty Profile - Monitoring via JMX over REST using Jython</title><description>For this, I&#39;m using two excellent IBM developerWorks articles as inspiration: -&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;a href=&quot;https://www.ibm.com/developerworks/websphere/library/techarticles/1602_guillemenot1-trs/1602_guillemenot1.html?ca=drs-&quot; class=&quot;&quot;&gt;Retrieve performance metrics from the WebSphere Liberty profile,&amp;nbsp;Part 1 -&amp;nbsp;Setup and configuration&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;a href=&quot;https://www.ibm.com/developerworks/websphere/library/techarticles/1602_guillemenot2-trs/1602_guillemenot2.html?ca=drs-&quot; class=&quot;&quot;&gt;Retrieve performance metrics from the WebSphere Liberty profile,&amp;nbsp;Part 2 -&amp;nbsp;Data collection by using Jython&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;Without reposting the entire pair of articles ( which would be a daft idea ), here&#39;s a short-cut of what I ended up doing.&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;For the record, I am using Liberty 17.0.0.3: -&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;i class=&quot;&quot;&gt;/opt/ibm/WebSphere/Liberty/bin/server version&lt;/i&gt;&lt;br class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;font face=&quot;Courier New&quot; class=&quot;&quot;&gt;WebSphere Application Server 17.0.0.3 (1.0.18.cl170320170927-1854) on IBM J9 VM, version&amp;nbsp;pxa6480sr3fp12-20160919_01 (SR3 FP12) (en_GB)&lt;/font&gt;&lt;br class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;Java 8: -&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;i class=&quot;&quot;&gt;java -fullversion&lt;/i&gt;&lt;br class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;font face=&quot;Courier New&quot; class=&quot;&quot;&gt;java full version JRE 1.8.0 IBM Linux build pxa6480sr3fp12-20160919_01(SR3 FP12)&lt;/font&gt;&lt;br class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;and Jython 2.7.0: -&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;a href=&quot;http://www.jython.org/downloads.html&quot; class=&quot;&quot;&gt;http://www.jython.org/downloads.html&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;So I started by setting up the Jython runtime environment ( this is on the same Red Hat Enterprise Linux box that&#39;s hosting Liberty etc. ): -&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;u class=&quot;&quot;&gt;Create the directory structure&lt;/u&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;i class=&quot;&quot;&gt;mkdir /opt/ibm/WebSphere/Liberty/jython&lt;br class=&quot;&quot;&gt;cd /opt/ibm/WebSphere/Liberty/jython&lt;/i&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;i class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/i&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;u class=&quot;&quot;&gt;Pull Jython 2.7.0&lt;/u&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;i class=&quot;&quot;&gt;wget &lt;a href=&quot;http://search.maven.org/remotecontent?filepath=org/python/jython-standalone/2.7.0/jython-standalone-2.7.0.jar&quot; class=&quot;&quot;&gt;http://search.maven.org/remotecontent?filepath=org/python/jython-standalone/2.7.0/jython-standalone-2.7.0.jar&lt;/a&gt;&lt;/i&gt;&lt;br class=&quot;&quot;&gt;&lt;i class=&quot;&quot;&gt;mv remotecontent\?filepath\=org%2Fpython%2Fjython-standalone%2F2.7.0%2Fjython-standalone-2.7.0.jar jython-standalone-2.7.0.jar&lt;/i&gt;&lt;br class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;u class=&quot;&quot;&gt;Copy the requisite REST Connector classes - both Jython&amp;nbsp;and Java&lt;/u&gt;&lt;br class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;i class=&quot;&quot;&gt;cp /opt/ibm/WebSphere/Liberty/clients/jython/restConnector.py .&lt;/i&gt;&lt;br class=&quot;&quot;&gt;&lt;i class=&quot;&quot;&gt;cp /opt/ibm/WebSphere/Liberty/clients/restConnector.jar .&lt;/i&gt;&lt;br class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;and then started the Jython environment: -&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;i class=&quot;&quot;&gt;java -cp jython-standalone-2.7.0.jar:restConnector.jar org.python.util.jython&lt;/i&gt;&lt;br class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;From there, I established connectivity to my Liberty runtime: -&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;i class=&quot;&quot;&gt;from restConnector import JMXRESTConnector&lt;/i&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;i class=&quot;&quot;&gt;JMXRESTConnector.trustStore = &#39;/opt/ibm/WebSphere/Liberty/usr/servers/defaultServer/resources/security/key.jks&#39;&lt;br class=&quot;&quot;&gt;JMXRESTConnector.trustStorePassword = &#39;passw0rd&#39;&lt;br class=&quot;&quot;&gt;connector = JMXRESTConnector()&lt;br class=&quot;&quot;&gt;connection = connector.connect( &#39;&lt;a href=&quot;http://mfp.uk.ibm.com&quot; class=&quot;&quot;&gt;mfp.uk.ibm.com&lt;/a&gt;&#39;, 9443, &#39;appcenteradmin&#39;, &#39;admin&#39;)&lt;br class=&quot;&quot;&gt;mconnection=connector.getMBeanServerConnection()&lt;/i&gt;&lt;br class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;Note that, contrary to the article, this code did not work: -&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;i class=&quot;&quot;&gt;mconnection = connection.getMBeanServerConnection()&lt;/i&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;It instead returned: -&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;font face=&quot;Courier New&quot; class=&quot;&quot;&gt;Traceback (most recent call last):&lt;br class=&quot;&quot;&gt;&amp;nbsp;&amp;nbsp;File &quot;&amp;lt;stdin&amp;gt;&quot;, line 1, in &amp;lt;module&amp;gt;&lt;br class=&quot;&quot;&gt;AttributeError: &#39;NoneType&#39; object has no attribute &#39;getMBeanServerConnection&#39;&lt;/font&gt;&lt;br class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;However, this code DID work: -&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;i class=&quot;&quot;&gt;mconnection=connector.getMBeanServerConnection()&lt;/i&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;and I was able to validate connectivity etc. : -&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;i class=&quot;&quot;&gt;mconnection&lt;/i&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;font face=&quot;Courier New&quot; class=&quot;&quot;&gt;com.ibm.[email protected]fcbd91c2&lt;/font&gt;&lt;br class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;i class=&quot;&quot;&gt;dir(mconnection)&lt;/i&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;font face=&quot;Courier New&quot; class=&quot;&quot;&gt;[&#39;MBeanCount&#39;, &#39;PollingMode&#39;, &#39;ServerPollingThread&#39;, &#39;__class__&#39;, &#39;__copy__&#39;, &#39;__deepcopy__&#39;,&amp;nbsp;&#39;__delattr__&#39;, &#39;__doc__&#39;, &#39;__ensure_finalizer__&#39;, &#39;__eq__&#39;, &#39;__format__&#39;, &#39;__getattribute__&#39;,&amp;nbsp;&#39;__hash__&#39;, &#39;__init__&#39;, &#39;__ne__&#39;, &#39;__new__&#39;, &#39;__reduce__&#39;, &#39;__reduce_ex__&#39;, &#39;__repr__&#39;,&amp;nbsp;&#39;__setattr__&#39;, &#39;__str__&#39;, &#39;__subclasshook__&#39;, &#39;__unicode__&#39;, &#39;addNotificationListener&#39;, &#39;class&#39;,&amp;nbsp;&#39;createMBean&#39;, &#39;defaultDomain&#39;, &#39;domains&#39;, &#39;equals&#39;, &#39;getAttribute&#39;, &#39;getAttributes&#39;, &#39;getClass&#39;,&amp;nbsp;&#39;getDefaultDomain&#39;, &#39;getDomains&#39;, &#39;getMBeanCount&#39;, &#39;getMBeanInfo&#39;, &#39;getObjectInstance&#39;, &#39;hashCode&#39;,&amp;nbsp;&#39;invoke&#39;, &#39;isInstanceOf&#39;, &#39;isRegistered&#39;, &#39;notify&#39;, &#39;notifyAll&#39;, &#39;queryMBeans&#39;, &#39;queryNames&#39;,&amp;nbsp;&#39;removeNotificationListener&#39;, &#39;setAttribute&#39;, &#39;setAttributes&#39;, &#39;toString&#39;, &#39;unregisterMBean&#39;,&amp;nbsp;&#39;wait&#39;]&lt;/font&gt;&lt;br class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;i class=&quot;&quot;&gt;mconnection.getClass()&lt;/i&gt;&lt;br class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;font face=&quot;Courier New&quot; class=&quot;&quot;&gt;&amp;lt;type &#39;com.ibm.ws.jmx.connector.client.rest.internal.RESTMBeanServerConnection&#39;&amp;gt;&lt;/font&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;The article then takes one through creating a pair of Python scripts: -&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;i class=&quot;&quot;&gt;wlp_collect_conf.py&lt;/i&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;i class=&quot;&quot;&gt;wlp_collect.py&lt;/i&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;to create an importable library of functions, including: -&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;i class=&quot;&quot;&gt;connection = connect()&lt;/i&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;font face=&quot;Courier New&quot; class=&quot;&quot;&gt;9443&lt;br class=&quot;&quot;&gt;/opt/ibm/WebSphere/Liberty/usr/servers/defaultServer/resources/security/key.jks&lt;br class=&quot;&quot;&gt;Connecting to the server...&lt;br class=&quot;&quot;&gt;Successfully connected to the server &quot;&lt;a href=&quot;http://mfp.uk.ibm.com:9443&quot; class=&quot;&quot;&gt;mfp.uk.ibm.com:9443&lt;/a&gt;&quot;&lt;/font&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;and: -&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;i class=&quot;&quot;&gt;collect( connection, True,&amp;nbsp;&amp;nbsp;&quot;WebSphere:type=JvmStats,*&quot;)&lt;/i&gt;&lt;br class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;font face=&quot;Courier New&quot; class=&quot;&quot;&gt;&amp;nbsp;MBean details for WebSphere:type=JvmStats&lt;br class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&amp;nbsp; &amp;nbsp;7 attributes&lt;br class=&quot;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;UsedMemory [long] = 83109880&lt;br class=&quot;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;FreeMemory [long] = 41080840&lt;br class=&quot;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;Heap [long] = 124321792&lt;br class=&quot;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;UpTime [long] = 22864299&lt;br class=&quot;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;ProcessCPU [double] = 2.04226135228&lt;br class=&quot;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;GcCount [long] = 1187&lt;br class=&quot;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;GcTime [long] = 2457&lt;br class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&amp;nbsp; &amp;nbsp;0 operations&lt;br class=&quot;&quot;&gt;array(java.lang.Object, [WebSphere:type=JvmStats])&lt;br class=&quot;&quot;&gt;&lt;/font&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;So, in principle, I could use these via Nagios ……&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;That&#39;s the next step ….&lt;/div&gt;</description><link>http://portal2portal.blogspot.com/2017/12/websphere-liberty-profile-monitoring.html</link><author>[email protected] (Dave Hay)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-6740338341177826314.post-7944669138374741230</guid><pubDate>Wed, 06 Dec 2017 10:51:00 +0000</pubDate><atom:updated>2017-12-06T10:52:10.554+00:00</atom:updated><title>WebSphere Liberty Profile - Snooping About</title><description>I&#39;ve written about the SuperSnoop Servlet before: -&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;a href=&quot;https://portal2portal.blogspot.co.uk/2017/02/websphere-application-server-binary.html&quot; class=&quot;&quot;&gt;WebSphere Application Server - Binary Scanner&lt;/a&gt;&lt;br class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;a href=&quot;https://portal2portal.blogspot.co.uk/2017/01/websphere-liberty-profile-on-macos.html&quot; class=&quot;&quot;&gt;WebSphere Liberty Profile on macOS - SuperSnooping&lt;/a&gt;&lt;br class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;a href=&quot;https://portal2portal.blogspot.co.uk/2016/10/websphere-application-server-9-snooping.html&quot; class=&quot;&quot;&gt;WebSphere Application Server 9 - Snooping About&lt;/a&gt;&lt;br class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;a href=&quot;https://portal2portal.blogspot.co.uk/2014/01/websphere-application-server-liberty.html&quot; class=&quot;&quot;&gt;WebSphere Application Server - Liberty Profile - Oh, what fun&lt;/a&gt;&lt;br class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;and it&#39;s one tool that I use, and reuse, whenever I&#39;m testing a build of WebSphere Application Server etc.&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;However, it niggled me that, whilst it DOES run on WebSphere Liberty Profile, it doesn&#39;t actually work.&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;Having deployed it: -&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;i class=&quot;&quot;&gt;cp SuperSnoopWeb.war /opt/ibm/WebSphere/Liberty/usr/servers/defaultServer/dropins/&lt;/i&gt;&lt;br class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;( I *SO* love the Dropin support on WLP )&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;and watched the logs: -&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;font face=&quot;Courier New&quot; class=&quot;&quot;&gt;[AUDIT&amp;nbsp;&amp;nbsp;&amp;nbsp;] CWWKT0016I: Web application available (default_host):&amp;nbsp;&lt;a href=&quot;http://mfp.uk.ibm.com:9080/SuperSnoopWeb/&quot; class=&quot;&quot;&gt;http://mfp.uk.ibm.com:9080/SuperSnoopWeb/&lt;/a&gt;&lt;br class=&quot;&quot;&gt;[AUDIT&amp;nbsp;&amp;nbsp;&amp;nbsp;] CWWKZ0001I: Application SuperSnoopWeb started in 0.085 seconds.&lt;/font&gt;&lt;br class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;I see this: -&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;a href=&quot;http://3.bp.blogspot.com/-QIaZmMVMfGE/WifL283inQI/AAAAAAAAC6A/Gh9QTN5aNuMbPbi1QpgUYR0hE2nC9rjzwCK4BGAYYCw/s1600/PastedGraphic-2-730556.png&quot;&gt;&lt;img src=&quot;http://3.bp.blogspot.com/-QIaZmMVMfGE/WifL283inQI/AAAAAAAAC6A/Gh9QTN5aNuMbPbi1QpgUYR0hE2nC9rjzwCK4BGAYYCw/s320/PastedGraphic-2-730556.png&quot;  border=&quot;0&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_6496385132417686786&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;when I hit it, and this in the logs: -&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;font face=&quot;Courier New&quot; class=&quot;&quot;&gt;SuperSnoop running&lt;br class=&quot;&quot;&gt;[ERROR&amp;nbsp;&amp;nbsp;&amp;nbsp;] SRVE0777E: Exception thrown by application class &#39;SuperSnoop.getAppServerName:46&#39;&lt;br class=&quot;&quot;&gt;java.lang.NoClassDefFoundError: com/ibm/websphere/management/AdminServiceFactory&lt;br class=&quot;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;at SuperSnoop.getAppServerName(SuperSnoop.java:46)&lt;br class=&quot;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;at SuperSnoop.doGet(SuperSnoop.java:160)&lt;br class=&quot;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;at javax.servlet.http.HttpServlet.service(HttpServlet.java:687)&lt;br class=&quot;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)&lt;br class=&quot;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1255)&lt;br class=&quot;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;at [internal classes]&lt;/font&gt;&lt;br class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;This developerWorks Answer thread covered the specific issue - that of the AdminServiceFactory class not being available to me: -&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;a href=&quot;https://developer.ibm.com/answers/questions/13290/classnotfound-adminservice-in-liberty-profile/&quot; class=&quot;&quot;&gt;ClassNotFound: AdminService in Liberty Profile&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;…&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;font face=&quot;Courier New&quot; class=&quot;&quot;&gt;The full profile AdminService API is not provided in the Liberty&amp;nbsp;profile as it relates to an administration model that is not&amp;nbsp;provided,&amp;nbsp;nor compatible with the Liberty profile.&lt;/font&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;…&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;but also said this: -&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;…&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;font face=&quot;Courier New&quot; class=&quot;&quot;&gt;Have you tried using the liberty migration tool (tech preview) to&amp;nbsp;scan your application?&amp;nbsp;If so this may be a package we are&amp;nbsp;missing from&amp;nbsp;the list.&amp;nbsp;If you haven&#39;t tried it, there are more details on the tool&amp;nbsp;here; you may find it useful:&amp;nbsp;&lt;a href=&quot;https://www.ibmdw.net/wasdev/2014/04/23/websphere-application-server-migration-toolkit-liberty-tech-preview/&quot; class=&quot;&quot;&gt;https://www.ibmdw.net/wasdev/2014/04/23/websphere-application-server-migration-toolkit-liberty-tech-preview/&lt;/a&gt;&lt;/font&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;…&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;Taking this good advice, I downloaded the Migration Toolkit for Application Binaries: -&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;a href=&quot;https://developer.ibm.com/wasdev/downloads/#asset/tools-Migration_Toolkit_for_Application_Binaries&quot; class=&quot;&quot;&gt;https://developer.ibm.com/wasdev/downloads/#asset/tools-Migration_Toolkit_for_Application_Binaries&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;and ran it: -&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;i class=&quot;&quot;&gt;java -jar binaryAppScanner.jar SuperSnoopWeb.war&lt;/i&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;font face=&quot;Courier New&quot; class=&quot;&quot;&gt;Processing the SuperSnoopWeb.war application.&lt;br class=&quot;&quot;&gt;Scanning files.........&lt;br class=&quot;&quot;&gt;The report was saved to the following file:&amp;nbsp;/Users/davidhay/Downloads/wamt/SuperSnoopWeb.war_MigrationReport.html&lt;/font&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;The resulting HTML document said, in part: -&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;a href=&quot;http://1.bp.blogspot.com/-Qd7a-MJBjNU/WifL3RbaDrI/AAAAAAAAC6I/URUgaafEKsoo20vZ155BUfP1VwtahrjngCK4BGAYYCw/s1600/PastedGraphic-3-732758.png&quot;&gt;&lt;img src=&quot;http://1.bp.blogspot.com/-Qd7a-MJBjNU/WifL3RbaDrI/AAAAAAAAC6I/URUgaafEKsoo20vZ155BUfP1VwtahrjngCK4BGAYYCw/s320/PastedGraphic-3-732758.png&quot;  border=&quot;0&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_6496385137936830130&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;*BUT*&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;a href=&quot;http://2.bp.blogspot.com/-R-BHh7L2n30/WifL4D2o4oI/AAAAAAAAC6Q/9eFsgshFGYkdrwKcDJVMa9U4IL41_m_JwCK4BGAYYCw/s1600/PastedGraphic-4-735046.png&quot;&gt;&lt;img src=&quot;http://2.bp.blogspot.com/-R-BHh7L2n30/WifL4D2o4oI/AAAAAAAAC6Q/9eFsgshFGYkdrwKcDJVMa9U4IL41_m_JwCK4BGAYYCw/s320/PastedGraphic-4-735046.png&quot;  border=&quot;0&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_6496385151472820866&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;a href=&quot;http://4.bp.blogspot.com/-n2QJ1Lc5-zQ/WifL4aitb_I/AAAAAAAAC6Y/ZDBg2kwIBhkDNtcRCmu_Hsiv-zuDa3aZACK4BGAYYCw/s1600/PastedGraphic-5-736931.png&quot;&gt;&lt;img src=&quot;http://4.bp.blogspot.com/-n2QJ1Lc5-zQ/WifL4aitb_I/AAAAAAAAC6Y/ZDBg2kwIBhkDNtcRCmu_Hsiv-zuDa3aZACK4BGAYYCw/s320/PastedGraphic-5-736931.png&quot;  border=&quot;0&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_6496385157563248626&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;a href=&quot;http://3.bp.blogspot.com/-RbAWmVIV-_A/WifL4x_CfrI/AAAAAAAAC6g/UgFTN_r4BTQvUHUy2QkXEKIwala8y5qLwCK4BGAYYCw/s1600/PastedGraphic-6-738912.png&quot;&gt;&lt;img src=&quot;http://3.bp.blogspot.com/-RbAWmVIV-_A/WifL4x_CfrI/AAAAAAAAC6g/UgFTN_r4BTQvUHUy2QkXEKIwala8y5qLwCK4BGAYYCw/s320/PastedGraphic-6-738912.png&quot;  border=&quot;0&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_6496385163856084658&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;which is good intel.&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;So I&#39;ll continue to deploy it, in part to test my deployment practices, but won&#39;t expect it to do owt :-(&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;However, one of my blog correspondents, Jeremy Hughes from IBM, did rightly point out that there&#39;s a more recent Github project called Ferret: -&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;font face=&quot;Courier New&quot; class=&quot;&quot;&gt;A sample servlet application which responds to HTTP requests with information about the request and server&lt;/font&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;a href=&quot;https://github.com/wasdev/sample.ferret&quot; class=&quot;&quot;&gt;https://github.com/wasdev/sample.ferret&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;which doesn&#39;t have the same drawback re unavailable APIs: -&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;a href=&quot;http://1.bp.blogspot.com/-s0zGpL6ddB4/WifL5lY9plI/AAAAAAAAC6o/8CBgOF8lgKImhMd2KemGDBoN-nagHHWHgCK4BGAYYCw/s1600/PastedGraphic-7-741331.png&quot;&gt;&lt;img src=&quot;http://1.bp.blogspot.com/-s0zGpL6ddB4/WifL5lY9plI/AAAAAAAAC6o/8CBgOF8lgKImhMd2KemGDBoN-nagHHWHgCK4BGAYYCw/s320/PastedGraphic-7-741331.png&quot;  border=&quot;0&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_6496385177655027282&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;a href=&quot;http://3.bp.blogspot.com/-3sS7iMa0PpU/WifL6DvxrTI/AAAAAAAAC6w/unH_zaDFPIUoOplsyr796B_auBbpG4WYgCK4BGAYYCw/s1600/PastedGraphic-8-743646.png&quot;&gt;&lt;img src=&quot;http://3.bp.blogspot.com/-3sS7iMa0PpU/WifL6DvxrTI/AAAAAAAAC6w/unH_zaDFPIUoOplsyr796B_auBbpG4WYgCK4BGAYYCw/s320/PastedGraphic-8-743646.png&quot;  border=&quot;0&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_6496385185803775282&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;etc.&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;and also runs happily on Liberty: -&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;a href=&quot;https://mfp.uk.ibm.com:9443/ferret/&quot; class=&quot;&quot;&gt;https://mfp.uk.ibm.com:9443/ferret/&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;a href=&quot;http://1.bp.blogspot.com/-_xvUvQXCgck/WifL6iipTRI/AAAAAAAAC64/GYhAkyZ_9tsroH4kKFTZJOjiWMo1hO-JgCK4BGAYYCw/s1600/PastedGraphic-9-745291.png&quot;&gt;&lt;img src=&quot;http://1.bp.blogspot.com/-_xvUvQXCgck/WifL6iipTRI/AAAAAAAAC64/GYhAkyZ_9tsroH4kKFTZJOjiWMo1hO-JgCK4BGAYYCw/s320/PastedGraphic-9-745291.png&quot;  border=&quot;0&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_6496385194070199570&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;</description><link>http://portal2portal.blogspot.com/2017/12/websphere-liberty-profile-snooping-about.html</link><author>[email protected] (Dave Hay)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://3.bp.blogspot.com/-QIaZmMVMfGE/WifL283inQI/AAAAAAAAC6A/Gh9QTN5aNuMbPbi1QpgUYR0hE2nC9rjzwCK4BGAYYCw/s72-c/PastedGraphic-2-730556.png" height="72" width="72"/><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-6740338341177826314.post-1598625527271539954</guid><pubDate>Wed, 06 Dec 2017 06:26:00 +0000</pubDate><atom:updated>2017-12-06T06:26:10.616+00:00</atom:updated><title>Mozilla Firefox Quantum - Suppressing Autoplay Videos</title><description>So I mostly love the new Firefox 57, aka Quantum, although I have a &amp;nbsp;few niggles with it; my main gripe is that the LastPass plugin appears to have been totally borked.&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;One other issue - autoplay videos :-(&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;Given that I don&#39;t use Adobe Flash, I was somewhat grumpy to find that the BBC News site was full of videos that&#39;d start auto-playing as soon as I hit the site.&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;Thankfully, the internet came to the rescue - AGAIN&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;a href=&quot;https://support.mozilla.org/en-US/questions/1166689&quot; class=&quot;&quot;&gt;How can I stop videos from automatically starting (autoplay)?&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;This takes one off to: -&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;a href=&quot;about:config&quot; class=&quot;&quot;&gt;about:config&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;which gives the usual warning: -&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;a href=&quot;http://2.bp.blogspot.com/-pCBlYo55pOI/WieNhGQ8DHI/AAAAAAAAC5w/c9l_0e5RpJkwbR9ICmP9A5ytC0wk7u4cQCK4BGAYYCw/s1600/PastedGraphic-1-770617.png&quot;&gt;&lt;img src=&quot;http://2.bp.blogspot.com/-pCBlYo55pOI/WieNhGQ8DHI/AAAAAAAAC5w/c9l_0e5RpJkwbR9ICmP9A5ytC0wk7u4cQCK4BGAYYCw/s320/PastedGraphic-1-770617.png&quot;  border=&quot;0&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_6496316587262086258&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;Once there, search for the keyword &lt;b class=&quot;&quot;&gt;autoplay&lt;/b&gt;, which returns two hits: -&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;font face=&quot;Courier New&quot; class=&quot;&quot;&gt;media.autoplay.enabled;&lt;b class=&quot;&quot;&gt;true&lt;/b&gt;&lt;/font&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;font face=&quot;Courier New&quot; class=&quot;&quot;&gt;media.block-autoplay-until-in-foreground;true&lt;/font&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;Contrary to the article, I double-clicked on the FIRST item, and thus changed it to: -&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;font face=&quot;Courier New&quot; class=&quot;&quot;&gt;media.autoplay.enabled;&lt;b class=&quot;&quot;&gt;false&lt;/b&gt;&lt;/font&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;&lt;br class=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot;&gt;Job done :-)&lt;/div&gt;</description><link>http://portal2portal.blogspot.com/2017/12/mozilla-firefox-quantum-suppressing.html</link><author>[email protected] (Dave Hay)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://2.bp.blogspot.com/-pCBlYo55pOI/WieNhGQ8DHI/AAAAAAAAC5w/c9l_0e5RpJkwbR9ICmP9A5ytC0wk7u4cQCK4BGAYYCw/s72-c/PastedGraphic-1-770617.png" height="72" width="72"/><thr:total>2</thr:total></item></channel></rss>

If you would like to create a banner that links to this page (i.e. this validation result), do the following:

  1. Download the "valid RSS" banner.

  2. Upload the image to your own server. (This step is important. Please do not link directly to the image on this server.)

  3. Add this HTML to your page (change the image src attribute if necessary):

If you would like to create a text link instead, here is the URL you can use:

http://www.feedvalidator.org/check.cgi?url=http%3A//portal2portal.blogspot.com/feeds/posts/default%3Falt%3Drss

Copyright © 2002-9 Sam Ruby, Mark Pilgrim, Joseph Walton, and Phil Ringnalda