Flings
Apps and tools built by our engineers that are intended to be played with and explored.

Migrate to View (MTV)

Migrate to View (MTV)

Summary

Migrate to View (MTV) enables seamless migration of vSphere virtual machines (non-VDI) into View Connection Broker, maintaining the user persistence onto the virtual machines. By moving to View, more features can be integrated and leveraged. Additionally, administrative tasks can better maintain virtual machines and control user policy.

Open Source License

m2v-screenshot

System Requirements

  1. Prepare the list of vSphere VMs and Users that has to be migrated to the View in the form of csv (Comma Separated Value) file format.
  2. Install the View Connection Broker 4.6 version on windows Server 2003 SP2. Powershell 2.0 with WinRM (Windows Remote Management, which is available on Window Powershell Version 2.0 ) must be installed on the same system.
  3. To load the cmdlets of Connection Broker version is 4.6, add the snapin to the powershell. Please refer VMware KB for more info: - http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1034692
    • Traverse to C:\\ VMware\VMware View\Server\extras\PowerShell
    • Right Click on ‘add-snapin.ps1’ and select: - Run with PowerShell
  4. Install MySQL 5.2.32 on the Connection Broker system. Run following commands in MySQLWorkbench.

  5. mysql> create database serveraddition;
    mysql> grant all on serveraddition.* to grails@localhost identified by 'server';
    mysql> exit
  6. Copy the ‘mtv-0.1.war’ file to the host where the Broker is installed (Any folder)
  7. Install Tomcat Web Manager 6.0 on the Connection Broker host

Instructions

  1. Install MTV on the Connection Broker host. Steps to deploying of war file on Tomcat link is mentioned in the URL:- http://www.manydesigns.com/en/portofino/portofino3/3_1_x/installation-guide/deploying-on-tomcat
  2. Another approach to deploy the MTV:
    • Under the Tomcat folder on the Server, place the ‘mtv-0.1.war ‘ under the ‘webapps’ folder.
    • Open IE 7 browser and provide the http://localhost:8080/mtv/root/login. This will extract the war file under the webapps folder and MTV ready to use.

Configuration Steps

  1. Register the vCenter Server’s IP address in the Migration to View.
  2. Provide the CSV file which contains the VMs and User to be migrating to View. The entire flow of the UI is attached.
  3. The database tables have to be deleted after migration to rerun the tool for the other set of vSphere VMs.

Video

Change Log

Engineers


Punit Ashra

CPD-View PatchQE Team

Saugata Ghosh

CPD-View PatchQE Team

Abhijith Sathyanarayana

CPD-View PatchQE Team
Add Comment

3 thoughts on “Migrate to View (MTV)

  1. pozycjonowanie stron

    Thanks for one’s marvelous posting! I actually enjoyed reading it,
    you’re a great author. I will be sure to bookmark your blog and will
    come back very soon. I want to encourage you to continue your great posts,
    have a nice weekend!

    Reply
  2. Cedric Megroz

    Hi,

    Can we use this tools for a migration of persistant View VM (full not linked clone) to an other View environnment ?

    thanks for your answer.

    Best Regards

    Reply
    1. Punit Ashra

      Hi Cedric,

      Apologies, this tool is not used for migration from one view environment to another.

      But, vdmexport will help you to migrate from one view environment to another.You can modify the resultant file created from vdmexport to migrate only full clones.Its manual way of doing it.

      Definitely, its good to make it in an Automated way.

      Thanks,
      Punit

      Reply

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>