A Practical .bash_profile for Zero Downtime Migration (ZDM) Hosts

A ZDM host tends to get used in short, frequent bursts — check if the service is up, check a job’s status, tail a log, confirm a wallet credential exists — usually while something else is waiting on the outcome. Typing full zdmcli/zdmservice invocations every time adds friction that’s easy to eliminate with a properly built .bash_profile. This one is built around three things: an always-visible service status in the prompt, one-word shortcuts for the commands used constantly, and functions for the ones used occasionally but painfully without them. ...

July 9, 2026 · 5 min · mardaff

Zero Downtime Migration (ZDM) Software Installation

Zero Downtime Migration (ZDM) is Oracle’s orchestration engine for physical and logical database migrations into OCI — it doesn’t move data itself so much as drive Data Guard, RMAN, Data Pump, and GoldenGate through a coordinated migration workflow. Before any of that, though, ZDM needs its own service host set up correctly. This walks through that installation end to end. Prerequisites ZDM host placement. The ZDM service can run on an OCI compute instance, an on-premises server, or a VM in another cloud — the only hard requirement is network reachability to both the source and target database hosts. It does not need to sit on either database server itself, and in most real deployments it shouldn’t. ...

July 9, 2026 · 3 min · mardaff

Zero Downtime Migration (ZDM) Software Patching

ZDM ships frequent one-off patches, and Oracle Support will generally ask for the current patch level before troubleshooting any migration issue — so keeping a ZDM host patched isn’t optional maintenance, it’s a prerequisite for getting help when something goes wrong mid-migration. This walks through patching an existing install from 21.6.0 to 21.6.3. Prerequisites At least 15 GB free storage — the patch process backs up the existing ZDM_HOME and ZDM_BASE before applying anything, and those backups land in the directory you run the patch from. The zdmuser account needs write access to the path passed as ziploc. No active migration jobs should be running against this ZDM host during the patch — check zdmcli query job first if you’re not sure. Step 1: Check the Current Version Always confirm the starting point before patching — it’s the only way to be certain the patch actually did something afterward: ...

July 9, 2026 · 3 min · mardaff