Support for Database Packaging with Mirrored Deployments

Đang mở
#1,256 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
45/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Lĩnh vực
databases, infrastructure

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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

Ngôn ngữ chính
ObjectScript
Star
41
Fork
33
Merge trung bình
23 giờ 20 phút
Pull request đã merge (30 ngày)
29

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của intersystems/ipm

Tất cả issue của intersystems/ipm

Issue tương tự

Thêm issue về Databases

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.