Reference Guide

Identifier GUID-8346C988-3AB5-4D1D-B347-4FA80C20BCF3
Version 1
Status Translation approved
MongoDB 上達到高可用性
關於此工作
下列步驟說明如何在 MongoDB 上達到高可用性:
步驟
1. 安裝 MongoDB—請參閱安裝 MongoDB
2. 建立複本伺服器請參閱建立複本伺服器
3. 建立 Stratus 使用者請參閱建立 Stratus 使用者帳戶
4. 建立根使用者請參閱建立 MongoDB 的根使用者
5. 編輯 MongoDB 組態檔案請參閱編輯 MongoDB 組態檔案
Identifier GUID-4578D339-B917-4162-B5A5-E4651CD19CBE
Version 3
Status Translation approved
安裝 MongoDB
關於此工作
若要在全部三個節點上安裝 MongoDB,請執行下列步驟:
: 如需關於安裝 MongoDB 的資訊,請參閱安裝 MongoDB
步驟
1. 在系統上複製 MongoDB 安裝檔案。
2. Drive C 以外的次要磁碟機建立兩個資料夾 Data\log data\db
54. 資料檔案
3. 前往複製 MongoDB 安裝檔案的資料夾,並從命令提示字元建立檔案 mongod.cfg
6
MongoDB 上達到高可用性 59