migwpar Command

Purpose

After an operating system migration of a global system to version 7, the migwpar command migrates a workload partition (WPAR) that was created on the version 6 global system, to version 7.

Syntax

migwpar { wpar_name | -A | -f <wparNamesFile> } [ -d <software_source> ]

Description

After an operating system migration of a global system to version 7, the migwpar command migrates a workload partition (WPAR) that was created on the version 6 global system, to version 7. Software that no longer exists ( it may be replaced by a different software package ) on the global, will be removed.

Please ensure that all software on the global system has been migrated before beginning to migrate the WPARs. The use of the pre_migration script before the global system migration, and the post_migration script after the migration, will provide data that can be used to verify the migration, such as listing software that will be removed during the migration, and software that did not migrate.

A log of all actions of the migwpar command is saved in the /var/adm/ras/migwpar.log file. The output of the actual software migration of each WPAR is saved in /var/adm/ras/devinst.log within the WPAR.

Flags

Item Description
-A Migrates all migratable WPARs
-f wparNamesFile Migrates the list of WPARs contained in the file wparNamesFile, one per line.
-d software_source Installation location used for the detached WPAR migration.

Security

Access control: Only the root user can run this command.

Examples

  1. After the base operating system of GLOBAL has been migrated to 7.1, to migrate a single WPAR, wpar1 to 7.1, enter:
    # migwpar wpar1
  2. To migrate a detached WPAR, wpar2 using install images from /images, enter:
     # migwpar -d /images wpar2
  3. To migrate all shared WPARs enter:
     migwpar -A
  4. To migrate all detached WPARs using install images in /images, enter:
     migwpar -A -d /images