Migration status
You can check the authentication custom resource for the progress of the MongoDB to PostgreSQL database migration with the following annotations:
authentication.operator.ibm.com/migration-complete
MigrationsPerformed
authentication.operator.ibm.com/retain-migration-artifacts
authentication.operator.ibm.com/migration-complete
annotation
You can check the completion status of the migration process with the authentication.operator.ibm.com/migration-complete
annotation.
If the annotation is set to "true"
, the migration from MongoDB to PostgreSQL database is completed successfully. If the annotation is set to "false"
, the migration is failed and the operator continues
to retry the migration process to migrate the required documents for IM. For more information, see Troubleshooting MongoDB to PostgreSQL database migration issues.
MigrationsPerformed
annotation
You can check the status conditions and reasons of the MongoDB to PostgreSQL database migration with the MigrationsPerformed
annotation. The three status conditions of the MigrationsPerformed
annotation are as follows:
Complete
- If the status condition is set totrue
, the migration is completed.InProgress
- If the status condition is set tofalse
, the migration is still in progress.Failed
- If the status condition is set tofalse
, the migration is failed. If the migration fails, the operator continues to retry the migration process and theFailed
status condition is displayed for some time and changed toInProgress
automatically.
The values of the MigrationsPerformed
annotation are read only and you can review the migration process based on the status conditions. The MigrationsPerformed
annotation displays the message with the information on the
reason for the current migration state.
authentication.operator.ibm.com/retain-migration-artifacts
annotation
By default, the Mongo artifacts are not removed after the successful migration from MongoDB to PostgreSQL database. To remove the Mongo artifacts, set the authentication.operator.ibm.com/retain-migration-artifacts
annotation to true
.