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.
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:
# 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:
# 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:
# ldm list -o status ldg-src NAME ldg-src STATUS OPERATION PROGRESS TARGET migration 17% system2