Riak Server

March 26, 2020 Contributors

Note

The Riak server is implemented in Momentum version 3.3.

In a cluster configuration, when upgrading to Momentum 3.3, the order in which the roles are upgraded is important because the web UI and MTA roles will be participating in a Riak cluster.

You must upgrade the database role first because of the migration from PostgreSQL 8.3 to 9.0 and you must upgrade the manager/web UI before the MTAs so that the initial Riak cluster will be created (without a prompt) because the web UI requires Riak to be running locally in order to support custom reports.

As of version 3.3, Riak is used as the data storage technology for saving Adaptive Delivery parameters and custom reports. If you are installing Momentum in a cluster configuration with only the default subcluster, when you install one of the cluster MTA nodes, you are asked the following question:

Would you like this node to join the following riak cluster?

Type an existing riak node (name or IP) or ‘no’ to not join at this time. (ip_address)

ip_address
riak: starting
Sent join request to riak-default@ip_address
riak: stopping

You are prompted to enter the IP address of the cluster manager. Accepting this default points the current node at the instance of Riak running on the cluster manager. If you do not join the Riak cluster during installation you can change this later. See “Configuring Riak After Installation” for detailed instructions on configuring Riak after installation.

If no Riak instance has been created and you are not in the same subcluster as the cluster manager, you will be asked:

Is this the first riak instance in the ‘cluster_name‘ subcluster?"

If you answer "yes" in response to this question, you will not be prompted again and Riak will be set up on this node by the installer.

If you answer "no", you will then be asked to join the Riak cluster:

Type an existing riak node (name or IP) or 'no' to not join at this time.