6320ch_migrating.fm

Draft Document for Review July 28, 2004 7:33 pm

DB2 backup db payman to c:\db2backup

11.4.6 Transfer assets to WebSphere Commerce Payments node

The assets need to be transferred from the WebSphere Payment Manager Node to the new WebSphere Commerce Payments Node.

1.Transfer the instance backup file, wcbackupwpm221.zip, from the

<wpm_home>\temp\zip directory on the WebSphere Payment Manager Node to the <wcp_home>\temp\zip directory on the WebSphere Commerce Payments node.

2.Transfer the WebSphere Payment Manager database backup, you made in 11.4.5, “Backup the WebSphere Payment Manager database” on page 223, to the WebSphere Commerce Payments Node.

11.4.7Restore WebSphere Payment Manager database

Restore the WebSphere Payment Manager database on the WebSphere Commerce Payments Node by typing the following command from the DB2 Command Prompt:

db2 restore db <wpm_db> from <backup_dir>

In our example:

db2 restore db payman from c:\db2backup

11.4.8 Migrate the WebSphere Payment Manager instance

To migrate the WebSphere Payment Manager instance follow these steps on the WebSphere Commerce Payments node.

1.Type the following command from the <Commerce_home>\bin directory

wcim.bat -component wpm -from wpm221 -migration replace -instance <payment_instance_name>

In our example we typed

wcim.bat -component wpm -from wpm221 -migration replace -instance default

When we ran the command, it prompted us for the following values:

Is a new Web server host name used for he new instance? [DEFAULT yes]

In our example, we entered YES

Enter a new Web server host name:[DEFAULT <full_qualified_hostname>] In our example, we accepted the default

224Keeping Commerce Applications Updated WebSphere Commerce 5.1 to 5.6 Migration Guide

Page 242
Image 242
IBM SG24-6320-00 manual Transfer assets to WebSphere Commerce Payments node, Restore WebSphere Payment Manager database