Support for Database Packaging with Mirrored Deployments

Aperta
#1,256 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
45/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva

Direzione di ricerca

Start by tracing the database packaging and install path invoked by zpm load <path-to-package.tgz> -swap-db, focusing on mirrored deployments and the BACKUP member described in the issue. Done means a packaged IRIS.DAT and module.xml can be loaded to swap the routines database on the backup member without requiring the primary member.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

enhancement needs spec

Describe the problem

Currently for IPM DB Packaging, both packaging and install reject a mirrored routines database. However for HealthShare stakeholders, we would like to use IPM DB Packaging for our upgrade procedure for IPM deployments on mirrored environments.

Describe the solution

We would like the ability to take a tarball containing the DB package (ie. IRIS.DAT and module.xml) that would be provisioned by the product team, and use zpm "load <eg. /path/to/ePA-2.5.0.tgz> -swap-db" to swap out the routines DB on the BACKUP mirror member (not needed to work on the primary member)

Describe alternatives

We could still do IPM upgrade without DB Packaging, but it would result in more downtime needed for the updated code to compile.

Additional context

The idea is, we will use DB Packaging to asynchronously swap out the code DB on the backup, given that the routines DB should be RW on the backup. That will run any non-primary upgrade steps. Then after failing over (primary becomes backup and vice versa), we will do it again on the new backup (former primary).

Lingua principale
ObjectScript
Stelle
41
Fork
33
Merge medio
23h 20m
PR unite (30g)
29

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di intersystems/ipm

Tutte le issue di intersystems/ipm

Issue simili

Altre issue su Databases

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.