If you registered an Oracle database with Hybrid Manager (HM) via the EDB Postgres AI agent, a Migration Portal project is created automatically for all the database schemas and dependencies.
It creates a project per registered database (per resource_id established in the beacon-agent.yaml) as long as the schema size per database doesn't exceed the default maximum size of 300 MB.
Note
Take into account that any schemas added post-registration aren't reflected in the Migration Portal project.
Customizing the maximum size of Migration Portal projects
The default maximum size of Migration Portal projects is 300 MB. If the schema ingested is larger than that, the Migration Portal will require you to create Migration Portal projects manually. However, there are scenarios where setting a different maximum size for automatically created projects is preferred, for example, for:
- Project size control
- Cost and resource management
- Workflow control
To alter the maximum size of Migration Portal projects created automatically, you must edit the beacon_server ConfigMap in your HM Kubernetes cluster and restart the server deployment. The beacon_server is the service that controls Migration Portal project configurations.
Edit the ConfigMap:
kubectl edit configmap beacon-server-config -n upm-beaconLocate the
beacon_server.yamlblock and insert or modify themax_automatic_project_creation_bytessection underserver:apiVersion: v1 data: beacon_server.yaml: | # [...] server: # [...] migration_portal_configuration: max_automatic_project_creation_bytes: 150000000
Note
The value set for
max_automatic_project_creation_bytesmust be equal or less than the value configured forschema_max_file_size(which by default is also 300 MB), for example:apiVersion: v1 data: beacon_server.yaml: | # [...] server: # [...] stream_configuration: schema_max_file_size: 150000000 migration_portal_configuration: max_automatic_project_creation_bytes: 150000000
Apply the changes by restarting the
beacon_serverdeployment:kubectl rollout restart deployment upm-beacon-server -n upm-beaconWarning
The
upm-beacon-serversupports all database registration and schema ingestion activities across the entire HM instance using EDB Postgres AI agents. Restarting theupm-beacon-serverwill halt all ongoing database registrations and schema ingestions, regardless of the project. Ensure you coordinate this restart with other users.Databases that already appear in the Estate > Migrations tab, for which schema ingestions have finished, are not affected by restarts.
You can monitor the status of your restarted service:
kubectl get pods -n upm-beacon
Disabling the automatic creation of Migration Portal projects
While automatic project creation is convenient for getting started quickly, there are scenarios where manual management is preferred, for example, for:
- Cost and resource management
- Staging and development environments
- Workflow control and auditoring
To disable automatic Migration Portal project creation, you must edit the beacon_server ConfigMap of your HM Kubernetes cluster and restart the server deployment. The beacon_server is the service that controls Migration Portal project configurations.
Edit the ConfigMap:
kubectl edit configmap beacon-server-config -n upm-beaconLocate the
beacon_server.yamlblock and insert or modify themigration_portal_configurationsection underserver:apiVersion: v1 data: beacon_server.yaml: | # [...] server: # [...] migration_portal_configuration: disable_auto_create_mp_projects: true
Apply the changes by restarting the
beacon_serverdeployment:kubectl rollout restart deployment upm-beacon-server -n upm-beaconWarning
The
upm-beacon-serversupports all database registration and schema ingestion activities across the entire HM instance using EDB Postgres AI agents. Restarting theupm-beacon-serverwill halt all ongoing database registrations and schema ingestions, regardless of the project. Ensure you coordinate this restart with other users.Databases that already appear in the Estate > Migrations tab, for which schema ingestions have finished, are not affected by restarts.
Related topics
Controlling schema ingestion with the EDB Postgres AI agent.
Migration Portal documentation for recommendations and guidelines on how to use the portal.