IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changes between Version 3 and Version 4 of PS1_IPP_Czarlog_20180305


Ignore:
Timestamp:
Mar 9, 2018, 3:08:20 PM (8 years ago)
Author:
eugene
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • PS1_IPP_Czarlog_20180305

    v3 v4  
    1515 * 12:00 EAM : I started the rsync copy of ippdb06's mysql (nebulous).  This will take a while (8-10h?), so I'll restart the mysql after it is complete.
    1616
    17 === Friday : YYYY.MM.DD ===
     17=== Friday : 2018.03.09 ===
     18 * 15:10 EAM : update re: nebulous mysql backup:
     19{{{
     20I have made an rsync copy of the nebulous database from ippdb06 (one of the current slaves) to ipp121.  I have restarted the mysql replication process on ippdb06 (it is already caught up).
    1821
     22I have also built mysql 5.6 on ipp121 and turned on replication on that machine.
     23
     24I have also implemented a new strategy to have a backup copy to recover from catastrophic errors which are passed through the replication process (e.g., DROP TABLE...).  It turns out that mysql 5.6 includes a replication option to delay the replication process.  By issuing a command like
     25
     26CHANGE MASTER TO MASTER_DELAY = N;
     27
     28the replicant is made to lag the master by N seconds. 
     29
     30For the moment, I have set the ipp121 copy to have a delay of 50,000 seconds.  This seems to be working as this slave is currently at 50,000 seconds behind the master and holding.
     31
     32My plan, to be implemented next week, is to have two copies on some appropriate machines, one with a delay of 24 hours and a second with a delay of 1 week (or so, TBD).  That will give us two timescales for disaster recovery. 
     33
     34}}}
    1935=== Saturday : YYYY.MM.DD ===
    2036