Quick onboard
Deployment
Data Modeling
Connection
Migration
Query
Operations and Maintenance
Common Maintenance
Partition
Backup and Restore
Expansion
Monitoring
Performance Tuning
Troubleshooting
Reference Guide
Tool guide
Data type
Storage Engine
Executor
Stream
DR (Disaster Recovery)
Configuration
Index
Extension
SQL Reference
Asymmetric deployment is designed for enterprise users with resource constraints, high availability requirements, or specific business scenarios.
Before deploying the database, refer to the cluster deployment procedures for your operating system to complete prerequisites such as installation preparation and database package installation.
For CentOS 7 and RedHat 7, click here.
For CentOS 8 and RedHat 8, click here.
For Ubuntu 20.04, click here.
When no cluster is deployed, access the graphical installation wizard via a browser using the following URL. The server whose IP address you enter will become the Master node of your cluster (in this example, mdw):
http://<IP>:8240/
On the first page of the installation wizard, provide the superuser password. You can view it using the sudo more /etc/matrixdb6/auth.conf command.


In this example, we add one node: sdw1.

Enter the IP address, hostname, or FQDN of sdw1 in the text box and click "OK".


Configure cluster parameters. In this example, set sdw1 as the standby node, enable data mirroring, and set the number of instances per node to 2 primary + 2 mirror. These settings will adjust the cluster according to balanced deployment mode (standard cluster configuration).

Set the data storage path and etcd path.

This section describes the key steps for asymmetric deployment.
The deployment execution page consists of three tabs: Basic Information, Node Information, and Instance Distribution.
The Basic Information tab displays connection details, cluster size, and high availability settings for the current deployment plan.

The Node Information tab lists each node's role and directory information.

The Instance Distribution tab shows the topology of all instances in the data cluster. Instances include Master, Standby, Primary, and Mirror. Large blocks represent nodes; small numbered blocks represent instances, where the number indicates the content ID.

Hover over an instance block to view its details.

Click "Advanced Operations", then "Customize Instance Distribution" to view the raw configuration file.

The instance distribution configuration file is in CSV format. Each line represents one instance configuration with four columns: content ID, hostname, port number, and data directory.

Customizing the instance distribution file must strictly follow these rules.
You must manually edit the distribution rule file by modifying the hostname, port, and data directory associated with each content ID to define your desired asymmetric cluster topology.
-1 may appear once or twice. The first occurrence represents the master; the second represents the standby. More than two occurrences will result in an error.0 and above may appear once or twice. However, the count of each content ID must be consistent across the cluster. For example, if content ID 0 appears twice, then content ID 1 must also appear twice. The first occurrence of any content ID ≥ 0 represents a primary segment; the second represents its mirror.Note: Do not change the hostname of the first row (master), as the current browser session and backend deployment commands are running on this machine. Changing it may cause unexpected errors.
/data2 in the configuration file results in the actual data directory being /data2/mxdata_xxxxxxxxxxxx/master/mxseg-1/ after deployment.Note: Modifying the fourth column affects only the corresponding segment’s data directory. The etcd storage path still follows the selection made in [1.5 Set Storage Paths].
After editing the configuration file, click "OK". Upon successful save, the updated instance distribution will be reflected in the topology diagram.


Click "Deploy" to start cluster deployment and view progress.

After successful deployment, a Access Guide page appears, describing how to connect to the database.

Asymmetric deployment is now complete. Click "Finish" to go to the UI homepage.
Supports deployment with blank machines (etcd-only nodes)
In OLTP deployments, a three-node topology can be achieved:
mdw: master, seg0 (no workload), etcd0
smdw: standby, etcd1
sdw1 (low-spec hardware): etcd2