Changes between Version 19 and Version 20 of jessie-stretch-upgrade
- Timestamp:
- Mar 13, 2018, 4:43:43 PM (6 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
jessie-stretch-upgrade
v19 v20 118 118 119 119 So, 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 121 To 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>`)