Versions Compared

Key

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

...

Section


Column
width35%


Panel
borderColor#CCCCCC
bgColor#FFFFFF
titleBGColor#F0F0F0
borderStylesolid
titleOn this page:
Table of Contents



Column


Creating

...

a storage

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" }
      ] } ] } ]
    }
}

...

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;

s3_amazon  archive in Amazon S3 cloud storage (aws.amazon.com/s3).

s3_wasabi  archive in Wasabi cloud storage (wasabi.com).

s3_huawei  archive in Huawei Cloud cloud storage (huaweicloud.com).

s3_seagate  archive in Seagate Lyve Cloud cloud storage (seagate.com).

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 Yes

Connection protocol: HTTP or HTTPS.

This parameter is located in the properties of the created container.

hostYes

Azure server address.

This parameter is located in the properties of the created container.

access_keyYes

Access key in base64.

This parameter is located in the Access keys section.

containerYes

Azure container.

This parameter is located in the properties of the created container.

userYes

User name.

This parameter is located in the Access keys section (Storage account name).

pathNo

Do not specify the location of the volume folder in Azure — the parameter should be empty.

portNoAzure server port.
Parameters for the s3_amazon 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_keyYes

Access key password (available after creating an access key).

bucketYes

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

regionYes

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.

pathYesLocation of the Axxon Next volume folder inside the bucket.
protocolYesConnection protocol: HTTP or HTTPS.
hostYes

Server address: amazonaws.com.

Parameters for the s3_wasabi type (Wasabi storage):
bucketYes

Archive volume name (Bucket Name), predefined by the user at https://console.wasabisys.com/#/file_manager.

regionYes

The region where the corresponding volume is located, as specified at https://console.wasabisys.com/#/file_manager.

access_key_idYes

Access key identifier, which should be pre-created at https://console.wasabisys.com/#/access_keys.

secret_access_keyYesAccess key password (available after creating an access key).
protocolYesConnection protocol: HTTP or HTTPS.
pathYes

Location of the folder created inside the bucket (Folder object in Bucket).

hostYes

Server address: wasabisys.com.

Parameters for the s3_huawei type (Huawei Cloud storage):
bucketYes

Archive volume name (Bucket Name), predefined by the user at the Object Storage Service tab.

regionYes

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_idYes

Access key identifier, which should be created by clicking on the link "Obtain access keys (AK and SK)".

secret_access_keyYesAccess key password (available after creating an access key).
pathYes

Location of the folder created inside the bucket.

protocolYesConnection protocol: HTTP or HTTPS.
hostYes

Server address: myhuaweicloud.com.

Parameters for the s3_seagate type (Seagate Lyve Cloud storage):
bucketYesArchive volume name (Bucket Name), predefined by the user. Corresponds to the Name parameter in the Bucket properties.
regionYesThe region where the corresponding volume is located, as specified when it was created. Corresponds to the Region parameter in the Bucket properties.
access_key_idYes

Access key identifier, which is generated when creating an account in the Create Service Account window.

secret_access_keyYesAccess key password (available after creating an access key).
pathYesLocation of the folder created inside the bucket.
protocolYesConnection protocol: HTTP or HTTPS.
hostYes

Server address: lyvecloud.seagate.com.

Example of creating an object archive volume as files on a local disk:

Expand
titleClick to 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": "1073741824"},
                            {"id": "format","value_bool": true}
                            {"id": "auto_mount", "value_bool": true}
                        ]}]}
        ]
    }
}      


Example of creating an object archive volume on a network resource:

Expand
titleClick to 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": "qa-t9" },
                                                { "id": "smb_share", "value_string": "incoming" },
                                                { "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": "1073741824"},
                            {"id": "format","value_bool": true}
                        ]}]}
        ]
    }
}


Example of creating an object archive volume in Microsoft Azure:

Expand
titleClick to 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": "1073741824"},
                            {"id": "format","value_bool": true}
                        ]}]}
        ]
    }
}


Example of creating an object archive volume  in Amazon S3:

Expand
titleClick to 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-test1" },
                                                { "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": "1073741824"},
                            {"id": "format","value_bool": true}
                        ]}]}
        ]
    }
}


Example of creating an object archive volume in Wasabi:

Expand
titleClick to 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": "eu-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": "1073741824"},
                            {"id": "format","value_bool": true}
                        ]}]}
        ]
    }
}


Example of creating an object archive volume in Huawei Cloud:

Expand
titleClick to 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_huawei" },
                                                { "id": "bucket", "value_string": "axxon-test-1" },
                                                { "id": "region", "value_string": "na-mexico-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": "myhuaweicloud.com" }
                                            ]}}]},
                            {"id": "label","value_string": "test"},
                            {"id": "volume_size","value_uint64": "1073741824"},
                            {"id": "format","value_bool": true}
                        ]}]}
        ]
    }
}


Example of creating an object archive volume in Seagate Lyve Cloud:

Expand
titleClick to 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_seagate" },
                            { "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": "lyvecloud.seagate.com" }
                                            ]}}]},
                            {"id": "label","value_string": "test"},
                            {"id": "volume_size","value_uint64": "1073741824"},
                            {"id": "format","value_bool": true}
                        ]}]}
        ]
    }
}


...

Code Block
{
    "method": "axxonsoft.bl.config.ConfigurationService.ChangeConfig",
    "data": {
        "addedchanged": [
            {
                "uid": "hosts/server/MultimediaStorage.GrayAliceBlue/ArchiveVolume.d5c1636a855447b9-8d0c7f9a-4f214f9f-b50caf9c-66f35f1a2aeff91c90a49cb8",
                "unitsproperties": [
                    {
                        "typeid": "ArchiveVolumevolume_type",
                        "propertiesvalue_string": ["object"
                    },
        {
            {
                        "id": "volume_typelabel",
                                "value_string": "objecttest2",
                    },
            "properties": [
       {
                    "id": "connection_params",
        {
            "value_properties": {
                           "idproperties": "connection_params",[
                            {
            "value_properties": {
                   "id": "path",
                        "properties": [
       "value_string": "D:/AliceBlue2"
                            }
            { "id": "schema", "value_string": "file" },
       ]
                 { "id": "path", "value_string": "D:/archives1" }
                    }

                        ]}}]},
                            {"id": "label","value_string": "test"},
                            {"id": "volume_size","value_uint64": "1073741824"},
                            {"id": "format","value_bool": true},
                { "id": "auto_mount", "value_bool": true }
                        ]}]}
        ]
    }
}