Versions Compared

Key

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

...

Code Block
{
    "method": "axxonsoft.bl.config.ConfigurationService.ChangeConfig",
    "data": {
      "added": [ {
          "uid": "hosts/server",
          "units": [ {
              "type": "MultimediaStorage",
              "properties": [
                { "id": "display_name", "properties": [], "value_string": "Archive StorageArchiveStorage" },
                { "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;
  • storagevolume_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.

...

ParameterDescription
formattrue if it is necessary to format the created volume. The default is false.
volume_size_gbVolume size in GBbytes. Applicable if format = true.
auto_mounttrue if it is necessary to mount the created volume. The default is false.
labelVolume label
Parameters for object archives only (storage_type = object):
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;

s3 - _amazon  archive in Amazon S3 cloud storage (aws.amazon.com/s3), Wasabi .

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

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

s3_seagate  archive in , or 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).

pathNoLocation of the volume folder in Azure.
portNoAzure server port.
Parameters for the s3  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

Amazon S3 server address in <bucket_name>.s3.Server address: amazonaws.com format.

Parameters for the s3  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

Wasabi server address in s3.<region>.Server address: wasabisys.com format.

Parameters for the s3  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. Corresponds to the Endpoint parameter in the Bucket properties: myhuaweicloud.com.

Parameters for the s3  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. Corresponds to the Virtual Host URL parameter in the Bucket properties: lyvecloud.seagate.com.

Example of creating an object archive 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",
                 "propertiestype": [
"ArchiveVolume",
                   {
     "properties": [
              "id": "connection_params",
             {
       "value_properties": {
                        "propertiesid": [
"volume_type",
                             { "id": "schema", "value_string": "fileobject" },
                             { "id": "path", "value_stringproperties": "D:/Dev/!temp/Archive" }
[
                  ] } },
                {
 "id": "label", "value_string": "Test archive" },
                      { "id": "volume_size_gb", "value_uint64": 5 },
                { "id": "formatconnection_params",
 "value_bool": true },
                { "id": "auto_mount", "value_bool": true }
      ] } ] } ],
      "changedvalue_properties": [],{
      "removed": []
      }
}

Example of creating an object archive on a network resource:

Expand
titleClick to expand...
Code Block
{
  "method": "axxonsoft.bl.config.ConfigurationService.ChangeConfig",
    "data": {
      "added": [
        {
          "uidproperties": "hosts/server/MultimediaStorage.Gray",[
          "units": [
            {
              "type": "ArchiveVolume",
              "properties{"id": "schema","value_string": ["file"},
                {
                                {"id": "path","connection_params",value_string": "D:/archives"}
                    "value_properties": {
                        "properties": []}}]},
                            { "id": "schemalabel", "value_string": "smbtest" },
                            { "id": "hostvolume_size", "value_stringuint64": "qa-t91073741824" },
                            { "id": "smb_shareformat", "value_stringbool": "incoming" true},
                            { "id": "pathauto_mount", "value_stringbool": "video" true},
                        ]}]}
    { "id": "user", "value_string": "Tester" }, ]
    }
}      


Example of creating an object archive on a network resource:

Expand
titleClick to expand...


Code Block
{
    "method": "axxonsoft.bl.config.ConfigurationService.ChangeConfig",
    "data": {
        "added": [
  { "id": "password", "value_string": "123456" }          {
                ] } },
 "uid": "hosts/server/MultimediaStorage.Gray",
               { "idunits": "label", "value_string": "Test archive" },
[
                    { "id": "volume_size_gb", "value_uint64": 5 },

                       { "idtype": "formatArchiveVolume", "value_bool": true },

                     { "id": "auto_mount", "value_boolproperties": true }[
      ] } ] } ],
      "changed": [],
      "removed": []
    }
}

Example of creating an object archive in Microsoft Azure:

