WebSphere Commerce suite - SOLUTION: How to separate a local DB to a remote DB

This is Interesting: Free IT Magazines  
Home > Archive > WebSphere Commerce suite > January 2004 > SOLUTION: How to separate a local DB to a remote DB





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author SOLUTION: How to separate a local DB to a remote DB
Juergen Sautter

2004-01-19, 2:48 pm

Hi,

the following are instructions if you wanna separate your local installed
WCS database to a remote machine.

1.) Install DB on your remote machine .

2.) Do an export of your local database and import it to the remote
database.

3.) edit AppServer\bin\admin.conf and change the values for the DB.
# Repository database settings
com.ibm.ejs.sm.adminServer.dbdataSourceClassName=COM.ibm.db2.jdbc.DB2Connect
ionPoolDataSource
com.ibm.ejs.sm.adminServer.dbserverName=
com.ibm.ejs.sm.adminServer.dbportNumber=
com.ibm.ejs.sm.adminServer.dbdatabaseName=was40
com.ibm.ejs.sm.adminServer.dbuser=commerce
com.ibm.ejs.sm.adminServer.dbpassword={xor}sadsdasdasd=
com.ibm.ejs.sm.adminServer.dbdisable2Phase=true

4.) edit the CommerceServer\instances\<instancename>\xml\<instancename>.xml
file and change there the values for the DB
<Database>
<DB DBAHomeDir=""
DBAName="commerce"
DBAPwd="7W/5="
DBHost="my.host.de"
DBMSName="DB2"
DBNode="mall"
DBServerPort=""
DBUserHomeDir=""
DBUserID="commerce"
DBUserPwd="7W/5P3G4TiRYQngfZIqmfg=="
OraUserID=""
RemoteDB="true"
RunDB2SG="true"
ServiceName=""
StagingEnable="false"
active="true"
name="mall" />
</Database>
ensure you set the RemoteDB to true.

5.) Start WAS and change the WCS DataSource in the WAS Admin console to
point to the remote database.

6.) Start your WCS.

Gratz to me and everybody else who helped me before
Juergen


Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com