You can replicate data that belongs to one or more client nodes or the data that belongs to a defined group of client nodes. To replicate data automatically and at a scheduled frequency, define an administrative schedule.
define schedule repl_sched type=administrative cmd="replicate node
node*" active=yes"
description="replicate clients with name noden" starttime=06:00:00 period=1
perunits=days
High-priority data is replicated before data with a normal priority. To schedule replication processes, you use the DEFINE SCHEDULE command.
If the data that belongs to a client node is being replicated, any attempt to replicate the data by issuing another REPLICATE NODE command fails. For example, suppose the backup data that belongs to a client node is scheduled for replication at 6:00 a.m. Replication of the archive data is scheduled for 8:00 a.m. Replication of the backup-data must complete before replication of the archive data starts.
If you have many client nodes and are replicating a large amount of data, you can replicate data more efficiently by issuing several REPLICATE NODE commands in separate schedules. For example, replicate the data that belongs to the most important client nodes first in a single command. After the data that belongs to those client nodes is replicated, replicate the data that belongs to the other nodes.
replicate node node1,node2 wait=yes
replicate node node3,node4
You can use the REPLBATCHSIZE and REPLSIZETHRESH server options to increase the speed of a node replication process between two replicating servers. The REPLBATCHSIZE option specifies the number of client files that are to be replicated in a batch, within the same server transaction. The REPLSIZETHRESH option specifies, in megabytes, a threshold for the amount of data that is replicated as a batch, within the same server transaction.