...building hybrid clouds that can support any device from anywhere
MAT, meet the blogosphere. Blogosphere, meet MAT. There, that was easy.
In my earlier posts I’ve talked a lot about migration and automation. In my V2V series I covered lots of ways you might go about automating your conversions using VMM’s V2V. Helpful, right? Well, today, I will do you one better.
I’m offering up a toolkit.
Download a copy now!
So rather than talk about the ways you might automate the MVMC.exe I created a set of PowerShell scripts that will do that for you. Migration Mark has got your back.
So what is the MAT? The Migration Automation Toolkit is a collection of PowerShell scripts that will automate conversions using MVMC and it is back ended by a SQL instance (yes, you can use SQL Express). You can use it to convert several machines at once, on a single server – or scale it out and execute conversions on many servers at the same time.
It is composed of three phases:
The first step is to run a collection cycle against your VMware environment. There’s a script for that. It will collect all the VMs that are valid candidates for conversion. It will add these to a SQL table automatically and that will become your migration database.
NOTE: VMs must be running AND have VMware tools running in order to be discovered and collected.
Next you will send the list of VMs from the database to a text file. The script will prompt you. This text file will control what VMs get converted in a single ‘batch’, which is to say continuous conversion of each VM in the list until it runs out. Generally I’d say the list should have fewer than 30 items (it can have as many as you want but this has seemed like a manageable figure). Delete the names of the VMs you don’t want to convert in this batch. Reorder the list if you want. The order in the list will be respected when the migration starts.
When you are happy with the list, update the database with it. Don’t worry the script will do that for you too. Once the database is updated with the list for the this batch, move to conversion. Each batch will have its own list but as soon as VMs are converted successfully they won’t show up in the list anymore.
Here’s the part where automation shines. Sit back, sip your drink and look busy if anyone walks by. The migration will go do the rest without any help from you. You can watch this in the PowerShell window, you can watch the log files, or you can go watch the game.
Here’s what you need to use the MAT:
UPDATE: The MAT acronym has been update as the Migration Automation Toolkit.
This is the coolest thing I've seen in a while! Thanks for sharing!
This is great!