Skip to content

Latest commit

 

History

History

libvirt

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

Storage Scale Vagrant for KVM/libvirt

The scripts and files in this directory include the tooling to provision and configure the example Storage Scale cluster on KVM/libvirt.

Install KVM/libvirt.

In addition to Storage Scale Vagrant and Vagrant itself you need to install KVM/libvirt. Just follow the KVM/libvirt documentation.

Security

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.

StorageScale_base.box - A Vagrant box optimized for Storage Scale

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:

  1. cd StorageScaleVagrant/libvirt/prep-box
  2. vagrant up
  3. vagrant package StorageScale_base --output StorageScale_base.box
  4. vagrant box add StorageScale_base.box --name StorageScale_base
  5. vagrant destroy

Boot a virtual machine with a single node Storage Scale cluster

Now we are ready to boot a virtual machine on libvirt and to configure it with a single node Storage Scale cluster:

  1. cd StorageScaleVagrant\libvirt
  2. vagrant up
  3. vagrant ssh

See the README.md for details on the configured Storage Scale cluster.