Expand
titleClick to expand...
Code Block
{
  "method": "axxonsoft.bl.config.ConfigurationService.ChangeConfig",
    "data": {
      "added": [
        {
          "uidid": "hosts/server/MultimediaStorage.Grayvolume_type",
          "units": [
            {
              "type"value_string": "ArchiveVolumeobject",
                                "properties": [
                {
                    "id": "connection_params",{
                    "value_properties": {
                   "id": "connection_params",
    "properties": [
                            { "id": "schema",       "value_stringproperties": "azure" },{
                            { "id": "protocol", "value_string": "https" },
           "properties": [
                { "id": "host", "value_string": "axxonsoft.blob.core.windows.net" },
                            { "id": "access_keyschema", "value_string": "youraccesskey==smb" },
                            { "id": "container", "value_string": "container" },
                            { "id": "userhost", "value_string": "axxonsoftqa-t9" },
                                                { "id": "pathsmb_share", "value_string": "incoming" },
                      ] } },
                          { "id": "labelpath", "value_string": "Test archivevideo" },
                 { "id": "volume_size_gb", "value_uint64": 5 },
                { "id": "format         { "id": "user", "value_boolstring": true"Tester" },
                                    ]    } ] } ],
     { "changedid": [],
"password", "value_string": "Testing321" }
         "removed": []
    }
}

Example of creating an object archive in Amazon S3:

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


Example of creating an object archive 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 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 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" }
                                            ]}}]},
Expand
titleClick to expand...
Code Block
{
  "method": "axxonsoft.bl.config.ConfigurationService.ChangeConfig",
    "data": {
      "added": [
        {
          "uid": "hosts/server/MultimediaStorage.Gray",
         {"id": "units"label","value_string": ["test"},
            {
                {"id": "typevolume_size","value_uint64": "ArchiveVolume1073741824"},
              "properties": [
             {"id":   {"format","value_bool": true}
                    "id": "connection_params",
   ]}]}
        ]
    }
}


Example of creating an object archive in Huawei Cloud:

Expand
titleClick to expand...


Code Block
{
     "value_propertiesmethod": {
         "axxonsoft.bl.config.ConfigurationService.ChangeConfig",
    "data": {
          "propertiesadded": [
             {
               { "iduid": "schema", "value_string": "s3" },hosts/server/MultimediaStorage.Gray",
                    "units": [
        { "id": "bucket", "value_string": "bucketname" },
       {
                     { "id": "region", "value_string": "eu-central-1" },
       type": "ArchiveVolume",
                     { "id": "access_key_id", "value_stringproperties": "youraccesskeyid" },[
                            {
 "id": "secret_access_key", "value_string": "yoursecretaccesskey" },
                            { "id": "path", "value_string": "path" },
volume_type",
                             { "id": "protocol", "value_string": "httpsobject" },
                            { "id": "host", "value_string": "bucketname.s3.amazonaws.com" }properties": [
                ] } },
                { "id": "label", "value_string": "Test archive" },
   {
                  { "id": "volume_size_gb", "value_uint64": 1 },
                { "id": "formatconnection_params", "value_bool": true }

           ] } ] } ],
      "changed": [],
      "removed": []
    }
}

Example of creating an object archive in Wasabi:

Expand
titleClick to expand...
Code Block
{
  "method": "axxonsoft.bl.config.ConfigurationService.ChangeConfig",
    "datavalue_properties": {
        "added": [
               {
          "uid": "hosts/server/MultimediaStorage.Tan",
          "unitsproperties": [
               {
                  "type": "ArchiveVolume",
               { "propertiesid": [
   "schema", "value_string": "s3_huawei" },
             {
                    "id": "connection_params",
              {      "id": "bucket", "value_propertiesstring": {
 "axxon-test-1" },
                       "properties": [
                            { "id": "schemaregion", "value_string": "s3na-mexico-1" },
                                                { "id": "bucketaccess_key_id", "value_string": "archive-wasabiyouraccesskeyid" },
                                                { "id": "regionsecret_access_key", "value_string": "eu-central-1yoursecretaccesskey" },
                                                { "id": "access_key_idpath", "value_string": "youraccesskeyidpath" },
                            { "id": "secret_access_key", "value_string": "yoursecretaccesskey" },
                            { "id": "pathprotocol", "value_string": "pathhttps" },
                                                { "id": "protocolhost", "value_string": "httpsmyhuaweicloud.com" },
                            { "id": "host", "value_string": "s3.eu-central-1.wasabisys.com" }
                ]}}]},
          ] } },
                { "id": "label", "value_string": "Test archive" },
"test"},
                            { "id": "volume_size_gb", "value_uint64": 1 "1073741824"},
                  {           {"id": "format", "value_bool": true }
      ] } ] } ],
                 "changed": [],
 ]}]}
       "removed": []
    }
}


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

Expand
titleClick to expand...


