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

복제본 세트를 샤딩된 클러스터로 변환하세요.

Cloud Manager는 복제본 세트샤드 클러스터로 변환하는 기능을 제공합니다.

1
  1. 아직 표시되지 않은 경우 탐색 표시줄의 Organizations 메뉴에서 원하는 프로젝트가 포함된 조직을 선택합니다.

  2. 아직 표시되지 않은 경우 탐색 표시줄의 Projects 메뉴에서 원하는 프로젝트를 선택합니다.

  3. 사이드바에서 Database 제목 아래의 Processes를 클릭합니다.

프로세스 페이지가 표시됩니다.

2
3

From the menu on the desired replica set, click Convert to Sharded Cluster.

4

Provide details for your new sharded cluster 모달에서 다음 설정을 구성합니다.

  1. 샤드 클러스터 구성 요소의 이름을 지정합니다.

    필드
    작업

    Cluster Name

    새 cluster의 이름을 입력합니다.

    CSRS Name

    CSRS 의 이름을 입력합니다.

    참고

    Convert 을 클릭한 후에는 이 값을 변경할 수 없습니다.

  2. Set the following values for each mongod process in your Config Servers. All fields are required.

    참고

    하나 이상의 구성 서버를 배포해야 합니다.

    필드
    작업

    Host Name

    메뉴에서 기존 호스트 이름을 선택하거나 목록 위의 검색 상자에 호스트 이름을 입력하여 호스트를 찾습니다.

    새 호스트를 추가해야 하는 경우:

    1. New Server 링크를 클릭합니다.

    2. Next를 클릭합니다.

    3. 지침에 따라 해당 새 호스트에 새 자동화를 설치합니다.

    4. Verify Agent를 클릭합니다.

    Port

    IANA 포트 번호를 입력합니다.

    Data Directory

    Type the absolute directory path to the database files for each mongod.

    예시 경로는 /data 입니다.

    The mongod must have exclusive use of these paths on the specified host. The Cloud Manager Automation must have file system permission to read, write, and execute all files and folders in this directory.

    Log File

    Type the absolute file path for the log file for each mongod.

    예시 경로는 /data/mongodb.log 입니다.

    The mongod must have exclusive use of these paths on the specified host. The Cloud Manager Automation must have file system permission to read, write, and execute all files and folders in this directory.

    참고

    config 서버 추가 또는 제거

    • 새 구성 서버를 추가하려면 Add a Config Server 을(를) 클릭합니다.

    • config 서버를 제거하려면 다음을 클릭합니다. 제거하려는 config 서버의 오른쪽에 있는

  3. 샤드 클러스터 의 각 MongoS 프로세스에 대해 다음 값을 설정합니다. 모든 필드는 필수 입력 사항입니다.

    참고

    You must deploy at least one mongos.

    필드
    작업

    Host Name

    메뉴에서 기존 호스트 이름을 선택하거나 목록 위의 검색 상자에 호스트 이름을 입력하여 호스트를 찾습니다.

    새 호스트를 추가해야 하는 경우:

    1. New Server 링크를 클릭합니다.

    2. Next를 클릭합니다.

    3. 지침에 따라 해당 새 호스트에 새 자동화를 설치합니다.

    4. Verify Agent를 클릭합니다.

    Port

    IANA 포트 번호를 입력합니다.

    Log File

    Type the abolute file path for the log of each mongos process.

    예시 경로는 /data/mongodb.log 입니다.

    The mongos must have exclusive use of these paths on the specified host. The Cloud Manager Automation must have file system permission to read, write, and execute all files and folders in this directory.

    참고

    Mongo 샤드 라우터 추가 또는 제거

    • To add a new mongos, click Add a MongoS.

    • To remove a mongos, click to the right of the mongos you want to remove.

5
6

From the Cloud Manager UI, click the icon, then click Connect to this instance. The Connect to your Deployment dialog provides the hostname and port of a mongos in the cluster.

Cloud Manager 배포서버에 연결하는 방법에 대한 전체 문서 는 MongoDB 프로세스에 연결을참조하세요.

7

If you want to make any further changes to the sharded cluster, see the Sharded Cluster tab on the Edit a Deployment's Configuration page.

복제본 세트를 shard cluster로 변환한 후 데이터베이스 및 shard collection에 대해 샤딩을 활성화할 수 있습니다.

컬렉션을 샤딩하는 방법을 알아보려면 컬렉션 샤딩을 참조하세요 .

더 큰 용량을 지원하기 위해 추가 샤드를 추가해야 하는 경우 샤드 cluster의 렌치 메뉴를 클릭하여 추가 샤드를 생성합니다.

참고

변환 후 백업에 미치는 영향

변환된 샤드(원본 복제본 세트)에는 다음이 포함됩니다.

  • backupEnabled

  • 이전 스냅샷 보존

  • 이 샤드에만 스냅샷을 복원하는 기능

변환한 후에는 전체 샤딩된 클러스터 에 대해 백업을 활성화 해야 합니다. MongoDB.FCV 4 0 이전 버전 실행 데이터베이스에서 백업을 활성화하면 Cloud Manager config 서버 및 변환된 샤드 에서 초기 동기화 시작합니다. 전체 샤딩된 클러스터 에 대한 복원은 변환 후에 만든 스냅샷만 사용해야 합니다.