|
|
|
|
|
HClusterState (Function) In french: HClusterEtat
Available only with this kind of connection
Returns the status of an HFSQL cluster by interrogating its coordinator. Note: This function is for advanced use only.. We recommend that you use the HFSQL Control Center to manage an HFSQL cluster. IF HClusterState("clustermanager.mondomaine.com", "secret") = 5 THEN
LIB_Alerte = "ATTENTION : le cluster est en attente de synchronisation !"
END
Syntax
<Result> = HClusterState(<Coordinator> , <Password>)
<Result>: Integer Status of the cluster. The possible values are as follows: | | Value | Status |
---|
0 | An error occurred during the call to the coordinator. | 1 | The cluster is stopped. | 2 | The cluster is started. | 3 | The cluster is being stopped. | 4 | The cluster is being started. | 5 | All the nodes of the cluster currently connected to the coordinator are waiting to be synchronized. |
<Coordinator>: Character string DNS name of the cluster coordinator's machine. <Password>: Character string or Secret string Password used to connect to the coordinator. This password was given when installing the cluster.
New in version 2025Secret strings: If you use the secret string vault, the type of secret string used for this parameter must be "ANSI or Unicode string". To learn more about secret strings and how to use the vault, see Secret string vault. Business / UI classification: Business Logic
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|