Quick testing moosefs with vmstart

24th May 2021 at 12:23pm

vmstart is the script that is included in the Tiny Linux that can be downloaded here at tiny linux

The script starts and manages a cluster of VMs starting from an OS image.

Tinyzfs has qemu, zfs support, lxc containers, nfs, support for vsock connections, etc. etc. Its kernel is frequently updated.

At the moment vmstart supports:

  • –path or -p: This is the first thing to do to set/reset the full path of the directory that you want to use for this project.
  • –start or -s: To start the VMs.
  • –kill or -k: To kill all the running VMs ( same as –off or –stop )
  • –check or -c: To check hostname/IP of each VM
  • –vsock or -v: To execute commands on the VMs with vsock.
  • –nic or -n: To add a nic to a VM.
  • –cpu or -cpu: To hotplug a CPU.
  • –mem or -mem: To hotplug RAM.
  • –disk or -d: To hotplug disks.
  • –usb or -u: To attach an usb device.
  • –migr or -mg: To migrate VMs between nodes.
  • –data or -db: To check the nodes/VMs database.
  • –img or -i: To create an image of the running VM.
  • –cmd or -cm: To read a list of commands from a cmd file and pass them to a VM.
  • –help or -h: This help.
  • –help-full: The extend help ( same as -H).
There additional settings like subnet/gateway VMs memory/CPUs that can be done editing this script on the VARIABLES section

In this test vmstart will make a working MooseFS cluster in less that 1 minute!

Here the screencast:

moosefs videoclip