Advertisement
Guest User

Setup IHS

a guest
Nov 15th, 2016
97
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.26 KB | None | 0 0
  1. IHS
  2. 192.168.0.2
  3.  
  4. Collective Controller
  5. 192.168.0.27
  6.  
  7. in collective controller machine
  8. Run the wlpn-controller ihsSetup command with the following options:
  9. 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
  10. The command generates the plugin-cfg.xml and the plugin-key.jks files in the current directory.
  11.  
  12. in IHS machine
  13. Create a directory called webserver1 in /opt/IBM/WebSphere/Plugins/config on IBM HTTP Server. this use the default web server name of webserver1
  14.  
  15. in collective controller
  16. 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
  17. On the IBM API Connect controller, go to the %LibertyFolder%/wlp/bin directory in this case ~/.liberty is %LibertyFolder%
  18. 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
  19. Output command line
  20. IHS instance has been registered
  21.  
  22. in IHS machine
  23. Configuring IBM HTTP Server
  24. 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.
  25. 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:
  26.  
  27. LoadModule was_ap22_module /opt/IBM/WebSphere/Plugins/bin/64bits/mod_was_ap22_http.so
  28. WebSpherePluginConfig /opt/IBM/WebSphere/Plugins/config/webserver1/plugin-cfg.xml
  29.  
  30.  
  31. I create an empty file: /opt/IBM/WebSphere/Plugins/logs/webserver1/http_plugin.log
  32. 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
  33. 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
  34. api@ubuntu:/opt/IBM/HTTPServer/bin$ sudo ./apachectl -k restart
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement