Merge IHS plugin-cfg.xml files for two IHS.
Procedure
- Merge IHS plugin-cfg.xml.
- Get the plugin-cfg.xml file from
IHS-1(Docs IHS) and put it in a folder, such as IHS1_FOLDER.
- Get the plugin-cfg.xml file from
IHS-2(Connections IHS) and put it in a folder, such as IHS2_FOLDER.
- 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.
- 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.
- Find the reference path and replace it with the real
path on IHS-1.
- Copy and replace original plugin-cfg.xml on IHS-1
- 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
- Go to proxy Clusters, add Connections IHS host name to
trusted server list.
- Log in WebSphere Application Console on Deployment Manager.
- Select .
- Select IBMDocsProxyCluster, click
proxy settings on Configuration tab.
- Go to field.
- Click New button, and enter Connections
host name, for example, connections.ibm.com.
- Click Apply and then click Save.
- Restart proxy server to take effect.