Setting EC folder structure message distribution

Archiving several files in a directory affects the I/O speed that results in limited throughput in EC. This happens when several Archive process steps are defined in Agreements. Use the procedures here to configure the archive properties in EC.

Note: 

Folders are not automatically moved or deleted when you configure these properties. Processing may take a while for several archive files.

  • Configure the DocArchiver.Level property to be able to distribute archived files to 16{0...f} raised to n folders based on the message UUID, where "n" equals the DocArchiver.Level value. When a large number of files are expected in the archive, the 16 raised to n is used.

    Data: integer

    For example: flat/tree level 1="0", flat level 2="00", tree level 2="0"/"0"

    The default value is 2.

  • Configure the DocArchiver.IsTree property. This is dependent on the value of the DocArchiver.Level property. The value indicates whether the folder structure is flat (00) or tree (0/0).

    Data: boolean

    For example: flat/tree level 1="0", flat level 2="00", tree level 2="0"/"0"

Use this procedure:

  1. Create a copy of the back-up archive.
    1. Access EC Management Page > Archive > Backup/Cleaning.
    2. In the Documents before field, set the start date of archived files to back up.
    3. Select the check-box Remove files from archive after back-up.
    4. Click Submit.

      It will create an archived zip file entry in the "Backup Restore" page. The zip file will be restored later, see step 5.

  2. Configure the DocArchiver.Level, then the DocArchiver.IsTree properties.

    You configure the properties in the EC Configuration Page > Edit Properties > Application Defined Properties > MEC Folder Structure Message Distribution.

    Click the value link across the property to update and specify a new value.

  3. Save your changes.
  4. Restart EC.
  5. Restore the Backup.

    You restore the archived zip file in the EC Management Page > Archive > Backup Restore. Do this to move the messages in the corresponding folders.

    Select the archive back-up file to restore, then click Submit to move the files to their corresponding folders.

  6. View the message status and archive location.

    You view the message status in EC Management Page > Message > Status.