question

DanielNascimento-5742 avatar image
0 Votes"
DanielNascimento-5742 asked AndreasBaumgarten commented

Migrate a VM with database

Hello guys,

I've a very simple question, is there any problem if i use the Azure migrate Server migration to migrate a Virtual machines with databases? Instead of using azure database migration.

For example, migrate a Linux vm with mysql and Windows VM with SQL Server.

azure-migrate
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi @DanielNascimento-5742 ,

Does one of the answers help to solve the issue?
If you found the answer helpful, it would be great if you please mark it "Accept as answer". This will help others to find answers in Q&A


Regards
Andreas Baumgarten

0 Votes 0 ·
AlanKinane avatar image
0 Votes"
AlanKinane answered DanielNascimento-5742 commented

It usually depends on if you just have a single node or a clustered environment. If it's just a single node then a lift and shift type migration using Azure Migrate should be fine. This document might be helpful: https://docs.microsoft.com/en-us/azure/azure-sql/migration-guides/virtual-machines/sql-server-to-sql-on-azure-vm-migration-overview

· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hello,

thank you for the fast answer. They are individual vm's with databases. So i believe i will use the server migration to migrate the whole VM.

0 Votes 0 ·
SadiqhAhmed-MSFT avatar image
0 Votes"
SadiqhAhmed-MSFT answered

Hello @DanielNascimento-5742

You can migrate these VMs to Azure VMs using the server migration tool. The Server Migration tool is application agnostic and works for most applications. When you migrate a server using the Server Migration tool, all the applications installed on the server are migrated along with it. However, for some applications, alternate migration methods other than server migration may be better suited for the migration.


If the response helped, do "Accept Answer" and up-vote it

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

AndreasBaumgarten avatar image
0 Votes"
AndreasBaumgarten answered

Hi @DanielNascimento-5742 ,

we migrated a few Linux VMs with MySQL Server installed using the Azure Migrate Migration for VMs.
Everything went smooth and without any problem.
There was only a "minor issue" with one application using the IP instead of the name of the VM. And the IP changed during migration from on-premises to Azure. After a tiny modification in the app using the VM name instead if the IP of the MySQL sever this was solved.


(If the reply was helpful please don't forget to upvote and/or accept as answer, thank you)

Regards
Andreas Baumgarten

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.