Windows

Using Internet Information Services (IIS) Manager Web server with WebSphere Commerce Payments

Before you begin

  • Ensure that the WebSphere Commerce instance and the WebSphere Payments instance can start successfully.
  • Ensure that the Payments Web server is fully qualified with a host name and domain. To verify:
    • Open Configuration Manager.
    • Expand WebSphere Commerce -node > Commerce > Instance List > demo > Instance Properties > Payments Web Server > Hostname: hostname.domain

Procedure

  1. Navigate to the following directory: \WebSphere\Plugins\bin. Create a directory called IIS_webserver2. Copy all files from the IIS_webserver1 to the IIS_webserver2 directory.
  2. Open the file \WebSphere\Plugins\bin\IIS_webserver2\plugin-cfg.loc. Replace with values appropriate to the WebSphere Commerce Payments plugin-cfg.xml. For example, replace C:\WebSphere\AppServer\profiles\wpm\config\cells\WPM_wpm_cell\nodes\webserver1_node\servers\webserver1\plugin-cfg.xml.
  3. Open Information Services Manager.
  4. Expand Node > Share Configuration > Export Configuration.
  5. Select a path (for example, C:\); then click Connect As.
  6. Type the user name and password; then click OK.
  7. Type the encryption keys and click OK.
  8. In the exported configuration file path, open the applicationHost.config file.
  9. In the applicationHost.config file, search for the section starting with: <site name="Default Web Site" id="1" serverAutoStart="true">. Create a new section by copying this section, and rename the site name and changing the id. For example:
    <site name="Default Web Site" id="1" serverAutoStart="true">
     .... 
    </site> 
    <site name="Default Web Site2" id="2" serverAutoStart="true"> 
    ... 
    </site>  
    
    Then, in the new site section, remove the following lines:
    <binding protocol="http" bindingInformation="*:80:" /> 
    <binding protocol="https" bindingInformation="*:443:" /> 
    <binding protocol="https" bindingInformation="*:8000:" /> 
    <binding protocol="https" bindingInformation="*:8002:" /> 
    <binding protocol="https" bindingInformation="*:8004:" /> 
    <binding protocol="https" bindingInformation="*:8006:" /> 
    <binding protocol="http" bindingInformation="*:8007:" />
    
  10. Search for <location path create new sections by copying them, and update the path with the new site name in previous step. For example, to update "Default Web Site" with "Default Web Site2".
  11. Expand Node > Share Configuration. Open Share Configuration. Check the Enable shared configuration check box.
  12. Select the path that you entered in 5; then type the user name and password and click Apply
  13. Type the encryption keys and password that you entered in 7; then click OK.
  14. Select Default Web Site2 > Edit Bindings, click Add, Add the following bindings:
    Type IP Address Port
    http All Unassigned 5432
    https All Unassigned 5433
  15. Reopen Internet Information Services Manager.
  16. Select Default Web Site2 > ISAPI Filters, click the Filter Name iisWASPlugin and click Edit. Change the Executable to C:\WebSphere\Plugins\bin\IIS_webserver2\iisWASPlugin_http.dll; then click Apply.
  17. In the Internet Information Services (IIS) Manager, expand Internet Information Services > node > Web sites > Default Web Site2 > sePlugins
  18. Right-click sePlugins; then click Manage Virtual Directory > Advanced Settings
  19. On Advanced Settings page, change the Physical Path to C:\WebSphere\Plugins\bin\IIS_webserver2; then click OK.
  20. From the Services panel, restart the IIS Admin Service; then restart the Web site.
  21. Start WebSphere Commerce Payments.