{"id":8112,"date":"2022-06-06T15:21:32","date_gmt":"2022-06-06T13:21:32","guid":{"rendered":"https:\/\/u-labs.de\/portal\/?p=8112"},"modified":"2023-08-18T12:34:09","modified_gmt":"2023-08-18T10:34:09","slug":"fixpacks-fp-fuer-ibm-websphere-installieren-headless-auf-der-konsole","status":"publish","type":"post","link":"https:\/\/u-labs.de\/portal\/fixpacks-fp-fuer-ibm-websphere-installieren-headless-auf-der-konsole\/","title":{"rendered":"Fixpacks (FP) f\u00fcr IBM WebSphere installieren (headless auf der Konsole)"},"content":{"rendered":"<p>WebSphere b\u00fcndelt eine Reihe an Fehlerkorrekturen in Fixpacks (FP). Die konkreten \u00c4nderungen findet man <a href=\"https:\/\/www.ibm.com\/support\/pages\/85518-websphere-application-server-v855-fix-pack-18#notice\" title=\"im dazugeh\u00f6rigen IBM-Artikel.\" target=\"_blank\" rel=\"nofollow\">im dazugeh\u00f6rigen IBM-Artikel.<\/a> Im Folgenden Artikel wird WebSphere 8.5.5 von FP 17 auf FP 18 aktualisiert. Da es sich um propriet\u00e4re Software handelt, sind die Installationsdateien nicht frei verf\u00fcgbar &#8211; man bekommt sie entweder bei IBM oder einem Partner, der diese bei IBM Lizenziert hat. Im Falle von Connections ist das HCL, d.H. man findet die WebSphere Installationsdateien im Flexnet unter <a href=\"https:\/\/hclsoftware.flexnetoperations.com\/flexnet\/operationsportal\/entitledDownloadFile.action?downloadPkgId=Websphere+Application+Server+8.5.5+and+Select+Fix+Packs&amp;orgId=HCL17813\" title=\"Downloads  target=\"_blank\" rel=\"nofollow\"> List Downloads > Uncategorized Products > Websphere Application Server 8.5.5 and Select Fix Packs&#8220;>Downloads &gt; List Downloads &gt; Uncategorized Products &gt; Websphere Application Server 8.5.5 and Select Fix Packs<\/a>. <\/p>\n<p>Die Version sollte den Anforderungen der Software entsprechen. <a href=\"https:\/\/support.hcltechsw.com\/csm?id=kb_article&amp;sysparm_article=KB0077297\" title=\"Connections 6.5 CR1 ist beispielsweise gem\u00e4\u00df des KB-Artikels\" target=\"_blank\" rel=\"nofollow\">Connections 6.5 CR1 ist beispielsweise gem\u00e4\u00df des KB-Artikels<\/a> mittlerweile mit 8.5.5.20 kompatibel, d.H. man k\u00f6nnte auch direkt diese Version (statt dem \u00e4lteren FP 18) installieren.<\/p>\n<p>Zun\u00e4chst macht es Sinn, die aktuelle Version \u00fcber <strong>versionInfo.sh<\/strong> zu pr\u00fcfen:<\/p>\n<div class=\"wp-block-syntaxhighlighter-code \">\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\n# \/opt\/IBM\/WebSphere\/AppServer\/bin\/versionInfo.sh\n...\nName                  IBM WebSphere Application Server Network Deployment\nVersion               8.5.5.16\n<\/pre>\n<\/div>\n<p>Anschlie\u00dfend die Installationsdateien (i.d.R. drei Zip-Archive) mit dem gew\u00fcnschten Fixpack herunterladen, hier FP17, und entpacken.<\/p>\n<div class=\"wp-block-syntaxhighlighter-code \">\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\n$ ls -lh \n-rwxr-xr-x 1 daniel daniel 973M Dec 15 17:54 8.5.5-WS-WAS-FP017-part1.zip\n-rwxr-xr-x 1 daniel daniel 206M Dec 15 17:55 8.5.5-WS-WAS-FP017-part2.zip\n-rwxr-xr-x 1 daniel daniel 1.8G Dec 15 17:50 8.5.5-WS-WAS-FP017-part3.zip\n\nmkdir 8.5.5-WS-WAS-FP017_extracted\nunzip &quot;8.5.5-WS-WAS-FP017-part?.zip&quot; -d 8.5.5-WS-WAS-FP017_extracted\n<\/pre>\n<\/div>\n<p>F\u00fcr den IBM HTTP Server ben\u00f6tigt ihr zus\u00e4tzlich das WebSphere Supplements-Paket und k\u00f6nnt \u00fcber <strong>versionInfo.sh<\/strong> die Version vom IHS pr\u00fcfen:<\/p>\n<div class=\"wp-block-syntaxhighlighter-code \">\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\n# \/opt\/IBM\/HTTPServer\/bin\/versionInfo.sh\n...\nVersion               8.5.5.16\n...\n\n$ ls -lh \n-rw-r--r-- 1 daniel daniel 454M Dec 15 17:58 8.5.5-WS-WASSupplements-FP017-part1.zip\n-rw-r--r-- 1 daniel daniel 741M Dec 15 17:59 8.5.5-WS-WASSupplements-FP017-part2.zip\n-rw-r--r-- 1 daniel daniel 1.9G Dec 15 18:00 8.5.5-WS-WASSupplements-FP017-part3.zip\n\nmkdir 8.5.5-WS-WASSupplements-FP017_extracted\nunzip &quot;8.5.5-WS-WAS-FP017-part?.zip&quot; -d 8.5.5-WS-WASSupplements-FP017_extracted\n<\/pre>\n<\/div>\n<p>Falls noch nicht geschehen, wird WebSphere nun gestoppt &#8211; sowohl der Deployment-Manager, als auch der Node. <\/p>\n<div class=\"wp-block-syntaxhighlighter-code \">\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\n\/opt\/IBM\/WebSphere\/AppServer\/profiles\/CnxNode01\/bin\/stopNode.sh -stopservers -username wasadmin -password cnx\n\/opt\/IBM\/WebSphere\/AppServer\/profiles\/Dmgr01\/bin\/stopManager.sh -username wasadmin -password cnx\n\/opt\/IBM\/HTTPServer\/bin\/apachectl -k stop\n<\/pre>\n<\/div>\n<p>Mithilfe von <strong>imcl <\/strong>aus dem Installation-Manager kann das Fixpack unter Angabe des Ordners, in den die Archive zuvor entpackt wurden, headless (ohne grafische Oberfl\u00e4che) installiert werden. Hilfreich war dabei <a href=\"https:\/\/www.middlewarebox.com\/2017\/05\/installing-fix-packs-by-using-command.html\" title=\"dieser Beitrag\" target=\"_blank\" rel=\"nofollow\">dieser Beitrag<\/a>. Alternativ kann man auch den grafischen Installation-Manager nutzen. Wobei ich keine Notwendigkeit sehe, daf\u00fcr eine grafische Oberfl\u00e4che auf einem Server zu installieren. Vor der Installation l\u00e4sst sich auch damit noch einmal mit <strong>listInstalledPackages<\/strong> pr\u00fcfen, welche Paketversion installiert ist und welche Fixes in den von uns entpackten Repositories enthalten sind:<\/p>\n<div class=\"wp-block-syntaxhighlighter-code \">\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\n# \/opt\/IBM\/InstallationManager\/eclipse\/tools\/imcl listAvailablePackages -repositories \/opt\/cnx-install\/was\/fp\/8.5.5-WS-WAS-FP018_extracted\n...\ncom.ibm.websphere.ND.v85_8.5.5018.20200205_1450\n...\n<\/pre>\n<\/div>\n<p>Das Update kann nun beginnen &#8211; wahlweise einzelne Pakete, oder s\u00e4mtliche im Repository verf\u00fcgbaren Pakete mit dem Parameter <strong>updateAll<\/strong>:<\/p>\n<div class=\"wp-block-syntaxhighlighter-code \">\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\n\/opt\/IBM\/InstallationManager\/eclipse\/tools\/imcl updateAll -acceptLicense -showProgress -repositories \/opt\/cnx-install\/was\/fp\/8.5.5-WS-WAS-FP018_extracted\n...\nUpdated to com.ibm.websphere.ND.v85_8.5.5017.20200205_1450 in the \/opt\/IBM\/WebSphere\/AppServer directory.\n<\/pre>\n<\/div>\n<p>Die Installation lief fehlerfrei durch. Auf meinen Testservern hat dies etwa 3 Minuten f\u00fcr WAS und eine knappe Minute f\u00fcr das Supplements-Paket gedauert. Ist ein Virenscanner vorhanden, kann dies deutlich langsamer sein (~40 Minuten pro Installation) und es sieht teilweise aus, als w\u00fcrde die Installation <em>h\u00e4ngen<\/em>.<\/p>\n<p>Zur Pr\u00fcfung ob nochmals <strong>versionInfo.sh<\/strong> aufrufen:<\/p>\n<div class=\"wp-block-syntaxhighlighter-code \">\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\n# \/opt\/IBM\/WebSphere\/AppServer\/bin\/versionInfo.sh\n...\nVersion               8.5.5.17\n...\n<\/pre>\n<\/div>\n<p>Da die Aktualisierung offensichtlich funktioniert hat, zuletzt noch WebSphere wieder starten:<\/p>\n<div class=\"wp-block-syntaxhighlighter-code \">\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\n\/opt\/IBM\/WebSphere\/AppServer\/profiles\/Dmgr01\/bin\/startManager.sh\n\/opt\/IBM\/WebSphere\/AppServer\/profiles\/CnxNode01\/bin\/startNode.sh\n\/opt\/IBM\/HTTPServer\/bin\/apachectl -k start\n<\/pre>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>WebSphere b\u00fcndelt eine Reihe an Fehlerkorrekturen in Fixpacks (FP). Die konkreten \u00c4nderungen findet man im dazugeh\u00f6rigen IBM-Artikel. Im Folgenden Artikel wird WebSphere 8.5.5 von FP 17 auf FP 18 aktualisiert. Da es sich um propriet\u00e4re Software handelt, sind die Installationsdateien nicht frei verf\u00fcgbar &#8211; man bekommt sie entweder bei IBM oder einem Partner, der diese &#8230;<\/p>\n","protected":false},"author":5,"featured_media":10887,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[765],"tags":[873],"class_list":["post-8112","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-hcl-connections","tag-websphere"],"_links":{"self":[{"href":"https:\/\/u-labs.de\/portal\/wp-json\/wp\/v2\/posts\/8112","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/u-labs.de\/portal\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/u-labs.de\/portal\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/u-labs.de\/portal\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/u-labs.de\/portal\/wp-json\/wp\/v2\/comments?post=8112"}],"version-history":[{"count":8,"href":"https:\/\/u-labs.de\/portal\/wp-json\/wp\/v2\/posts\/8112\/revisions"}],"predecessor-version":[{"id":9610,"href":"https:\/\/u-labs.de\/portal\/wp-json\/wp\/v2\/posts\/8112\/revisions\/9610"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/u-labs.de\/portal\/wp-json\/wp\/v2\/media\/10887"}],"wp:attachment":[{"href":"https:\/\/u-labs.de\/portal\/wp-json\/wp\/v2\/media?parent=8112"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/u-labs.de\/portal\/wp-json\/wp\/v2\/categories?post=8112"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/u-labs.de\/portal\/wp-json\/wp\/v2\/tags?post=8112"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}