There are 16 default SnapMirror Policies. Descriptions are below:
cluster1::> snapmirror policy show -fields policy,comment
policy: comment
---------------
Asynchronous: A unified Asynchronous SnapMirror and SnapVault policy for mirroring the latest active file system and daily and weekly Snapshot copies with an hourly transfer schedule.
AutomatedFailOver: Policy for SnapMirror Synchronous with zero RTO guarantee where client I/O will not be disrupted on replication failure.
CloudBackupDefault: Vault policy with daily rule.
Continuous: Policy for S3 bucket mirroring.
DPDefault: Asynchronous SnapMirror policy for mirroring all Snapshot copies and the latest active file system.
DailyBackup: Vault policy with a daily rule and a daily transfer schedule.
MirrorAllSnapshots: Asynchronous SnapMirror policy for mirroring all Snapshot copies and the latest active file system.
MirrorAllSnapshotsDiscardNetwork: Asynchronous SnapMirror policy for mirroring all Snapshot copies and the latest active file system excluding the network configurations.
MirrorAndVault: A unified Asynchronous SnapMirror and SnapVault policy for mirroring the latest active file system and daily and weekly Snapshot copies.
MirrorAndVaultDiscardNetwork: A unified Asynchronous SnapMirror and SnapVault policy for mirroring the latest active file system and daily and weekly Snapshot copies excluding the network configurations.
MirrorLatest: Asynchronous SnapMirror policy for mirroring the latest active file system.
SnapCenterSync: Policy for SnapMirror Synchronous for Snap Center with Application Created Snapshot configuration.
StrictSync: Policy for SnapMirror Synchronous where client access will be disrupted on replication failure.
Sync: Policy for SnapMirror Synchronous where client access will not be disrupted on replication failure.
Unified7year: Unified SnapMirror policy with 7year retention.
XDPDefault: Vault policy with daily and weekly rules.
16 entries were displayed.
Details of the specific SnapMirror policies are below (for the comments, please see above):
cluster1::> snapmirror policy show -instance
Vserver: cluster1
SnapMirror Policy Name: Asynchronous
SnapMirror Policy Type: mirror-vault
Policy Owner: cluster-admin
Tries Limit: 8
Transfer Priority: normal
Ignore accesstime Enabled: false
Transfer Restartability: always
Ntwrk Compression Enabled: false
Create Snapshot: true
Total Number of Rules: 3
Total Keep: 60
Transfer Schedule Name: hourly
Throttle: unlimited
Rules:
SM Label Keep Preserve Warn Schedule Prefix Retention
---------- ---- -------- ---- -------- ------ ---------
sm_created 1 false 0 - - -
daily 7 false 0 - - -
weekly 52 false 0 - - -
Vserver: cluster1
SnapMirror Policy Name: AutomatedFailOver
SnapMirror Policy Type: automated-failover
Policy Owner: cluster-admin
Tries Limit: 8
Transfer Priority: normal
Ignore accesstime Enabled: false
Transfer Restartability: always
Ntwrk Compression Enabled: false
Create Snapshot: true
Always Replicate Snapshots: false
Total Number of Rules: 1
Total Keep: 1
Transfer Schedule Name: -
Throttle: unlimited
Rules:
SM Label Keep Preserve Warn Schedule Prefix Retention
---------- ---- -------- ---- -------- ------ ---------
sm_created 1 false 0 - - -
Vserver: cluster1
SnapMirror Policy Name: CloudBackupDefault
SnapMirror Policy Type: vault
Policy Owner: cluster-admin
Tries Limit: 8
Transfer Priority: normal
Ignore accesstime Enabled: false
Transfer Restartability: always
Ntwrk Compression Enabled: false
Create Snapshot: false
Total Number of Rules: 1
Total Keep: 7
Transfer Schedule Name: -
Throttle: unlimited
Rules:
SM Label Keep Preserve Warn Schedule Prefix Retention
---------- ---- -------- ---- -------- ------ ---------
daily 7 false 0 - - -
Vserver: cluster1
SnapMirror Policy Name: Continuous
SnapMirror Policy Type: continuous
Policy Owner: cluster-admin
Tries Limit: 8
Transfer Priority: normal
Ignore accesstime Enabled: false
Transfer Restartability: always
Ntwrk Compression Enabled: -
Create Snapshot: -
Total Number of Rules: 0
Total Keep: 0
Recovery Point Objective: 3600
Transfer Schedule Name: -
Throttle: unlimited
Rules:
SM Label Keep Preserve Warn Schedule Prefix Retention
---------- ---- -------- ---- -------- ------ ---------
- - - - - - -
Vserver: cluster1
SnapMirror Policy Name: DPDefault
SnapMirror Policy Type: async-mirror
Policy Owner: cluster-admin
Tries Limit: 8
Transfer Priority: normal
Ignore accesstime Enabled: false
Transfer Restartability: always
Ntwrk Compression Enabled: false
Create Snapshot: true
Total Number of Rules: 2
Total Keep: 2
Transfer Schedule Name: -
Throttle: unlimited
Rules:
SM Label Keep Preserve Warn Schedule Prefix Retention
---------- ---- -------- ---- -------- ------ ---------
sm_created 1 false 0 - - -
all_source_snapshots 1 false 0 - - -
Vserver: cluster1
SnapMirror Policy Name: DailyBackup
SnapMirror Policy Type: vault
Policy Owner: cluster-admin
Tries Limit: 8
Transfer Priority: normal
Ignore accesstime Enabled: false
Transfer Restartability: always
Ntwrk Compression Enabled: false
Create Snapshot: false
Total Number of Rules: 1
Total Keep: 7
Transfer Schedule Name: daily
Throttle: unlimited
Rules:
SM Label Keep Preserve Warn Schedule Prefix Retention
---------- ---- -------- ---- -------- ------ ---------
daily 7 false 0 - - -
Vserver: cluster1
SnapMirror Policy Name: MirrorAllSnapshots
SnapMirror Policy Type: async-mirror
Policy Owner: cluster-admin
Tries Limit: 8
Transfer Priority: normal
Ignore accesstime Enabled: false
Transfer Restartability: always
Ntwrk Compression Enabled: false
Create Snapshot: true
Total Number of Rules: 2
Total Keep: 2
Transfer Schedule Name: -
Throttle: unlimited
Rules:
SM Label Keep Preserve Warn Schedule Prefix Retention
---------- ---- -------- ---- -------- ------ ---------
sm_created 1 false 0 - - -
all_source_snapshots 1 false 0 - - -
Vserver: cluster1
SnapMirror Policy Name: MirrorAllSnapshotsDiscardNetwork
SnapMirror Policy Type: async-mirror
Policy Owner: cluster-admin
Tries Limit: 8
Transfer Priority: normal
Ignore accesstime Enabled: false
Transfer Restartability: always
Ntwrk Compression Enabled: false
Create Snapshot: true
Discard Configs: network
Total Number of Rules: 2
Total Keep: 2
Transfer Schedule Name: -
Throttle: unlimited
Rules:
SM Label Keep Preserve Warn Schedule Prefix Retention
---------- ---- -------- ---- -------- ------ ---------
sm_created 1 false 0 - - -
all_source_snapshots 1 false 0 - - -
Vserver: cluster1
SnapMirror Policy Name: MirrorAndVault
SnapMirror Policy Type: mirror-vault
Policy Owner: cluster-admin
Tries Limit: 8
Transfer Priority: normal
Ignore accesstime Enabled: false
Transfer Restartability: always
Ntwrk Compression Enabled: false
Create Snapshot: true
Total Number of Rules: 3
Total Keep: 60
Transfer Schedule Name: -
Throttle: unlimited
Rules:
SM Label Keep Preserve Warn Schedule Prefix Retention
---------- ---- -------- ---- -------- ------ ---------
sm_created 1 false 0 - - -
daily 7 false 0 - - -
weekly 52 false 0 - - -
Vserver: cluster1
SnapMirror Policy Name: MirrorAndVaultDiscardNetwork
SnapMirror Policy Type: mirror-vault
Policy Owner: cluster-admin
Tries Limit: 8
Transfer Priority: normal
Ignore accesstime Enabled: false
Transfer Restartability: always
Ntwrk Compression Enabled: false
Create Snapshot: true
Discard Configs: network
Total Number of Rules: 3
Total Keep: 60
Transfer Schedule Name: -
Throttle: unlimited
Rules:
SM Label Keep Preserve Warn Schedule Prefix Retention
---------- ---- -------- ---- -------- ------ ---------
sm_created 1 false 0 - - -
daily 7 false 0 - - -
weekly 52 false 0 - - -
Vserver: cluster1
SnapMirror Policy Name: MirrorLatest
SnapMirror Policy Type: async-mirror
Policy Owner: cluster-admin
Tries Limit: 8
Transfer Priority: normal
Ignore accesstime Enabled: false
Transfer Restartability: always
Ntwrk Compression Enabled: false
Create Snapshot: true
Total Number of Rules: 1
Total Keep: 1
Transfer Schedule Name: -
Throttle: unlimited
Rules:
SM Label Keep Preserve Warn Schedule Prefix Retention
---------- ---- -------- ---- -------- ------ ---------
sm_created 1 false 0 - - -
Vserver: cluster1
SnapMirror Policy Name: SnapCenterSync
SnapMirror Policy Type: sync-mirror
Policy Owner: cluster-admin
Tries Limit: 8
Transfer Priority: normal
Ignore accesstime Enabled: false
Transfer Restartability: always
Ntwrk Compression Enabled: false
Create Snapshot: true
Always Replicate Snapshots: false
Total Number of Rules: 2
Total Keep: 3
Transfer Schedule Name: -
Throttle: unlimited
Rules:
SM Label Keep Preserve Warn Schedule Prefix Retention
---------- ---- -------- ---- -------- ------ ---------
sm_created 2 false 0 - - -
app_consistent 1 false 0 - - -
Vserver: cluster1
SnapMirror Policy Name: StrictSync
SnapMirror Policy Type: strict-sync-mirror
Policy Owner: cluster-admin
Tries Limit: 8
Transfer Priority: normal
Ignore accesstime Enabled: false
Transfer Restartability: always
Ntwrk Compression Enabled: false
Create Snapshot: true
Always Replicate Snapshots: false
Total Number of Rules: 1
Total Keep: 2
Transfer Schedule Name: -
Throttle: unlimited
Rules:
SM Label Keep Preserve Warn Schedule Prefix Retention
---------- ---- -------- ---- -------- ------ ---------
sm_created 2 false 0 - - -
Vserver: cluster1
SnapMirror Policy Name: Sync
SnapMirror Policy Type: sync-mirror
Policy Owner: cluster-admin
Tries Limit: 8
Transfer Priority: normal
Ignore accesstime Enabled: false
Transfer Restartability: always
Ntwrk Compression Enabled: false
Create Snapshot: true
Always Replicate Snapshots: false
Total Number of Rules: 1
Total Keep: 2
Transfer Schedule Name: -
Throttle: unlimited
Rules:
SM Label Keep Preserve Warn Schedule Prefix Retention
---------- ---- -------- ---- -------- ------ ---------
sm_created 2 false 0 - - -
Vserver: cluster1
SnapMirror Policy Name: Unified7year
SnapMirror Policy Type: mirror-vault
Policy Owner: cluster-admin
Tries Limit: 8
Transfer Priority: normal
Ignore accesstime Enabled: false
Transfer Restartability: always
Ntwrk Compression Enabled: false
Create Snapshot: true
Total Number of Rules: 4
Total Keep: 144
Transfer Schedule Name: -
Throttle: unlimited
Rules:
SM Label Keep Preserve Warn Schedule Prefix Retention
---------- ---- -------- ---- -------- ------ ---------
sm_created 1 false 0 - - -
daily 7 false 0 - - -
weekly 52 false 0 - - -
monthly 84 false 0 monthly - -
Vserver: cluster1
SnapMirror Policy Name: XDPDefault
SnapMirror Policy Type: vault
Policy Owner: cluster-admin
Tries Limit: 8
Transfer Priority: normal
Ignore accesstime Enabled: false
Transfer Restartability: always
Ntwrk Compression Enabled: false
Create Snapshot: false
Total Number of Rules: 2
Total Keep: 59
Transfer Schedule Name: -
Throttle: unlimited
Rules:
SM Label Keep Preserve Warn Schedule Prefix Retention
---------- ---- -------- ---- -------- ------ ---------
daily 7 false 0 - - -
weekly 52 false 0 - - -
Creating SnapMirror Policies
cluster1::} snapmirror policy create ?
-vserver {vserver name}
[-policy] {snapmirror policy}
[[-type] {SEE[1]}] Snapmirror Policy Type
[ -comment {text} ]
[ -tries {{integer}|unlimited} ]
[ -transfer-priority {low|normal} ]
[ -ignore-atime {true|false} ]
[ -restart {always|never|default} ]
[ -is-network-compression-enabled {true|false} ]
[ -rpo {integer} ]
[ -always-replicate-snapshots {true|false} ]
[ -retention-period {SEE[2]}, ... ]
[ -transfer-schedule-name {text} ]
[ -throttle {{integer}|unlimited} ]
[1] vault|async-mirror|mirror-vault|strict-sync-mirror|sync-mirror|automated-failover|continuous
[2] {{integer} seconds|minutes|hours|days|months|years} | infinite
Comments
Post a Comment