Loading default sample data

After deployment, you must load the database with sample data before you can start to use the Automation Document Processing Designer.

Procedure

  1. Make sure Content Analyzer is deployed successfully by running the following command:
    acacm=$(oc get cm -o name |grep aca-config)
      oc get $acacm -o jsonpath='{.data.ACA_INIT_STATUS}'

    This command should return True. If this is not the case, review your deployment log.

  2. Download the required sample data file, db2_imports.tar.xz, from the Natural Language Extractor pod by running the following command:
    export nle_pod=$(oc get po |grep icp4adeploy-natural-language-extractor | awk {'print $1'}| head -1)
      oc cp $nle_pod:/data-org/db_sample_data/db2_imports.tar.xz ./db2_imports.tar.xz
  3. Copy the db2_imports.tar.xz file to the Db2 server, to the ACA/configuration-ha/DB2 folder where you downloaded from the cert-kubernetes repository.
  4. Extract the db2_imports.tar.xz contents by running the following command:
    tar -xvzf db2_imports.tar.xz
  5. From the DB2 folder, run the LoadDefaultData.sh script.
  6. When prompted, enter the following information.
    • The name of your project database
    • The Project Ontology name, either the default or the name that you specified
  7. Repeat the script for each Project database in both your authoring and runtime environments.
  8. Create a document processing project to train documents. For more information, follow the steps in Creating a document processing project.