ansible-role-apache/mongodb/hosts

30 lines
577 B
Text
Raw Normal View History

2013-04-20 06:44:40 +02:00
#The site wide list of mongodb servers
# the mongo servers need a mongod_port variable set, and they must not conflict.
[mongo_servers]
hadoop1 mongod_port=2700
hadoop2 mongod_port=2701
hadoop3 mongod_port=2702
hadoop4 mongod_port=2703
#The list of servers where replication should happen, by default include all servers
[replication_servers]
hadoop1
hadoop2
hadoop3
hadoop4
#The list of mongodb configuration servers, make sure it is 1 or 3
[mongoc_servers]
hadoop1
hadoop2
hadoop3
#The list of servers where mongos servers would run.
[mongos_servers]
hadoop1
hadoop2