# Example: setting up a Engine Cluster element

An example of creating a Engine Cluster element and configuring the interfaces.

The administrators at the headquarters of Company A want to set up a Engine Cluster. The cluster consists of two cluster nodes: Node 1 and Node 2. The HQ Cluster Engine has a dedicated heartbeat network (10.42.1.0/24), and it is connected to two internal networks: Headquarters Intranet (172.16.1.0/24) and Management Network (192.168.10.0/24). It uses Multi-Link to ISP A and ISP B for its connection to the Internet.

Figure: Headquarters Network

The administrators:

1. Create a Engine Cluster element (HQ Cluster) and define HQ Log as its Log Server.
2. Define the physical interfaces 0–4.
3. Define the CVIs and NDIs for the physical interfaces. Except for the IP addresses, the node-specific properties for Node 1 and Node 2 are the same.

   Table 1. Cluster Interfaces
   Interface ID | Type | IP Address | Comment
   --- | --- | --- | ---
   0 | NDI for Node1 | 10.42.1.1 | Heartbeat
   0 | NDI for Node2 | 10.42.1.2 | Heartbeat
   1 | CVI | 198.51.100.254 | ISP B
   1 | NDI for Node1 | 198.51.100.21 | ISP B
   1 | NDI for Node2 | 198.51.100.22 | ISP B
   2 | CVI | 203.0.113.254 | ISP A
   2 | NDI for Node1 | 203.0.113.21 | ISP A
   2 | NDI for Node2 | 203.0.113.22 | ISP A
   3 | CVI | 192.168.10.1 | Management Network
   3 | NDI for Node1 | 192.168.10.21 | Management Network
   3 | NDI for Node2 | 192.168.10.22 | Management Network
   4 | CVI | 172.16.1.1 | Headquarters Intranet
   4 | NDI for Node1 | 172.16.1.21 | Headquarters Intranet
   4 | NDI for Node2 | 172.16.1.22 | Headquarters Intranet

4. Save the initial configuration of the engines in the SMC Client.
5. Map the interface identifiers in the configuration to the physical interfaces on each engine’s command line and establish contact between each engine and the Management Server.
6. Install a Engine Policy on the Engine Cluster in the SMC Client to transfer the working configuration to the engines. The nodes exchange authentication information and begin to work as a cluster.