Merging IHS plugin-cfg.xml files for two IHS

Merge IHS plugin-cfg.xml files for two IHS.

Procedure

  1. Merge IHS plugin-cfg.xml.
    1. Get the plugin-cfg.xml file from IHS-1(Docs IHS) and put it in a folder, such as IHS1_FOLDER.
    2. Get the plugin-cfg.xml file from IHS-2(Connections IHS) and put it in a folder, such as IHS2_FOLDER.
    3. Run command to merge:  WAS_HOME/bin/pluginCfgMerge.bat IHS1_FOLDER/plugin-cfg.xml IHS2_FOLDER/plugin-cfg.xml RESULT_FOLDER/plugin-cfg.xml
      Where: 
      • IHS_ROOT is the folder where your IBM HTTPClient is installed.
      • IHS1_FOLDER is the folder that your Connections Docs plugin-cfg.xml file is located.
      • IHS2_FOLDER is the folder that your Connections plugin-cfg.xml file is located.
      • RESULT_FOLDER is the folder that your output is located.
                                                  
      Note: You will lose some information if you put Connections plugin-cfg.xml files in first place for merging. The merged plugin-cfg.xml will be used to replace original file, but you must revise it manually before copying it because the configuration folder might be different for the two source plugin-cfg.xml files. For example, the reference folder might be /opt/IBM/HTTPServer/Plugins/config/IHS1 on IHS-1/plugin-cfg.xml, but the reference folder might be /opt/IBM/HTTPServer/Plugins/config/IHS2 in another.
  2. Manually revise the merged plugin-cfg.xml on IHS-1 and IHS-2. Make a copy of the merged plugin-cfg.xml, open it with an text editor.
    1. Find the reference path and replace it with the real path on IHS-1.
    2. Copy and replace original plugin-cfg.xml on IHS-1
    3. Stop/Start IHS service: /opt/IBM/HTTPServer/bin/apachectl stop/start
      Note:
      • As the merged plugin-cfg.xml comes from two xml, the reference path have both the path on IHS-1 and IHS-2, we need replace all the path referenced to IHS-2 path.
      • Do this step for IHS-2, we need replace all the path referenced to IHS-1 path
  3. Go to proxy Clusters, add Connections IHS host name to trusted server list.
    1. Log in WebSphere Application Console on Deployment Manager.
    2. Select Servers > Cluster > Proxy Server Cluster.
    3. Select IBMDocsProxyCluster, click proxy settings on Configuration tab.
    4. Go to Security > Trust security proxies field.
    5. Click New button, and enter Connections host name, for example, connections.ibm.com.
    6. Click Apply and then click Save.
    7. Restart proxy server to take effect.