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:
- A WebSphere Commerce instance and its associated WebSphere Commerce Payments instance exist on the same node. Multiple WebSphere Commerce instances using remote WebSphere Commerce Payments instances will not be covered.
- The Web server and database server exist on the same node as WebSphere Commerce and WebSphere Commerce Payments.
- You have an existing WebSphere Commerce instance.
- You have an existing WebSphere Commerce Payments instance.
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:
- If you are using the minimum required amount of system memory, increase the system's memory by 512 MB for each additional WebSphere Commerce instance and its associated WebSphere Commerce Payments instance on a system.
- For each additional WebSphere Commerce instance and its associated WebSphere Commerce Payments instance on a system, increase the system's virtual storage by 1 GB.
If you are using Oracle Database with WebSphere Commerce, each additional WebSphere Commerce instance and its associated WebSphere Commerce Payments instance will require its own data file. The table spaces and Oracle Database IDs required by WebSphere Commerce and WebSphere Commerce Payments can be created for you when you create the instances.
- Each WebSphere Commerce instance must have its own host name. This host name will also be used by the associated WebSphere Commerce Payments instance.
- Each host name for each instance requires its own IP address. The IP address must be valid on the network, with associated host names in the DNS server. The IP address must also be on the same VLAN as the IP address of the original instance.
- You can also use the IP address and host name of the node for one of the instances. In this case, you need just two IP addresses for two instances.
- Each set of WebSphere Commerce and WebSphere Commerce Payments instances requires its own host name.
- The host name for each instance must resolve fully to separate IP addresses. For example, to verify that you can run WebSphere Commerce Configuration Manager and create multiple instances, run the nslookup command on both the host name and IP address for each instance. The host name should resolve to its correct IP address, and the IP address should resolve to its correct host name:
- nslookup 'host1.domain'
nslookup 'xxx.xxx.xxx.xxx'nslookup 'host2.domain'
nslookup 'yyy.yyy.yyy.yyy'
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:
- Create a new Web server associated with the new virtual host name and new IP address. Refer to the Web server documentation for instructions.
- 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.
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:
- Start all WebSphere Commerce Payments instances.
- 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_instancewhere 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:
- Configurator.1.log This log file will be required by IBM support if there was a problem with the Payments instance creation.
- WCSconfig.log
Related concepts
Related tasks