Oracle Zero Downtime Migration (ZDM) - Installation
甲骨文 Zero Downtime Migration is a widely used automated solution for migrating Oracle Databases into any Oracle-owned infrastructure, including Exadata Database Machine on-premises, Exadata Cloud@Customer, and Oracle Cloud Infrastructure (OCI), including Oracle Database@Azure.
Zero Downtime Migration provides a robust, flexible, and resumable migration process. Zero Downtime Migration integrates Oracle Maximum Availability Architecture (MAA) and supports Oracle Database 11g Release 2 (11.2.0.4) and later database releases.
Zero Downtime Migration Concepts
ZDM offers four different migration methods:
Lets begin with setting up Zero Downtime Migration Software -
Zero Downtime Migration (ZDM) software can be installed on a compute present at On-Premises or can be installed on a compute in OCI. Pre-reqs for ZDM server -
Lets assume we already have a Linux compute instance running Oracle Linux 8 (Oracle-Linux-8.9).
Install following OS packages -
glibc-devel, expect, unzip, libaio, oraclelinux-developer-release-el7, libnsl and ncurses-compat-libs
Login to the ZDM host as root user and create required user, group and directories -
[root@zdm-host]# groupadd zdm
[root@zdm-host]# useradd zdmuser -g zdm
[root@zdm-host]# mkdir -p /home/zdmuser/zdminstall
[root@zdm-host]# mkdir /home/zdmuser/zdmhome
[root@zdm-host]# mkdir /home/zdmuser/zdmbase
[root@zdm-host]# chown -R zdmuser:zdm /home/zdmuser/
Download the ZDM Software from https://www.oracle.com/database/technologies/rac/zdm-downloads.html and copy it over to the ZDM Host under /home/zdmuser/zdminstall. Make sure to change the ownership to zdmuser.
领英推荐
Add following lines to /home/zdmuser/.bash_profile
ZDMBASE=/home/zdmuser/zdmbase; export ZDMBASE
ZDMHOME=/home/zdmuser/zdmhome; export ZDMHOME
Login as zdmuser and unzip the software zip file under zdminstall.
Run the installation script -
./zdminstall.sh setup \
oraclehome=$ZDMHOME \
oraclebase=$ZDMBASE \
ziploc=/home/zdmuser/zdminstall/zdm21.4.1/zdm_home.zip
Start ZDM services, verify the status of service and the version of ZDM -
$ZDMHOME/bin/zdmservice start
$ZDMHOME/bin/zdmservice status
$ZDMHOME/bin/zdmcli -build
This marks the completion of ZDM installation and startup of ZDM services.
In the upcoming posts we'll discuss about different migration methods that ZDM offers.
Further Reading
Principal Cloud Architect at Oracle
8 个月Nice blog...
Manager @Navisite - Part of Accenture | EBS Managed Services | Ex-Racker| Ex-Oracle
8 个月Wonderful as always…