PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
Returns the status of a HFSQL cluster by interrogating its coordinator.
Note: This function is reserved for an advanced use. We recommend that you use the HFSQL Control Center to manage a HFSQL cluster.
Note: From version 19, HFSQL is the new name of HyperFileSQL.
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 more details about 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 (with quotes)
DNS name of computer where the cluster coordinator is installed.
<Password>: Character string (with quotes)
Password used to connect to the coordinator. This password was given when installing the cluster.
Components
WINDEVWEBDEV - Server code wd230hf.dll
Linux wd230hf.so
Minimum required version
  • Version 15
This page is also available for…
Comments
Click [Add] to post a comment