File: README.rst

package info (click to toggle)
vmms 0.0.3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 280 kB
  • sloc: python: 1,494; sh: 82; makefile: 45
file content (59 lines) | stat: -rw-r--r-- 1,280 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
=====================
VM Migration Scheduler
=====================

VM Migration Scheduler (vmms) is an OpenStack service for scheduling and managing
virtual machine migrations.

Features
--------

* Schedule VM migrations for specific times
* Track migration status (scheduled, error, migrated)
* RESTful API for managing migrations
* Keystone authentication integration
* Worker daemon for processing scheduled migrations
* WSGI application support

Installation
------------

Use the Debian package.

Configuration
-------------

The service requires a configuration file typically located at
``/etc/vmms/vmms.conf``.

Example configuration::

    [DEFAULT]
    [database]
    connection=sqlite:///var/lib/vmms/vmmsdb.db

    [keystone_authtoken]
    www_authenticate_uri = http://keystone:5000
    auth_url = http://keystone:5000
    auth_type = password
    project_domain_name = Default
    user_domain_name = Default
    project_name = service
    username = vmms
    password = vmms_password

Usage
-----

Start the API service using uwsgi.

Start the worker daemon::

    vmms-worker

API Endpoints
-------------

* ``POST /v1/vms`` - Add VM to migration scheduler
* ``GET /v1/vms`` - List all VM migrations
* ``DELETE /v1/vms/{id}`` - Remove VM from migration scheduler