How-to: Cancel stuck Tasks in Move

  • 28 November 2019
  • 0 replies
  • 1105 views

Userlevel 1
Badge +2

Hi

This is my first blog entry and therefore I would like to introduce myself briefly.

My name is Omero Muscio, I have been working at Amanox Solutions in Switzerland as Presales Engineer for a little more than half a year. This means that I mainly take care of the customers' technical concerns, create sizings, carry out PoCs and go to the customer to carry out post-sales activities.

How-To Cancel Stuck Move Migration Plan:

With Nutanix Move 3.3.1, we had the error twice at our customer's site that the migration plan did not fail after manual abort, but hung up. With the help of Nutanix Support, we were able to quickly find a solution to this problem.

Log in to the AHV VM via SSH or in the console.

Username: admin

PW: nutanix/4u

enter rs,this is similar to sudo or su

From now on you are logged in as root@move. Now we connect to the Postgre database:

postgres-shell to open the PG-Shell

psql -d datamover to get into the corresponding PSQL shell

With the help of the command select mpuuid,name from migrationplans; all migration plans incl. ID are listed.

In the last step delete from migrationplans where mpuuid=’ID’; deletes the plan, so the VM can be added to a new plan again.

Attention! These commands can cause irreparable damage, please use these commands carefully and always with the support team of Amanox or Nutanix.

The migration could be completed successfully after the cleaning of the tasks. Our customer now belongs to the almost 50% of the clusters we had installed that have already migrated to AHV!

 

Greets

Omero


This topic has been closed for comments