How to manage a cluster

Prev Next

The entire process of checking the status and managing a cluster can be performed using the Orbit Server Manager commands. However, to ensure synchronization between the interface and the server, the initial configuration must be performed exclusively via the Segura® Platform web interface.

The cluster command allows you to start services, check connectivity, and monitor the health of the environment.

mt4adm@vmdf-giskard:~$ sudo orbit cluster --help
Usage: orbit cluster <command>

High Availability and Disaster Recovery settings tools

Commands:
cluster start
cluster stop
cluster restart
cluster status
cluster arbiter
cluster net-check
cluster nodename
cluster rotate-ssl

Flags:
-h, --help Show context-sensitive help.

Create the cluster

The orbit cluster config command has been deprecated and must no longer be used. The cluster configuration process must be performed exclusively through the web interface.

More information on how to create a cluster in How to create a cluster.

Cluster status

Through the orbit cluster status command, you can observe various properties of the cluster. Since there is a lot of information, we will not list all the details in the manual. But we will present the essential information to understand if the cluster is active and without problems.

Pay attention to the final block of the status, called Cluster nodes. In this block, you will see who the cluster members are and the synchronization timestamp between them. There is also the status of the current member which should be marked as synced.

mt4adm@vmdf-giskard:~$ sudo orbit cluster status

...

============================================================

Cluster nodes

Cluster member: ID [0] - UUID [64661644-b0df-11ea-80b2-8ee23c1303c0] -
    Hostname [vmdf-giskard-3232290344] - Timestamp [1592428528]
Cluster member: ID [1] - UUID [9dff00d8-b0df-11ea-86c4-83725d654e03] -
    Hostname [vmdf-giskard-3232290348] - Timestamp [1592428528]

Cluster UUID: 64679b9f-b0df-11ea-a6e5-67ba900fecc0

vmdf-giskard details: status=synced
vmdf-giskard is primary node ?: 1

============================================================