[mongodb] Changed defalt mongos port configuration

Marek Skalický mskalick at fedoraproject.org
Thu Oct 16 19:48:55 UTC 2014


commit 0e72f0cb236b6e749bdca0493bec05e29c352974
Author: Marek Skalický <mskalick at redhat.com>
Date:   Thu Oct 16 21:47:48 2014 +0200

    Changed defalt mongos port configuration

 mongodb-shard.conf |    4 ++--
 mongodb.conf       |   10 ++++++++++
 mongodb.spec       |    1 +
 3 files changed, 13 insertions(+), 2 deletions(-)
---
diff --git a/mongodb-shard.conf b/mongodb-shard.conf
index 925628a..b2dfe5f 100644
--- a/mongodb-shard.conf
+++ b/mongodb-shard.conf
@@ -2,12 +2,12 @@
 ### Basic Defaults
 ##
 bind_ip = 127.0.0.1
-port = 27019
+port = 27017
 fork = true
 pidfilepath = /var/run/mongodb/mongos.pid
 unixSocketPrefix = /var/run/mongodb
 logpath = /var/log/mongodb/mongodb-shard.log
-configdb = 127.0.0.1:27017
+configdb = 127.0.0.1:27019
 
 # Enables periodic logging of CPU utilization and I/O wait
 #cpu = true
diff --git a/mongodb.conf b/mongodb.conf
index 12666bf..4ecc669 100644
--- a/mongodb.conf
+++ b/mongodb.conf
@@ -86,3 +86,13 @@ nohttpinterface = true
 #oplogSize = <MB>
 # Size limit for in-memory storage of op ids.
 #opIdMem = <bytes>
+
+# Sharding options
+
+# Proper port and bind_ip should be set
+# Or unset port option and use default values
+
+# Default port 27019
+#configsvr = true
+# Default port 27018
+#shardsvr = true
diff --git a/mongodb.spec b/mongodb.spec
index 8f6bb82..8e9fe9d 100644
--- a/mongodb.spec
+++ b/mongodb.spec
@@ -329,6 +329,7 @@ fi
 %changelog
 * Thu Oct 9 2014 Marek Skalicky <mskalick at redhat.com> 2.6.5-2
 - Corrected/Finished renaming services and pid files
+- Changed default mongos ports
 
 * Thu Oct 9 2014 Marek Skalicky <mskalick at redhat.com> 2.6.5-1
 - Updated to version 2.6.5


More information about the scm-commits mailing list