Code Block
{
    "method": "axxonsoft.bl.config.ConfigurationService.ChangeConfig",
    "data": {
      "added": [
        {
          "uiddata": "hosts/server/MultimediaStorage.Gray",
  {
        "unitsadded": [
            {
                "typeuid": "ArchiveVolumehosts/server/MultimediaStorage.Gray",
                "propertiesunits": [
                {
                 {
   "id": "connection_params",
                    "value_propertiestype": {"ArchiveVolume",
                        "properties": [
                            { "id": "schema", "value_string": "s3" },
                            { "id": "bucket",   "value_stringid": "axxon-test" }volume_type",
                             { "id": "region", "value_string": "na-mexico-1" }object",
                            {    "idproperties": "access_key_id", "value_string": "youraccesskeyid" },
[
                                    { "id": "secret_access_key", "value_string": "yoursecretaccesskey" },

                                     { "id": "path", "value_stringid": "pathconnection_params" },
                                { "id": "protocol",        "value_stringproperties": "https" },
{
                                { "id": "host", "value_string": "obs.na-mexico-1.myhuaweicloud.com" }
       "properties": [
        ] } },
                { "id": "label", "value_string": "Test archive" },
                { "id": "volume_size_gbschema", "value_uint64string": 5"s3_seagate" },
                            { "id": "formatbucket", "value_boolstring": true"axxonsoft-test" },
       ] } ] } ],
      "changed": [],
      "removed": []
    }
}

Example of creating an object archive in Seagate Lyve Cloud:

Expand
titleClick to expand...
Code Block
{
  "method": "axxonsoft.bl.config.ConfigurationService.ChangeConfig",
    "data": {
{ "id": "region", "value_string": "us-west-1" },
            "added": [
        {
       { "id": "access_key_id", "uidvalue_string": "hosts/server/MultimediaStorage.Tan"youraccesskeyid" },
             "units": [
               { "id": "secret_access_key", "value_string": "yoursecretaccesskey" {},
              "type": "ArchiveVolume",
             { "propertiesid": [
   "path", "value_string": "path" },
             {
                {    "id": "connection_paramsprotocol",
 "value_string": "https" },
                 "value_properties": {
          { "id": "host", "value_string": "lyvecloud.seagate.com" }
         "properties": [
                            { "id": "schema", "value_string": "s3"      ]}}]},
                            { "id": "bucketlabel", "value_string": "axxonsoft-test" },
                            { "id": "regionvolume_size", "value_stringuint64": "us-west-11073741824" },
                            { "id": "access_key_idformat", "value_stringbool": "youraccesskeyid" true},

                        ]}]}
        ]
    }
}


Changing an archive volume

To change the archive volume, the same parameters are used as when creating it.

Code Block
Code Block
{
   
{
 "
id
method": "
secret_access_key
axxonsoft.bl.config.ConfigurationService.ChangeConfig",
 
"value_string
   "data": 
"yoursecretaccesskey" },
{
        "added": [
            {
               
{
 "
id
uid": "
path", "value_string": "path" },
hosts/server/MultimediaStorage.Gray/ArchiveVolume.d5c1636a-8d0c-4f21-b50c-66f35f1a2aef",
                
"units": [
          
{ "id": "protocol", "value_string": "https" },
          {
                       
{
 "
id
type": "
host
ArchiveVolume",
"value_string": "s3.us-west-1.lyvecloud.seagate.com" }

                       
]
 
} },
"properties": [
                
{
 
"id":
 
"label",
 
"value_string":
 
"Test
 
archive"
 
},
      {
          
{
 
"id":
 
"volume_size_gb", "value_uint64":
 
1
 
},
                 
{
 "id": "
format
volume_type",
"value_bool": true }

                      
]
 
}
 
]
 
}
 
],
      "
changed
value_string": 
[]
"object",
           
"removed":
 
[]
    
} }

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": {
      "addedproperties": [
           {
                        "uid": "hosts/server/MultimediaStorage.Gray/ArchiveVolume.495c3ef4-043f-4890-a4e0-c66f4fa252e7",
 {
             "units": [
            {
              "typeid": "ArchiveVolumeconnection_params",
                                        "value_properties": [
         {
       {
                  "id": "connection_params",
                  "value_properties": {[
                     "properties": [
                           { "id": "schema", "value_string": "file" },
                        { "id": "path", "value_string": "D:/AliceBlueBlock" }
archives1" }
                                            ]}}]},
                         ] }
  {"id": "label","value_string": "test"},
            },
                { "id": "labelvolume_size", "value_stringuint64": "Test archive block1073741824" },
                            { "id": "volume_size_gbformat", "value_uint64bool": 100 true},
                { "id": "formatauto_mount", "value_bool": true }
        ]      } ] } ],
      "changed": [],
 ]}]}
       "removed": []
    }
}