Changes between Version 19 and Version 20 of jessie-stretch-upgrade


Ignore:
Timestamp:
Mar 13, 2018, 12:43:43 PM (3 years ago)
Author:
Jamie McClelland
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • jessie-stretch-upgrade

    v19 v20  
    118118
    119119So, instead of commands like `sv stop <guest>` and `sv start <guest>`, in stretch we will use `systemctl start km@<guest>` and `systemctl stop km@<guest>` and `systemctl disable km@<guest>`. Note - we are using a systemd template file (/etc/systemd/system/km@.service) - that's why we have an @ sign in the service name - the part between the @ sign and the period is the name of the guest.
     120
     121To transition a physical host, follow these steps:
     122
     123 * Upgrade the server to stretch
     124 * Run `freepuppet-run`
     125 * Run `mf-convert-kvm-manager-to-systemd` (this will simply ensure that the kvm guest environment variables will be used by systemd)
     126 * Use `sv` to stop all existing guests
     127 * Use `update-services --remove` to ensure all guests won't restart via sv on reboot. /etc/service should be empty.
     128 * Reboot
     129 * One by one, enable guests via systemd: `systemctl start <guest>`.
     130 * If everything goes smoothly, enable them at boot time (`systemctl enable <guest>`)