alteryx server Discussions

Find answers, ask questions, and share expertise about Alteryx Server.

how do i connect 3 node Mongo 4.2 DB cluster where i have replica set as well.

Highlighted
6 - Meteoroid

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

https://community.alteryx.com/t5/Alteryx-Server-Discussions/connect-alteryx-server-to-mongodb-replic...

replicaset/Ip:port, IP:port, it is working.

 

Also,

can i use new URI  for host :
"mongodb1.example.com:27317,mongodb2.example.com:27017/?replicaSet=mySet&authSource=authDB"

 

 

Highlighted
Alteryx
Alteryx

Hi @hdkarki ,

for which purpose do you want to use this new URI?

 

Regards,

 

(If this post helps, then please consider Accept it as the solution to help the other members find it more quickly).

Highlighted
6 - Meteoroid

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 

9 - Comet

Hi @hdkarki ,

 

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.

 

Best Regards,

Samuel

 

Highlighted
8 - Asteroid

hi @hdkarki 

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

Tyrion_Lannister_0-1578582912852.png