The scripts and files in this directory include the tooling to provision and configure the example Storage Scale cluster on KVM/libvirt.
In addition to Storage Scale Vagrant and Vagrant itself you need to install KVM/libvirt. Just follow the KVM/libvirt documentation.
Storage Scale Vagrant for KVM/libvirt is optimized to play with Storage Scale in a lab environment. To simplify access from the outside, all virtual nodes are configured with well known SSH keys. This is a security exposure for production environments.
The virtual machines are based on the official Vagrant CentOS/8 boxes.
Storage Scale requires a couple of additional RPMs. We create a custom
Vagrant Storage Scale box to accelerate the provisioning of the virtual
machines for the Storage Scale environment. The official Vagrant CentOS box
and the additional CentOS RPMs will be downloaded during the provisioning
process (vagrant up
).
To create the custom Vagrant Storage Scale box:
cd StorageScaleVagrant/libvirt/prep-box
vagrant up
vagrant package StorageScale_base --output StorageScale_base.box
vagrant box add StorageScale_base.box --name StorageScale_base
vagrant destroy
Now we are ready to boot a virtual machine on libvirt and to configure it with a single node Storage Scale cluster:
cd StorageScaleVagrant\libvirt
vagrant up
vagrant ssh
See the README.md for details on the configured Storage Scale cluster.