Provision Oracle Zero Downtime Migration
Install and configure Oracle Zero Downtime Migration.
About Zero Downtime Migration Prerequisites
Before running the Zero Downtime Migration utility for database migration, it needs to meet certain prerequisites.
The Zero Downtime Migration service host needs to access the source and target database servers during a database migration. With that, to perform the migration to Oracle Autonomous Database on Dedicated Exadata Infrastructure, the Zero Downtime Migration service host requires either root-user access, or SSH key-based access to one of the source database servers as well. Ensure these requirements for network route and connectivity are met before proceeding.
Initiator | Target | Protocol | Port | Purpose |
ZDM service host | Source database server | TCP | 22 | SSH |
ZDM service host | Source database server | TCP | 1521 | SQL*NET |
ZDM service host | Target database server | TCP | 1521 | SQL*NET |
Source database server | Oracle Cloud Object Store | SSL | 443 | Database backup store |
Target database server | Oracle Cloud Object Store | SSL | 443 | Database backup store |
ZDM service host | Oracle Cloud interface REST endpoint | SSL | 443 | OCI REST endpoint |
Install a Zero Downtime Migration Host
Oracle recommends installing Zero Downtime Migration on a separate
host running on Oracle Linux 7 or 8. It could be provisioned at the source database data
center, or configured in OCI. In this example, the Zero Downtime Migration service host
has been configured in OCI.
Configure Zero Downtime Migration
- Configure the
/etc/hosts
file at the Zero Downtime Migration service host to ensure connectivity between Zero Downtime Migration service host and the source database by adding the source database information as a root user.[root@zdmhost ~]# cat /etc/hosts 127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4 ::1 localhost localhost.localdomain localhost6 localhost6.localdomain6 10.0.1.179 hr9246.appsubnet.exadatainfrastr.oraclevcn.com hr9246 10.0.1.78 zdmhost.appsubnet.exadatainfrastr.oraclevcn.com zdmhost [root@zdmhost ~]#
- Configure SSH connectivity from the Zero Downtime Migration host to the source
database based on SSH keys without a passphrase as the
zdmuser
.- As the
zdmuser
, generate the SSH key by running the commands:[zdmuser@zdmhost~]$ ssh-keygen -t rsa
[zdmuser@zdmhost~]$ cd ~/.ssh
[zdmuser@zdmhost~]$ cat id_rsa.pub>>authorized keys
[zdmuser@zdmhost~]$ chmod 600 authorized keys
- Update the authorized keys file by adding the contents of the
/home/zdmuser/.ssh/id_rsa.pub
file into theopc_user_home/.ssh/authorized_keys
file on the source database server. - Validate the SSH connectivity from the Zero Downtime Migration host to the PSFT host.
- As the