|
|
|
|
|
|
|
|
|
|
HClusterState (Function)
Disponible solo con este tipo de conexión
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.mydomain.com", "secret") = 5 THEN
LIB_Alerte = "ATTENTION: the cluster is waiting for synchronization!"
END
Sintaxis
<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. Cadenas secretas: Si utiliza el almacén de cadenas secretas, el tipo de cadena secreta utilizado para este parámetro debe ser "ANSI o Unicode string". Para obtener más información sobre las cadenas secretas y el almacén, consulte Almacén de cadenas secretas. Clasificación Lógica de negocio / UI: Lógica de negocio
Esta página también está disponible para…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|