Create multiple WebSphere Commerce Payments instances

If you are using WebSphere Commerce Payments to process payments in WebSphere Commerce, each instance of WebSphere Commerce requires its own instance of WebSphere Commerce Payments. For every new WebSphere Commerce instance you create, also create a new WebSphere Commerce Payments instance.

While it is possible to create multiple instances in any configuration of WebSphere Commerce components, the assumption is as follows:

The instructions in this page will focus on creating an additional WebSphere Commerce Payments instance.

These variables represent the parameter values for your first and second instance and are intended to show where values are unique or common between instances.

Normally, you will have operational pre-existing WebSphere Commerce and WebSphere Commerce Payments instances and you want to create an additional instance or instances. If you have a pre-existing instance, you do not have to modify any of the parameter values for that instance in order to add an additional instance. You might want to modify some parameters of your original instance in order to better organize your multi-instance environment.

 

Prerequisites

Ensure that the node meets the following requirements:

 

Web server prerequisites

If you are using IBM HTTP Server, you can skip this section.

If you are using Microsoft IIS or Sun Java System Web Server, do the following:

  1. Create a new Web server associated with the new virtual host name and new IP address. Refer to the Web server documentation for instructions.

  2. Depending on your Web server:

    Microsoft IIS

    Configure the Web server according to the instructions found in Use Microsoft IIS.

    Sun Java System Web Server

    Configure the Web server according to the instructions found in Use Sun Java System Web Server V6.1.1.

Before continuing, ensure that the following URLs work:

Original instance New instance
http://host1.domain http://host2.domain
http://host1.domain:5432 http://host2.domain:5432
https://host1.domain https://host2.domain
https://host1.domain:5433 https://host2.domain:5433
https://host1.domain:8000 https://host2.domain:8000
https://host1.domain:8002 https://host2.domain:8002
https://host1.domain:8004 https://host2.domain:8004
https://host1.domain:8006 https://host2.domain:8006

 

Create multiple WebSphere Commerce Payments instances

Assuming you have already created your first WebSphere Commerce Payments instance, you can create each additional instance that you require by following the instructions in Create a WebSphere Commerce Payments instance. In the following table, the existing instance is represented by Original instance and the new instance is represented by New instance. You do not have to modify the values for an existing instance.

You can not create multiple WebSphere Commerce Payments instances in the same WebSphere Commerce Configuration Manager session. Please restart WebSphere Commerce Configuration Manager before you create another WebSphere Commerce Payments instance.

The following table lists the modified default values for the new instance. Replace these values with the actual values that you want to use for your instance.

Field in Configuration Manager Original instance New instance
Instance - Instance name Payments_instance_1 Payments_instance_2
WebSphere Node Name host_name host_name This should be the same host name as the original WebSphere Commerce Payments instance.

Database - Database name

Payments_db1 Payments_db2


Database - Datafile name

Oracle_datafile1 Oracle_datafile2

Database - Database user ID

Oracle_user1 Oracle_user2


Database - Tablespace name

Payments_instance_1TBLSPC Payments_instance_2TBLSPC
Web server - host name host1.domain host2.domain
WebSphere Commerce - host name host1.domain host2.domain
Web server - Primary Document Root (IBM HTTP Server) HTTP_installdir/htdocs1 HTTP_installdir/htdocs2
Web server - Primary Document Root (Sun Java System Web Server) SunONEweb_installdir/docs1 SunONEweb_installdir/docs2
Web server - Primary Document Root (Microsoft IIS) C:\WINNT\System32\inetsrv\
iisadmin\htmldocs1
C:\WINNT\System32\inetsrv\ iisadmin\htmldocs2

Ensure that you verify the instance creation by following the instructions in Verifying the instance creation.

After verifying the additional WebSphere Commerce Payments instances, test the instances.

 

Test multiple instances

To test the original and new instances:

  1. Start all WebSphere Commerce Payments instances.

  2. Test the following URLs:

Original instance New instance
http://host1.domain http://host2.domain
http://host1.domain:5432/webapp/ PaymentManager http://host2.domain:5432/webapp/ PaymentManager
https://host1.domain https://host2.domain
https://host1.domain:5433/webapp/ PaymentManager https://host2.domain:5433/webapp/ PaymentManager
https://host1.domain:8000/accelerator https://host2.domain:8000/accelerator
https://host1.domain:8002/adminconsole https://host2.domain:8002/adminconsole
https://host1.domain:8004/ orgadminconsole https://host2.domain:8004/ orgadminconsole

 

Install the WAS Web server plug-in on a remote machine

To configure your remote Web server to communicate with your WebSphere Commerce machine, install the WAS Web server plug-ins.

For more information on installing the WAS Plug-in Installer in a remote scenario, refer to the following URL:

http://publib.boulder.ibm.com/infocenter/wasinfo/v6r0/topic/ com.ibm.websphere.nd.doc/info/ae/ae/tins_webplugins_remotesa.html

For more information on installing the WAS Web server plug-ins, refer to the following URL:

http://publib.boulder.ibm.com/infocenter/wasinfo/v6r0/topic/ com.ibm.websphere.nd.doc/info/ae/ae/tins_webplugins.html

 

Verifying the instance creation

The configuration information for the new WebSphere Commerce Payments instance is stored in the following file:

(Windows)WC_userdir\instances\payments_instance\xml\payments_instance

(AIX)(Linux)(Solaris)WC_installdir/instances/payments_instance/xml/payments_instance

(i5/OS)WC_userdir\instances\payments_instance\xml\payments_instance

where payments_instance is the name of WebSphere Commerce Payments instance.

Confirm that this file exists before checking the log files produced during instance creation.

Create a WebSphere Commerce Payments instance produces log files in the following directory:

WC_installdir\instances\payments_instance\logs

where payments_instance is the name of WebSphere Commerce Payments instance.

Create a WebSphere Commerce Payments instance produces the following log files:

Create a WebSphere Commerce Payments instance produces the following files in the WC_installdir/logs directory

(i5/OS)WC_userdir/logs directory:

Related concepts

Related tasks