Go to documentation repository
Documentation for Axxon Next 4.6.0. Documentation for other versions of Axxon Next is available too.
Previous page Next page
Creating an archive entity
{ "method": "axxonsoft.bl.config.ConfigurationService.ChangeConfig", "data": { "added": [ { "uid": "hosts/server", "units": [ { "type": "MultimediaStorage", "properties": [ { "id": "display_name", "properties": [], "value_string": "Archive Storage" }, { "id": "color", "properties": [], "value_string": "Gray" }, { "id": "storage_type", "value_string": "object" } ] } ] } ], "changed": [], "removed": [] } }
where
- uid − Server on which the archive is created;
- units − properties;
- storage_type − archive type: block − old archive type; object − new archive type (object archive). If the parameter is not explicitly specified, then an archive of old type is created.
Creating an archive volume
Possible ArchiveVolume parameters in the properties section:
Parameter | Description |
---|---|
format | true if it is necessary to format the created volume. The default is false. |
volume_size_gb | Volume size in GB. Applicable if format = true. |
auto_mount | true if it is necessary to mount the created volume. The default is false. |
label | Volume label |
Parameters for object archives only (storage_type = object): | |
max_block_size_mb | Maximum block size in MB. The default is 64, the range of valid values is [16; 512]. |
optimal_read_size_mb | Optimal size of blocks reading in MB. The default is 4, the range of valid values is [1; max_block_size_mb / 2]. |
incoming_buffer_size_mb | The incoming buffer size in MB. The default is 3 * max_block_size_mb. The minimum value should be greater than 2 * max_block_size_mb. |
block_flush_period_seconds | Block recording period in seconds. The default is 60, the range of valid values is [30; 300]. |
index_snapshot_max_block_distance | The maximum number of blocks between indexing operations. The default is 256, the minimum is 16. |
sequence_flush_period_seconds | Sequences recording period in seconds. The default is 60, the minimum is 32. |
At the ArchiveVolume level, the connection_params property is also added, with the following parameters:
Parameter | Required | Description |
---|---|---|
schema | Yes | Volume type. Possible values: file − local archive on the Server; smb − network archive with an SMB protocol connection; azure − archive in Microsoft Azure cloud storage; s3 − archive in cloud storage Amazon S3 (aws.amazon.com/s3), Wasabi (wasabi.com), Huawei Cloud (huaweicloud.com), or Seagate Lyve Cloud (seagate.com). |
Parameters for the file type: | ||
path | Yes | The path to the file/disk with the archive. |
Parameters for the smb type: | ||
host | Yes | Name of the server with network repository. |
smb_share | Yes | Network repository. |
path | Yes | Folder in network repository, where the archive will be stored. |
smb_domain | No | Network repository domain. |
user | No | User name. |
password | No | Password. |
Parameters for the Azure type: | ||
protocol | Yes | Connection protocol: HTTP or HTTPS. This parameter is located in the properties of the created container. |
host | Yes | Azure server address. This parameter is located in the properties of the created container. |
access_key | Yes | Access key in base64. This parameter is located in the Access keys section. |
container | Yes | Azure container. This parameter is located in the properties of the created container. |
user | Yes | User name. This parameter is located in the Access keys section (Storage account name). |
path | No | Location of the volume folder in Azure. |
port | No | Azure server port. |
Parameters for the s3 type (Amazon storage): | ||
access_key_id | Yes | Access key identifier (create access keys at https://console.aws.amazon.com/iam/home?#/security_credentials$access_key, authorization required). |
secret_access_key | Yes | Access key password (available after creating an access key). |
bucket | Yes | Archive volume in Amazon S3 account (bucket). Different volumes can be located in different regions. On the Amazon S3 server, the volume name should be unique, and for the Axxon Next operation, it should be pre-created by the user according to the rules (see https://docs.aws.amazon.com/AmazonS3/latest/userguide/bucketnamingrules.html). |
region | Yes | The region where the volume is located. To reduce the delay when writing and reading an archive, specify the closest region to the Axxon Next Server. For the list of possible regions, see https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints. |
path | Yes | Location of the Axxon Next volume folder inside the bucket. |
protocol | Yes | Connection protocol: HTTP or HTTPS. |
host | Yes | Amazon S3 server address in the format: <bucket_name>.s3.amazonaws.com. |
Parameters for the s3 type (Wasabi storage): | ||
bucket | Yes | Archive volume name (Bucket Name), predefined by the user at https://console.wasabisys.com/#/file_manager. |
region | Yes | The region where the corresponding volume is located, as specified at https://console.wasabisys.com/#/file_manager. |
access_key_id | Yes | Access key identifier, which should be pre-created at https://console.wasabisys.com/#/access_keys. |
secret_access_key | Yes | Access key password (available after creating an access key). |
protocol | Yes | Connection protocol: HTTP or HTTPS. |
path | Yes | Location of the folder created inside the bucket (Folder object in Bucket). |
host | Yes | Wasabi server address in the format: s3.<region>.wasabisys.com. |
Parameters for the s3 type (Huawei Cloud storage): | ||
bucket | Yes | Archive volume name (Bucket Name), predefined by the user at the Object Storage Service tab. |
region | Yes | The region where the corresponding volume is located, as specified when it was created. Specified in the Endpoint parameter in the Bucket properties. |
access_key_id | Yes | Access key identifier, which should be created by clicking on the link "Obtain access keys (AK and SK)". |
secret_access_key | Yes | Access key password (available after creating an access key). |
path | Yes | Location of the folder created inside the bucket. |
protocol | Yes | Connection protocol: HTTP or HTTPS. |
host | Yes | Server address. Corresponds to the Endpoint parameter in the Bucket properties. |
Parameters for the s3 type (Seagate Lyve Cloud storage): | ||
bucket | Yes | Archive volume name (Bucket Name), predefined by the user. Corresponds to the Name parameter in the Bucket properties. |
region | Yes | The region where the corresponding volume is located, as specified when it was created. Corresponds to the Region parameter in the Bucket properties. |
access_key_id | Yes | Access key identifier, which is generated when creating an account in the Create Service Account window. |
secret_access_key | Yes | Access key password (available after creating an access key). |
path | Yes | Location of the folder created inside the bucket. |
protocol | Yes | Connection protocol: HTTP or HTTPS. |
host | Yes | Server address. Corresponds to the Virtual Host URL parameter in the Bucket properties. |
Example of creating an object archive as files on a local disk:
Example of creating an object archive on a network resource:
Example of creating an object archive in Microsoft Azure:
Example of creating an object archive in Amazon S3:
Example of creating an object archive in Wasabi:
Example of creating an object archive in Huawei Cloud:
Example of creating an object archive in Seagate Lyve Cloud:
Changing an archive volume
To change the archive volume, the same parameters are used as when creating it.
{ "method": "axxonsoft.bl.config.ConfigurationService.ChangeConfig", "data": { "added": [ { "uid": "hosts/server/MultimediaStorage.Gray/ArchiveVolume.495c3ef4-043f-4890-a4e0-c66f4fa252e7", "units": [ { "type": "ArchiveVolume", "properties": [ { "id": "connection_params", "value_properties": { "properties": [ { "id": "schema", "value_string": "file" }, { "id": "path", "value_string": "D:/AliceBlueBlock" } ] } }, { "id": "label", "value_string": "Test archive block" }, { "id": "volume_size_gb", "value_uint64": 100 }, { "id": "format", "value_bool": true } ] } ] } ], "changed": [], "removed": [] } }