Administer > Manage instances > WebSphere Commerce Payments instance > WebSphere Commerce Payments > Create a WebSphere Commerce Payments instance


Creating 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 WCS 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...


Before you begin

Verify the node meets the following requirements:

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

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

Normally, we will have operational pre-existing WebSphere Commerce and WebSphere Commerce Payments instances and 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 the original instance in order to better organize the multi-instance environment.


Procedure

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

  2. Depending on the Web server:

    Option Description
    Microsoft IIS Configure the Web server.
    Sun Java System Web Server Configure the Web server.

  3. 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

  4. Create multiple WebSphere Commerce Payments instances

    Assuming you have already created the 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 cannot create multiple WebSphere Commerce Payments instances in the same Configuration Manager session. Please restart 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 to use for the 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 Verify the instance creation.

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

  5. Test multiple 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

  6. Install the WebSphere Application Server Web server plug-in on a remote machine

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

  7. Verify the instance creation

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

    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... WC_INSTALL\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:

    • createdb.log

    • createdb.err.log

    Create a WebSphere Commerce Payments instance produces the following files...

    • Configurator.1.log This log file will be required by IBM support if there was a problem with the Payments instance creation.

    • WCSconfig.log


+

Search Tips   |   Advanced Search