When a migration is in progress, the source and target domains 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:
The source domain shows an s to indicate that it is the source of the migration.
The target domain shows a t to indicate that it is the target of a migration.
If an error occurs that requires user intervention, an e is shown.
The following shows that ldg-src is the source domain 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 shows that ldg-tgt is the target domain of the migration:
# ldm list ldg-tgt NAME STATE FLAGS CONS VCPU MEMORY UTIL UPTIME ldg-tgt bound -----t 5000 1 1G |
In the long form of the status output, additional information is shown about the migration. On the source, the percentage of the operation complete is displayed along with the target host and domain name. Similarly, on the target, the percentage of the operation complete is displayed along with the source host and domain name.
# ldm list -o status ldg-src NAME ldg-src STATUS OPERATION PROGRESS TARGET migration 17% t5440-sys-2 |