Installing, validating, and activating the sample data

You can use Ant scripts to install, validate, and activate the sample data.

About this task

You can install, validate, and activate the sample data simultaneously. Or, you can install the sample data first and then activate the data later. For example, if you want to customize and test the installed sample data before you activate it, run the install in non-activator mode.

Procedure

  1. To unpack the sample configuration file, run the following command:
    • WindowsInstallService.cmd <INSTALL_DIR>\referenceImplementation\ReferenceImpl.jar
    • Linux./InstallService.sh <INSTALL_DIR>/referenceImplementation/ReferenceImpl.jar

    where,

    <INSTALL_DIR> is the location where Sterling Order Management is installed.

    The <INSTALL_DIR>/properties/AuroraValueMaps.xml.sample file is created. This file contains the mappings between the sample data and the HCL Commerce sample extended site store.

  2. Rename <INSTALL_DIR>/properties/AuroraValueMaps.xml.sample to ValueMaps.xml.
  3. Run the install in activator mode or non-activator mode.
    • To install, validate, and activate the sample data, run the install in activator mode from the <INSTALL_DIR>/bin directory. The following table describes your options for installing the sample data in activator mode:
      Option Description
      To install and activate configuration data and demo data
      • Windowssci_ant.cmd -f load_aurora_ref_impl.xml -Drunmasterdata=Y -logfile <logfile>
      • Linux./sci_ant.sh -f load_aurora_ref_impl.xml -Drunmasterdata=Y -logfile <logfile>
      To install and activate configuration data only
      • Windowssci_ant.cmd -f load_aurora_ref_impl.xml -logfile <logfile>
      • Linux./sci_ant.sh -f load_aurora_ref_impl.xml -logfile <logfile>
      To install and activate transaction data
      • Windowssci_ant.cmd -f load_aurora_ref_impl.xml -Drunmasterdata=Y transactiondata -logfile <logfile>
      • Linux./sci_ant.sh -f load_aurora_ref_impl.xml -Drunmasterdata=Y transactiondata -logfile <logfile>

      When you run the install in activator mode, the sample data is installed, validated, and activated. Next, follow step 6 to activate the integration.

    • To install the sample data without activating the data, run the install in non-activator mode from the <INSTALL_DIR>/bin directory. The following table describes your options for installing the sample data in non-activator mode:
      Option Description
      To install configuration data only without activating the data
      • Windowssci_ant.cmd -f load_aurora_ref_impl.xml noactivator -logfile <logfile>
      • Linux./sci_ant.sh -f load_aurora_ref_impl.xml noactivator -logfile <logfile>
      To install configuration data and demo data without activating the data
      • Windowssci_ant.cmd -f load_aurora_ref_impl.xml noactivator -Drunmasterdata=Y -logfile <logfile>
      • Linux./sci_ant.sh -f load_aurora_ref_impl.xml noactivator -Drunmasterdata=Y -logfile <logfile>

      When you run the install in non-activator mode, the sample data is installed but not activated. Next, follow step 4 to validate the sample data, step 5 to activate the sample data, and step 6 to activate the integration.

    Note: If the sample configuration installation fails and you want to rerun the installation scripts, ensure that you delete the .restart files before you rerun the installation.
  4. To validate the installed sample data without activating it, run the following command from the <INSTALL_DIR>/bin directory:
    • Windowssci_ant.cmd -f load_aurora_ref_impl.xml validate -logfile <logfile>
    • Linux./sci_ant.sh -f load_aurora_ref_impl.xml validate -logfile <logfile>
  5. To validate and activate the installed sample data, run the following command from the <INSTALL_DIR>/bin directory:
    • Windowssci_ant.cmd -f load_aurora_ref_impl.xml activator -logfile <logfile>
    • Linux./sci_ant.sh -f load_aurora_ref_impl.xml activator -logfile <logfile>
  6. After you activate the sample data, activate the integration by running the enterprise activation script on created enterprises. For more information, see Activating a Direct Integration.