Replication (Component)
CommonSpot replication allows changes made to a site on the authoring server to be automatically transferred to one or more read-only production servers that have been assigned as replication target servers. This allows the site to be accessible from more than one server in configurations designed for load balancing and failures. The Replication object lets you manage replication directories, name target servers, set replication scope, test the connection in addition to telling CommonSpot to begin replication. You an also have CommonSpot return information on how replication is set up and replication status.
Methods marked below with [L] may be logged at the server level (if transaction logging is licensed and enabled by the administrator)
Methods marked below with [C] may be customized at the site level
Methods:
addDefaultDirectories [L] [C] | Adds records for the default and built-in-box directories that the CommonSpot replicator scans when it looks for file system changes. |
deleteDirectory [L] [C] | Deletes a directory from the list of directories that CommonSpot scans when replicating a site. |
deleteRecord [L] [C] | Delete a replication record. |
deleteScope [L] [C] | Deletes a replication scope. |
deleteServer [L] [C] | Deletes information about a target server. |
getDirectories [C] | Returns zero or more structures, each containing information on the directories that CommonSpot scans when it replicates information. |
getMiscSettings [C] | Returns a structure whose members indicate if CommonSpot saves replication packets. |
getRecords [C] | Returns zero or more structures , each containing information about replication records; for example, a replication's 'DelayOption', 'LastReplication', 'NextReplication', 'Scope', and so on. |
getRecordStatus [C] | Returns zero or more structures, each containing information on the status of the last replication. Structure members include the replication group's ID, the server's ID, the status, and so on. |
getRecordTransportInfo [C] | Returns a structure whose members contain a replication record's transport information to a target server. Structure members include the server's name, the ftp server, the ftp port, and so on. |
getScopes [C] | Returns zero or more structures contain information describing replication scopes; for example, 'ClearCache', 'FileSystemFiles'. 'ReindexSearchCollections', and so on. |
getServers [C] | Returns zero or more structures, each containing information about configured replication target servers. Structure members have information on the server's address, ID, name, and so on. |
replicate [L] [C] | Returns zero or more structures, each containing job replication IDs. |
saveApprovalStatus [L] [C] | Saved the approval status of the replication record on the ROPS. |
saveDirectory [L] [C] | Saves information about a directory that CommonSpot will scan as it looks for files that it should replicate. |
saveMiscSettings [L] [C] | Saves the following information: 'saveReplicationPackets' tells CommonSpot to save replication packets as a debugging aide. |
saveRecord [L] [C] | Saves replication record information. |
saveRecordTransportInfo [L] [C] | Saves transportation information for a target server's replication record. |
saveScope [L] [C] | Defines the actions that occur during replication. This set of actions is called the 'replication scope'. |
saveServer [L] [C] | Creates or saves information about a target server. |
testConnection [C] | Tests the connection to a target server. |