virest-storage-pool

command module
v1.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 10, 2025 License: MIT Imports: 6 Imported by: 0

README

ViRest Storage Pool

Go Package for Managing Virtualization Storage Pool

A storage pool is a quantity of storage set aside by an administrator, often a dedicated storage administrator, for use by virtual machines. Storage pools are divided into storage volumes either by the storage administrator or the system administrator, and the volumes are assigned to VMs as block devices.

For example, the storage administrator responsible for an NFS server creates a share to store virtual machines' data. The system administrator defines a pool on the virtualization host with the details of the share (e.g. nfs.example.com:/path/to/share should be mounted on /vm_data). When the pool is started, libvirt mounts the share on the specified directory, just as if the system administrator logged in and executed 'mount nfs.example.com:/path/to/share /vmdata'. If the pool is configured to autostart, libvirt ensures that the NFS share is mounted on the directory specified when libvirt is started.

ViRest provides storage management on the physical host through storage pools and volumes. This Go package provides the REST API interface by utilizing Libvirt.

Needed Package to Running Executable using Qemu/KVM Hypervisor

  • qemu-kvm
  • libvirt-daemon-system
  • bridge-utils

Needed Package for Development and Compiling

  • libvirt-dev
  • gcc

Add User to Libvirt Group & KVM Group

sudo adduser '<username>' libvirt
sudo adduser '<username>' kvm

Known error:

References

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL