Defining a replication subrule
To specify exceptions to a replication storage rule, you can define one or more replication subrules.
About this task
By default, a replication storage rule with the ACTIONTYPE=REPLICATING parameter value copies all data from eligible nodes on the source replication server to the target replication server. However, to replicate data only from specific nodes or file spaces, you can specify subrules. Multiple subrules can be defined for a replication storage rule. With the help of subrules, you can filter specific nodes or node groups, file spaces, and files based on their data types.
Subrules can be useful in many situations, for example:
- You want to replicate data from only specific nodes. Define a replication storage rule with the ACTIONTYPE=NOREPLICATING parameter value. Then, define subrules with the ACTIONTYPE=REPLICATING parameter value to replicate data only from specific nodes.
- You want to replicate all data on a source replication server to a target replication server except for data from specific nodes. You can configure the parent storage rule to replicate data by specifying the ACTIONTYPE=REPLICATING parameter value. Then, define subrules to exclude data from the specific nodes on the source replication server by specifying the ACTIONTYPE=NOREPLICATING parameter value.
- You want to replicate all types of data from a source replication server to a target replication server except for archive data. You can configure the parent storage rule to replicate all data by specifying the ACTIONTYPE=REPLICATING parameter value. Then, define subrules to exclude archive type data by specifying the DATATYPE=ARCHIVE and ACTIONTYPE=NOREPLICATING parameter values.
Procedure
To define a replication subrule, complete the following steps: