After you define the replication parameters that are associated with a read/write fileset, you must define the sites (File Server machines and aggregates) where read-only replicas of the fileset are to be stored. Use the fts addsite command to add a replication site for a read/write fileset. If you define an incorrect site or decide at some later time that you no longer want a replica to be stored at a specific site, you can use the fts rmsite command to remove a replication site for a fileset.
With Release Replication, you must choose the File Server machine on which the read/write fileset resides as the first replication site. You can define one replication site on the same File Server machine and aggregate as the read/write fileset, and you can define up to 15 additional replication sites that are not on the same File Server machine and aggregate as the read/write fileset, for a maximum of 16 possible replication sites.
Note that you can store only a single read-only version of a given read/write fileset on any File Server machine. The fts addsite command prevents you from defining multiple replication sites for a fileset on the same File Server machine. Also, it is not possible to place a replica of a fileset on a File Server machine in a different cell.
Adding a Replication Site
To add a replication site for a fileset, do the following:
1. Verify that you have the necessary privileges. You must be included in the admin.fl file on each Fileset Database machine or own the server entry for each machine on which a version of the fileset resides. If necessary, issue the bos lsadmin command to verify the members of an administrative list.
2. Select a replication site for the read/write fileset that is to be replicated. If necessary, enter the fts aggrinfo command to check the available space on the aggregate; the fts lsft command can be used to check the size of the read/write fileset.
$ fts aggrinfo -server machine -aggregate name
3. Enter the fts addsite command to add the replication site. If Release Replication is being used, you must define the first replication site on the same File Server machine as the read/write fileset.
$ fts addsite -fileset {name | ID} -server machine -aggregate name [-maxsiteage interval]
The -maxsiteage interval option can be used to override the DefaultSiteAge set with the fts setrepinfo command.
Repeat the fts addsite command for each replication site you want to define for the fileset.
Removing a Replication Site
To remove a replication site for a fileset, do the following:
1. Verify that you have the necessary privileges. You must be included in the admin.fl file on each Fileset Database machine or own the server entry for each machine on which a version of the fileset resides. If necessary, issue the bos lsadmin command to verify the members of an administrative list.
Note: If the fileset uses Release Replication and you are using the fts rmsite command to remove the replication site and replica on the same machine as the read/write fileset, you must also be included in the admin.ft file on the machine specified by the -server option. Be aware that if you remove the read-only replica on the same machine as the read/write fileset, all other read-only replicas of that fileset become unavailable after the expiration of the fileset's FailAge.
2. Enter the fts rmsite command to remove a replication site and to instruct the Replication Server at the site to remove the read-only replica of the fileset. If the fileset uses Release Replication and the replication site is on the same File Server machine as the read/write fileset, the fts rmsite command itself removes the replica. Note that you must specify the aggregate ID with the -aggregate option if the aggregate on which the replica resides is not currently exported or has been detached with the dfsexport command.
$ fts rmsite -fileset {name | ID} -server machine -aggregate name
Repeat the fts rmsite command for each replication site and read-only fileset you want to remove for the fileset.