-
Notifications
You must be signed in to change notification settings - Fork 86
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Previously to change SPDK version of a VM we needed to do multiple weird manual steps. This patch automates some of them and what we need to do is: 1. Install the new SPDK version on the host: ``` > Prog::Storage::SetupSpdk.assemble( vm_host.id, "some-spdk-version", start_service: true, allocation_weight: 100) ``` 2. Update all VMs we want to migrate to this SPDK version. Note that this will just update related configs and won't take effect until host reboot: ``` > vm.update_spdk_version("some-spdk-version") ``` 3. Reboot host: ``` > vm_host.incr_reboot ``` 4. Optionally, remove the old SPDK installation: ``` > Prog::Storage::RemoveSpdk.assemble(old_spdk_installation.id) ```
- Loading branch information
Showing
4 changed files
with
64 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters