Important
The SingleStore 9.1 release candidate (RC) is available now. It will be promoted to general availability (GA) soon and at that time it will be renamed to SingleStore 10.
In the interim, SingleStore 9.1 RC can be used to preview, evaluate, and provide feedback on the new and upcoming features in SingleStore 10, while SingleStore 9.0 is recommended for production workloads.
BOOTSTRAP AGGREGATOR
On this page
The BOOTSTRAP AGGREGATOR command promotes a node to Master Aggregator.
Syntax
BOOTSTRAP AGGREGATOR <host>;Remarks
-
BOOTSTRAP AGGREGATORcreates a new cluster with this node as the master aggregator. -
This command is required to install a SingleStore cluster without using management tools like sdb-admin, memsqlctl, or MemSQL Ops.
-
To set up a new cluster without using management tools, first run this command on one node to configure it as the master aggregator.
Then, add each leaf node by running the ADD LEAF command on the master aggregator, and add each child aggregator by running the ADD AGGREGATOR command on the master aggregator. -
When specifying the host, provide an address that can be used by other nodes to connect to the current node.
The specified host must be accessible by every other node in the cluster. For example, use 192.instead of168. 0. 1 127..0. 0. 1 -
If
BOOTSTRAP AGGREGATORis called on an aggregator that is already joined to a cluster, it will fail with an error informing the caller that the aggregator is already joined to the cluster. -
Always use stable addresses for optimal function with this command.
-
Refer to the Permissions Matrix for the required permissions.
Examples
The first example demonstrates how to bootstrap the cluster with the node hosted at 10. as the master aggregator.
BOOTSTRAP AGGREGATOR '10.0.2.15';
Query OK, 0 rows affected (1.55 sec)SHOW AGGREGATORS;
+-----------+------+--------+--------------------+------------------------------+-------------------+
| Host | Port | State | Opened_Connections | Average_Roundtrip_Latency_ms | Master_Aggregator |
+-----------+------+--------+--------------------+------------------------------+-------------------+
| 10.0.2.15 | 3306 | online | 1 | NULL | 1 |
+-----------+------+--------+--------------------+------------------------------+-------------------+
1 row in set (0.00 sec)Last modified: