Multiple Mirror Sites

When using multiple mirror sites, each mirror makes progress independent of the others. When deciding which site to use as a new primary, determine which checkpoints are available at each site.

Procedure

  1. List the checkpoints at each site.
    The checkpoint ID, checkpoint Name, location and timestamp are displayed as follows:
    tibdg -r http://rs1:8080 -g DR1 checkpoint list
    ID  		               NAME      DIRECTORY            TIMESTAMP
    ….
    <checkpoint ID>   (periodic)  <checkpoint location> 12:35:00
    <checkpoint ID>   (periodic)  <checkpoint location> 12:40:00
    tibdg -r http://rs2:8080 -g DR2 checkpoint list
    	ID  		              NAME      DIRECTORY            TIMESTAMP
    <checkpoint ID>   (periodic)  <checkpoint location> 12:35:00
    
  2. To minimize data loss, use the mirror with the most up-to-date checkpoint. When changing primary grids, checkpoints subsequent to the latest checkpoint at the new primary is not valid. Use the following command to set the primary grid:
    tibdg -r http://rs1:8080 gridset setPrimary DR1