SET SPREPLRULEDEFAULT (Set the server replication rule for space-managed data)
Use this command to set the server replication rule for space-managed data.
Restriction: The replication rule that you set
with this command is applied only if file space rules and client node
rules for space-managed data are set to DEFAULT.
Issue this command on the server that acts as a source for replicated data.
You can specify a normal-priority replication rule or a high-priority replication rule. In a replication process that includes both normal and high-priority data, high-priority data is replicated first. Before you specify a rule, consider the order in which you want the data to be replicated.
For example, suppose that your client nodes contain space-managed data and backup data.
Replication of the space-managed data is a higher priority than the backup data. To prioritize the
space-managed data, issue the SET SPREPLRULEDEFAULT command and specify the
ALL_DATA_HIGH_PRIORITY replication rule. To prioritize the backup data, issue the SET
BKREPLRULEDEFAULT command and specify the ALL_DATA replication rule for backup data. The
ALL_DATA rule for backup data replicates backup data with a normal priority.
Tip: Do not confuse replication rules with replication
storage rules. Replication rules are associated with the traditional method of node
replication. You define a replication rule on the command line by using the REPLICATE
NODE command. Replication storage rules are associated with a newer
replication method that is more flexible and granular. You define replication storage
rules by using the DEFINE STGRULE command. The SET
SPREPLRULEDEFAULT command is used for traditional replication rules.
Privilege class
To issue this command, you must have system privilege.
Syntax
Parameters
- ALL_DATA
- Replicates space-managed data with a normal priority.
- ALL_DATA_HIGH_PRIORITY
- Replicates space-managed data with a high priority.
- NONE
- Space-managed data is not replicated.
Example: Set the server replication rule for space-managed data
Set up the default rule for space-managed data to replicate with a high priority.set spreplruledefault all_data_high_priorityRelated commands
| Command | Description |
|---|---|
| QUERY FILESPACE | Displays information about data in file spaces that belong to a client. |
| QUERY NODE | Displays partial or complete information about one or more clients. |
| QUERY REPLICATION | Displays information about node replication processes. |
| QUERY REPLRULE | Displays information about node replication rules. |
| QUERY STATUS | Displays the settings of server parameters, such as those selected by the SET commands. |
| REPLICATE NODE | Replicates data in file spaces that belong to a client node. |
| SET ARREPLRULEDEFAULT | Specifies the server node-replication rule for archive data. |
| SET BKREPLRULEDEFAULT | Specifies the server node-replication rule for backup data. |
| UPDATE FILESPACE | Changes file-space node-replication rules. |
| UPDATE REPLRULE | Enables or disables replication rules. |
| VALIDATE REPLICATION | Verifies replication for file spaces and data types. |
