Storage

Server storage configuration includes storage directories, size and duration quotas, optional encryption, cleanup time settings and storage differentiation by name for further flexible allocation of the recorded streams.

To access the storage settings for the server via Macula Console, choose the Configuration section, then select Servers from the menu on the left, double-click your target server and then click the Storage tab. Click the Open storage properties button to open the configuration dialog box.

There are also several settings in server settings dialog box itself. These are explained in the end of this chapter.

To save the changes after you have finished with storage configuration, hit the Apply button beneath the storage settings, then hit OK to close the storage configuration dialog box, and then click OK to finally save the storage settings together with the server configuration. Pressing Cancel on the last step will revoke the changes in the storage configuration.

Directories

All available local disks will be automatically listed after the first installation (with empty configuration) and enabled for recording with default archive directories using the Default storage label. By default, system disk (C:) is not listed if other disks are available, as we strongly do not recommend recording to the system disk.

If you are upgrading, re-installing the software, restoring an earlier database configuration, or inserting new local disks into the server after the software has been installed, the local disks will not be listed automatically so you need to add them as new storages. You can also add network paths to remote storage locations.

Use UP and DOWN arrows on the right to change the disk order (priority); use the recycle bin button in the top panel to remove any local or network directory from the storage configuration.

Mapped network shares that appear as drives in Windows Explorer will not be listed automatically because Macula operates as Windows Service and therefore is unable to access these (due to Windows API peculiarities). You are welcome to add these as network directories in storage settings.

For each storage location, the following information will be displayed:

  • storage priority: determined by the item position in the list

  • storage label (see description below)

  • current quota size

  • free space on disk (except network storages)

  • total disk size (except network storages)

Each directly attached storage location will be automatically assigned a quota of 90%; each storage will have 20GB quota by default. We strongly advise that you review all the settings and make sure that all the storage locations have sufficient free space, and, if necessary, free up some space. It is recommended that every recording location has 10-15% of free space: this helps avoid fragmentation effect and also allows highly loaded software to effectively enforce recording quotas.

We advise against recording to the system drive because it is often used by other processes like defragmentation and system backup, not to mention the operating system itself, and thus doing so may affect recording efficiency and stability. As a result, disk C: is not selected for recording by default.

Total size and free space on the network storages is not displayed here. You can check these in the Monitoring section of Macula Console, under Storages.

To change the disk quota, simply highlight the desired location for storage from the item list, then enter the quota size in GB and click Apply changes.

Storages

You can either use the Default storage category for all locations, or create multiple different storage profiles (types, names, labels). These can be used for manually distributed streaming between storage directories:

  • storage directories are marked with corresponding storage tags

  • each channel is assigned to a recording location

To choose a storage profile different from the Default, select the storage location from the Directories list and click the Change button.

Select one of the built-in storage profiles or create and edit a new one.

The built-in storage types are:

  • Disabled: storage location will not be used

  • Default: default storage tag

  • Fallback: storage destination to be used if all the storage units with specified tags have failed

  • Readonly: existing data will be available for reading and will not be erased; no new recordings will be appended to this location

These profiles cannot be edited or removed. Fallback storage settings are available in the corresponding tab of the Storage properties.

Readonly storage type can be used, for example, in the following cases:

  • it is necessary to view the old data from a different Macula server when you need to insert the disks originating from another computer and you do not wish that these data are erased

  • some storage unit contains important footage that has been requested to be kept for a longer time so that the recordings are not erased over time while still allowing access to the footage

Click + New storage button to create a new storage profile or select an existing one and click the Edit button in the upper-right-hand corner to change its name.

Enter the storage profile title and click OK to save and exit.

The storage tag you have selected or just created will appear as selected. Click the Apply button below to confirm storage configuration settings before proceeding.

Add Storage

In order to add a new local disk or a network storage (NAS, SAN, network share), click + New button on the upper panel, select New local directory or New shared directory, and then enter the setup details.

The table below details the available settings for a shared directory. Enter the settings for the target storage and click Create below: the storage will be validated immediately.

Setting
Description
Default Value

Path

Full network path to the storage directory

\\Server\Share\Macula\Archive Files

Username

User name to connect to the storage

[empty]

Password

Define storage access password, if applicable

[empty]

Quota

Maximum amount of storage in gigabytes to be used for recording; 85-90% is recommended

20GB

Storage

Storage label to be assigned to the target storage directory

Disabled

When adding a local directory, you are first offered to choose the disk from the list of detected ones. If there is just one disk left available, it will be chosen automatically.

Setting
Description
Default Value

Path

Full path to the archive directory

X:\Macula\Archive Files

Quota

Maximum amount of storage in gigabytes to be used for recording; 85-90% is recommended

20GB

Storage

Storage label to be assigned to the target storage directory

Disabled

Storage Encryption

Once you have added all the necessary storages, you can enable encryption and set a password for each storage separately.

