Section |
---|
Column |
---|
|
Panel |
---|
borderColor | #CCCCCC |
---|
bgColor | #FFFFFF |
---|
titleBGColor | #F0F0F0 |
---|
borderStyle | solid |
---|
title | On this page: |
---|
| |
|
|
Creating a storage
Expand |
---|
|
Code Block |
---|
| {
"method": "axxonsoft.bl.config.ConfigurationService.ChangeConfig",
"data": {
"added": [ {
"uid": "hosts/server",
"units": [ {
"type": "MultimediaStorage",
"properties": [
{ "id": "display_name", "properties": [], "value_string": "ArchiveStorage" },
{ "id": "color", "properties": [], "value_string": "Gray" },
{ "id": "storage_type", "value_string": "object" }
] } ] } ]
}
} |
|
where
- uid
− Server - —server on which the archive is created
;- ,
- units
− properties- —properties;
volume- storage_type
− archive type: block − old archive type; object − new archive type (object archive). If the parameter is not - —archive type (if the parameter isn't explicitly specified, then an archive of the old type is created):
- block—old archive type,
- object—new archive type (object archive).
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 value is false. |
volume_size | Volume size in bytes. Applicable if format = true. |
auto_mount | true if it is necessary to mount the created volume. The The default is value is false. |
label | Volume label |
Parameters for object | archives archive only (storage_type = object): |
max_block_size_mb | Maximum block size in MB. The default value is 64, the range of valid values is [16; 512]. |
optimal_read_size_mb | Optimal size of blocks reading blocks reading in MB. The default is value 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 value is 3 * max_block_size_mb. The minimum value should must be greater than 2 * max_block_size_mb. |
block_flush_period_seconds | Block recording period in seconds. The default value 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 value is 256, the minimum value is 16. |
sequence_flush_period_seconds | Sequences recording period Frequency of recording sequences in seconds. The default value is 60, the minimum value 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: |
− local Server; − network an ; − archive - —archive in Microsoft Azure cloud storage
|
; − archive /s3.wasabi − archive in Wasabi - seagate—archive in Seagate Lyve Cloud cloud storage (
|
wasabi.huawei − archive in Huawei Cloud - wasabi—archive in Wasabi cloud storage (
|
huaweicloud._seagate − archive in Seagate Lyve Cloud - —universal archive in the cloud storage (
|
seagate.com).- AxxonSoft tested it with min.io.com version RELEASE.2021-08-05T22-01-19Z). It is used when using other types of cloud storage
|
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.remote storage |
smb_share | Yes |
Network repository.Remote storage |
path | Yes | Folder in |
network repositoryremote storage, where the archive |
will be .Network repository .User name.Username |
password | No | Password |
. |
Parameters for the azure type |
:protocol (Microsoft Azure storage) |
protocol | Yes | Connection protocol: HTTP or HTTPS. |
This This parameter is located in the properties of the created container |
. |
host | Yes | Azure server address. |
This This parameter is located in the properties of the created container |
. |
access_key | Yes | Access key in base64. |
This . |
container | Yes | Azure container. |
This This parameter is located in the properties of the created container |
.User nameThis This parameter is located in the Access keys section (Storage account name) |
. |
path | No | Do not specify the location of the volume folder in |
Azure — the should .. |
Parameters for the s3_amazon type (Amazon storage) |
:. |
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 the the Axxon One operation, it |
should . |
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 One |
Server server. For the list of possible regions, |
see . |
path | Yes | Location of the Axxon One volume folder inside the bucket |
. |
protocol | Yes | Connection protocol: HTTP or HTTPS |
. |
host | Yes | Server address: amazonaws.com |
. |
Parameters for the s3_wasabi type (Wasabi storage) |
:.. |
access_key_id | Yes | Access key identifier, which |
should . |
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 | Server address: wasabisys.com |
.huaweiHuawei Seagate Lyve Cloud storage): |
bucket | Yes | Archive volume name (Bucket Name), predefined by the user |
at the Object Storage Service tab.. 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. |
Specified in the Endpoint Corresponds to the Region 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)".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 |
.myhuaweicloud._seagate (Seagate Lyve Cloud storage): |
bucket | Yes | Archive volume name (Bucket Name), predefined by the user. Corresponds to the Name parameter in the Bucket properties |
bucket_endpoint | No | |
regionYes | The region where the corresponding volume is located, as specified when it was created. Corresponds to the Region parameter in the Bucket properties. | | You must use the parameter only when using MinIO if the domain name of the MinIO server is specified instead of the server IP address. |
Example: http://miniopoc1.agis.xh.ar:9000 where, - miniopoc1.agis.xh.ar—the domain name of the MinIO server,
- 9000—MinIO port
|
region | Yes | The region where the volume is located |
access_key |
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: lyvecloud.seagate.com. |
|
secret_access_key | Yes | Access key password (available after creating an access key) |
path | No | Location of the Axxon One folder inside the bucket |
protocol | Yes | Connection protocol: HTTP or HTTPS |
host | Yes | Server address |
port | Yes | Server port |
Info |
---|
|
Starting with Аxxon One 2.0, you can create several volumes of the cloud archive. |
Note |
---|
|
- We recommend adding new volumes of the cloud archive with the same value of archive size. Otherwise, the total depth of the archive storage can change due to the Round-robin algorithm (see General information about the Round-robin algorithm) for record distribution, which can lead to decimation of the frames of archive recordings.
When the archive size of one of the cloud archive volumes increases, the archive volumes are overwritten by the Round-robin algorithm (see General information about the Round-robin algorithm). The depth of the archive storage will gradually increase over the number of days equal to the difference between the original and the new value of the archive storage depth.
|
Example of creating an archive volume as files on a local disk
...
Expand |
---|
|
Code Block |
---|
{
"method": "axxonsoft.bl.config.ConfigurationService.ChangeConfig",
"data": {
"added": [
{
"uid": "hosts/SERVER/MultimediaStorage.Gray",
"units": [
{
"type": "ArchiveVolume",
"properties": [
{
"id": "volume_type",
"value_string": "object",
"properties": [
{
"id": "connection_params",
"value_properties": {
"properties": [
{"id": "schema","value_string": "file"},
{"id": "path","value_string": "D:/archives"}
]}}]},
{"id": "label","value_string": "test"},
{"id": "volume_size","value_uint64": "26843545600"},
{"id": "format","value_bool": true},
{ "id": "auto_mount", "value_bool": true }
]}]}
]
}
} |
|
Example of creating an archive volume on a
...
remote resource
...
Expand |
---|
|
Code Block |
---|
{
"method": "axxonsoft.bl.config.ConfigurationService.ChangeConfig",
"data": {
"added": [
{
"uid": "hosts/SERVER/MultimediaStorage.Gray",
"units": [
{
"type": "ArchiveVolume",
"properties": [
{
"id": "volume_type",
"value_string": "object",
"properties": [
{
"id": "connection_params",
"value_properties": {
"properties": [
{ "id": "schema", "value_string": "smb" },
{ "id": "host", "value_string": "computer" },
{ "id": "smb_domain", "value_string": "domain" },
{ "id": "smb_share", "value_string": "Share" },
{ "id": "path", "value_string": "video" },
{ "id": "user", "value_string": "Tester" },
{ "id": "password", "value_string": "Testing321" }
]}}]},
{"id": "label","value_string": "test"},
{"id": "volume_size","value_uint64": "12073741824"},
{"id": "format","value_bool": true}
]}
]
}
]
}
} |
|
Example of creating
...
a cloud archive volume
...
in Microsoft Azure
...
Expand |
---|
|
Code Block |
---|
{
"method": "axxonsoft.bl.config.ConfigurationService.ChangeConfig",
"data": {
"added": [
{
"uid": "hosts/SERVER/MultimediaStorage.Gray",
"units": [
{
"type": "ArchiveVolume",
"properties": [
{
"id": "volume_type",
"value_string": "object",
"properties": [
{
"id": "connection_params",
"value_properties": {
"properties": [
{ "id": "schema", "value_string": "azure" },
{ "id": "protocol", "value_string": "https" },
{ "id": "host", "value_string": "axxonsoft.blob.core.windows.net" },
{ "id": "access_key", "value_string": "youraccesskey==" },
{ "id": "container", "value_string": "container" },
{ "id": "user", "value_string": "axxonsoft" },
{ "id": "path", "value_string": "" }
]}}]},
{"id": "label","value_string": "test"},
{"id": "volume_size","value_uint64": "12073741824"},
{"id": "format","value_bool": true}
]}
]
}
]
}
} |
|
Example of creating
...
a cloud archive volume in Amazon
Expand |
---|
|
Code Block |
---|
{
"method": "axxonsoft.bl.config.ConfigurationService.ChangeConfig",
"data": {
"added": [
{
"uid": "hosts/SERVER/MultimediaStorage.Gray",
"units": [
{
"type": "ArchiveVolume",
"properties": [
{
"id": "volume_type",
"value_string": "object",
"properties": [
{
"id": "connection_params",
"value_properties": {
"properties": [
{ "id": "schema", "value_string": "s3_amazon" },
{ "id": "bucket", "value_string": "axxonsoft-test" },
{ "id": "region", "value_string": "us-west-1" },
{ "id": "access_key_id", "value_string": "youraccesskeyid" },
{ "id": "secret_access_key", "value_string": "yoursecretaccesskey" },
{ "id": "path", "value_string": "path" },
{ "id": "protocol", "value_string": "https" },
{ "id": "host", "value_string": "amazonaws.com" }
]}}]},
{"id": "label","value_string": "test"},
{"id": "volume_size","value_uint64": "12073741824"},
{"id": "format","value_bool": true}
]}
]
}
]
}
} |
|
Example of creating
...
a cloud archive volume in Wasabi
Expand |
---|
|
Code Block |
---|
{
"method": "axxonsoft.bl.config.ConfigurationService.ChangeConfig",
"data": {
"added": [
{
"uid": "hosts/SERVER/MultimediaStorage.Gray",
"units": [
{
"type": "ArchiveVolume",
"properties": [
{
"id": "volume_type",
"value_string": "object",
"properties": [
{
"id": "connection_params",
"value_properties": {
"properties": [
{ "id": "schema", "value_string": "s3_wasabi" },
{ "id": "bucket", "value_string": "axxontest-1" },
{ "id": "region", "value_string": "us-central-1" },
{ "id": "access_key_id", "value_string": "youraccesskeyid" },
{ "id": "secret_access_key", "value_string": "yoursecretaccesskey" },
{ "id": "path", "value_string": "path" },
{ "id": "protocol", "value_string": "http" },
{ "id": "host", "value_string": "wasabisys.com" }
]}}
]},
{"id": "label","value_string": "test"},
{"id": "volume_size","value_uint64": "209715200"},
{"id": "format","value_bool": true}
]
}
]
}
]
}
} |
|
Example of creating
...
a cloud archive volume in Seagate Lyve Cloud
Expand |
---|
|
Code Block |
---|
{
"method": "axxonsoft.bl.config.ConfigurationService.ChangeConfig",
"data": {
"added": [
{
"uid": "hosts/SERVER/MultimediaStorage.Gray",
"units": [
{
"type": "ArchiveVolume",
"properties": [
{
"id": "volume_type",
"value_string": "object",
"properties": [
{
"id": "connection_params",
"value_properties": {
"properties": [
{ "id": "schema", "value_string": "s3_huaweiseagate" },
{ "id": "bucket", "value_string": "axxonaxxonsoft-test-1" },
{ "id": "region", "value_string": "apus-southeastwest-1" },
{ "id": "access_key_id", "value_string": "youraccesskeyid" },
{ "id": "secret_access_key", "value_string": "yoursecretaccesskey" },
{ "id": "path", "value_string": "path" },
{ "id": "protocol", "value_string": "https" },
{ "id": "host", "value_string": "myhuaweicloudlyvecloud.seagate.com" }
]}}]},
{"id": "label","value_string": "test"},
{"id": "volume_size","value_uint64": "10073741824"},
{"id": "format","value_bool": true}
uint64": "1073741824"},
]
{"id": "format","value_bool": true}
]
]}]}
]
}
} |
|
Example of creating
...
a cloud archive volume in MinIO S3
Expand |
---|
|
Code Block |
---|
{
"method": "axxonsoft.bl.config.ConfigurationService.ChangeConfig",
"data": {
"added": [
{
"uid": "hosts/SERVERServerName/MultimediaStorage.Gray",
"units": [
{
"type": "ArchiveVolume",
"properties": [
{
"id": "volume_type",
"value_string": "object",
"properties": [
{
"id": "connection_params",
"value_properties": {
properties": {
"properties": [
{ "properties": ["id": "schema", "value_string": "s3" },
{ "id": "schemabucket", "value_string": "s3_seagatebucket" },
{ "id": "bucketregion", "value_string": "axxonsoftus-east-test1" },
{ "id": "regionaccess_key_id", "value_string": "us-west-1" },
MINIOROOT" },
{ "id": "secret_access_key_id", "value_string": "youraccesskeyidMINIOPASS" },
{ "id": "secret_access_keypath", "value_string": "yoursecretaccesskeypath" },
{ "id": "pathprotocol", "value_string": "pathhttp" },
{ "id": "protocolhost", "value_string": "https" },
": "192.168.56.102" },
{ "id": "hostport", "value_string": "lyvecloud.seagate.com9000" }
]}}]},
{"id": "label","value_string": "test"},
{"id": "volume_size","value_uint64": "1073741824"1207374182},
{"id": "format","value_bool": true}
]}
]
}
]
}
} |
|
Example of creating
...
a cloud archive volume in MinIO S3 using the domain name
Expand |
---|
|
Code Block |
---|
{
"method": "axxonsoft.bl.config.ConfigurationService.ChangeConfig",
"data": {
"added": [
{
"uid": "hosts/ServerNameServer/MultimediaStorage.Gray",
"units": [
{
"type": "ArchiveVolume",
"properties": [
{
"id": "volume_type",
"value_string": "object",
"properties": [
{
"id": "connection_params",
"value_properties": {
"properties": [
{ "id": "schema", "value_string": "s3" },
{ "id": "bucket", "value_string": "bucket" },
{ "id": "region", "value_string": "us-east-1" },
{ "id": "access_key_id", "value_string": "MINIOROOT" },
{ "id": "secret_access_key", "value_string": "MINIOPASS" },
{ "id": "path", "value_string": "path" },
{ "id": "protocol", "value_string": "http" },
{ "id": "host", "value_string": "192.168.56.102" },
{ "id": "portbucket_endpoint", "value_string": "http://miniopoc1.agis.xh.ar:9000" }
]}}]},
{"id": "label","value_string": "test"},
{"id": "volume_size","value_uint64": 1207374182},
{"id": "format","value_bool": true}
]}
]
}
]
}
} |
|
Changing an archive volume
To change the archive volume, the same parameters are used as when creating it.
Expand |
---|
|
Code Block |
---|
| {
"method": "axxonsoft.bl.config.ConfigurationService.ChangeConfig",
"data": {
"changed": [
{
"uid": "hosts/Server/MultimediaStorage.Gray/ArchiveVolume.4508f459-5eeb-4ee3-881b-4a4e149c7802",
"properties": [
{
"id": "label",
"value_string": "NewLabel"
},
{
"id": "readonly",
"value_bool": false
},
{
"id": "connection_params",
"value_properties": {
"properties": [
{
}
]
}
}
]
}
]
}
} |
|