Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Last revision Both sides next revision
en:services:storage_services:backup:tsm:admin:workarounds:3sitereplication [2021/02/09 11:29]
bnachtw
en:services:storage_services:backup:tsm:admin:workarounds:3sitereplication [2021/02/09 11:35]
bnachtw [implementation]
Line 21: Line 21:
 == replication tsm0 => tsm1== == replication tsm0 => tsm1==
 <code> <code>
-REMove    REPLNode 3sitepoc+REMove    REPLNode   3sitepoc
 SET       REPLSERVer tsm1 SET       REPLSERVer tsm1
-UPDate    Node 3sitepoc REPLState=ENable+UPDate    Node       3sitepoc REPLState=ENable
 REPLicate Node       3sitepoc  REPLicate Node       3sitepoc 
 </code> </code>
-== replication tsm0 => tsm1==+== replication tsm0 => tsm2==
 <code> <code>
-REMove    REPLNode 3sitepoc+REMove    REPLNode   3sitepoc
 SET       REPLSERVer tsm2 SET       REPLSERVer tsm2
 UPDate    Node       3sitepoc REPLState=ENable UPDate    Node       3sitepoc REPLState=ENable
 REPLicate Node       3sitepoc REPLicate Node       3sitepoc
 </code> </code>
 +== automated Replication== 
 +The easiest way to automate the replication to both sides is to put the commands mentions above in a script and let it run as often as needed using a administrative schedule. 
 +Taking "tsm1" as the default failover site, the script should first replicate the data to "site 2" as it finishes with "tsm1" as set replserver: 
 +<code> 
 +/* first replicate to 3rd  site */ 
 +REMove    REPLNode   3sitepoc 
 +SET       REPLSERVer tsm2 
 +UPDate    Node       3sitepoc REPLState=ENable 
 +REPLicate Node       3sitepoc Wait=Yes 
 +/* second replicate to failover site */ 
 +REMove    REPLNode   3sitepoc 
 +SET       REPLSERVer tsm1 
 +UPDate    Node       3sitepoc REPLState=ENable 
 +REPLicate Node       3sitepoc Wait=Yes 
 +</code>
 ==== 3 Site Chain Replication (3SCR) ==== ==== 3 Site Chain Replication (3SCR) ====