AYUDA EN LÍNEA
 WINDEVWEBDEV Y WINDEV MOBILE

Este contenido se ha traducido automáticamente.  Haga clic aquí  para ver la versión en inglés.
Ayuda / WLanguage / Administrar bases de datos / HFSQL Cluster / Funciones WLanguage
WINDEV
WindowsLinuxJavaReportes y ConsultasCódigo de Usuario (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Código Navegador
WINDEV Mobile
AndroidWidget Android iPhone/iPadIOS WidgetApple WatchMac Catalyst
Otros
Procedimientos almacenados
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.
Ejemplo
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:
ValueStatus
0An error occurred during the call to the coordinator.
ErrorInfo returns the details of the error.
1The cluster is stopped.
It can be restarted by HClusterStart.
2The cluster is started.
It can be suspended by HClusterStop.
3The cluster is being stopped.
4The cluster is being started.
5All 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
Componente: wd310hf.dll
Versión mínima requerida
  • Versión 15
Esta página también está disponible para…
Comentarios
Haga clic en [Agregar] para publicar un comentario

Última modificación: 16/05/2025

Señalar un error o enviar una sugerencia | Ayuda local