# stage4_model3 **Repository Path**: lhghyf/stage4_model3 ## Basic Information - **Project Name**: stage4_model3 - **Description**: 阶段四模块三 - **Primary Language**: Java - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2021-03-12 - **Last Updated**: 2021-03-12 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README 作业说明: 一、环境软件版本 1、系统环境:阿里云CentOS7.4 64位系统 2、需要的软件 ​ mongodb 安装包:mongodb-linux-x86_64-4.1.3.tgz 二、架构介绍: 环境搭建共用到了1台服务器,一台服务启动不同的端口: 1、配置节点集群 端口:17011、17012、17013 2、分片节点集群: shard2:47011、47013、47015、47017(仲裁节点) shard3:57011、57013、57015、57017(仲裁节点) 这里将47017和57017设置为仲裁节点,47011和57011添加了优先级,成为PRIMARY节点。以下是47011成为了PRIMARY,47017设置为了仲裁节点。 3、路由节点 端口:27017 三、环境安装过程: 复制集群的搭建过程:https://app.yinxiang.com/fx/837a4f80-1c97-4874-8c96-67707d3f9393 分片集群的搭建过程:https://app.yinxiang.com/fx/1f29e7a4-f0f1-47d4-8bf4-ab334bb5efcb 四、学习笔记 https://app.yinxiang.com/fx/330da57b-3351-43b7-9e5d-a7a7adb5e225