--- title: "Creating a cluster using the CLI" slug: "creating-a-cluster-using-the-cli" tags: ["IVX Server"] updated: 2026-08-24T20:40:11Z published: 2026-08-24T20:40:11Z canonical: "docs.trellix.com/creating-a-cluster-using-the-cli" stale: true --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.trellix.com/llms.txt > Use this file to discover all available pages before exploring further. # Creating a cluster using the CLI Use the commands in this section to create an IVX cluster. ##### Create the cluster framework: 1. Log in to the Central Management CLI. 2. Go to CLI configuration mode: ``` cm-hostname > enable cm-hostname # configure terminal ``` 3. Create the cluster: ``` cm-hostname (config) # cmc mvx cluster where is a unique name identifying the cluster. ``` ##### Add nodes to the cluster: 1. Add a node to the cluster: ``` cm-hostname (config) # cmc mvx cluster node ``` 2. Repeat the previous step for each node you want to add. ##### Enable brokers: 1. Enable broker mode on a node: ``` cm-hostname (config) # cmc mvx cluster broker enable ``` 2. Repeat the previous step for each additional broker (if any). ##### Verify and save your changes: 1. Verify your changes: ``` cm-hostname (config) # show cmc mvx cluster detail ``` 2. cm-hostname (config) # **show cmc mvx cluster detail** ``` cm-hostname (config) # write memory ``` **Example** The following example creates a cluster named Cluster-01 on the cm-1 Central Management appliance, adds vx-1 and vx-2 as cluster nodes, enables broker mode on vx- 1, and designates vx-1 as the master configuration. ``` cm-1 (config) # cmc mvx cluster Cluster-01 cm-1 (config) # cmc mvx cluster Cluster-01 node vx-1 cm-1 (config) # cmc mvx cluster Cluster-01 node vx-2 cm-1 (config) # cmc mvx cluster Cluster-01 broker vx-1 enable cm-1 (config) # cmc mvx cluster Cluster-01 master vx-1 cm-1 (config) # show cmc mvx cluster detail MVX Cluster: Cluster-01 Version         : 8.3.0 Utilization     : 0 % Status          : ready Total Nodes     : 2 Member Status:    Brokers:            vx-1 : 10.11.121.12 - ready    Compute Nodes:            vx-2 : 10.11.121.18 - ready ```