collab migration plans/timeline

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Greetings. 

We have a planned outage of lists.fedoraproject.org / collab starting
later tonight:
https://fedorahosted.org/fedora-infrastructure/ticket/3569

Here's my plan/changes. I'd appreciate any feedback. ;) 

05:00 UTC - disable/stop/block all external services on collab03. 
05:00 UTC - start final rsync
(syncs have been taking 10 hours or so. It's 83GB of small files)
XX:00 UTC - wait for sync to finish, check in morning. 

Add attached first commit to puppet and puppet collab01. 

Test email to list directly to collab01. 
Test web archive access directly to collab01. 
Test gobby. 

Add attached second commit to redirect smtp-mm machines to collab01. 

Push queued emails from one smtp-mm host and confirm all delivers ok. 
Push queue on other two smtp-mm hosts. 

Announce outage over. 

kevin
---patch1---
diff --git a/manifests/nodes/collab01.fedoraproject.org.pp b/manifests/nodes/collab01.fedoraproject.org.pp
index 75fecf5..5eda603 100644
--- a/manifests/nodes/collab01.fedoraproject.org.pp
+++ b/manifests/nodes/collab01.fedoraproject.org.pp
@@ -1,29 +1,18 @@
 node collab01 {
         $bacula5 = "true"
+        include collab
 
-#
-# Add these for now here until we include collab
-#
-        $fas_groups = [ 'sysadmin-main', 'sysadmin-noc', 'sysadmin-tools' , 'fi-apprentice' ]
-        include global
-        include fas::client
-        include selinux-enforcing
-       include openvpn::client
-       include yum::repo::sfs
+        $mailman_default_url_proto = "https"
+        $mailman_default_url_host = "admin.fedoraproject.org"
+        $mailman_default_email_host = "lists.fedoraproject.org"
+        $mailman_archive_proto = "http"
+        $mailman_archive_host = "lists.fedoraproject.org"
+        $mailman_initial_sitelist_owner = "jcollie@xxxxxxxxxxxxxxxxx"
+        $mailman_initial_sitelist_password = "changeme"
 
-#      include collab
+        include mailman_server # This should only be enabled on active primary
 
-#      $mailman_default_url_proto = "https"
-#      $mailman_default_url_host = "admin.fedoraproject.org"
-#      $mailman_default_email_host = "lists.fedoraproject.org"
-#      $mailman_archive_proto = "http"
-#      $mailman_archive_host = "lists.fedoraproject.org"
-#      $mailman_initial_sitelist_owner = "jcollie@xxxxxxxxxxxxxxxxx"
-#      $mailman_initial_sitelist_password = "changeme"
-#
-#      include mailman_server # This should only be enabled on active primary
-#
-#      include mailman::rss
-#      include spamassassin::server
-#      $spamEnabled = true
+        include mailman::rss
+        include spamassassin::server
+        $spamEnabled = true
 }

---end---
---patch2---
diff --git a/configs/system/smtp/aliases.template.erb b/configs/system/smtp/aliases.template.erb index 0244fde..5dd74f3 100644
--- a/configs/system/smtp/aliases.template.erb
+++ b/configs/system/smtp/aliases.template.erb
@@ -1,4 +1,4 @@
-<% mailman_server = (hostname == "collab03") || (hostname == "hosted01") || (hostname == "hosted02") -%> 
+<% mailman_server = (hostname == "collab01") || (hostname == "hosted01") || (hostname == "hosted02") -%> # #  Aliases in this file will NOT be expanded in the header from #  Mail, but WILL be visible over networks or from /bin/mail. 
diff --git a/manifests/services/proxy.pp b/manifests/services/proxy.pp index 4a43c42..6956cc5 100644
--- a/manifests/services/proxy.pp
+++ b/manifests/services/proxy.pp
@@ -654,7 +654,7 @@ class proxy {
         website => "admin.fedoraproject.org",
         path    => "/mailman",
         iconpath => "/icons",
-        proxyurl => "http://collab03.fedoraproject.org";,
+        proxyurl => "http://collab01.fedoraproject.org";,
     }
 
     httpd::status { "admin.fedoraproject.org/status":
diff --git a/modules/postfix/files/transports b/modules/postfix/files/transports index 93eef4f..567d1ba 100644
--- a/modules/postfix/files/transports
+++ b/modules/postfix/files/transports
@@ -1 +1 @@
-lists.fedoraproject.org        relay:[collab03.fedoraproject.org]
+lists.fedoraproject.org        relay:[collab01.fedoraproject.org]
---end-patch2---

Attachment: signature.asc
Description: PGP signature

_______________________________________________
infrastructure mailing list
infrastructure@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/infrastructure

[Index of Archives]     [Fedora Development]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]

  Powered by Linux