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
HClusterParameter (Function)
In French: HClusterParamètre
HFSQL Client/ServerAvailable only with this kind of connection
Reads and modifies the parameters of a HFSQL cluster.
Note: From version 19, HFSQL is the new name of HyperFileSQL.
Example
// Read the DNS name of server
sDNS is string
sDNS = HClusterParameter("clustermanager.mydomain.com", "secret", hCPDNS)

InfoBuild("Use <%1> as server address in your client applications" + ...
   " to connect to the cluster.", sDNS)
Syntax

Finding out the value of a cluster parameter Hide the details

<Result> = HClusterParameter(<Coordinator> , <Password> , <Parameter>)
<Result>: Character string
Parameter value.
<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.
<Parameter>: Integer constant
Parameter to read. The possible values are:
hCPDNSDNS name of cluster. This parameter is for information only.
Note: It is important not to confuse:
  • the name identifying the cluster (corresponding to the value associated with this parameter): name that will be used to access the cluster databases.
  • the name identifying the coordinator (used in the <Coordinator>: parameter): DNS name of computer where the cluster coordinator was installed.
  • the name identifying the node (not used by this function): DNS name of computer where the new HFSQL server was installed.
hCPClientPortListening port of client connections.

Modifying the value of a cluster parameter Hide the details

<Result> = HClusterParameter(<Coordinator> , <Password> , <Parameter> [, <New Value>])
<Result>: Character string
Former value of parameter.
<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.
<Parameter>: Integer constant
Parameter to modify. The possible values are:
hCPDNSDNS name of cluster. This parameter is for information only.
Note: It is important not to confuse:
  • the name identifying the cluster (corresponding to the value associated with this parameter): name that will be used to access the cluster databases.
  • the name identifying the coordinator (used in the <Coordinator>: parameter): DNS name of computer where the cluster coordinator was installed.
  • the name identifying the node (not used by this function): DNS name of computer where the new HFSQL server was installed.
hCPClientPortListening port of client connections.
Note: The modification of this parameter will be taken into account when restarting the cluster.
<New Value>: Optional character string (with quotes)
New value for the parameter.
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