<?xml version="1.0" encoding="utf-8"?><!DOCTYPE article  PUBLIC '-//OASIS//DTD DocBook XML V4.4//EN'  'http://www.docbook.org/xml/4.4/docbookx.dtd'><article><articleinfo><title>ServerMigration2018</title><revhistory><revision><revnumber>7</revnumber><date>2018-04-22 23:59:49</date><authorinitials>ClintonEbadi</authorinitials><revremark>no swap space</revremark></revision><revision><revnumber>6</revnumber><date>2018-04-22 17:04:09</date><authorinitials>ClintonEbadi</authorinitials><revremark>note service keytab issue and note tasks that are done</revremark></revision><revision><revnumber>5</revnumber><date>2018-04-22 16:54:59</date><authorinitials>ClintonEbadi</authorinitials><revremark>things that might need fixing later</revremark></revision><revision><revnumber>4</revnumber><date>2018-03-29 05:49:49</date><authorinitials>ClintonEbadi</authorinitials><revremark>migrate mailman early, sketch of volume migration order</revremark></revision><revision><revnumber>3</revnumber><date>2018-03-29 04:54:21</date><authorinitials>ClintonEbadi</authorinitials><revremark>remember to turn on the ipv6</revremark></revision><revision><revnumber>2</revnumber><date>2018-03-29 04:08:38</date><authorinitials>ClintonEbadi</authorinitials></revision><revision><revnumber>1</revnumber><date>2018-03-29 04:06:58</date><authorinitials>ClintonEbadi</authorinitials><revremark>basic overview of migration plan</revremark></revision></revhistory></articleinfo><para>See <ulink url="https://wiki.hcoop.net/ServerMigration2018/VirtualizedHosting2018#">VirtualizedHosting2018</ulink> </para><section><title>Open Problems/Questions After Migration</title><itemizedlist><listitem><para><code>/etc/keytabs/user.daemon/*</code> is still manually synced and not managed by Puppet </para></listitem><listitem><para><code>/etc/keytabs/{domtool,hcoop}</code> should be moved to <code>/etc/keytabs/service/</code> for consistency </para></listitem><listitem><para>Systems have no swap (but a bit more ram than our existing KVM images), <ulink url="https://www.digitalocean.com/community/tutorials/how-to-configure-virtual-memory-swap-file-on-a-vps">digital ocean discourages using swap</ulink> due to wear issues on the underlying drives, looks like it would be best to respect that wish for now. </para></listitem></itemizedlist></section><section><title>General Plan</title><itemizedlist><listitem><para>Mail server set up </para><itemizedlist><listitem><para>exim config rebased on latest, test <code>keep_environment</code> </para></listitem><listitem><para>exim, courier, mailman, ejabberd </para></listitem><listitem><para>migrate mailman (no reason to delay for other services, everything is local to the server) </para></listitem></itemizedlist></listitem><listitem><para>New web server set up </para><itemizedlist><listitem><para><ulink url="https://wiki.hcoop.net/ServerMigration2018/DomTool#">DomTool</ulink> ported to apache 2.4 (reuse 2.2 config if needed, can deal with new <code>Require</code> syntax later) </para></listitem><listitem><para>Defer on PHP 7.x until after dropping colo expense, unless it proves easy to support in parallel with 5.6 </para></listitem><listitem><para>Only support fastcgi php, suphp is 100% dead </para></listitem></itemizedlist></listitem><listitem><para>Databases setup </para><itemizedlist><listitem><para>Keep mysql 5.6, upgrade to postgres 10 </para></listitem><listitem><para>dbs are so small, probably just do a flag day and suffer a few minutes downtime </para></listitem></itemizedlist></listitem></itemizedlist><para>At this point, we can start moving members. Volunteers first, followed by folks using daemons on bog, then everyone.  </para><itemizedlist><listitem><para>Volunteers manually (moving vhosts and primary mx to new servers, then migrating volumes) </para></listitem><listitem><para>HCoop services and volumes </para></listitem><listitem><para>Mail for all members and webmail interfaces </para></listitem><listitem><para>Anyone needing to move daemons + other services at once from bog </para></listitem><listitem><para>Final move of all remaining volumes and changes defaults for <ulink url="https://wiki.hcoop.net/ServerMigration2018/DomTool#">DomTool</ulink> to new servers </para></listitem></itemizedlist><section><title>Completed Tasks</title><itemizedlist><listitem><para>Debian packages updated for stretch </para><itemizedlist><listitem><para>create proper signed repository on <ulink url="https://wiki.hcoop.net/ServerMigration2018/ServerNavajos#">ServerNavajos</ulink>, rebuild packages </para></listitem><listitem><para>config-packages may be dropped here </para></listitem></itemizedlist></listitem><listitem><para>Board votes on new provider </para></listitem><listitem><para>Account at provider set up </para></listitem><listitem><para>New primary and secondary afs and kerberos servers set up </para><itemizedlist><listitem><para>Small 10G block storage attached to primary, expanded once we begin moving volumes. No block storage needed for secondary. </para></listitem><listitem><para>Added to existing cluster as secondaries </para></listitem><listitem><para>Create test volumes, check cross-site performance, make sure moving volumes works reliably </para></listitem></itemizedlist></listitem><listitem><para>Set up puppet [might be able to preload before new servers set up] </para><itemizedlist><listitem><para>simple puppetdb + manual <code>git pull</code> + <code>puppet apply</code> from cron on each server </para></listitem><listitem><para>convert config-packaged config to puppet classes as needed </para></listitem></itemizedlist></listitem><listitem><para>Set up new members vm </para><itemizedlist><listitem><para>Easy setup, allow members to test on stretch as early as possible </para></listitem></itemizedlist></listitem></itemizedlist></section><section><title>Secondary Goals</title><itemizedlist><listitem><para>Enable IPv6 for all services that can support it </para><itemizedlist><listitem><para>Assuming there's no/minimal risk of people with broken ipv6 being unable to access hcoop </para></listitem></itemizedlist></listitem></itemizedlist></section></section><section><title>Leaving Colo</title><itemizedlist><listitem><para>What to do with hardware? </para><itemizedlist><listitem><para>Need to scrub hard drives (mail to board member for manual destruction?), datacenter has on-site server recycling so we could just let it be recycled (essentially worth $0 at this point) </para></listitem></itemizedlist></listitem><listitem><para>Check bandwidth overage rates... may need to limit transfer rates to avoid, but weigh against another month of hosting </para></listitem><listitem><para>Terminate contract </para><itemizedlist><listitem><para>have members migrated two weeks ahead of time ideally... </para></listitem></itemizedlist></listitem></itemizedlist><!--rule (<hr>) is not applicable to DocBook--><para> <ulink url="https://wiki.hcoop.net/ServerMigration2018/CategorySystemAdministration#">CategorySystemAdministration</ulink> </para></section></article>