di-parallel-process utility

The di-parallel-process utility indexes preprocessed shards based on a configured input properties file.

Syntax diagram for di-parallel-process utility

Parameter values

input_properties_file
The relative path of the input properties file to pass into the utility.
For example, ../../di-parallel-process-linux-oracle.properties
instance_name
The name of the WebSphere Commerce instance with which you are working (for example, demo).
dbuser
Optional: The name of the user that is connecting to the database.
dbuserpwd
Optional: The password for the user that is connecting to the database.
searchuser
Optional: The search application administrative user name.
searchuserpwd
Optional: The search application administrative user password.

Sample properties file

Before you can run the utility, you must create an input properties file to be used for indexing, based on the output of the setup utility.

The sharding input properties file is used by the di-parallel-process utility to process indexing shards. It contains the following sections of properties:
  • System properties, which are shared by other utilities. For example, passwords that are common among utilities.
  • Database properties, which are used to establish database connections with the database server.
  • Global preprocessing and indexing properties, which are used for preprocessing and indexing by all shards.
  • Master search server properties, which specifies the master index cores where all shard data is merged.
  • Horizontal Shard properties, which specifies the horizontal shard properties.
  • Vertical Shard properties, which specifies the vertical shard properties.

You can use the following sample file for reference: di-parallel-process.zip.

The sample uses the en_US locale with shards A, B, and C. It contains the following files:
di-parallel-process-FEP8-linux-oracle.properties
The sample sharding input properties file for a Linux operating system with Oracle.
password.properties
The sample password properties file, referenced by the sample sharding input properties file. It contains passwords encrypted by the wcs_encrypt utility.

For more information about the properties file and expected values, see Sharding input properties file.

Example

From the following directory:
  • WC_installdir/bin
  • WebSphere Commerce DeveloperDB2WCDE_installdir\bin
Run the following command:
  • WebSphere Commerce DeveloperDB2di-parallel-process.bat input_properties_file
  • Windows di-parallel-process.bat input_properties_file -instance instance_name [-dbuser dbuser] [-dbuserpwd dbuserpwd] [-searchuser searchuser] [-searchuserpwd searchuserpwd]
  • LinuxAIXFor IBM i OS operating systemdi-parallel-process.sh input_properties_file -instance instance_name [-dbuser dbuser] [-dbuserpwd dbuserpwd] [-searchuser searchuser] [-searchuserpwd searchuserpwd]