Skip to main content
  • Place orders quickly and easily
  • View orders and track your shipping status
  • Enjoy members-only rewards and discounts
  • Create and access a list of your products
  • Manage your Dell EMC sites, products, and product-level contacts using Company Administration.

PowerScale OneFS 9.2.1.0 CLI Administration Guide

PDF

Create a replication policy

You can create a replication policy with SyncIQ that defines how and when data is replicated to another PowerScale cluster. A replication policy specifies the target cluster, source and target directories, and directories and files to be excluded during replication.

CAUTION In a SyncIQ replication policy, OneFS enables you to specify a source directory that is a target directory, or is contained within a target directory, from a different replication policy. Referred to as cascading replication, this use case is specifically for backup purposes, and should be configured carefully. OneFS does not allow failback in such cases.

If you modify any of the following policy settings after a policy is run, OneFS performs either a full or differential replication the next time the policy is run.

  • Source directory
  • Included or excluded directories
  • File-criteria statement
  • Target cluster name or address

    This applies only if you modify a replication policy to specify a different target cluster. If you modify the IP or domain name of a target cluster, and then modify the replication policy on the source cluster to match the new IP or domain name, a full replication is not performed. Note also that SyncIQ does not support dynamically allocated IP address pools. If a replication job connects to a dynamically allocated IP address, SmartConnect might reassign the address while a replication job is running, which would cause the job to fail.

  • Target directory
    NOTE If you create a replication policy for a SmartLock directory, the SyncIQ and SmartLock domains must be configured at the same root directory level. A SmartLock directory cannot be nested inside a SyncIQ directory.
Run the isi sync policies create command.

The following command creates a policy that replicates the directory /ifs/data/source on the source cluster to /ifs/data/target on target cluster 10.1.99.36 every week. The command also creates archival snapshots on the target cluster:

isi sync policies create mypolicy sync /ifs/data/source 
10.1.99.36 /ifs/data/target --schedule "Every Sunday at 12:00 AM" 
--target-snapshot-archive on --target-snapshot-expiration 1Y
--target-snapshot-pattern "%{PolicyName}-%{SrcCluster}-%Y-%m-%d

Rate this content

Accurate
Useful
Easy to understand
Was this article helpful?
0/3000 characters
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please select whether the article was helpful or not.
  Comments cannot contain these special characters: <>()\