Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- IHS
- 192.168.0.2
- Collective Controller
- 192.168.0.27
- in collective controller machine
- Run the wlpn-controller ihsSetup command with the following options:
- apicadmin@controller:~$ wlpn-controller ihsSetup --host=192.168.0.2 --port=9443 --user=apicadmin --password=passw0rd --keystorePassword=passw0rd --pluginInstallRoot=/opt/IBM/WebSphere/Plugins --webServerNames=webserver1
- The command generates the plugin-cfg.xml and the plugin-key.jks files in the current directory.
- in IHS machine
- Create a directory called webserver1 in /opt/IBM/WebSphere/Plugins/config on IBM HTTP Server. this use the default web server name of webserver1
- in collective controller
- Copy the two generated files plugin-cfg.xml and the plugin-key.jks from the user home directory to the new directory in IHS machine, such as /opt/IBM/WebSphere/Plugins/config/webserver1
- On the IBM API Connect controller, go to the %LibertyFolder%/wlp/bin directory in this case ~/.liberty is %LibertyFolder%
- apicadmin@controller:~/.liberty/wlp/bin$ wlpn-controller ihsRegister --host=192.168.0.2 --port=9443 --user=apicadmin --password=passw0rd --ihsIp=192.168.0.2 --ihsPort=80
- Output command line
- IHS instance has been registered
- in IHS machine
- Configuring IBM HTTP Server
- Edit the /opt/IBM/HTTPServer/conf/httpd.conf configuration file, and append the following lines at the end of the file. Then, save the file.
- For Linux where IHS is installed at /opt/IBM/HTTPServer and the Web Server Plug-in is installed at /opt/IBM/WebSphere/Plugins, append the following lines:
- LoadModule was_ap22_module /opt/IBM/WebSphere/Plugins/bin/64bits/mod_was_ap22_http.so
- WebSpherePluginConfig /opt/IBM/WebSphere/Plugins/config/webserver1/plugin-cfg.xml
- I create an empty file: /opt/IBM/WebSphere/Plugins/logs/webserver1/http_plugin.log
- api@ubuntu:/opt/IBM/HTTPServer/bin$ sudo ./gskcmd -keydb -convert -stash -pw passw0rd -db /opt/IBM/WebSphere/Plugins/config/ihs.hanoman.co.id/plugin-key.jks -old_format jks -target /opt/IBM/WebSphere/Plugins/config/ihs.hanoman.co.id/plugin-key.kdb -new_format cms
- api@ubuntu:/opt/IBM/HTTPServer/bin$ sudo ./gskcmd -cert -setdefault -pw passw0rd -db /opt/IBM/WebSphere/Plugins/config/ihs.hanoman.co.id/plugin-key.kdb -label default
- api@ubuntu:/opt/IBM/HTTPServer/bin$ sudo ./apachectl -k restart
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement