ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / Managing databases / HFSQL Cluster / WLanguage functions
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
Returns the status of a HFSQL cluster by interrogating its coordinator.
Remark: This function is reserved for an advanced use. We recommend that you use the HFSQL Control Center to manage a HFSQL cluster.
Example
IF HClusterState("clustermanager.mydomain.com", "secret") = 5 THEN
STC_Alert = "CAUTION: the cluster is waiting for synchronization!"
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 computer where the cluster coordinator is installed.
<Password>: Character string
Password used to connect to the coordinator. This password was given when installing the cluster.
Business / UI classification: Business Logic
Component: wd290hf.dll
Minimum version required
  • Version 15
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 05/26/2022

Send a report | Local help