AI 에이전트의 경우: 문서 인덱스는 https://www.mongodb.com/ko-kr/docs/llms.txt에서 사용할 수 있으며, 모든 페이지의 마크다운 버전은 어떤 URL 경로에 .md를 추가하여 사용할 수 있습니다.
Docs Menu

Ops Manager 및 백업 데이터베이스 버전 업그레이드

Update the major and minor versions of your Ops Manager instance and backing databases in the Ops Manager Resource Specification that the Kubernetes Operator uses to manage your deployment.

경고

기존 설정 및 가용성을 유지하려면 현재 Ops Manager 인스턴스에서 다음을 백업하세요.

  • conf-mms.properties 를 안전한 위치로 옮기세요. conf-mms.properties 는 Ops Manager 인스턴스에 대한 설정을 저장합니다.

  • Your gen.key files to a secure location. The gen.key provides details to encrypt and decrypt Ops Manager's backing databases and user credentials. Ops Manager might delete these files as part of the upgrade process.

As an extra precaution, you may use mongodump to create a binary export of the Application Database. No officially supported backup method exists for the Application Database. If the upgrade fails, contact MongoDB Support for help fixing the issue with the Ops Manager version.

  1. Upgrade Ops Manager by following the considerations, prerequisites, and procedure in Upgrade Ops Manager.

    중요

    Don't skip major Ops Manager versions when you upgrade. Upgrade to the latest available patch release of your current major version, then upgrade to the next major version. Repeat this process until you reach your target version. For example, to upgrade from 7.0.x to 8.0, first upgrade to the latest available 7.0 patch release. To find the upgrade path for your current version, see Upgrade Ops Manager.

  2. Reference Use a Compatible MongoDB Version to ensure your backing databases use a MongoDB version that is compatible with the new Ops Manager version.

  3. 데이터베이스 백업 를 호환되는 MongoDB 버전으로 업그레이드 해야 하는 경우 MongoDB 버전 MongoDB 를 참조하세요.

MongoDB Ops Manager 및 애플리케이션 데이터베이스 버전을 업그레이드하려면 다음 단계를 완료하세요.

1
  1. spec.version 을(를) 새 Ops Manager 버전으로 설정합니다.

  2. 애플리케이션 데이터베이스 를 업그레이드한 경우 spec.applicationDatabase.version 를 호환되는 MongoDB 버전으로 설정합니다.

중요

호환되는 MongoDB Server 버전을 선택하도록 합니다.

호환되는 버전은 MongoDB database 리소스가 사용하는 기본 이미지에 따라 다릅니다.

경고

아래 예시 와 같이 현재 Ops Manager 배포 와 연결된 애플리케이션 데이터베이스 리소스는 순차적으로 업그레이드되므로 업그레이드 프로세스 를 시작하기 전에 애플리케이션 데이터베이스가 실행 MongoDB 의 현재 버전으로 featureCompatibilityVersion 을(를) 명시적으로 설정해야 합니다.

이렇게 하면 업그레이드 프로세스 중에 Ops Manager 와 애플리케이션 데이터베이스 간의 잠재적인 데이터 불일치 문제를 방지할 수 있습니다.

1apiVersion: mongodb.com/v1
2kind: MongoDBOpsManager
3metadata:
4 name: om
5spec:
6 topology: SingleCluster # optional, SingleCluster by default
7 opsManagerURL: https://link.to.configured.load-balancer.example.com # optional OM URL for the operator
8replicas: 1
9version: "8.0.0"
10 adminCredentials: ops-manager-admin-secret
11 configuration:
12 mms.fromEmailAddr: admin@example.com
13 mms.security.allowCORS: "false"
14 security:
15 tls:
16 ca: issuer-ca
17 backup:
18 enabled: true
19 encryption:
20 kmip:
21 server:
22 url: kmip.corp.mongodb.com:5696
23 ca: mongodb-kmip-certificate-authority-pem
24 headDB:
25 storage: "30Gi"
26 labelSelector:
27 matchLabels:
28 app: my-app
29 opLogStores:
30 - name: oplog1
31 # Sets labels for the oplog store.
32 assignmentLabels: ["test1", "test2"]
33 mongodbResourceRef:
34 name: my-oplog-db
35 mongodbUserRef:
36 name: my-oplog-user
37 s3Stores:
38 - name: s3store1
39 # Sets labels for the S3 store.
40 assignmentLabels: ["test1", "test2"]
41
42 mongodbResourceRef:
43 name: my-s3-metadata-db
44 mongodbUserRef:
45 name: my-s3-store-user
46 s3SecretRef:
47 name: my-s3-credentials
48 pathStyleAccessEnabled: true
49 s3BucketEndpoint: s3.region.amazonaws.com
50 s3BucketName: my-bucket
51 applicationDatabase:
52 passwordSecretKeyRef:
53 name: om-db-user-secret
54 key: password
55 members: 3
56 topology: SingleCluster
57 version: "7.0.21-ubi8"
58 featureCompatibilityVersion: "6.0" # During upgrade, set this FCV value to your currently deployed AppDB version.
59 security:
60 certsSecretPrefix: appdb
61 tls:
62 ca: issuer-ca
2
kubectl apply -f <om-resource-specification>.yaml

Kubernetes는 새 사양으로 배포를 자동으로 재구성합니다. 이러한 변경 사항이 MongoDB Ops Manager 또는 Cloud Manager 애플리케이션에 반영된 것을 확인할 수 있습니다.