Skip to main content

Fabric Virtual Machine Tools

Project description

virt-tools

Libvirt based tools to tune VMs on the worker nodes. It provides CLI interface as well as Python APIs.

CLI

virt-tools supports the CLI: fabric-virt-tools-cli

Usage: fabric-virt-tools-cli [OPTIONS] COMMAND [ARGS]...

Options:
  -v, --verbose
  --help         Show this message and exit.

Commands:
  cpu   CPU Pinning
  numa  Numa Tuning

CPU Pinning and Information

fabric-virt-tools-cli supports CPU pinning and information commands as depicted below:

Usage: fabric-virt-tools-cli cpu [OPTIONS] COMMAND [ARGS]...

  CPU Pinning

Options:
  --help  Show this message and exit.

Commands:
  info  Query CPU Info for VM Guest and relevant host information as well
  pin   Pin vCPU to Host CPU

Numa Pinning and Information

fabric-virt-tools-cli supports Numa pinning and information commands as depicted below:

Usage: fabric-virt-tools-cli numa [OPTIONS] COMMAND [ARGS]...

  Numa Tuning

Options:
  --help  Show this message and exit.

Commands:
  info  Query Numa Info for VM Guest and relevant host information as well
  tune  Pin Numa Node to the VM Guest

Installation

This tool should be installed on the Worker nodes on each site. This CLI is used by the AMHandlers to pin CPU/Numa to the VM instances.

$ p3.6 install fabric-virt-tools

NOTE: This package depends on libvirt-python. libvirt running on the currently uses python3.6 hence pip3.6 install is recommended. This can be changed if the underlying platform i.e. libvirt uses a later version of python.

Pre-requisites

Ensure that following are installed

virtualenv
virtualenvwrapper

NOTE: Any of the virtual environment tools (venv, virtualenv, or virtualenvwrapper) should work.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

fabric-virt-tools-1.0.0.tar.gz (9.9 kB view details)

Uploaded Source

Built Distribution

fabric_virt_tools-1.0.0-py3-none-any.whl (12.6 kB view details)

Uploaded Python 3

File details

Details for the file fabric-virt-tools-1.0.0.tar.gz.

File metadata

  • Download URL: fabric-virt-tools-1.0.0.tar.gz
  • Upload date:
  • Size: 9.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-requests/2.28.2

File hashes

Hashes for fabric-virt-tools-1.0.0.tar.gz
Algorithm Hash digest
SHA256 1fbfb4d83a778dba60531a9dd6dd85e9dc3947ad27b92fa5c9cbadecafdb6293
MD5 5a4ff29eb65abf7e4679b63d0489e9f7
BLAKE2b-256 b5776f72cf97757f3319f490ce8597ba768a30f965f379fc00186ce8348d2c92

See more details on using hashes here.

File details

Details for the file fabric_virt_tools-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for fabric_virt_tools-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9e4a9aea5a9290c7d21165923746bea3b0ebdab8072d3f958c05285e3a9de31a
MD5 0653208cb858475d34a307a52a1071ec
BLAKE2b-256 5af1d679241ba80690c213f4235e30089a19f44e9b6bcf36195aa2bc7ce0ecff

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page