Skip to content

Deploy a High Availability Cluster

Ella SMSC can be deployed as a high-availability cluster to provide redundancy and failover capabilities. See High Availability for more information.

Prerequisites

1. Start node 1

Start node 1, open a browser at the API address and initialize it normally.

2. Create a join token for node 2

Still in node 1, open the Cluster page, click Add Node, click Create Token, then copy the token.

3. Start node 2

Start node 2, open a browser at the API address and click Join an existing cluster instead. Paste the token and click Join.

4. Add node 3

Repeat steps 2 and 3 for node 3.

5. Connect the Diameter peers

Connect every Diameter peer, such as Ella Core, the HSS or Ella IMS, to every node, with each node's address and Diameter host. The Cluster page lists each node's Diameter Host. Or connect the nodes and the peers through a Diameter routing agent, as in Connect through Diameter Agents.

6. Verify

On the leader's Cluster page, all three nodes appear as Healthy.

Prerequisites

1. Deploy

kubectl create namespace ella
kubectl label namespace ella pod-security.kubernetes.io/enforce=restricted
kubectl create secret generic ella-smsc-encryption -n ella --from-literal=key="$(openssl rand -base64 32)"
kubectl create secret generic ella-smsc-cluster -n ella --from-literal=secret="$(openssl rand -base64 32)"
helm install ella-smsc oci://ghcr.io/ellanetworks/charts/ella-smsc --namespace ella --set replicas=3

2. Initialize

kubectl port-forward -n ella pod/ella-smsc-0 5010:5010

Open http://localhost:5010 and create the first user.

3. Connect the Diameter peers

Connect every Diameter peer to every pod, at ella-smsc-<n>.ella-smsc-headless.ella.svc.cluster.local:3868, with the pod's Diameter host. The Cluster page lists each node's Diameter Host.

4. Verify

On the leader's Cluster page, all three nodes appear as Healthy.