-
Zextras Carbonio 23.6.0
-
Carbonio Community Edition
-
Suite for Zimbra
- Articles coming soon
Volume Management
Volume management
Volumes by Carbonio
Volume Characteristics
- Name: The volume’s special identification number
- The data’s intended saving location is designated by a route. On this route, the zextras user has to have r/w rights.
- File compression can be turned on or off for the volume.
- Compression Threshold: The smallest file size at which compression begins. Even if compression is enabled, files that are smaller than this size will never be compressed.
- Current: A current volume is one that will have HSM policy application (secondary current) or data written to it immediately upon arrival (primary current).
Regional Volumes
Regardless of where the mountpoint is located, Local Volumes (i.e., FileBlob type) can be hosted on any mountpoint on the system and are determined by the following properties:
- Name: The volume’s special identification number
- The data’s intended saving location is designated by a route. This location requires r/w permissions for the zextras user.
- File compression can be turned on or off for the volume.
- Compression Threshold: the smallest file size at which compression begins. Even if compression is enabled, files that are smaller than this size will never be compressed.
Actual Volumes
Managing Volumes using Carbonio Storages
There are essentially three volume management commands: carbonio powerstore doCreateVolume [storeType] | zextras$ doUpdateVolume [storeType] | doDeleteVolume [name]
storeType
parameter, which is always placed first and can take any value corresponding to an S3-Compatible Service. The command’s subsequent parameters are now dependent on the storeType that was chosen.- (Local) FileBlob
- Alibaba
- Ceph
- OpenIO
- Swift
- Cloudian (object storage that is S3 compliant)
- Amazon and any other S3-compatible solution are not expressly supported by S3.
- Scalability (object storage S3 compatible)
- EMC (object storage that is S3 compatible)
Hierarchical Storage Management
The Hierarchical Storage Management Technique
- More is spent on quick storage.
- Slow storage has lower expenses.
- In comparison to new data, old data will be accessed significantly less frequently.
Volumes, Stores, and Policies
- Primary storage: Your data is originally deposited in this quick-but-expensive storage.
- Secondary Store: The expensive yet sluggish storage location where older data will be sent.
Changing Products Between Stores
doMoveBlobs
action using the CLI to initiate the move.- The Secondary Store receives a copy of every Blob of the products discovered in the first phase.
- The duplicated objects’ database records are changed to reflect the relocation.
- The old Blobs are removed from the Primary Store if (and only if) the second and third phases are successfully performed.
- Since each step of the Move operation is stateful and is only carried out if the one before it has been properly completed, there is zero chance that any data will be lost.
DoMoveBlobs
Carbonio Storages’ DoMoveBlobs Operation
- The Blob is copied to the current secondary store.
- To inform Carbonio of the item’s new location, the Carbonio Database is updated.
- The primary store’s current copy of the original Blob is removed.
What is Moved?
Everything that complies with the designated HSM policy gets migrated.
The following policy:
message,document:before:-20day
message:before:-10day has:attachment
will move all emails and documents older than 20 days along with all emails older than 10 days that contain an attachment.
Warning
By default, results from the Trash folder do not appear in any search–and this includes the HSM Policy. In order to ensure that all items are moved, add “is:anywhere” to your policy.
Policy Order: A policy’s requirements are fulfilled in the precise order that they are listed. Before beginning the subsequent condition, Carbonio Storages will loop over all of the objects in the Current Primary Store and apply each individual condition.
message,document:before:-20day message:before:-10day has:attachment
message:before:-10day has:attachment message,document:before:-20day
message,document:before:-20day
), which loops on all things and moves many of them to the Current Secondary Store.message:before:-10day has:attachment
Executing the doMoveBlobs Operation
doMoveBlobs
function in order to move objects between the Primary and Secondary stores in accordance with the specified policy is referred to as applying a policy.- via CLI
- By use of scheduling
Warning
Items in Trash or dumpster folders are not moved to the secondary store by the HSM module. Currently, there is no option to define a policy for Trash and dumpster.
Run the following command as the zextras user to apply the HSM Policy through the CLI.
zextras$ carbonio powerstore doMoveBlobs
What is a policy in terms of policy management?
doMoveBlobs
function of Carbonio Storages is performed, either manually or by scheduling, a set of rules known as an HSM policy specifies which objects will be transferred from the Primary Store to the Secondary Store.Policy Examples
- Move everything that is older than 30 days.
- Move emails that are more than 15 days old and all other items that are more than 30 days old.
- Put all emails in the Archive folder, Carbonio Files items older than 20 days, and calendar items older than 15 days
Establishing a Policy
zextras$ carbonio powerstore setHSMPolicy hsm_policy
zextras$ carbonio powerstore +setHsmPolicy hsm_policy
setHSMPolicy
adds policies to existing ones while +setHSMPolicy
generates new policies and replaces old ones.