Installation and Configuration of ZDM(Zero Down-Time Migration).
- Get link
- X
- Other Apps
In this blog we will only concentrate on installation and configuration of ZDM.
Pre-requisites:
1. Zero Downtime Migration service host should be a dedicated system, No GI/Oracle Home installed on the server.
2. Zero Downtime Migration software requires a standalone Linux host running on any one of the following platforms:
Oracle Linux 7, Oracle Linux 8, or Red Hat Enterprise Linux 8.
Configuration of ZDM Server:
a. For this POC we will install ZDM Service on a EC2 instance in AWS. For creation of instance we used terraform.
OS used for this demo was "Red Hat Enterprise Linux release 9.6 (Plow)" (As this was under free tier).
Instance type was t2.micro (As this was under free tier).
Storage requirement :
Minimum 500MB of swap space is required.
Minimum 100GB of additional space is required for downloading ZDM installer/binaries and logs.
b. After instance creation, below rpm packages need to be installed.
yum -y install gcc
yum -y install kernel-devel
yum -y install kernel-headers
yum -y install dkms
yum -y install make
yum -y install bzip2
yum -y install perl
yum -y install glibc-devel
yum -y install expect
yum -y install zip
yum -y install unzip
yum -y install libaio
yum -y install libnsl
yum -y install kernel-uek
c. create a group named "zdm" along user "zdmuser".
groupadd zdm
useradd –g zdm zdmuser
d. Create below directories and make zdmuser as the owner.
mkdir -p /u01/app/oraInventory/
mkdir -p /u01/app/oracle/zdmhome
chown -R zdmuser:zdm /u01
Installation of ZDM Software:
Login to EC2 instance via zdmuser and perform below steps:
a. Add below entries in your .bash_profile.
export INVENTORY_LOCATION=/u01/app/oraInventory/
export ORACLE_BASE=/u01/app/oracle/
export ZDM_BASE=/u01/app/oracle/
export ZDM_HOME=/u01/app/oracle/zdmhome/
export ZDM_INSTALL_LOC=/u01/software/zdm21.5/
b. Download the latest ZDM software and upload it to ZDM server.
Once Downloaded, unzip the V1045330-01.zip file.
c. Once downloaded start the installation from zdmuser using below command:
cd /u01/software/zdm21.5/
./zdminstall.sh setup oraclehome=/u01/app/oracle/zdmhome oraclebase=/u01/app/oracle ziploc=/u01/software/zdm21.5/zdm_home.zip
d. After successful installation you get below message -
e. Start the zdmservice using below command -
/u01/app/oracle/zdmhome/bin/zdmservice start
We can check the status of zdm service using
/u01/app/oracle/zdmhome/bin/zdmservice status
Network Connectivity :
ZDM Service host must connect to both source and target database host via SSH. Password less ssh connectivity between both source and target database must be setup.
Now, we have a working ZDM Service host. We are ready to start the Database migration process.
- Get link
- X
- Other Apps




Comments
Post a Comment