§2023-08-01
Machine | IP | OS | authorization | replSetName | clusterRole | Sharding replSetName |
---|---|---|---|---|---|---|
orgpi5Arch.yushei.net | 192.168.48.241:27999 | aarch64 Archlinux | enabled, X.509 | MuneTakaHome | N/A | N/A |
orgpi5Arch.yushei.net | 192.168.48.241:27993 | aarch64 Archlinux | ? | N/A | mongos | configDB |
orgpi5Arch.yushei.net | 192.168.48.247:27999 | arm64 Jammy | enabled, X.509 | MuneTakaHome | N/A | N/A |
configDB: configServer/n2Mnjaro.yushei.net:27997,hc4Jammy.yushei.net:27997
¶ orgpi5Arch.yushei.net
- config, /etc/mongodb-27nnn.conf
- systemd, /etc/systemd/system/Mongodb-27nnn.service
- database , /opt/xfs/mongodb/data/mongodb-27nnn/
- log, opt/xfs/mongodb/log/mongod-27nnn.log
¶Port convention
| Port Number | Description |
| :--------- | -----------: |
| 27999 | replication Only |
| 27997 | sharding configsrv |
| 27995 | sharding shards |
| 27993 | sharding mongos |
¶ database and log directory on xfs partition
| database directory