User Tools

Site Tools


cluster:151

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
cluster:151 [2016/11/04 15:24]
hmeij07 [Mirror Data]
cluster:151 [2016/11/10 19:49]
hmeij07 [Resync Data]
Line 24: Line 24:
  
   * ''cottontail:/usr/local/bin/beegfs-admin-gui''   * ''cottontail:/usr/local/bin/beegfs-admin-gui''
 +
 +==== Resync Data ====
 +
 +[[http://www.beegfs.com/wiki/StorageSynchronization|StorageSynchronization Link]]
 +
 +//If the primary storage target of a buddy group is unreachable, it will get marked as offline and a failover to the secondary target will be issued. In this case, the former secondary target will become the new primary target.//
 +
 +Testing out fail over and deletion of data on secondary then a full resync process:
 +
 + 
 +  * started a full --resyncstorage --mirrorgroupid=101 --timestamp=0
 +  * got --getentryinfo EntryID for a file in my /mnt/beegfs/home/path/to/file and did the same for the directory the file was located in
 +  * did a cat /mnt.beegfs/home/path/to/file on a client (just fine)
 +  * brought primary storage down
 +  * redid the cat above (it hangs for a couple of minutes, then displays the file content)
 +  * while primary down, I ran rm -rf   /mnt/beegfs/home/path/to/ removing directory holding file
 +  * a cat now generates the expected file not found error
 +  * brought up primary and started a full --resyncstorage --mirrorgroupid=101 --timestamp=0
 +  * the nr of files and dirs discovered is as expected lower by the correct values
 +  * when I now search for the EntryIDs obtained before they are gone from /data/beegfs-storage (as expected).
 +
 +Nice that it works.
 +
 +So you can full storage content mirror. You'll still need rsnapshots to recover lost data or point in time restores.
  
 ==== Mirror Data ==== ==== Mirror Data ====
cluster/151.txt ยท Last modified: 2016/12/06 20:14 by hmeij07