Overview
The Delphix Engine has a base feature set that is compelling as a data protection solution. An enhancement is being introduced that can further prevent snapshot and database loss in the event of a ransomware attack.
Delphix Continuous Vault for ransomware protection allows organizations to recover their application data access much faster than traditional backup solutions, in case of malicious attacks.
The Continuous Vault solution provides built-in protection against ransomware attacks by frequently refreshing production application data to a virtual database (dSource), from which you can recover applications almost instantly to any valid point in time prior to the encryption attack by leveraging Delphix VDB provisioning capabilities. The refresh interval between the production application and the Delphix dSource can be configured to be up to seconds, for business-critical applications (not applicable to all DB technologies).
There are two variants of Delphix Continuous Vault:
- Replica Continuous Vault, which replicates critical business DB data stored on Delphix Engines to a new target Engine called Replica Continuous Vault.
- Single Engine Continuous Vault, which protects critical business DB data stored on a Delphix Engine by preventing manual deletion of protected sources or snapshots.
Once securely stored on the Continuous Vault, the DB data can be used to recover business applications with very low RTO and RPO.
Requires Technical Services Consult
Delphix requires a Technical Services assessment prior to deployment and configuration of Continuous Vault. The process of configuring a Delphix Continuous Vault replication profile is simple; the assessment is required because each application has specific data protection and recovery requirements and we must ensure that Delphix can respond to them appropriately. To schedule an assessment, please contact your Customer Success Manager.
Replica Continuous Vault
The Replica Continuous Vault feature is available via CLI or via the Continuous Vault UI section of the Replication page. This UI provides functions for creating Continuous Vault replication profiles from scratch and converting existing profiles to be locked.
Advantages
The Replica Continuous Vault variant provides the following advantages:
- Creates a separation of responsibilities between the two Delphix Engines
- One engine is used for regular Virtualization cases (ingestion, VDBs, SDD)
- Another engine is used for ransomware protection.
- Creates a physical separation by allowing the admin to isolate and secure the locked Delphix Engine.
- Only the DSP port has to be open for replication.
- No ports are needed for JDBC, NFS, or SSH until VDBs need to be created to export data. This also prevents attack vectors related to any of those protocols.
- Can assist with making deployments and security reviews easier to pass since the locked Delphix Engine is isolated and has a single purpose to reduce potential attack vectors.
In the event of a ransomware attack on a primary engine source being compromised or corrupted, you can provision a VDB on the replica in the locked namespace of the replication target – similar to the normal replication namespace. This process can be further outlined in the Provisioning From Replicated Data Sources or VDBs article. If a complete recovery of the primary engine is needed, please contact Delphix Support.
Implementation
This feature adds a property to the replication namespace and specifications called “locked”. Additional dSources, VDBs, groups, and domains can be added to locked replication specs, but data sources cannot be removed after doing so. Failover on the target Delphix Engine is not allowed if the namespace is part of the locked replication spec. The retention policy duration on a locked namespace can be modified as long as the duration is either being increased, or it is being decreased to a minimum of 100 days.
The time configuration on Delphix engines with Continuous Vault enabled cannot be changed. This is to prevent attempts at bypassing retention policies in order to try and delete snapshots on the target.
A fault is now generated on the Continuous Vault target for a locked namespace that has not received a successful replication update in 3 days.
CLI Functions
Create a locked replication profile.
[user.hostname]> replication spec [user.hostname] replication spec> create [user.hostname] replication spec create *> set name=locked-spec-1 [user.hostname] replication spec create *> set objectSpecification.objects=Untitled/dbname [user.hostname] replication spec create *> set targetHost=example.delphix.com [user.hostname] replication spec create *> set targetPrincipal=admin [user.hostname] replication spec create *> set targetCredential.password=delphix [user.hostname] replication spec create *> set lockedProfile=true [user.hostname] replication spec create *> commit `REPLICATION_SPEC-3 [user.hostname] replication spec> select locked-spec-1 [user.hostname] replication spec 'locked-spec-1'> get type: ReplicationSpec name: locked-spec-1 automaticReplication: false bandwidthLimit: 0 description: (unset) encrypted: false lockedProfile: true <------------------------------ LOCKED numberOfConnections: 1 objectSpecification: type: ReplicationList name: (unset) objects: Untitled/dbname reference: REPLICATION_SPEC-3 runtime: type: ReplicationSpecRuntime schedule: (unset) tag: 5570be25-dbcf-48c3-b2d2-dd2c65eb98b7 targetCredential: type: PasswordCredential password: ******** targetHost: example.delphix.com targetPort: 8415 targetPrincipal: admin useSystemSocksSetting: false [user.hostname] replication spec 'locked-spec-1'> cd .. [user.hostname] replication spec>
Lock an unlocked replication profile.
[user.hostname]> replication spec create [user.hostname] replication spec create *> set name=locked-spec-2 [user.hostname] replication spec create *> set objectSpecification.objects=Untitled/dbname [user.hostname] replication spec create *> set targetHost=example.delphix.com [user.hostname] replication spec create *> set targetPrincipal=admin [user.hostname] replication spec create *> set targetCredential.password=delphix [user.hostname] replication spec create *> commit `REPLICATION_SPEC-4 [user.hostname]> replication spec select locked-spec-2 [user.hostname] replication spec 'locked-spec-2'> get type: ReplicationSpec name: locked-spec-2 automaticReplication: false bandwidthLimit: 0 description: (unset) encrypted: false lockedProfile: false numberOfConnections: 1 objectSpecification: type: ReplicationList name: (unset) objects: Untitled/dbname reference: REPLICATION_SPEC-4 runtime: type: ReplicationSpecRuntime schedule: (unset) tag: e8608d05-0693-440d-8a2b-8c6cbfe06a62 targetCredential: type: PasswordCredential password: ******** targetHost: example.delphix.com targetPort: 8415 targetPrincipal: admin useSystemSocksSetting: false [user.hostname] replication spec 'locked-spec-2'> update [user.hostname] replication spec 'locked-spec-2' update *> set lockedProfile=true [user.hostname] replication spec 'locked-spec-2' update *> commit [user.hostname] replication spec 'locked-spec-2'> get lockedProfile true [user.hostname] replication spec 'locked-spec-2'>
Verify the locked status of a namespace.
[user.hostname]> namespace [user.hostname] namespace> list NAME [user.hostname]-1 [user.hostname]-3 [user.hostname] namespace> select [user.hostname]-3 [user.hostname] namespace '[user.hostname]-3'> get type: Namespace name: [user.hostname]-3 description: (unset) failedOver: false locked: true <------------------------------ LOCKED namespaceType: REPLICATION reference: NAMESPACE-4 secureNamespace: false tag: 5570be25-dbcf-48c3-b2d2-dd2c65eb98b7 [user.hostname] namespace '[user.hostname]-3'>
Verify that the namespace cannot be deleted or failed over.
[user.hostname] namespace '[user.hostname]-1'> delete [user.hostname] namespace '[user.hostname]-1' delete *> commit Error: Namespace "[user.hostname]-1" is locked and cannot be deleted. Action: Cannot delete a locked namespace. [user.hostname] namespace '[user.hostname]-1' delete *> discard [user.hostname] namespace '[user.hostname]-1'> failover [user.hostname] namespace '[user.hostname]-1' failover *> commit Error: Namespace "[user.hostname]-1" is locked and cannot be failed over. Action: Cannot failover a locked namespace. [user.hostname] namespace '[user.hostname]-1' failover *> discard
Verify that the replication profile cannot be deleted or modified. Objects can still be added to the replication profile.
[user.hostname]> replication spec [user.hostname] replication spec> select locked-spec-1 [user.hostname] replication spec 'locked-spec-1'> delete [user.hostname] replication spec 'locked-spec-1' delete *> commit Error: The replication profile is locked and cannot be deleted. Action: Select an unlocked profile to delete. [user.hostname] replication spec 'locked-spec-1' delete *> discard [user.hostname] replication spec 'locked-spec-1'> update [user.hostname] replication spec 'locked-spec-1' update *> set automaticReplication=true [user.hostname] replication spec 'locked-spec-1' update *> commit Error: The replication profile is locked and cannot be updated. Action: Select an unlocked profile to update. [user.hostname] replication spec 'locked-spec-1' update *> discard [user.hostname] replication spec 'locked-spec-1'> update [user.hostname] replication spec 'locked-spec-1' update *> set objectSpecification.objects=Untitled/dbname,Group:/Untitled [user.hostname] replication spec 'locked-spec-1' update *> commit [user.hostname] replication spec 'locked-spec-1'> update [user.hostname] replication spec 'locked-spec-1' update *> set objectSpecification.objects=Untitled/dbname [user.hostname] replication spec 'locked-spec-1' update *> commit Error: Objects cannot be removed from a locked replication profile. Action: Select an unlocked profile to update. [user.hostname] replication spec 'locked-spec-1' update *> discard [user.hostname] replication spec 'locked-spec-1'>
Create a replica retention policy and apply it to the locked namespace.
[user.hostname]> policy [user.hostname] policy> createAndApply [user.hostname] policy createAndApply *> set policy.type=ReplicaRetentionPolicy [user.hostname] policy createAndApply *> set policy.duration=6 [user.hostname] policy createAndApply *> set policy.durationUnit=YEAR [user.hostname] policy createAndApply *> set target=Namespace:/[user.hostname]-1 [user.hostname] policy createAndApply *> set policy.name="Six Years" [user.hostname] policy createAndApply *> get type: PolicyCreateAndApplyParameters policy: type: ReplicaRetentionPolicy (*) name: Six Years (*) customized: false duration: 6 (*) durationUnit: YEAR (*) target: Namespace:/[user.hostname]-1 (*) [user.hostname] policy createAndApply *> commit `POLICY_REPLICA_RETENTION-30 [user.hostname] policy>
Verify that the replica retention policy cannot be deleted or modified.
[user.hostname] policy> select POLICY_REPLICA_RETENTION-30 [user.hostname] policy 'Six Years'> delete [user.hostname] policy 'Six Years' delete *> commit Error: The replica retention policy "Six Years" could not be removed because the target namespace "[user.hostname]-1" is locked. [user.hostname] policy 'Six Years' delete *> discard [user.hostname] policy 'Six Years'> update [user.hostname] policy 'Six Years' update *> set duration=4 [user.hostname] policy 'Six Years' update *> commit Error: The replica retention policy "Six Years" could not be modified because the target namespace "[user.hostname]-1" is locked. [user.hostname] policy 'Six Years' update *> discard [user.hostname] policy 'Six Years'> unapply [user.hostname] policy 'Six Years' unapply *> set target=Namespace:/[user.hostname]-1 [user.hostname] policy 'Six Years' unapply *> commit Error: The replica retention policy "Six Years" could not be removed because the target namespace "[user.hostname]-1" is locked. [user.hostname] policy 'Six Years' unapply *> discard [user.hostname] policy 'Six Years'>
Single Engine Continuous Vault
This feature is available in versions 6.0.14.0 and above. CLI and UI functions are available for locking dSources.
Advantages
The Single Engine Continuous Vault provides effective protection against ransomware attacks in a standalone Delphix Engine. This option may be preferable for deployments where maintaining two separate engines is not architecturally necessary.
Implementation
This feature adds a “locked” property to sources. Once the locked property is enabled, the source cannot be removed. Locked sources are required to have a SnapSync policy defined that refreshes data at least once daily.
To protect Continuous Vault application data from accidental deletion or malicious attack, snapshots of locked sources may not be manually deleted. These snapshots are managed by a retention policy that must be configured for locked sources. The retention policy duration can be modified as long as retention satisfies the minimum duration (100 days).
As with the Continuous Vault Replication implementation, the time configuration of a Single Engine Continuous Vault cannot be changed. This is to prevent attempts at bypassing retention policies in order to try and delete snapshots on the Continuous Vault.
CLI Functions
Locking a source.
sedv> source sedv source> select src10 sedv source 'src10'> lock sedv source 'src10' lock *> commit sedv source 'src10'>
Verifying the locked status of a source.
sedv source 'src10'> ls Properties type: OracleLinkedSource name: src10 container: src10 externalFilePath: (unset) linked: true locked: true <-------------- LOCKED logCollectionEnabled: false operations: ...
Verify that a locked source cannot be disabled.
sedv source 'src10'> disable sedv source 'src10' disable *> commit Error: The source "src10" cannot be disabled because it is locked. Action: Contact Delphix support. sedv source 'src10' disable *> discard
Verify that source locking requires a SnapSync policy that refreshes data at least once daily.
# An insufficiently-frequent SnapSync policy: runs at 03:00 on Sundays sedv policy 'snapsync_weekly'> ls Properties type: SyncPolicy name: snapsync_weekly customized: false default: false effectiveType: DIRECT_APPLIED reference: POLICY_SYNC-7 scheduleList: 0: type: Schedule cronString: 0 0 3 ? * 1 cutoffTime: 14400sec timezone: type: TimeZone id: America/New_York offset: 240 offsetString: UTC -04:00 Operations delete update apply unapply sedv> source sedv source> select src10 sedv source 'src10'> lock sedv source 'src10' lock *> commit Error: Insufficient or unrecognized day coverage in schedule that affects locked sources. Action: Cover either all days of the month or all days of the week when locked sources are affected. Check the documentation for examples.
Verify that source locking requires a retention policy that retains 100 days of snapshots.
# A one-month retention policy sedv policy 'retention_one_month'> ls Properties type: RetentionPolicy name: retention_one_month customized: false dataDuration: 1 dataUnit: MONTH dayOfMonth: 1 dayOfWeek: MONDAY dayOfYear: Jan 1 default: false effectiveType: DIRECT_APPLIED logDuration: 1 logUnit: MONTH numOfDaily: 0 numOfMonthly: 0 numOfWeekly: 0 numOfYearly: 0 reference: POLICY_RETENTION-8 Operations delete update apply unapply sedv> source sedv source> select src10 sedv source 'src10'> lock sedv source 'src10' lock *> commit Error: The retention policy is less than the minimum "100" days required when applied to locked sources. Action: Set retention parameters to preserve at least "100" days of data, and try again.
Verify that a snapshot from a locked source cannot be manually deleted.
sedv snapshot ''@2022-05-05T22:41:24.045Z''> delete sedv snapshot ''@2022-05-05T22:41:24.045Z'' delete *> commit Error: The selected snapshot cannot be deleted because the source associated with its container "Untitled/src10" is locked. Action: Wait for the snapshot to be automatically deleted based on its retention policy, or Contact Delphix support.