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
- 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.
- 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
. - Open Information Services Manager.
- Expand Node > Share Configuration > Export Configuration.
- Select a path (for example, C:\); then click Connect As.
- Type the user name and password; then click OK.
- Type the encryption keys and click OK.
- In the exported configuration file path, open the applicationHost.config file.
- 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:
Then, in the new site section, remove the following lines:<site name="Default Web Site" id="1" serverAutoStart="true"> .... </site> <site name="Default Web Site2" id="2" serverAutoStart="true"> ... </site>
<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:" />
- 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". - Expand Node > Share Configuration. Open Share Configuration. Check the Enable shared configuration check box.
- Select the path that you entered in 5; then type the user name and password and click Apply
- Type the encryption keys and password that you entered in 7; then click OK.
- Select Default Web Site2 > Edit Bindings, click Add,
Add the following bindings:
Type IP Address Port http All Unassigned 5432 https All Unassigned 5433 - Reopen Internet Information Services Manager.
- 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.
- In the Internet Information Services (IIS) Manager, expand Internet Information Services > node > Web sites > Default Web Site2 > sePlugins
- Right-click sePlugins; then click Manage Virtual Directory > Advanced Settings
- On Advanced Settings page, change the Physical Path to C:\WebSphere\Plugins\bin\IIS_webserver2; then click OK.
- From the Services panel, restart the IIS Admin Service; then restart the Web site.
- Start WebSphere Commerce Payments.