ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
Help / WLanguage / Managing databases / HFSQL Cluster / WLanguage functions
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
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.
Example
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:
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.
New in version 2025
Secret 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
Component: wd300hf.dll
Minimum version required
  • Version 15
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 05/16/2025

Send a report | Local help