A Zero Downtime Migration Port Requirements
The ports required for communication between the Zero Downtime Migration service host, the source and target database servers, and Oracle Cloud Object Store Service are described in the following table.
Table A-1 Zero Downtime Migration Communication Ports
Initiator | Target | Protocol | Port | Purpose | Description |
---|---|---|---|---|---|
Zero Downtime Migration service host | Source and target database servers | TCP | 22 | SSH | Authentication-based operations to run Zero Downtime Migration operational
phases
Source and target database servers should accept incoming connections from the Zero Downtime Migration service host. Not applicable to Autonomous Database targets |
Zero Downtime Migration service host | Source and target database servers | TCP | 1521, 2484, or a database SCAN Listener port applicable for job | SQL*Net | For logical migrations |
Zero Downtime Migration service host | Oracle Cloud Interface REST endpoint | SSL | 443 | OCI REST endpoint | Target discovery for logical migrations |
Source database servers | Target database servers | TCP | 1521 or database SCAN Listener port applicable for the job | SQL*Net | Should allow Oracle client connections to the database over Oracle's
SQL*Net protocol
Perform database queries, Data Guard sync, and configuration Note: If you are using a non-default port number (that is, something other than port 1521) for the local listener address, then the non-default port should allow connections. |
Target database servers | Source database servers | TCP | 1521 or a database SCAN Listener port applicable | SQL*Net | Should allow Oracle client connections to the database over Oracle's
SQL*Net protocol
Allows redo log shipping if source database needs to be in
sync with the new primary on Oracle Cloud after switchover. If there is no communication
possible from Oracle Cloud to source database server then set Note: If you are using a non-default port number (that is, something other than port 1521) for the local listener address, then the non-default port should allow connections. |
Source database servers | Oracle Cloud Object Store Service | SSL | 443 | Database backup store. Create a backup of the source database to the specified Oracle Cloud Object store container. | If the chosen backup method uses Oracle Cloud Object Store Service as the backup medium, then access ports as documented Oracle Cloud Object Store Service applies. |
Target database servers | Oracle Cloud Object Store Service | SSL | 443 | Database backup store. Restore backup of the source database from the specified Oracle Cloud Object store container to the target database. | If the chosen backup method uses Oracle Cloud Object Store Service as the backup medium, then access ports as documented Oracle Cloud Object Store Service applies. |
Note:
When performing a migration with root credentials (migrate database -scroot
), during the setup phase, Zero
Downtime Migration uses six ports chosen from the ephemeral range, or six ports from the
range of ports set in TRANSFERPORT_RANGE
in zdmbase/crsdata/zdm_service_host/rhp/conf/rhp.pref
. The specified ports must be
allowed to accept incoming connections from the Zero Downtime Migration service host on the
source or target database server.