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
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 14:35]
bnachtw [Set-Up]
Line 5: Line 5:
 As of version 8.1.11 TSM/ISP still does not provide Replication to two other sites. In this abstract I'll outline how to establish a workaround. As of version 8.1.11 TSM/ISP still does not provide Replication to two other sites. In this abstract I'll outline how to establish a workaround.
  
-===== Set-Up =====+ ===== Set-Up =====
 For this workaround we assume one primary server that should replicate it's data to two other sites in parallel: For this workaround we assume one primary server that should replicate it's data to two other sites in parallel:
  
-{{ :en:services:storage_services:backup:tsm:admin:workarounds:3sitereplication-1.png | 3 site replication to 2 secondary sites in parallel (3SPR)}}+{{ :en:services:storage_services:backup:tsm:admin:workarounds:3-Site-Parallel-Replication.png | 3 site replication to 2 secondary sites in parallel (3SPR)}}
  
 but no no chain replication (//at first glance//): but no no chain replication (//at first glance//):
  
-{{ :en:services:storage_services:backup:tsm:admin:workarounds:3sitereplication-2.png |3 site chain replication (3SCR) }}+{{ :en:services:storage_services:backup:tsm:admin:workarounds:3-Site-Chain-Replication.png | 3 site chain replication (3SCR) }}
 ===== HowTo / Approaches ===== ===== HowTo / Approaches =====
 ==== 3 Site Parallel Replication (3SPR) ==== ==== 3 Site Parallel Replication (3SPR) ====
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) ====