Examples

The following command sets the initial Release Replication type and parameters for the read/write fileset named rs_aix32.bin. The default replication parameters are used for the fileset.

$ fts setrepinfo -fileset rs_aix32.bin -release

The following command changes the replication type for the rs_aix32.bin fileset from Release to Scheduled. It also clears the current replication parameters for the fileset and allows the system to calculate default values for all of the parameters.

$ fts setr -fileset rs_aix32.bin -scheduled -change -clear

The following command clears the current replication parameters used for the rs_aix32.bin fileset, replacing them with parameters specified by the issuer of the command:

$ fts setr rs_aix32.bin -maxage 6h -failage 12h -reclaimwait 1d -minrepdelay 15m -clear

The previous command changes the default Scheduled Replication parameters as follows:

· It increases the MaxAge from the default of 2 hours to 6 hours.

· It decreases the FailAge from the default of the larger of 1 day or twice the MaxAge to 12 hours (twice the MaxAge).

· It increases the MinRepDelay from the default of 5 minutes or one-quarter of the DefaultSiteAge to 15 minutes.

· It increases the ReclaimWait from the default of 18 hours to 1 day.

Because the -defaultsiteage option is omitted from the command, the -maxsiteage option must be used when defining replication sites for the fileset with the fts addsite command.