Cohesity external target with chili
Cohesity DataProtect archives snapshots to an external target according to the protection policy. chili can be registered for this as an external target of type S3 Compatible. This guide shows the values for chili. The full guide is in the Cohesity documentation.
Prerequisites
- a Cohesity cluster with DataProtect, version 7.2.1 or later for immutable archives
- chili access keys (access key and secret key) from the chili Console
- a bucket, created in the chili Console, for example
cohesity-archive - for immutable archives: bucket with the
Other backup softwaretemplate, Object Lock on, retentionChosen by the application - without immutability: bucket without Object Lock, access key with the
Read, write and deleteaccess level
Object Lock can only be turned on when the bucket is created. Decide beforehand whether the archives should be immutable.
1. Register the external target
In Cohesity, open Infrastructure > External Targets and click Add External Target. Enter:
Field | Value |
|---|---|
Purpose |
|
Type |
|
Bucket Name |
|
Access Key ID | your chili access key |
Secret Access Key | your chili secret key |
Endpoint |
|
Port |
|
Region |
|
External Target Name | any name, for example |
Archival Format |
|
Menu names differ slightly between Cohesity versions. The fields stay the same.
2. Update the protection policy
Open Data Protection > Policies, edit the policy and add an archive to the chili target with Add Archive. Set the schedule and the archive retention there.
Immutability
From version 7.2.1, Cohesity can use buckets with Object Lock as an external target. Cohesity sets the lock on each object itself, based on the retention in the protection policy. The bucket needs no default retention, so create it with Chosen by the application.
For S3-compatible targets, Cohesity uses governance mode by default. That matches chili; no activation is needed. More under Object Lock.
Steps:
- Create a bucket with Object Lock and
Chosen by the applicationin the chili Console. - Register the external target as above and select the bucket with Object Lock.
- In the protection policy, turn off
DataLockfor this archive. The archive target sets the lock through Object Lock. - Under
Add Archive, select the chili target and set the retention. The archived data stays locked for that period.
Verify
After the first archive run, check in Cohesity that the run succeeded and the external target shows used space. Then restore a file or VM from the archive as a test. chili charges no egress fees, so the test costs nothing.
Common pitfalls
- The target cannot be registered: check endpoint, port
443and bucket name. The endpoint contains only the host name, withouthttps://and without the bucket. - The Object Lock bucket is not offered: the cluster runs a version before 7.2.1, or the bucket was created without Object Lock. Object Lock cannot be turned on later; create a new bucket.
- Default retention on the bucket: Cohesity controls the lock period through the policy. Use a bucket with
Chosen by the application. - Higher storage use than expected: locked objects stay until the end of the retention and use storage until then.