You can use the ldm migrate-domain command to initiate the migration of a domain from one host machine to another host machine.
For information about migrating an active domain while it continues to run, see Migrating an Active Domain. For information about migrating a bound or inactive domain, see Migrating Bound or Inactive Domains.
For information about the migration options and operands, see the ldm(1M) man page.
When you provide the –n option to the ldm migrate-domain command, migration checks are performed but the domain is not migrated. Any requirement that is not satisfied is reported as an error. The dry run results enable you to correct any configuration errors before you attempt an actual migration.
Use the SSL certificate method to perform non-interactive migration operations. Although the use of the legacy ldm migrate-domain -p filename command to initiate a non-interactive migration operation is deprecated, you can still use it.
The file name you specify as an argument to the –p option must have the following characteristics:
The first line of the file must contain the password.
The password must be plain text.
The password must not exceed 256 characters in length.
A newline character at the end of the password and all lines that follow the first line are ignored.
The file in which you store the target machine's password must be properly secured. If you plan to store passwords in this manner, ensure that the file permissions are set so that only the root owner or a privileged user can read or write the file (400 or 600).