The IPO Operations Handbook
Everything MS, Recon and SRE need to run a Kotak IPO end-to-end — from the bank's confirmation mail to the final certificate. Re-built against the live automation: 20 CronJobs, their ConfigMaps, the SQL you run, and the mails you send.
An IPO moves through five stages. Each stage has its own part in this handbook — read them in order the first time, jump straight to one when you're on-call.
Overview, Lifecycle & RACI
Pay-status codes, glossary, RACI across 8 teams, escalation contacts and the systems map.
Pre-IPO Onboarding & Readiness
Bank confirmation → onboarding (MCC/VPA/MID) → VPA verification → healthCheck → scaling → readiness checklist.
Bidding Days Operations
Intraday monitoring, hourly automation, rate limits, the full EOD routine and the bank's EOD mail.
EOI Day Operations
Closure verification, EOI summary vs recon, standard data fixes, EOI file generation, FC summary.
Execution Day & Certificate
FND debit/revoke runs, DD processing, BGGD, certificate files and Annexure-B.
Cron & Automation Reference
All 20 CronJobs: purpose, env vars to edit per IPO, ConfigMaps, notification map, kubectl run-book.
SQL, Queries & Templates
Every query by purpose, the four bank mail templates, mismatch playbook, S3 cheat-sheet.
Run a job for an IPO
The per-IPO cycle: parameterise → trigger → verify → clean up. With copy-ready kubectl commands.
The old SOP named scripts that no longer exist and described manual steps that are now automated. v2.0 fixes all of it — and splits the material into seven focused documents.
| Area | Old (v1) SOP | New (v2.0) reality |
|---|---|---|
| Switch file | Manual run of "newton-ipo-switch-file-generation-new" + hand-filled Annexure | AUTOMATED newton-ipo-switch-file-generation-with-annexture auto-discovers every live IPO, generates RECO files + Annexure-A and posts to Slack (17:00 IST, Mon–Fri) |
| Hourly report | "Pending for automation" — manual SQL every hour | AUTOMATED newton-ipo-hourly-summary-report posts the payStatus funnel to SNS every hour |
| EOD counts | Manual SQL + hand-typed mail table | AUTOMATED newton-ipo-eod-summary / newton-ipo-eoi-compare generate and mail the counts via SNS |
| Missing accDetail | Manual detection SQL only | AUTOMATED sync-ipo-mandate-acc-details re-checks and backfills account details (with SNS summary) |
| BGGD | Fully manual | AUTOMATED newton-ipo-bggd-data builds the BGGD file and uploads it to S3 + Slack |
| Final certificate | Manual "newton-ipo-eoi-file-cert" | AUTOMATED newton-ipo-final-certificate and newton-ipo-file-cert-with-annexture (auto-fills Annexure-B → Slack) |
| Anomaly / recon diff | Not covered | AUTOMATED newton-ipo-anomaly-report compares PSP vs NPCI recon and posts discrepancy CSVs |
| Job names | Old names (switch-file-generation-new, eod-generation, mandate-sync-pending-file…) | All renamed to the live CronJob names in ipo-scripts |
| Structure | One large document | 7 focused parts + this website + matching Word documents |