summary refs log tree commit diff
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2026-02-03 08:57:59 -0600
committerFrederick Muriuki Muriithi2026-02-03 08:58:29 -0600
commitc5fed4aab56c2b384cf513b499bc61ff92e27f43 (patch)
tree04ebc9b0e685b823d3eea06632f5e841a3fc4d00
parent80389fa0cfb1a4ef120d772a341c2485423ba851 (diff)
downloadgn-ai-c5fed4aab56c2b384cf513b499bc61ff92e27f43.tar.gz
Migration tux03 -> tux04: Close more tasks.
-rw-r--r--issues/jan2026-migrate-production-from-tux03-to-tux04.gmi39
1 files changed, 22 insertions, 17 deletions
diff --git a/issues/jan2026-migrate-production-from-tux03-to-tux04.gmi b/issues/jan2026-migrate-production-from-tux03-to-tux04.gmi
index d538abf9..bd7be1b9 100644
--- a/issues/jan2026-migrate-production-from-tux03-to-tux04.gmi
+++ b/issues/jan2026-migrate-production-from-tux03-to-tux04.gmi
@@ -1,4 +1,4 @@
-# Migrate Genenetwork Production from tux03 to tux04, Jan2026
+# Migrate Genenetwork Production from tux03 to tux04, Jan2026-Feb2026
 
 ## Tags
 * assigned: fredm
@@ -20,21 +20,21 @@ We need to migrate back to tux04 which is now stable. tux03 has been intermitten
   * [ ] Look for backups
     * There are no recent backups from tux03 on tux04
     * Last backup seems to be from 4th March 2025
-    * [ ] Setup drops from tux03 to tux04
+    * [x] Setup drops from tux03 to tux04
       * [x] No user <backup-user> on tux04: Create the user
         * [x] User is able to ssh into tux04
         * [x] Limit access that <backup-user> has to tux04
         * [x] Test manual drop of backups
       * [x] Cleanup: commit changes to /etc on tux04
-    * [ ] Extract MariaDB data
-    * [ ] Install, configure and start MariaDB service
+    * [x] Extract MariaDB data
+    * [x] Install, configure and start MariaDB service
       * [x] Check versions: tux03 has 10.11.11, tux04 has 11.8.3
       * [x] What version on guix? I can get 10.11.14
       * [x] Look into requirements for running mariadb from guix. Compare to Debian
-      * [ ] Install MariaDB
+      * [x] Install MariaDB
         * [x] Install Debian's version to get settings in place
         * [x] Install guix version that's closer to what we were using before
-        * [ ] Extract backup data
+        * [x] Extract backup data
           * [x] Verify dropped archive integrity:
             ```
             borg check --verify-data .../genenetwork/::borg-tux03-sql-20260122-07:42-Thu
@@ -48,7 +48,8 @@ We need to migrate back to tux04 which is now stable. tux03 has been intermitten
             * Fails. Why?
             * had to fix the tmpdir path and set appropriate permissions
             * Timeout: read up on reasons. Increase timeout to 7200 seconds.
-            * [ ] check in later
+            * [x] check in later
+            * Just set timeout to `infinity`
       * [x] Configure: copy over configs from tux03
 * [x] Setup nginx
   * [x] Build nginx with preread from guix
@@ -56,8 +57,8 @@ We need to migrate back to tux04 which is now stable. tux03 has been intermitten
   * [x] Start new nginx
 * [ ] Setup nginx streaming
   * [x] Initialise streaming
-  * [ ] Stream to public-sparql
-  * [ ] Stream to gn2-fred
+  * [x] Stream to public-sparql
+  * [x] Stream to gn2-fred
   * [ ] Stream to production
 * [x] Create short-lived ssh key to copy files from tux03 to tux04
 * [ ] Setup public-sparql
@@ -66,21 +67,25 @@ We need to migrate back to tux04 which is now stable. tux03 has been intermitten
   * [x] Build public-sparql container
   * [x] Setup systemd unit files to run container
   * [x] Start container
-  * [ ] Setup SSL certificates
-  * [ ] Verify we can access https://sparql.genenetwork.org/sparql and it works
-* [ ] Setup gn2-fred
+  * [x] Switch DNS
+  * [x] Setup SSL certificates: Seems to work with existing certificates with no problems.
+  * [x] Verify we can access https://sparql.genenetwork.org/sparql and it works
+* [x] Setup gn2-fred
   * [x] Copy over container files from tux03
   * [x] Do `guix pull ...' to setup the channels for gn2-fred
-  * [ ] Build gn2-fred container
-  * [ ] Setup systemd unit files to run container
-  * [ ] Start container
-  * [ ] Setup SSL certificates
-  * [ ] Verify we can access https://gn2-fred.genenetwork.org and it works
+  * [x] Build gn2-fred container
+  * [x] Setup systemd unit files to run container
+  * [x] Start container
+  * [x] Switch DNS
+  * [x] Setup SSL certificates: Seems to work with existing certificates with no problems.
+  * [x] Verify we can access https://gn2-fred.genenetwork.org and it works
+    - Activation service doesn't seem to work as expected for some reason.
 * [ ] Setup production
   * [ ] Copy over container files from tux03
   * [x] Do `guix pull ...' to setup the channels for production
   * [ ] Build production container
   * [ ] Setup systemd unit files to run container
   * [ ] Start container
+  * [ ] Switch DNS
   * [ ] Setup SSL certificates
   * [ ] Verify we can access https://genenetwork.org and it works