MIGRATION_MANAGER_INFO view
The MIGRATION_MANAGER_INFO view returns information about the IBM® i Migrate While Active environment.
Authorization: The privileges held by the authorization ID of the statement must include the following:
- *EXECUTE authority on the QSYS2 library.
- *OBJOPR and *READ authority on QSYS2/MIG_MANAGE.
- For the authority needed to use this view, see Db2® Mirror services authorization.
The following table describes the columns in the view. The system name is MIG_MANAGE. The schema is QSYS2.
| Column Name | System Column Name | Data Type | Description |
|---|---|---|---|
| ENTRY_TYPE | ENTRY_TYPE | VARCHAR(17) | The type of migration information.
|
| SOURCE_NODE_STATE | SRC_STATE | VARCHAR(14) Nullable
|
The state of tracking changes on the source node.
Contains the null value if ENTRY_TYPE is not MIGRATION MANAGER. |
| COPY_NODE_STATE | COPY_STATE | VARCHAR(14) Nullable
|
The state of
migration or change tracking on the target node.
Contains the null value if ENTRY_TYPE is not MIGRATION MANAGER. |
| MIGRATION_STAGE | MIG_STAGE | VARCHAR(20) Nullable
|
The current migration stage.
Contains the null value if IBM i Migrate While Active is not installed or the configuration of IBM i Migrate While Active is not complete. |
| MIGRATION_PHASE | MIG_PHASE | VARCHAR(50)![]() Nullable
|
The migration phase for the Migration Manager. The following values apply when MIGRATION_STAGE has a value of SYSTEM
MIGRATION:
The following values apply when MIGRATION_STAGE has a value of DATA
SYNCHRONIZATION:
The following values apply when MIGRATION_STAGE has a value of
CUTOVER:
Contains the null value if MIGRATION_STAGE is null. |
| PENDING_MIGRATION_PHASE | PENDING | VARCHAR(50)![]() Nullable
|
The migration phase the Migration Manager is working to transition into.
Contains the null value if no migration phase is pending or if ENTRY_TYPE is not MIGRATION MANAGER. |
| MIGRATION_PHASE_DETAIL | MIG_DETAIL | VARCHAR(24) Nullable
|
Additional information about the current migration phase.
Contains the null value if MIGRATION_STAGE is null. |
| MIGRATION_DETAIL_INFO | MIG_INFO | INTEGER Nullable
|
Additional information about the processing defined by MIGRATION_PHASE_DETAIL. Contains the null value if no additional information is available. |
| MIGRATION_DETAIL_INFO_TEXT | MIG_TEXT | VARCHAR(1024) Nullable
|
Descriptive text corresponding to MIGRATION_DETAIL_INFO. Contains the null value if no additional information is available. |
| MIGRATION_INTERVAL_COUNT | MIG_INT | INTEGER Nullable
|
The number of times jobs have been started for this migration phase.
|
| QUALIFIED_JOB_NAME | JOB_NAME | VARCHAR(28) Nullable
|
The qualified job name of the active job performing the current migration phase, or the most recent job for this migration phase.
|
| SOURCE_NODE | SRC_NODE | VARCHAR(8) Nullable
|
The name of the partition designated as the source node for this migration. Contains the null value if MIGRATION_STAGE is null or if ENTRY_TYPE is not MIGRATION MANAGER. |
| COPY_NODE | COPY_NODE | VARCHAR(8) Nullable
|
The name of the partition designated as the target node for this migration. Contains the null value if MIGRATION_STAGE is null or if ENTRY_TYPE is not MIGRATION MANAGER. |
| PRIMARY_NODE | PRIMARY | VARCHAR(8) Nullable
|
The name of the partition currently designated as the primary node. Contains the null value if MIGRATION_STAGE is null or if ENTRY_TYPE is not MIGRATION MANAGER. |
MIGRATION_SOURCE_NODE![]() |
INITIAL![]() |
VARCHAR(3)Nullable
![]() |
Indicates whether this node is the initial source node for the migration pair.
Contains the null value if MIGRATION_STAGE is null or if ENTRY_TYPE is not MIGRATION MANAGER. ![]() |
Example
- Review all the information about the Migrate While Active
environment.
SELECT * FROM QSYS2.MIGRATION_MANAGER_INFO;
migration or change tracking on