Skip to content

Post-migration monitoring: the first 72 hours after a cPanel cutover

The migration succeeded if the destination still looks healthy 72 hours later. Here is what to watch and why each metric matters.

A cutover is technically complete when DNS settles, but a migration is not actually done until the destination has run for 72 hours without surprises. The first day shows transient issues. The second shows scheduled task drift. The third shows the things that only show up once a week. The watch period is non-negotiable; cutting it short is how migrations look successful for a week and then fall over.

What’s happening

In the first 72 hours, the destination encounters traffic patterns the source had absorbed for years. Some of those patterns will be new to the destination: a Monday 09:00 spike, a Wednesday 02:00 backup that ran for 3 hours on the source and runs for 5 on the destination, a 16th-of-the-month cron, a weekly report. Without explicit monitoring of these, you find them when a customer complains rather than when the metric shifts.

How to verify

The watch list, by hour:

# every 15 minutes for the first 4 hours, hourly after
# HTTP response health
curl -w "%{http_code} %{time_total}\n" -o /dev/null https://example.com
# Apache process count
ps -eo pid,user,comm | grep -c httpd
# PHP-FPM pool status
curl -s http://localhost/status?json | jq
# database connection count
mysql -e "SHOW STATUS LIKE 'Threads_connected';"
# mail queue
exim -bpc
# disk fill rate
df -h /home

Set up a baseline log file:

# every 5 minutes for 72 hours
echo "$(date +%s) $(curl -sw '%{http_code} %{time_total}\n' -o /dev/null https://example.com)" >> /var/log/post-migration.log

The fix

  1. Hours 0–4 — synchronous watch. Refresh metrics every 15 minutes. Be ready to roll back if HTTP error rate exceeds 1% or response time exceeds 3x baseline.
  2. Hours 4–24 — first-day issues. Watch for the first scheduled cron that hits the destination, the first daily backup attempt, the first AutoSSL run. Each of these can fail differently on the destination.
  3. Hours 24–48 — second-day issues. Logs that rotate daily land their first rotation; cron jobs that run “yesterday’s data” hit the destination for the first time. Compare metrics to baseline.
  4. Hours 48–72 — third-day issues. Anything that runs on a 48-hour cycle has now happened. Weekly tasks may be approaching. Look at trends, not point-in-time.
  5. At hour 72 — formal review: HTTP error rate < 0.1%, response time within 1.5x baseline, no unresolved alerts, customer reports the site as working. If yes, declare done. If no, extend the watch.

Roll back triggers should be explicit and pre-agreed: HTTP error > 5% for 10 minutes, mail queue > 500 messages and growing, database connections > 90% of max for 30 minutes. Stack Harbor runs the 72-hour watch as part of migration solutions — start a conversation when monitoring needs structuring.