Versions Compared

Key

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

...

ParameterDescription
formattrue if it is necessary to format the created volume. The default is false.
volume_size_gbVolume size in GB. Applicable if format = true.
auto_mounttrue - if it is necessary to mount the created volume. The default is false.
labelVolume label
Parameters for cloud archives only:
max_block_size_mbMaximum block size in MB. The default is 64, the range of valid values is [16; 512].
optimal_read_size_mbOptimal 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_mbThe 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_secondsBlock recording period in seconds. The default is 60, the range of valid values is [30; 300].
index_snapshot_max_block_distanceThe maximum number of blocks between indexing operations. The default is 256, the minimum is 16.
sequence_flush_period_secondsSequences recording period in seconds. The default is 60, the minimum is 32.

...

ParameterRequiredDescription
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.

Parameters for the file type:
pathYesThe path to the file/disk with the archive.
Parameters for the smb type:
hostYesName of the server with network repository.
smb_shareYesNetwork repository.
pathYesFolder in network repository, where the archive will be stored.
smb_domainNoNetwork repository domain.
userNoUser name.
passwordNoPassword.
Parameters for the azure type:
protocol YesConnection protocol: HTTP or HTTPS.
hostYesAzure server address.
access_keyYesAccess key in base64.
containerYesAzure container.
userYesUser name.
pathNoLocation of the volume folder in Azure.
portNoAzure server port.

Example of creating local archive:

Expand


Code Block
{
	"method": "axxonsoft.bl.config.ConfigurationService.ChangeConfig",
	"data": {
		"added": [
			{
				"uid": "hosts/Server1/MultimediaStorage.AliceBlue",
				"units": [
					{
						"type": "ArchiveVolume",
						"properties": [
							{
								"id": "connection_params",
								"properties": [
									{
										"id": "schema",
										"value_string": "file"
									},
									{
										"id": "path",
										"value_string": "D:/archiveCrimson1"
									}
								]
							},
							{
								"id": "label",
								"value_string": "Test archive"
							},
							{
								"id": "volume_size_gb",
								"value_uint64": 4
							}
						]
					}
				]
			}
		],
		"changed": [],
		"removed": []
	}
}


Example of creating network archive:

Expand


Code Block
{
	"method": "axxonsoft.bl.config.ConfigurationService.ChangeConfig",
	"data": {
		"added": [
			{
				"uid": "hosts/Server1/MultimediaStorage.AliceBlue",
				"units": [
					{
						"type": "ArchiveVolume",
						"properties": [

                            {
                                "id": "connection_params",
                                "properties": [
                                    {
                                        "id": "schema",
                                        "value_string": "smb"
                                    },
                                    {
                                        "id": "host",
                                        "value_string": "qa-t39"
							        },
                                    {
                                        "id": "smb_share",
                                        "value_string": "incoming"
							        },
                                    {
                                        "id": "path",
                                        "value_string": "video"
							        },
                                    {
                                        "id": "user",
                                        "value_string": "QA"
							        },
                                    {
                                        "id": "password",
                                        "value_string": "QA_TEST"
							        }
                                ]
                            },

                            {
								"id": "label",
							    "value_string": "Test archive"
							},
                            {
								"id": "volume_size_gb",
								"value_uint64": 4
							},
                            {
								"id": "format",
								"value_bool": true
							}
						]
					}
				]
			}
		],
		"changed": [],
		"removed": []
	}
}


Example of creating cloud archive:

Expand


Code Block
{
	"method": "axxonsoft.bl.config.ConfigurationService.ChangeConfig",
	"data": {
		"added": [
			{
				"uid": "hosts/Server1/MultimediaStorage.AliceBlue",
				"units": [
					{
						"type": "ArchiveVolume",
						"properties": [

                            {
                                "id": "connection_params",
                                "properties": [
                                    {
                                        "id": "schema",
                                        "value_string": "azure"
                                    },
                                    {
                                        "id": "protocol",
                                        "value_string": "http"
                                    },
                                    {
                                        "id": "host",
                                        "value_string": "127.0.0.1"
                                    },
                                    {
                                        "id": "port",
                                        "value_string": "10000"
                                    },
                                    {
                                        "id": "access_key",
                                        "value_string": "Eby8vdM02xNOcqFlqUwJPLlmEtlCDXJ1OUzFT50uSRZ6IFsuFq2UVErCz4I6tq/K1SZFPTOtr/KBHBeksoGMGw=="
                                    },
                                    {
                                        "id": "container",
                                        "value_string": "container"
                                    },
                                    {
                                        "id": "user",
                                        "value_string": "devstoreaccount1"
                                    },
                                    {
                                        "id": "path",
                                        "value_string": "/devstoreaccount1"
                                    }
                                ]
                            },

                            {
								"id": "label",
							    "value_string": "Test archive"
							},
                            {
								"id": "volume_size_gb",
								"value_uint64": 20
							},
                            {
								"id": "format",
								"value_bool": true
							}
						]
					}
				]
			}
		],
		"changed": [],
		"removed": []
	}
}


Changing an archive volume

...