There are two variables which limit the number
of concurrent Object Replication sessions per node on the replication source and target
(destination) respectively:
- replication-max-source-replications
- replication-max-destination-replications
These variables are intended to limit the replication source and replication
target pools. They default to 128 and apply independently i.e. you can have 128 concurrent
sessions on the replication source and target. If the number of concurrent replications on the
replication source has been reached, then for instance a replication started from the console
outputs an error message similar
to:
hnas:$ vn 1 replication-start ObjRepPolicy ObjRepSource Could not start object replication using policy 'ObjRepPolicy' on file system 'ObjRepSource': Node has reached maximum number of concurrent object replications
This will abort the replication and if necessary cleanup any source auto snapshot.
If the number of concurrent replications on the replication target has been
reached, the replication target returns a status of NoResources which on the replication
source, if the replication has been started from the console, causes an error message similar
to:
hnas:$ vn 1 replication-start ObjRepPolicy ObjRepSource ... Could not start object replication using policy 'ObjRepPolicy' on file system 'ObjRepSource': Insufficient resources on target to perform object replication
Also, the replication history log contains the reason for not starting the replication.