See attached screenshots. One screenshot shows the command to enable SRM on the CG and the other shows how to set compression. You would SSH into the RPA and log in using the admin account in order to run these commands.
I'm looking for a similar script example. I would love to set the SRM_Managed but also turn compression on and off. This is do to our wan acceleration having issues.
etaljic81
1K Posts
0
December 4th, 2013 07:00
See attached screenshots. One screenshot shows the command to enable SRM on the CG and the other shows how to set compression. You would SSH into the RPA and log in using the admin account in order to run these commands.
Jebunn
4 Posts
0
December 4th, 2013 07:00
I'm looking for a similar script example. I would love to set the SRM_Managed but also turn compression on and off. This is do to our wan acceleration having issues.
Thanks
Jason
etaljic81
1K Posts
0
December 4th, 2013 09:00
Here's a sample command for 3.5:
set_policy group="CG01" bandwidth_limit="UNLIMITED" compression="low" deduplication="NO" managed_by_srm="SRM_managed" measure_lag_to_box="YES" priority="NORMAL" remote_fast_init="YES" remote_snapshot_granularity="DYNAMIC" transfer_by_non_preferred="YES"
Jebunn
4 Posts
0
December 4th, 2013 09:00
Should have mentioned I was running 3.5
Looks like config commands are for 4.0
Here is the command on 3.5 Working on a scripting file and plink next.
set_policy
Modifies the default replication policy for the specified group.
User admin
Parameters
group=
[copy= ]
[bandwidth_limit= | unlimited]
[priority=critical | high | normal | low | idle]
[compression=none | low | medium | high]
[deduplication=yes | no]
[transfer_by_non_preferred=yes | no]
[local_snapshot_granularity=dynamic | fixed_per_second | fixed_per_write]
[remote_snapshot_granularity=dynamic | fixed_per_second | fixed_per_write]
[local_fast_init=yes | no]
[remote_fast_init=yes | no]
[priority_copy=remote | local]
[journal_compression=high | medium | none]
[protection_window= months | weeks | days | hrs | none]
[reservations_policy=Auto | IF | PowerPath | PowerPath non-auto | SCSI-3]
[max_journal_lag= bytes | KB | MB | GB | unlimited]
[image_access_log_size= ]
[allow_long_resync=yes | no]
[journal_size_limit= ]
[managed_by_srm=SRM_disabled | SRM_managed | RecoverPoint_managed]
[failall_variant=variant1 | variant2 | variant3 | variant4 | variant5 | variant6 | variant7 | variant8 | variant9 | variant10 | variant11 | variant12 | variant13 | variant14 | variant15 | auto]
[Allow_replication_with_self_mirroring=yes | no]
Jebunn
4 Posts
0
December 5th, 2013 11:00
Scripting Recoverpoint Policy Changes
Note you will need plink (free online) to run Recoverpoint cli script files
Note this is only for RP 3.5. Commands change in 4.0
Command to run cli file
Plink –ssh “user@rpaip” –m “cli file path”
set_policy
Modifies the default replication policy for the specified group.
User admin
Parameters
group=
[copy=]
[bandwidth_limit= | unlimited]
[priority=critical | high | normal | low | idle]
[compression=none | low | medium | high]
[deduplication=yes | no]
[transfer_by_non_preferred=yes | no]
[local_snapshot_granularity=dynamic | fixed_per_second | fixed_per_write]
[remote_snapshot_granularity=dynamic | fixed_per_second | fixed_per_write]
[local_fast_init=yes | no]
[remote_fast_init=yes | no]
[priority_copy=remote | local]
[journal_compression=high | medium | none]
[protection_window=months | weeks | days | hrs | none]
[reservations_policy=Auto | IF | PowerPath | PowerPath non-auto | SCSI-3]
[max_journal_lag=bytes | KB | MB | GB | unlimited]
[image_access_log_size=]
[allow_long_resync=yes | no]
[journal_size_limit=]
[managed_by_srm=SRM_disabled | SRM_managed | RecoverPoint_managed]
[failall_variant=variant1 | variant2 | variant3 | variant4 | variant5 | variant6 | variant7 | variant8 | variant9 | variant10 | variant11 | variant12 | variant13 | variant14 | variant15 | auto]
[Allow_replication_with_self_mirroring=yes | no]
Descriptions
Name of an existing consistency group.
Name of an existing copy. group copy (optional)
bandwidth_limit (optional) The maximum bandwidth available in Mbps for use by the consistency group.
Sample script that disables compression on a list of Consistency Groups
set_policy group=CG-ALIS-AIX compression=none;
set_policy group=CG-ALIS-VM compression=none;
set_policy group=CG-AWD-VM compression=none;
set_policy group=CG-Basware-VM compression=none;
set_policy group=CG-BPM-eSig-AIX compression=none;
set_policy group=CG-BPM-VM compression=none;
set_policy group=CG-Callidus-AIX compression=none;
set_policy group=CG-Callidus-VM compression=none;
set_policy group=CG-Cashiers-VM compression=none;
set_policy group=CG-CFdotCom-VM compression=none;
set_policy group=CG-ClaimsImaging-VM compression=none;
set_policy group=CG-CQP-VM compression=none;
set_policy group=CG-CTB-VM compression=none;
set_policy group=CG-DataQual-AIX compression=none;
set_policy group=CG-DataQual-VM compression=none;
set_policy group=CG-eForms-VM compression=none;
set_policy group=CG-eSig-VM compression=none;
set_policy group=CG-FSS-VM compression=none;
set_policy group=CG-HQPLHUCP-VM compression=none;
set_policy group=CG-Informatica-VM compression=none;
set_policy group=CG-InputAccel-VM compression=none;
set_policy group=CG-Jrules-VM compression=none;