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.

Privilege class

To issue this command, you must have system privilege.

Syntax

Read syntax diagramSkip visual syntax diagram
>>-Set SPREPLRuledefault--+-ALL_DATA---------------+-----------><
                          +-ALL_DATA_HIGH_PRIORITY-+   
                          '-NONE-------------------'   

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_priority

Related commands

Table 1. Commands related to SET BKREPLRULEDEFAULT
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.