Learn how to modify the wkplc.properties, wkplc_dbdomain.properties,
and wkplc_dbtype.properties files to work with your database. Modify
these property files before running tasks to create databases, create
users, or transfer data.
Working with properties files:
- Locate
the following files and create a back up copy of each before changing
any values:
Default values are listed in these files. Unless otherwise
noted, all values are of type alphanumeric text string. Print out
this topic for reference before modifying the properties files. Make
sure to enter the appropriate values for each instance of each property.
In wkplc_dbdomain.properties, most properties
are repeated for each domain.
- Use a text editor to open the properties
files and enter the values that are appropriate for your environment.
You can also modify each properties file locally on your System
i5 system by
typing the following on an OS/400 command line in a 5250 session:
Note: This step only applies when WebSphere Portal Express is installed on IBM i, and you are
transferring to IBM DB2 for i.
EDTF 'wp_profile_root/ConfigEngine/properties/property filename.properties'
where property
filename is wkplc_dbdomain, wkplc,
or wkplc_dbtype.
Note: You must have a user
profile on the IBM i server
and must have at least *USE special authority to edit the properties
file.
Tip: The steps for transferring data to another
supported database section provide instructions for manually transferring
data. Instead of performing the following steps, you can use the configuration
wizard, which is a graphical user interface, to transfer data to another
supported database.
Properties must be changed before creating
a database name and schema on a local or remote IBM i server.
- Use a text editor to open the properties
file wkplc_dbdomain.properties and modify the
values to correspond to your environment.
- For dbdomain.DbType,
type db2_iseries.
- For dbdomain.DbName,
type the name of the WebSphere Portal Express domain
database.
Note: This value is also the database element
in the dbdomain.DbUrl property.
- For dbdomain.DbSchema,
type the schema name of the database domain.
Note: Review
your target database management system documentation to define a valid
schema name. Some database management systems have schema name restrictions
that you need to understand.
- For dbdomain.DataSourceName,
type the name of the data source that WebSphere Portal Express uses to communicate
with its databases. Do not use the following reserved words:
- releaseDS
- communityDS
- customizationDS
- jcrDS
- lmdbDS
- feedback
- For dbdomain.DbUrl,
type the database URL used to access the WebSphere Portal Express database with JDBC.
The value must conform to the JDBC URL syntax specified by the database.
The connection property metadata source=1 must
be specified for databases running on systems older than IBM i V7R1. Refer to the following example when WebSphere Portal Express is installed on IBM i and you transferring
data remotely or locally to IBM DB2 for i: dbdomain.DbUrl="jdbc:as400:daisy.mycorp.com/WPDBREL;metadata
source=1" Refer to the following
example when WebSphere Portal Express is
installed on Windows and you transferring data remotely to IBM DB2 for i: dbdomain.DbUrl="jdbc:as400:daisy.mycorp.com/WPDBREL;metadata
source=1" Refer to the following
example when WebSphere Portal Express is
installed on a UNIX platform, and you are transferring data to IBM DB2 for i: dbdomain.DbUrl="jdbc:as400:daisy.mycorp.com/WPDBREL;metadata
source=1;prompt=false" If the X11 DISPLAY is set and active,
do not add the ;prompt=false to the URL.
Note: The database element of this value should match the value
of DbName.
- For dbdomain.DbUser,
type the user ID for the database configuration user.
- For dbdomain.DbPassword,
type the password for the database configuration user.
- For dbdomain.DbConfigRoleName,
type the name of the group for database configuration users. Database
rights are granted to this group instead of individuals. The user
specified for dbdomain.DbUser must be assigned to this group.
- Optional: For dbdomain.DbRuntimeUser,
type the user ID of the database user that should be used by WebSphere Portal Express to connect to the
database at runtime. If no value is specified for this setting, the
database configuration user will be used to connect to the databases
at runtime.
- If dbdomain.DbRuntimeUser
is specified, you must set dbdomain.DbRuntimePassword
to be the password of the runtime database user.
- For dbdomain.DbRuntimeRoleName,
type the name of the group for database runtime users. Database rights
are granted to this group instead of individuals. The user specified
for dbdomain.DbRuntimeUser must be assigned to this group.
- Optional: For dbdomain.DBA.DbUser,
type the database administrator user ID for privileged access operations
during database creation and setup. This property is required if you
run the create-database and setup-database ConfigEngine tasks referenced
later in this section. If you do not need this parameter, you can
either accept the default value or leave blank.
- Optional: For dbdomain.DBA.DbPassword,
type the database administrator password for privileged access operations
during database creation. If you do not need this parameter, you can
either accept the default value or leave blank.
- Save and close the file.
- Update the following properties in the
file wkplc_dbtype.properties.
Note: You must download the jt400.jar file prior
to database transfer. Refer to wkplc_dbtype.properties for more information
on downloading the jt400.jar file.
- For db2_iseries.DbDriver, type the
name of the JDBC driver class.
- For db2_iseries.DbLibrary, type
the directory and name of the .zip or .jar file that contains the
JDBC driver class.
- For db2_iseries.JdbcProviderName,
type the name of the JDBC provider that WebSphere Portal Express uses to communicate
with its databases.
- For db2_iseries.DbDriverType,
type the number representing the driver type for the database.
- Save and close the file.
- Update the WasPassword value
in the wkplc.properties file. This value is the
password for the WebSphere Application
Server security
authentication used in your environment.
- Save and close the file.
- Use a text editor to
open the wkplc_sourceDb.properties file and modify
the source.domain.DbPassword parameter
across all domains to correspond to your environment. This value is
the password for the configuration user.
- Save and close the file.