VM Migration Tool

Introduction

VM Migration Tool is a stand alone utility provided by Trilio for effective migration of VMs from VMWare to OpenStack. This will assist users in planning the migration, creating any missing artifacts, and providing a holistic view of the migration process at an organizational level.

Current document provides the steps to be followed for deploying respective tool.

1] Pre-requisites

A Linux VM (CentOS OR Ubuntu will do) with docker installed on it.

2] Prepare working dir and contents

2.1] Clone public repository triliovault-cfg-scripts on the standalone VM (at any convenient location) created for deploying the VM Migration tool.

git clone -b {{ trilio_branch }} https://github.com/trilioData/triliovault-cfg-scripts.git

For actual value {{ trilio_branch }}, please refer resources page against respective release.

2.2] On the VM, copy nginx, env, docker-compose.yml & vmosmapping.conf from triliovault-cfg-scripts to /opt directory.

cp -r triliovault-cfg-scripts/migration-vm2os/nginx /opt
cp triliovault-cfg-scripts/migration-vm2os/env /opt
cp triliovault-cfg-scripts/migration-vm2os/docker-compose.yml /opt
cp triliovault-cfg-scripts/migration-vm2os/vmosmapping.conf /opt

2.3] Set values against params in /opt/env file.

2.4] Set values against params in /opt/vmosmapping.conf file.

3] Deploy VM Migration Tool

3.1] To deploy the VM Migration Tool on standalone VM, please execute below command in background mode.

docker compose -f /opt/docker-compose.yml --env-file /opt/env up &

3.2] Deployment checks

  • Run docker ps -a ; 4 containers should be running, viz redis, nginx, trilio_vm2os & opt-worker-1.

  • Sample output below (Forwarded port number can be different as per the value provided in /opt/env file)

CONTAINER ID   IMAGE                                              COMMAND                  CREATED         STATUS         PORTS                                               NAMES
1ed651c084d4   nginx:latest                                       "/docker-entrypoint.…"   5 seconds ago   Up 3 seconds   80/tcp, 0.0.0.0:5085->5085/tcp, :::5085->5085/tcp   nginx
8ff9f81b9913   trilio/trilio-migration-vm2os:5.2.3-dev-maint3-3   "gunicorn --config g…"   5 seconds ago   Up 4 seconds                                                       trilio_vm2os
1f91f14ad011   trilio/trilio-migration-vm2os:5.2.3-dev-maint3-3   "celery -A run.celer…"   5 seconds ago   Up 4 seconds                                                       opt-worker-1
0bb5574ad56b   redis:latest                                       "docker-entrypoint.s…"   5 seconds ago   Up 4 seconds   0.0.0.0:6379->6379/tcp, :::6379->6379/tcp           redis

4] Access Tool Dashboard

Respective Migration tool can be accessed with URL : <VM_IP>:<NGINX_PORT> Example

http://192.168.6.25:5085/

For logging into dashboard, use the credentials provided under [user] section in /opt/vmosmapping.conf file

Last updated