Logical Domains 1.2 Administration Guide

Migration Examples

Example 8–2 shows how a domain, called ldg1, can be migrated to a machine called t5440-sys-2.

Example 8–2 Migrating a Guest Domain

# ldm migrate-domain ldg1 t5440-sys-2
Target Password:

Example 8–3 shows that a domain can be renamed as part of the migration. In this example, ldg-src is the source domain, and it is renamed to ldg-tgt on the target machine (t5440-sys-2) as part of the migration. In addition, the user name (root) on the target machine is explicitly specified.

Example 8–3 Migrating and Renaming a Guest Domain

# ldm migrate ldg-src root@t5440-sys-2:ldg-tgt
Target Password:

Example 8–4 shows a sample failure message if the target domain does not have migration support; that is, if you are running an LDoms version prior to version 1.2.

Example 8–4 Migration Failure Message

# ldm migrate ldg1 t5440-sys-2
Target Password:
Failed to establish connection with ldmd(1m) on target: t5440-sys-2
Check that the 'ldmd' service is enabled on the target machine and
that the version supports Domain Migration. Check that the 'xmpp_enabled'
and 'incoming_migration_enabled' properties of the 'ldmd' service on
the target machine are set to 'true' using svccfg(1M).

Example 8–5 shows how to obtain status on a target domain while the migration is in progress. In this example, the source machine is t5440-sys-1.

Example 8–5 Obtaining Target Domain Status

# ldm list -o status ldg-tgt
    migration    55%         t5440-sys-1

Example 8–6 shows how to obtain parseable status on the source domain while the migration is in progress. In this example, the target machine is t5440-sys-2.

Example 8–6 Obtaining Source Domain Parseable Status

# ldm list -o status -p ldg-src