Tuesday 26 March 2019

Mongo atlas

C:\Users\dilip\Desktop\Work\aws\mongoatlas\mongodb-win32-x86_64-2008plus-ssl-4.0.6\bin>mongo "mongodb+srv://mongogcp-horam.gcp.mongodb.net/test"     --username xxxxxxx -p xxxxx
MongoDB shell version v4.0.6
connecting to: mongodb://mongogcp-shard-00-00-horam.gcp.mongodb.net.:27017,mongogcp-shard-00-01-horam.gcp.mongodb.net.:27017,mongogcp-shard-00-02-horam.gcp.mongodb.net.:27017/test?authSource=admin&gssapiServiceName=mongodb&replicaSet=MongoGCP-shard-0&ssl=true
2019-03-27T00:03:06.406+0800 I NETWORK  [js] Starting new replica set monitor for MongoGCP-shard-0/mongogcp-shard-00-00-horam.gcp.mongodb.net.:27017,mongogcp-shard-00-01-horam.gcp.mongodb.net.:27017,mongogcp-shard-00-02-horam.gcp.mongodb.net.:27017
2019-03-27T00:03:06.570+0800 I NETWORK  [js] Successfully connected to mongogcp-shard-00-00-horam.gcp.mongodb.net.:27017 (1 connections now open to mongogcp-shard-00-00-horam.gcp.mongodb.net.:27017 with a 5 second timeout)
2019-03-27T00:03:06.571+0800 I NETWORK  [ReplicaSetMonitor-TaskExecutor] Successfully connected to mongogcp-shard-00-01-horam.gcp.mongodb.net.:27017 (1 connections now open to mongogcp-shard-00-01-horam.gcp.mongodb.net.:27017 with a 5 second timeout)
2019-03-27T00:03:06.700+0800 I NETWORK  [ReplicaSetMonitor-TaskExecutor] Successfully connected to mongogcp-shard-00-02-horam.gcp.mongodb.net.:27017 (1 connections now open to mongogcp-shard-00-02-horam.gcp.mongodb.net.:27017 with a 5 second timeout)
2019-03-27T00:03:06.707+0800 I NETWORK  [ReplicaSetMonitor-TaskExecutor] changing hosts to MongoGCP-shard-0/mongogcp-shard-00-00-horam.gcp.mongodb.net:27017,mongogcp-shard-00-01-horam.gcp.mongodb.net:27017,mongogcp-shard-00-02-horam.gcp.mongodb.net:27017 from MongoGCP-shard-0/mongogcp-shard-00-00-horam.gcp.mongodb.net.:27017,mongogcp-shard-00-01-horam.gcp.mongodb.net.:27017,mongogcp-shard-00-02-horam.gcp.mongodb.net.:27017
2019-03-27T00:03:06.737+0800 I NETWORK  [ReplicaSetMonitor-TaskExecutor] Successfully connected to mongogcp-shard-00-01-horam.gcp.mongodb.net:27017 (1 connections now open to mongogcp-shard-00-01-horam.gcp.mongodb.net:27017 with a 5 second timeout)
2019-03-27T00:03:06.782+0800 I NETWORK  [ReplicaSetMonitor-TaskExecutor] Successfully connected to mongogcp-shard-00-00-horam.gcp.mongodb.net:27017 (1 connections now open to mongogcp-shard-00-00-horam.gcp.mongodb.net:27017 with a 5 second timeout)
2019-03-27T00:03:06.830+0800 I NETWORK  [js] Successfully connected to mongogcp-shard-00-02-horam.gcp.mongodb.net:27017 (1 connections now open to mongogcp-shard-00-02-horam.gcp.mongodb.net:27017 with a 5 second timeout)
Implicit session: session { "id" : UUID("9148e5e2-51f1-4ea6-9a44-7d47ac3f6dbf") }
MongoDB server version: 4.0.6
MongoDB Enterprise MongoGCP-shard-0:PRIMARY>



C:\Users\dilip\Desktop\Work\aws\mongoatlas\mongodb-win32-x86_64-2008plus-ssl-4.0.6\bin>mongo "mongodb://mongogcp-shard-00-00-horam.gcp.mongodb.net:27017,mongogcp-shard-00-01-horam.gcp.mongodb.net:27017,mongogcp-shard-00-02-horam.gcp.mongodb.net:27017/test?replicaSet=MongoGCP-shard-0"  --authenticationDatabase admin --ssl -u xxxxxxxx -p xxxxxx
MongoDB shell version v4.0.6
connecting to: mongodb://mongogcp-shard-00-00-horam.gcp.mongodb.net:27017,mongogcp-shard-00-01-horam.gcp.mongodb.net:27017,mongogcp-shard-00-02-horam.gcp.mongodb.net:27017/test?authSource=admin&gssapiServiceName=mongodb&replicaSet=MongoGCP-shard-0
2019-03-27T00:00:16.228+0800 I NETWORK  [js] Starting new replica set monitor for MongoGCP-shard-0/mongogcp-shard-00-00-horam.gcp.mongodb.net:27017,mongogcp-shard-00-01-horam.gcp.mongodb.net:27017,mongogcp-shard-00-02-horam.gcp.mongodb.net:27017
2019-03-27T00:00:16.861+0800 I NETWORK  [ReplicaSetMonitor-TaskExecutor] Successfully connected to mongogcp-shard-00-02-horam.gcp.mongodb.net:27017 (1 connections now open to mongogcp-shard-00-02-horam.gcp.mongodb.net:27017 with a 5 second timeout)
2019-03-27T00:00:16.870+0800 I NETWORK  [js] Successfully connected to mongogcp-shard-00-00-horam.gcp.mongodb.net:27017 (1 connections now open to mongogcp-shard-00-00-horam.gcp.mongodb.net:27017 with a 5 second timeout)
2019-03-27T00:00:17.028+0800 I NETWORK  [ReplicaSetMonitor-TaskExecutor] Successfully connected to mongogcp-shard-00-01-horam.gcp.mongodb.net:27017 (1 connections now open to mongogcp-shard-00-01-horam.gcp.mongodb.net:27017 with a 5 second timeout)
Implicit session: session { "id" : UUID("24cf1e44-0cc7-4105-900e-5b90a6902a74") }
MongoDB server version: 4.0.6
MongoDB Enterprise MongoGCP-shard-0:PRIMARY>