Virtualizing RT To Hyper-V

All,

I have a physical server running RT, and I want to virtualize it to
Hyper-V. Can some provide some guidance on what will the best process to
follow? Or, are there any potential issues?

Thanks,
AVazquez

Hi Alberto,

We use RT on Hyper-V. We built a new VM instance and performed a data migration for our physical implementation. We did this because our flavor and version of Linux was not supported well on Hyper-V. The newer kernels are pretty good and I saw very good performance. Basically make sure your distro supports the synthetic drivers for hyper-v and you will be good to go.

Mike

Thanks for your responses. It sounds that the better option is to build a
new VM (Hyper-V Supported). Some questions …

  • When I build the VM, what type of configuration must I do? Is it just
    the OS, or do I also install RT (what version)?

  • What directories (objects) must I backup, in order to properly restore
    to the new VM?

  • Do any of you have the process documented, I remember reading that some
    of you have done this a zillion times :slight_smile: ?

Thanks,

AVazquezOn Tue, Oct 1, 2013 at 2:56 PM, Mike Coakley mike.coakley@gmail.com wrote:

Hi Alberto,

We use RT on Hyper-V. We built a new VM instance and performed a data
migration for our physical implementation. We did this because our flavor
and version of Linux was not supported well on Hyper-V. The newer kernels
are pretty good and I saw very good performance. Basically make sure your
distro supports the synthetic drivers for hyper-v and you will be good to
go.

Mike

On Oct 1, 2013, 12:32 PM, Alberto Vazquez wrote:

All,

I have a physical server running RT, and I want to virtualize it to
Hyper-V. Can some provide some guidance on what will the best process to
follow? Or, are there any potential issues?

Thanks,
AVazquez

Walk in faith!
Alberto Vazquez-Dzul
Email: betovaz@gmail.com
Mobile: (805) 444-0835
GVoice: (805) 768-4798

Hi Alberto,

RT doesn’t really care if it is running on a physical server or a virtual one, so I would say you should start with getting a good solid OS install on Hyper-V. Make sure it meets your performance requirements and has the require RT components on it and running properly and securely. Then perform the typical RT data migration:

  1. Install RT in your preferred way - binary package for your distro, if available or tarball

  2. Configure RT to your environment and test it

  3. Use whatever tools that come with your database to dump the database and move that database dump to the new RT system

  4. On the new RT system drop the current database - to get rid of the basic test database - and then create a blank new RT database. Make sure you use the same database name as it was previously (whatever database name you dropped)

  5. Import the data (again with the database tools) and perform the required RT upgrade steps - see the included (with the software) RT README and UPGRADE instructions

  6. Test your new RT instance and make sure the data converted properly and that it is working as expected

The above steps assume that this is a test environment and that your current production will still be running. Therefore, you will most likely have to repeat steps 3-5 again once you are satisfied with your tests and you want to perform the actual migration.

I should also add that the above steps are an outline. There are many other little steps that a person will need to perform to prepare the system for RT, ensure the database is running correctly and securely, perform a proper database dump to ensure the data is consistent and other typical Linux system management and database management tasks. There is a lot of documentation about processes like these on the RT wiki. If you haven’t spent any time there, you should - there is many years worth of knowledge there.

Hope this helps to get you started.

Mike