Created
September 26, 2012 06:53
-
-
Save galderz/3786481 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- LON site, the cache below backups to NYC. It doesn't have any clue which site from NYC acts as a backup. --> | |
<namedCache name="local-users"> | |
<sites> | |
<backups> | |
<backup site="NYC" backupFailurePolicy="WARN" strategy="SYNC"/> | |
</backups> | |
</sites> | |
</namedCache> | |
<!-- -------------------------------------------------------------------------------------------------------- --> | |
<!-- NYC site. Whenever a remote write from users@LON is received by this site, the data is backed up into | |
this cache. If the backupFor is missing from all the defined caches, then the name of the backup defaults | |
to remote cache name, i.e. users) --> | |
<namedCache name="users"> | |
<sites> | |
<backupFor remoteCache="local-users" remoteSite="LON"/> | |
</sites> | |
</namedCache> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment