Thanks for your interest in MapD
The default behaviour when connecting to immerse can be controlled by a servers.json file.
How are you currently starting MapD. Are you using
We would recommend for a more serious installation of MapD that you move to a
systemd controlled MapD system with configuration files.
The steps to follow are:
- cd <mapd_home>/systemd/
- During the process of answering the questions during running this script is to identify the MAPD_STORAGE directory
- After the script has run if you look in your MAPD_STORAGE directory you will see a default
mapd.conf has been created
- Viewing that file it should contain some default starting information about your MapD install
port = 9091
http-port = 9090
data = "<MAPD_STORAGE>/data"
port = 9092
frontend = "<MAPD_PATH>/frontend"
At this point you can now control the MapD services with systemctl commands
sudo systemctl start mapd_server
sudo systemctl start mapd_web_server
sudo systemctl status mapd_server
sudo systemctl status mapd_web_server
sudo systemctl stop mapd_server
sudo systemctl stop mapd_web_server
You will still be getting the auto login behaviour at this point
Now go in and edit your
[web] section add the line
servers-json = "<MAPD_STORAGE>/servers.json"
Create a file called servers.json in your MAPD_STORAGE directory
Now restart mapd_web_server
sudo systemctl restart mapd_web_server
At this point when you try to log onto immerse you will always be presented with a blank login screen asking you to enter all the details of where you want to connect to.
if you want to at least supply a default database you can populate the appropriate field
A side note here is that you can use config files without having to use
mad_web_server will accept a
--config parameter if for some reason you do not want to have to set up