This site uses different types of cookies, including analytics and functional cookies (its own and from other sites). To change your cookie settings or find out more, click here. If you continue browsing our website, you accept these cookies.
how do i connect 3 node Mongo 4.2 DB cluster where i have replica set as well.I am configuring controller. i found old KB
replicaset/Ip:port, IP:port, it is working.
can i use new URI for host :"mongodb1.example.com:27317,mongodb2.example.com:27017/?replicaSet=mySet&authSource=authDB"
Hi @hdkarki ,
for which purpose do you want to use this new URI?
(If this post helps, then please consider Accept it as the solution to help the other members find it more quickly).
I have Alteryx server installed on Windows server and mongo db (3 node) installed on Linux server with replica set. Controller works with replicatset/host:port, host:port but gallery is not working
Gallery will not connect to MongoDB directly.
In the system config, it just need to input the controller host name.
For the URL of Alteryx Gallery, it should be https://hostname/gallery or https://DNSname/gallery.
Are you trying to configure standalone gallery with Mongo 3 set replica?
If thats the case then u should remove rs0 from the replica set.
eg: For controller u will configure it as rs0\replicaaset1:27017,replicaset2:27017,replicaset3:27017
But for gallery it will be : replicaset1:27017,replicaset2:27017,replicaset3:27017
Hope this helps