Example of how to use the ParallelDo framework for large parallel operations.
DataCurator will work for the user ID. Another user ID may be used, however
it must have the #CreateOnetimePassword, #SessionAccess and #CodeModification
privileges.

1) Start a stone and netldi. Also start netldis on remote hosts to be used, if any.

2) Populate the database with instances of ObjectToMigrate. For example:

$GEMSTONE/examples/parallelDo/makebigmigrate.sh gs64stone DataCurator swordfish 4 10000 50 50 /tmp

To see a help screen, just run

  $GEMSTONE/examples/parallelDo/makebigmigrate.sh

3) Run the ParallelDo migration:

3a) To run 4 workers on the local host, run

$GEMSTONE/examples/parallelDo/paralleldo.local.sh <stone> <userId> <password>

3b) To run workers across 4 different hosts run:

$GEMSTONE/examples/parallelDo/paralleldo.remotespc.sh <stone> <userId> <password>

4) To reset the migrated objects to their initial unmigrated state, run:

$GEMSTONE/examples/parallelDo/paralleldo.reset.sh <stone> <userId> <password>
