Support for Database Packaging with Mirrored Deployments

未关闭
#1,256 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
45/100
Issue 类型
功能
描述清晰度
基本清楚
活跃度
活跃

调研方向

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.

由索引模型根据 Issue 内容生成。

描述

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).

主要语言
ObjectScript
星标
41
派生
33
平均合并
23 小时 20 分钟
30 天内合并 PR
29

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

intersystems/ipm 的其他 Issue

查看 intersystems/ipm 的全部 Issue

相似的 Issue

更多 Databases Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。