When a migration is in progress, the domain being migrated and the migrated domain are shown differently in the status output. The output of the ldm list command indicates the state of the migrating domain.
When migrating a domain that has SR-IOV Ethernet virtual functions, it might take some time after the migration has completed before the virtual functions are back in use by the guest domain. This situation occurs because the time it takes to assign virtual functions to the target machine depends on the number of virtual functions in the domain. However, IPMP handles the return to the active path after the assignment of virtual functions is complete.
The sixth column in the FLAGS field shows one of the following values:
s – The domain that is the source of the migration.
t – The migrated domain that is the target of the migration.
e – An error has occurred that requires user intervention.
The following command shows that the ldg-src domain is the source of the migration:
source:primary# ldm list ldg-src NAME STATE FLAGS CONS VCPU MEMORY UTIL UPTIME ldg-src suspended -n---s 1 1G 0.0% 2h 7m
The following command shows that the ldg-tgt domain is the target of the migration:
source:primary# ldm list ldg-tgt NAME STATE FLAGS CONS VCPU MEMORY UTIL UPTIME ldg-tgt bound -----t 5000 1 1G
The long form of the status output shows additional information about the migration. On the source machine, the status output shows the completion percentage of the operation as well as the names of the target machine and the migrated domain. Similarly, on the target machine, the status output shows the completion percentage of the operation as well as the names of the source machine and the domain being migrated.
The following command shows the progress of a migration operation for the ldg-src domain:
source:primary# ldm list -o status ldg-src NAME ldg-src STATUS OPERATION PROGRESS TARGET migration 17% system2