Mark the Enable encryption option and specify the password you want. You can change the password at any point, and there is also an additional field that lets you add a hint that may help remembering the password in future: it will appear either as regular text or a tooltip when hovering your mouse cursor over the password prompt field.

The currently available encryption options:

  • None: no encryption

  • AES-128 or AES-256: choose the one you need

When assigning a new password for the storage, make sure to remember it or store in a secure place: you will require it, should you need to access the storage contents in the following scenarios:

  • when accessing the archive with the Portable Player tool

  • when adding the same disk as a storage unit for another server

  • when adding a disk containing archive backup as a storage unit

  • if you delete the encrypted disk from the storage configuration and then add it anew

There is a field that allows you to enter a password hint, which will be displayed in these situations.

You will not be prompted for the password when accessing the archive from the Macula Monitor application connected to a server with encrypted archive: Macula server will decrypt it automatically.

Starting from the moment you set the password, all footage recorded to the target storage becomes encrypted; retroactive encryption for the previously recorded archive is not supported.

When the storage password is changed, the new password is used for encryption from then on. If storage encryption is disabled for some time and then enabled back, that part of the archive will remain unencrypted.

Duration Quota

Set the global recording duration limit for your server here: enable quota management and then enter desired number of days. All recordings older than the number of days specified will be erased.

Note that the global duration quota has priority over the individual (per-channel) duration quota that is set in the Recording Configurations.

Retention

You can set the software erasing mechanism so that it cleans up old recordings only during specific periods of time, e.g., when the recorder is less overloaded or when the quality of recordings are less important.

To do this, enable the cleanup hours setting and specify the time period during which erasing is allowed.

Fallback

You can dedicate a specific recording location to serve as a failover storage, called fallback storage. Such storage location will be used for recording only if all specified target storages of the certain type have failed.

Macula server automatically detects when a channel or channels cannot be written onto their normal destination storage and switches to the fallback storage after the specified timeout has been reached. Minimum and also default timeout is thirty seconds, and maximum is five minutes. A default system event is raised when fallback is activated.

After setting the desired timeout, switch to the Directories tab and specify, which storage will serve as fallback.

Usage example:

Consider a system where all main streams are recorded to the storage with the tag Main and all secondary streams are, in their turn, recorded to the Substreams storage. If either or both of these storages fail, recording will automatically proceed to the Fallback storage.

Server checks if the main storage is available if one of the conditions has been fulfilled:

  • server has finished and closed a data file (4GB)

  • the data file has not reached 4GB in size but six hours have passed

  • server was restarted

In other words, the recording mechanism checks if the main storage is available every 6h OR every 4GB of recorded data OR after a restart (upon startup). If the main storage is OK, Macula server continues to record onto it; the recordings made onto the fallback storage stay there and are not transferred anywhere.

To save the changes, hit the Apply button beneath the storage settings, then hit OK to close the storage configuration dialog box, and then click OK to finally save the storage settings together with the server configuration. Pressing Cancel on the last step will revoke the changes in the storage configuration.

Archive Protection and Deletion

Outdated archive is erased automatically once any of the quotas is reached (storage or duration, server wide or individual). Oldest recordings are removed to free up some space for the newer recordings. However, there are some exceptional cases when the footage is not or may not be erased:

  • storage marked as Readonly will not be used for writing and no data will be erased from such storages based on quotas (however, footage from such storages can be removed using selective erasing from the Macula Monitor application)

  • no erasing will be conducted outside cleanup hours (by default, erasing is allowed 24/7 and this setting is recommended)

  • protected archive intervals will be also ignored by the erasing mechanism until you un-protect them

Archive protection is a feature available in the Macula Monitor application, in playback mode. You can mark certain footage from being erased if it is important to keep it for longer (e.g., as evidence). To unlock the protected intervals, go to Archive statistics in the Monitoring section of Macula Console.

Macula Monitor application allows users with corresponding privileges to delete certain parts of the archive. This mechanism can delete recordings from storages marked as Readonly but cannot erase protected archive from any storage unit.

If the footage is not protected, it will be removed as outdated when the server eraser reaches one of the quotas. Also, the unprotected footage can be removed manually by someone who has a permission to delete archive. However, as such a feature may be may be regarded as a potential threat for the archive integrity, it is disabled by default. You can enable it in the server storage settings by marking the Allow manual deletion option.

Time Restricted Access to Archive

There is a possibility to grant archive access permissions for a limited time: for example, for the last N days or M hours. The access permissions are a part of the channel permission set.

Here, in the server settings dialog box > Storage tab, you can define the allowed archive access period, starting from the present moment.

Depending on your needs, the duration can be expressed in minutes, hours, or days. The minimum period is 10 minutes and the maximum value is 366 days (1 year).

Example: if the recent archive interval is set to 30 minutes, all users having a Restricted video playback permission will be able to browse the last half an hour of the target channel archive in all archive playback modes of the Macula Monitor application.

Last updated