CloudFerry-1.55.3
توضیحات
Openstack cloud workload migration tool
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | CloudFerry-1.55.3 |
| نام | CloudFerry |
| نسخه کتابخانه | 1.55.3 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Mirantis Inc. |
| ایمیل نویسنده | workloadmobility@mirantis.com |
| آدرس صفحه اصلی | https://github.com/Mirantis/CloudFerry |
| آدرس اینترنتی | https://pypi.org/project/CloudFerry/ |
| مجوز | Apache-2 |
CloudFerry
==========
[](https://travis-ci.org/Mirantis/CloudFerry)
[](https://coveralls.io/github/Mirantis/CloudFerry?branch=master)
[](https://badge.fury.io/py/CloudFerry)
# Overview
CloudFerry is a tool for resources and workloads migration between two
OpenStack clouds.
# Supported OpenStack Releases
- Grizzly
- Icehouse
- Juno
# Objects Supported for Migration
## Keystone
- Tenants
- User roles
## Neutron
- Networks
* Private
* Public
* Shared
- Subnets
- Ports
- Floating IPs
- Security groups
- Routers
- LBaaS objects
- Quotas
## Glance
- Images
## Cinder
- Volumes
- Quotas
## Nova
- VMs
- VM's ephemeral storage
- Flavors
- User quotas
- Tenant quotas
- Key pairs
# User documentation
End-user documentation is available in `docs` folder, to compile in HTML run:
```
sphinx-build docs/ sphinx-build
```
# Requirements
- Connection to source and destination clouds through external (public)
network from host with CloudFerry.
- Valid private ssh-key for both clouds which will be using by CloudFerry for
data transferring.
- Admin keystone access (typically admin access point lives on 35357 port).
- sudo/root access on compute and controller nodes.
- Openstack MySQL DB write access.
- Credentials of global cloud admin for both clouds.
- All the Python requirements are listed in requirements.txt.
# Installation
CloudFerry can be installed as docker container or it can be installed as a
python package by pip.
## Installation with pip
1. Make sure you have non-python packages installed in your system
(following for Ubuntu):
```
sudo apt-get install libffi-dev libssl-dev libxml2-dev \
libxslt1-dev python-pip python-dev git -y
```
2. Install virtualenv version 15.0.3
```
sudo pip install virtualenv==15.0.3
```
3. Install cloudferry with pip:
```
virtualenv .venv
source .venv/bin/activate
pip install git+git://github.com/Mirantis/CloudFerry.git
```
## Installation with docker
### Building the docker container
```
docker build --build-arg cf_commit_or_branch=origin/master -t <username>/cf-in-docker .
```
### Start container
```
docker run -it <username>/cf-in-docker
```
### Saving and loading the container files
```
docker save --output=/path/to/save/CloudFerry.img <username>/cf-in-docker
docker load --input=/path/to/save/CloudFerry.img
```
# Usage
## Overview
CloudFerry tool is used by running python `cloudferry` executable from the
command line.
All available commands can be viewed with:
```
# see list of available commands
cloudferry list
```
## Configuration
Sample config can be generated with
```
oslo-config-generator --namespace cloudferry
```
Configuration process is quite complex and mostly manual try-and-see-if-works
process.
## Whole cloud migration
Make sure you have `migrate_whole_cloud` option in `migrate` section of config
is set to `True`.
Use `migrate` command with config file specified:
```
cloudferry migrate <config file>
```
## Migrating specific instances
In order to migrate specific VMs, one should use filters. This is done through
modifying filters file (`configs/filter.yaml` by default).
Edit `configs/filter.yaml`:
```
instances:
id:
- 7c53a6ab-0149-4232-80b3-b2d7ce02995a
- f0fea76a-0a7d-4c25-ab9e-f048dbc7365d
```
Run migration as usual:
```
cloudferry migrate configuration.ini --debug
```
## Playground
See QUICKSTART.md for the quickest way of running your first successful migration.
نیازمندی
| مقدار | نام |
|---|---|
| ==0.9.14 | pika |
| ==2.6.1 | colorlog |
| ==1.10.2 | fabric |
| ==2.1.11 | ipaddr |
| ==0.6.7 | PyMySQL |
| ==3.9.0 | oslo.config |
| ==3.15.0 | oslo.utils |
| ==2.6.1 | pycrypto |
| ==1.3.1 | python-cinderclient |
| ==1.1.0 | python-glanceclient |
| ==1.6.0 | python-keystoneclient |
| ==2.6.0 | python-neutronclient |
| ==2.25.0 | python-novaclient |
| ==2.3.1 | python-swiftclient |
| ==3.11 | pyyaml |
| ==0.7.0 | pywbem |
| ==2.10.5 | redis |
| ==1.0.12 | sqlalchemy |
| ==2.4.2 | marshmallow |
| ==0.9.0 | jmespath |
| ==16.2.0 | pyOpenSSL |
| ==1.16.0 | paramiko |
| ==1.30.0 | taskflow |
| ==0.8.5 | alembic |
| ==0.32.1 | SQLAlchemy-Utils |
| ==2.0.0 | cliff |
| ==2.7.0 | oslo.serialization |
نحوه نصب
نصب پکیج whl CloudFerry-1.55.3:
pip install CloudFerry-1.55.3.whl
نصب پکیج tar.gz CloudFerry-1.55.3:
pip install CloudFerry-1.55.3.tar.gz