|Skip Navigation Links|
|Exit Print View|
|Oracle VM Server for SPARC 2.2 Administration Guide Oracle VM Server for SPARC|
Example 9-1 Migrating a Guest Domain
This example shows how to migrate the ldg1 domain to a machine called t5440-sys-2.
# ldm migrate-domain ldg1 t5440-sys-2 Target Password:
# ldm migrate-domain -p pfile ldg1 t5440-sys-2
The -p option takes a file name as an argument. The specified file contains the superuser password for the target machine. In this example, pfile contains the password for the target machine, t5440-sys-2.
Example 9-2 Migrating and Renaming a Guest Domain
This example shows how to rename a domain as part of the migration operation. The ldg-src domain on the source machine is renamed to ldg-tgt on the target machine (t5440-sys-2) as part of the migration. In addition, the ldm-admin user is used for authentication on the target machine.
# ldm migrate ldg-src ldm-admin@t5440-sys-2:ldg-tgt Target Password:
Example 9-3 Migration Failure Message
This example shows the error message that you might see if the target machine does not support the latest migration functionality.
# ldm migrate ldg1 dt212-346 Target Password: The target machine is running an older version of the domain manager that does not support the latest migration functionality. Upgrading to the latest software will remove restrictions on a migrated domain that are in effect until it is rebooted. Consult the product documentation for a full description of these restrictions. The target machine is running an older version of the domain manager that is not compatible with the version running on the source machine. Domain Migration of LDom ldg1 failed
Example 9-4 Obtaining the Migration Status for the Domain on the Target Machine
This example shows how to obtain the status on a migrated domain while a migration is in progress. In this example, the source machine is t5440-sys-1.
# ldm list -o status ldg-tgt NAME ldg-tgt STATUS OPERATION PROGRESS SOURCE migration 55% t5440-sys-1
Example 9-5 Obtaining the Parseable Migration Status for the Domain on the Source Machine
This example shows how to obtain the parseable status on the domain being migrated while a migration is in progress. In this example, the target machine is t5440-sys-2.
# ldm list -o status -p ldg-src VERSION 1.6 DOMAIN|name=ldg-src| STATUS |op=migration|progress=42|error=no|target=t5440-sys-2