collab migration plans/timeline

Kevin Fenzi kevin at scrye.com
Wed Nov 21 16:13:42 UTC 2012


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 at fedoraproject.org"
+        $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 at fedoraproject.org"
-#      $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---
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: not available
URL: <http://lists.fedoraproject.org/pipermail/infrastructure/attachments/20121121/e2c3fd02/attachment.sig>


More information about the infrastructure mailing list