Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Replication of the archive data refers to Archive data replication is the copying of fixed-size blocks of information (video, audio, metadata) from one archive to another within the same Axxon- domain. The primary purpose of data replication is to ensure long-term storage and access to multimedia data on remote storage devices. Any archive can act as a source and the receiver of data. Every archive can be both the sender and receiver of data. 

Note
titleAttention!
Replication
  • In a block archive, replication is performed as blocks of information accumulate and only to the end of
the
  • an archive.
Blocks
  • In an object archive, blocks of information can be replicated to any part of
the archive in the object
  • an archive.
  • To transfer the old data from Archive 1 to Archive 2 and continue recording new data to Archive 2, do the following:
    • Replicate the data
from
    • from Archive 1 to Archive 2, recording isn't performed to Archive 2.
    • Configure the camera recording
to
    • to Archive 2.
      The events indicating the start and successful completion of data replication are generated in the system (see Event control). These events can be used in macros (see Programming).
  • Archives can use block or object type of storage (see General information about server archives). To successfully replicate data from an object archive to a block archive, you must create the NGP_ARCHIVE_REPLICATE_FRAME_BY_FRAME environment variable with the value (see Creating system variable).

To configure data replication, do the following:

  1. In the list of archives of the
  2. Axxon-
  3. domain, select the archive to which you want to copy data from other archives.
  4. Select one or more archives from which you want to copy data. You can also replicate video from the embedded camera storage (see Embedded storage).
    Image Modified

  5. In the Replication period parameter, select the replication period:

  6. Always—replication is performed continuously. 

  7. Time schedule—replication is performed within the specified time schedule (see Creating schedules). For example, to distribute the CPU load, you can configure replication to run at night.
  8. Set the replication parameters specified in the table:

    ParameterValueDescription
    Archive replication
    Replication mode

    Select the value for the replication period from the drop-down list

  9. On demand—replication is started manually or using macros (see Manual archive replication, Start replication).
  10. Note
    titleAttention!
    • If you change the replication period in
  11. an
    • the existing replication archive, the archive recordings for the previous period are deleted.
    • If you use an object archive,
  12. it is possible to
    • you can record data and replicate it to the same archive at a time if you select the On demand replication period. For example, in the case of continuous recording and a short-term (for example,
  13. five
    • 5 minutes) loss of connection with the camera, you can use a macro to replicate the data from the embedded storage to the same archive to which the continuous recording is made.


    AlwaysThe value is set by default.
  14. Replication is performed constantly
    On demandYou can start replication manually or use macros (see Manual archive replication, Start replication)
    Frame skipping, fps





    NoThe default value is No. Select the required value from the drop-down list
    By key frames
    1 per 240 seconds
    1 per 120 seconds
    1 per 60 seconds
    1 per 30 seconds
    1 per 20 seconds
    1 FPS (MJPEG only)
    2 FPS (MJPEG only)
    3 FPS (MJPEG only)
    4 FPS (MJPEG only)
    5 FPS (MJPEG only)
    6 FPS (MJPEG only)
    7 FPS (MJPEG only)
    8 FPS (MJPEG only)
    9 FPS (MJPEG only)
    10 FPS (MJPEG only)
    11 FPS (MJPEG only)
    12 FPS (MJPEG only)
    13 FPS (MJPEG only)
    14 FPS (MJPEG only)
    15 FPS (MJPEG only)
    16 FPS (MJPEG only)
    17 FPS (MJPEG only)
    18 FPS (MJPEG only)
    19 FPS (MJPEG only)
    20 FPS (MJPEG only)
    21 FPS (MJPEG only)
    22 FPS (MJPEG only)
    23 FPS (MJPEG only)
    24 FPS (MJPEG only)
    25 FPS (MJPEG only)
    26 FPS (MJPEG only)
    27 FPS (MJPEG only)
    28 FPS (MJPEG only)
    29 FPS (MJPEG only)
    30 FPS (MJPEG only)
    Cameras for replication 

    Select the required cameras for each archive whose data you want to copy

  15. In the Cameras for replication parameter, for each archive, select cameras from which data are copied
  16. to the replication archive. To select all cameras, click the Select all button

  17. .

  18. Info
    titleNote
  19. Data from a particular camera can be copied
    • You can copy the camera data to the replication archive only from one archive.
  20. When
    • If you select a camera for replication from
  21. an
    • any archive,
  22. the
    • this camera becomes unavailable for replication from
  23. any
    • all other
  24. archive
    • archives.
    • You cannot select cameras if they are already recording to the selected replication archive.
  25. Click
  26. the
  27. the Apply Image Modified button. To cancel an action, click the Cancel Image Added button.

Configuring data replication is complete. If the replication period is set to Always, data replication starts immediately after the settings are applied.

Data replication from the block archive to the object archive

If Axxon One performs continuous recording of streams from cameras to the block archive and you want to transfer data from the block archive to the object archive, you must:

  1. Create a new object archive.
  2. Replicate previously recorded data from the block archive to the object archive.
  3. Disable replication and bind cameras to the object archive for subsequent recording.
  4. Unbind cameras from the block archive, leaving only the object archive active.

As a result, all old recordings transferred from the block archive to the object archive are saved. New camera recordings are saved directly to the object archive.