On 02-04-2012 10:51:36 -0600, Joseph Brower wrote:
OK. We haven't set up the second one yet, I thought we had to do some sort of configuration. Knowing that, it looks like broadcast UDP is used, so as long as they are in the same subnet and can receive each other's broadcast traffic, we should be ok? We just continue to point to the first and it will automatically distribute the connections to the others?
Yes exactly. In addition, you can just point to the second, and the same should happen. mclient gives you the final uri it connected to, e.g.: % monetdb discover \*/demo location mapi:monetdb://budapest.ins.cwi.nl:50000/demo mapi:monetdb://sirius.ins.cwi.nl:50000/demo mapi:monetdb://vienna.ins.cwi.nl:50000/demo % mclient demo Welcome to mclient, the MonetDB/SQL interactive terminal (Apr2012-0474aa42f907+) Database: MonetDB v11.10.0 (unreleased), 'mapi:monetdb://vienna.ins.cwi.nl:50000/demo' Type \q to quit, \? for a list of available commands auto commit mode: on sql>\q % $INSTALL_DIR/bin/mclient demo Welcome to mclient, the MonetDB/SQL interactive terminal (Apr2012-0474aa42f907+) Database: MonetDB v5.21.0, 'mapi:monetdb://sirius.ins.cwi.nl:50000/demo' Type \q to quit, \? for a list of available commands auto commit mode: on sql>\q As you can see, it connects to vienna and sirius on successive connections for the same database. Fabian