{"id":206,"date":"2019-01-18T08:32:06","date_gmt":"2019-01-18T07:32:06","guid":{"rendered":"http:\/\/blog.xoupix.fr\/?p=206"},"modified":"2019-02-03T21:33:31","modified_gmt":"2019-02-03T20:33:31","slug":"installing-ibm-content-search-services-with-secured-port","status":"publish","type":"post","link":"https:\/\/blog.xoupix.fr\/index.php\/2019\/01\/18\/installing-ibm-content-search-services-with-secured-port\/","title":{"rendered":"Installing IBM Content Search Services with secured port"},"content":{"rendered":"\n<p>This post will explain how to install IBM Content Search Services, configuring secured port, and optionally disabling the non secured port.<\/p>\n\n\n\n<!--more-->\n\n\n\n<h2 class=\"wp-block-heading\">Installing IBM Content Search Services in silent mode<\/h2>\n\n\n\n<p>Let&#8217;s install IBM Content Search Services using the silent installation mode. All this installation will be configured using a simple response file.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code># IBM Content Search Services Silent Installer Configuration\n#\n# This file contains values to configure Install with the options specified  \n# when the wizard is run with the \"-silent\" command line option. Read each\n# setting's documentation for information on how to change its value.\n# \n# To trigger a silent installer from the command line with this file, use the \n# following command:\n#\n# 5.5.0.0-P8CSS-AIX.bin -i silent -f css_silent_install.txt\n# 5.5.0.0-P8CSS-LINUX64.bin -i silent -f css_silent_install.txt\n# 5.5.0.0-P8CSS-SOLARIS.bin -i silent -f css_silent_install.txt\n# 5.5.0.0-P8CSS-ZLINUX.bin -i silent -f css_silent_install.txt\n#\n\n# License Acceptance Panel\n#-----------------------------\n# Must be set to true for install to complete\n#-----------------------------\nLICENSE_ACCEPTED=true\n\n#Choose Install Folder\n#---------------------\n# Specify IBM Content Search Services Installation Path\n# This is the path to the Configuration data directory location.\n# This parameter is ignored on server upgrades or reinstalls.\n#---------------------\nUSER_INSTALL_DIR=\/path\/to\/IBM\/ContentSearchServices\n\n# Specify CSS server installation location\n#-------------------------\n# This location must be unique for each additional server installed.\n#-------------------------\nSERVER_INSTALL_DIR=\/path\/to\/IBM\/ContentSearchServices\/CSS_Server\n\n# Enter an authentication token seed\n#-------------------------\n# The token seed generates a unique token that the server uses to communicate \n# with other components.  If you do not enter a value, a value will be generated\n# automatically. This parameter is ignored on server upgrades or reinstalls.\n#-------------------------\nUSER_INPUT_RESULT_SEED=OptionalTokenSeed\n\n# Enter the port number\n#-------------------------\n# This is the port number which the token communicates with other components.\n# This port must be unique for each additional server installed.\n# This parameter is ignored on server upgrades or reinstalls.\n#-------------------------\nUSER_INPUT_RESULT_PORT=non_secured_port_to_use\n\n# Enter the maximum heap memory\n#-------------------------\n# The value should be set according to JVM heap size specifications.\n# Suggested values are 1500 MB for 32-bit JVMs and 4000 MB for 64-bit\n# JVMs. The maximum possible heap size that can be allocated to \n# a 32-bit JVM is 1800 MB. (Enter the number only, not the \"MB\".)\n# This parameter is ignored on server upgrades or reinstalls.\n#-------------------------\nUSER_INPUT_MAX_HEAP_SIZE=1500<\/code><\/pre>\n\n\n\n<p>Some informations about this response file :<br>&#8211; USER_INPUT_RESULT_PORT must be a numeric value. Default value is 8191 ;<br>&#8211; USER_INPUT_MAX_HEAP_SIZE must be a numeric value, and greater than 1500 (otherwise, IBM Content Search Services will not be installed).<\/p>\n\n\n\n<p>Execute the installation using the following command line:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>\/path\/to\/IBM\/ContentSearchServices\/Binary\/5.5.0.0-P8CSS-LINUX64.bin -i silent -f \/path\/to\/IBM\/ContentSearchServices\/Binary\/css_silent_install.txt<\/code><\/pre>\n\n\n\n<p>IBM Content Search Services will be installed :<br>&#8211; while executing the bin file from the archive ;<br>&#8211; specifying the silent installation mode with the &#8220;-i silent&#8221; option ;<br>&#8211; using the configured response file with the &#8220;-f \/path\/to\/IBM\/ContentSearchServices\/Binary\/css_silent_install.txt&#8221; option.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Configuring IBM Content Search Services secured port<\/h2>\n\n\n\n<p>Execute the following command line (IBM Content Search Services must be stopped) :<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>\/path\/to\/IBM\/ContentSearchServices\/CSS_Server\/bin\/configTool.sh set -system -configPath \/path\/to\/IBM\/ContentSearchServices\/CSS_Server\/config -securePort 8199<\/code><\/pre>\n\n\n\n<p>Where :<br>&#8211; configTool.sh is located under the bin directory on the newly installed IBM Content Search Services instance ;<br>&#8211; \/path\/to\/IBM\/ContentSearchServices\/CSS_Server\/config is the full path to the newly installed IBM Content Search Services instance ;<br>&#8211; 8199 is the secured port to use ;<\/p>\n\n\n\n<p>The only output you will have from IBM Content Search Services will be &#8220;The request was successfully executed.&#8221; (and &#8220;echo $?&#8221; must return 0, obviously).<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Print token related to your instance, used when adding Text Search server under IBM Administration Console for Content Engine<\/h2>\n\n\n\n<p>Execute the following command line (IBM Content Search Services must be stopped) : <\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>\/path\/to\/IBM\/ContentSearchServices\/CSS_Server\/bin\/configTool.sh printToken \/path\/to\/IBM\/ContentSearchServices\/CSS_Server\/config<\/code><\/pre>\n\n\n\n<p>The output will be as the following image :<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"562\" height=\"165\" src=\"https:\/\/blog.xoupix.fr\/wp-content\/uploads\/2019\/01\/2019-01-18-08_20_14-mRemoteNG-confCons.xml-VM-FileNet-5.5.0.png\" alt=\"\" class=\"wp-image-210\" srcset=\"https:\/\/blog.xoupix.fr\/wp-content\/uploads\/2019\/01\/2019-01-18-08_20_14-mRemoteNG-confCons.xml-VM-FileNet-5.5.0.png 562w, https:\/\/blog.xoupix.fr\/wp-content\/uploads\/2019\/01\/2019-01-18-08_20_14-mRemoteNG-confCons.xml-VM-FileNet-5.5.0-300x88.png 300w, https:\/\/blog.xoupix.fr\/wp-content\/uploads\/2019\/01\/2019-01-18-08_20_14-mRemoteNG-confCons.xml-VM-FileNet-5.5.0-500x147.png 500w\" sizes=\"auto, (max-width: 562px) 100vw, 562px\" \/><\/figure>\n\n\n\n<p>The authentication token (here &#8220;KyoH7B8=&#8221;) will be used when adding the new IBM Content Search Services using the ACCE (under the &#8220;Authentication token&#8221; input field).<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"835\" height=\"510\" src=\"https:\/\/blog.xoupix.fr\/wp-content\/uploads\/2019\/01\/2019-01-18-08_22_38-Administration-Console-for-Content-Platform-Engine.png\" alt=\"\" class=\"wp-image-212\" srcset=\"https:\/\/blog.xoupix.fr\/wp-content\/uploads\/2019\/01\/2019-01-18-08_22_38-Administration-Console-for-Content-Platform-Engine.png 835w, https:\/\/blog.xoupix.fr\/wp-content\/uploads\/2019\/01\/2019-01-18-08_22_38-Administration-Console-for-Content-Platform-Engine-300x183.png 300w, https:\/\/blog.xoupix.fr\/wp-content\/uploads\/2019\/01\/2019-01-18-08_22_38-Administration-Console-for-Content-Platform-Engine-768x469.png 768w, https:\/\/blog.xoupix.fr\/wp-content\/uploads\/2019\/01\/2019-01-18-08_22_38-Administration-Console-for-Content-Platform-Engine-491x300.png 491w\" sizes=\"auto, (max-width: 835px) 100vw, 835px\" \/><\/figure>\n\n\n\n<p>If you want to use the &#8220;Security Socket Layer (SSL) protocol&#8221;, set the &#8220;Port&#8221; value to the secured port previously configured, and check the &#8220;Enable use of the Security Socket Layer (SSL) protocol&#8221;.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Disabling the non secured IBM Content Search Services port<\/h2>\n\n\n\n<p>If you want to disable the non secured port, just set the IBM Content Search Services adminHTTPPort value to 0 using the following command line (IBM Content Search Services must be stopped) :  <\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>\/path\/to\/IBM\/ContentSearchServices\/CSS_Server\/bin\/configTool.sh set -system -configPath \/path\/to\/IBM\/ContentSearchServices\/CSS_Server\/config -adminHTTPPort 0<\/code><\/pre>\n\n\n\n<p>The only output you will have from IBM Content Search Services will be &#8220;The request was successfully executed.&#8221; (and &#8220;echo $?&#8221; must return 0, obviously)., same as the secured port configuration.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Reference<\/h2>\n\n\n\n<p><a href=\"https:\/\/www.ibm.com\/support\/knowledgecenter\/en\/SSNW2F_5.5.0\/com.ibm.p8.install.doc\/p8pin273.htm\">https:\/\/www.ibm.com\/support\/knowledgecenter\/en\/SSNW2F_5.5.0\/com.ibm.p8.install.doc\/p8pin273.htm<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>This post will explain how to install IBM Content Search Services, configuring secured port, and optionally disabling the non secured port.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[13],"tags":[],"class_list":["post-206","post","type-post","status-publish","format-standard","hentry","category-ibm-content-search-services"],"_links":{"self":[{"href":"https:\/\/blog.xoupix.fr\/index.php\/wp-json\/wp\/v2\/posts\/206","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.xoupix.fr\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.xoupix.fr\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.xoupix.fr\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.xoupix.fr\/index.php\/wp-json\/wp\/v2\/comments?post=206"}],"version-history":[{"count":5,"href":"https:\/\/blog.xoupix.fr\/index.php\/wp-json\/wp\/v2\/posts\/206\/revisions"}],"predecessor-version":[{"id":217,"href":"https:\/\/blog.xoupix.fr\/index.php\/wp-json\/wp\/v2\/posts\/206\/revisions\/217"}],"wp:attachment":[{"href":"https:\/\/blog.xoupix.fr\/index.php\/wp-json\/wp\/v2\/media?parent=206"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.xoupix.fr\/index.php\/wp-json\/wp\/v2\/categories?post=206"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.xoupix.fr\/index.php\/wp-json\/wp\/v2\/tags?post=206"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}